/* ==========================================================================
   Variables
   ========================================================================== */

:root {
	--chery-grey: #D9D9D9;
	--menu-links: #3E3A39;
	--text-grey: #666;
	--chery-red: #E40521;
}

html, body {
	scroll-behavior: smooth;
}

h1,h2,h3,h4,h5,h6 {
	color: var(--text-grey);
}

h1 {
	font-size: 3rem;
	font-weight: 900;
}

h2 {
	font-size: 2.5rem;
	font-weight: 900;
}

h3 {
	font-size: 2rem;
	font-weight: 900;
}

h4 {
	font-size: 1.5rem;
	font-weight: 900;
}

p {
	color: var(--text-grey);
	font-weight: 300;
	hyphens: none;
	line-height: 1.3;
}

img {
	user-select: none;
	-webkit-user-drag: none;
	user-drag: none;
}

body {
	font-family: 'HarmonyOS Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

section {
	padding-top: 100px;
	padding-bottom: 100px;
}

.icon {
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 20px;
	height: 20px;
}

.facebook-icon {
	background-image: url(../../images/socials/fb.svg);
	width: 10px;
}

.instagram-icon {
	background-image: url(../../images/socials/ig.svg);
}

.linkedin-icon {
	background-image: url(../../images/socials/ln.svg);
}

.fadeup {
    opacity: 0;
    transform: translateY(30px);
    transition-property: opacity, transform;
    transition-timing-function: ease-out;
}

.fadeup.in-view {
    opacity: 1;
    transform: translateY(0);
}

.desktop-only {
	display: block;
}

.tablet-only {
	display: none;
}

.mobile-only {
	display: none;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border-left-color: #fff;
    animation: spin 1s ease infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.container {
	max-width: 1090px;
	width: 90%;
	margin: 0 auto;
}

.header {
	background-color: var(--chery-grey);
	padding: 0px 20px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	height: 79px;
	display: flex;
	align-items: center;
}

.header-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
	height: 100%;
}

.header-nav-mobile {
	display: none;
}

.header-logo {
	width: 100%;
	max-width: 254px;
}

.header-nav-list-sub {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-nav-list-sub li {
    padding: 10px 15px;
}

.header-nav-list-sub li:hover {
    background-color: #f5f5f5;
}

.header-nav-list > li {
    /* position: relative; */
}

.header-nav .header-nav-list.desktop {
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
}

.header-nav .header-nav-list.desktop li {
	margin: 0 10px;
	height: 100%;
	display: flex;
	align-items: center;
}

.header-nav .header-nav-list.desktop li .header-nav-link,
.header-nav .header-nav-list.desktop li span {
	text-decoration: none;
	color: var(--menu-links);
	font-size: 20px;
	font-style: normal;
	font-weight: 300;
	position: relative;
	transition: all 0.3s ease;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}

.header-nav .header-nav-list.desktop li .header-nav-link::after,
.header-nav .header-nav-list.desktop li span::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--chery-red);
	transform: scaleX(0);
	transform-origin: bottom right;
	transition: transform 0.3s ease;
}

.header-nav .header-nav-list.desktop li .header-nav-link:hover::after,
.header-nav .header-nav-list.desktop li span:hover::after {
	transform: scaleX(1);
	transform-origin: bottom left;
}

.header-nav .header-nav-list.desktop li .header-nav-link.active::after,
.header-nav .header-nav-list.desktop li span.active::after {
	transform: scaleX(1);
	transform-origin: bottom left;
}





section.contact .container {
	flex-direction: column;
	color: #666;
}

section.contact .container h2 {
	width: 100%;
}

section.contact .notes {
	padding: 20px;
}

section.contact .button-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 20px;
	width: 100%;
	flex-grow: 1;
}

section .container .btn.submit {
	padding: 12px 42px;
	min-width: 300px;
	font-size: 18px;
	font-weight: 500;
	text-transform: uppercase;
	color: #fff;
	background: #E40521;
	border: #E40521;
	transition: all .2s;
}

section .container .btn.submit:hover {
	color: #fff;
	background: #C9433F;
}

section .inputs-container,
section .row-form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	row-gap: 15px;
	column-gap: 20px;
}

section .row-form,
section .row-form .form-input {
	flex-direction: row;
	width: 100%;
}

section .row-form input,
section .row-form select,
section .row-form textarea {
	width: 100%;
	padding: 16px;
	color: #666;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
	background-color: #fff;
	border: 1px solid #666;
	border-radius: 8px;
}

section .row-form select {
	background-image: url('../../images/svg/chevron-down.svg');
	background-repeat: no-repeat;
	background-position-x: 95%;
	background-position-y: 50%;
	background-size: 30px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	text-indent: 1px;
	text-overflow: '';
}

section .row-form input[type="hidden"],
section .row-form input[type="checkbox"] {
	width: unset;
}

section .row-form label:has(input[type="checkbox"]) {
	position: relative;
	padding-left: 25px;
}

section .row-form input[type="checkbox"]:has(+ .checkmark) {
	position: absolute;
	height: 0;
	width: 0;
	opacity: 0;
	cursor: pointer;
	transition: all 0.125s;
}

section .row-form input[type="checkbox"] + .checkmark {
	position: absolute;
	top: 1px;
	left: 0;
	height: 18px;
	width: 18px;
	background-color: #fff;
	border: 2px solid #4A454F;
	border-radius: 2px;
}

section .row-form label:hover input[type="checkbox"] ~ .checkmark {
	background-color: #f0f0f0;
}

section .row-form input[type="checkbox"]:checked ~ .checkmark {
	border-color: #666666 !important;
	background-color: #666666 !important;
}

section .row-form input[type="checkbox"] + .checkmark:after {
	content: '';
	position: absolute;
	display: block;
}

section .row-form input[type="checkbox"]:checked ~ .checkmark:after {
	display: block;
}

section .row-form input[type="checkbox"] + .checkmark:after {
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

section .notes .politica-privacidad {
	color: #4286EE;
}

section .notes .politica-privacidad:hover {
	color: #000;
}

section .notes .row-form {
	margin-top: 5px;
}

section p.text-big {
	color: #666;
	font-size: 26px;
	line-height: 1.25;
	font-weight: 500;
	text-wrap: pretty;
}

.dropdown-content {
    display: block;
    position: absolute;
    top: 100%;
    z-index: 1000;
    left: 0;
    width: 100%;
}

.dropdown-container {
    display: flex;
    width: 100%;
    margin: 0 auto;
    position: relative;
    flex-direction: row-reverse;
}

.models-menu {
    display: flex;
    width: 67%;
}

.icon-tiggo, .icon-eq {
	opacity: 0.5;
	width: 70%;
	transition: all .2s;
}

.icon-tiggo:hover, .icon-eq:hover {
	opacity: 1;
}

.icon-tiggo.active, .icon-eq.active {
	opacity: 1;
}

.category-list {
    width: 50%;
    background: linear-gradient(180deg, #C3C3C3 0%, #969696 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
	gap: 1rem;
	padding-top: 50px;
}

.category-list .divider {
	width: 100%;
	height: 1px;
	background-color: #CECECE;
}

.category {
    user-select: none;
    color: white;
    font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
}

.category, .model {
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: none;
    border: none;
    transition: all .2s;
    text-decoration: none;
}

.category.active svg {
	opacity: 1;
}

.model:hover {
    color: #333;
    font-weight: bold;
}

.model.active {
	color: #333;
	font-weight: bold;
}

.models-list {
    width: 50%;
    display: none;
    flex-direction: column;
    background: linear-gradient(180deg, #EEE 0%, #CECECE 100%);
	padding-top: 1rem;
}

.models-list a {
    color: #333;
}

.models-list.active {
    display: flex;
}

.model-preview {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: #ffffff;
    width: 81%;
    position: relative;
    min-height: 300px;
    justify-content: center;
    align-items: center;
}

.model-preview-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 500px;
    margin: 0 auto;
    transition: ease-in-out all 0.3s;
}

.model-preview-info {
    margin-top: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: center;
}

.model-preview-info-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.model-preview-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 700;
    text-align: center;
}

.price {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.model-preview-item {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    position: absolute;
}

.model-preview-item .model-preview-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.model-preview-item.active {
    display: flex;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    pointer-events: auto;
    position: relative;
}

.model-preview-item .model-preview-info-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease-in-out;
}

.model-preview-info-cta .cta-button {
    background: #E40521;
    color: white !important;
    padding: 8px 24px;
    text-decoration: none;
    border-radius: 20.602px;
    font-size: 16px !important;
    font-weight: 500;
    transition: all .2s;
    border: 1px solid transparent;
    text-align: center;
    min-width: 120px;
}

.model-preview-info-cta .cta-button:hover {
    background: #C9043D;
    color: white !important;
    border: 1px solid transparent;
}

.red-chery-dropdown-content {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	z-index: 1000;
}

.red-chery-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    background: rgba(51, 51, 51, 0.9);
    color: white;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    width: 100%;
    min-height: 60px;
}

.red-chery-container a {
	padding: 1rem;
    text-align: center;
    background: none;
    border: none;
    color: white;
    transition: all .2s;
    text-decoration: none;
	flex: 1;
}

.red-chery-container a:hover {
	background: #CECECE;
	color: #3C3C3B;
}





@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {

	h1 {
		font-size: 2.5rem;
		font-weight: 900;
	}

	h2 {
		font-size: 2rem;
		font-weight: 900;
	}

	h3 {
		font-size: 1.5rem;
		font-weight: 900;
	}

	h4 {
		font-size: 1.25rem;
		font-weight: 900;
	}

	section {
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.header-nav .header-nav-list.desktop li a {
		font-size: 16px;
	}

}

@media (max-width: 1167px) {

	h1 {
		font-size: 2.25rem;
		font-weight: 900;
	}

	h2 {
		font-size: 1.75rem;
		font-weight: 900;
	}

	h3 {
		font-size: 1.5rem;
		font-weight: 900;
	}

	h4 {
		font-size: 1.25rem;
		font-weight: 900;
	}

}

@media (max-width: 962px) {

	h1 {
		font-size: 2rem;
		font-weight: 900;
	}

	h2 {
		font-size: 1.5rem;
		font-weight: 900;
	}

	h3 {
		font-size: 1.25rem;
		font-weight: 900;
	}

	h4 {
		font-size: 1.125rem;
		font-weight: 900;
	}

	.container {
        padding: 0 20px;
    }

	.header {
		padding: 0px;
	}

	.header-nav {
		display: none;
	}

	.header-nav-mobile {
		display: flex;
		justify-content: space-between;
		align-items: center;
		position: relative;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 0 30px;
	}

	.header-nav-mobile img {
		width: 163px;
	}

	.header-nav-mobile input[type="checkbox"] {
		display: none;
	}

	.header-nav-mobile label {
		display: flex;
		flex-direction: column;
		gap: 6px;
		cursor: pointer;
		width: 30px;
		height: 24px;
		position: relative;
	}

	.header-nav-mobile label span {
		display: block;
		width: 30px;
		height: 3px;
		background: #333;
		position: absolute;
		transition: all 0.3s ease-in-out;
	}

	.header-nav-mobile label span:first-child {
		top: 0;
	}

	.header-nav-mobile label span:nth-child(2) {
		top: 10px;
	}

	.header-nav-mobile label span:last-child {
		top: 20px;
	}

	#hamburger-menu:checked + label span:first-child {
		transform: rotate(45deg);
		top: 10px;
	}

	#hamburger-menu:checked + label span:nth-child(2) {
		opacity: 0;
	}

	#hamburger-menu:checked + label span:last-child {
		transform: rotate(-45deg);
		top: 10px;
	}

	.header-nav-list-mobile {
		position: fixed;
		top: 79px;
		left: 0;
		right: 0;
		background: var(--chery-grey);
		padding: 20px;
		display: flex;
		flex-direction: column;
		gap: 15px;
		box-shadow: 0 4px 6px rgba(0,0,0,0.1);
		height: 0;
		opacity: 0;
		visibility: hidden;
		overflow: hidden;
		transition: all 0.3s ease-in-out;
	}

	#hamburger-menu:checked ~ .header-nav-list-mobile {
		height: calc(100vh - 79px);
		opacity: 1;
		visibility: visible;
		overflow: auto;
	}

	.nav-item {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		padding: 15px 20px;
		border-bottom: 1px solid #333;
		position: relative;
	}

	.nav-item span,
	.nav-item a {
		color: var(--menu-links);
		font-size: 1.5rem;
		font-weight: 700;
	}

	.nav-item a {
		text-decoration: none;
	}

	.submenu {
		display: none;
		width: 100%;
		padding-top: 15px;
		margin-top: 15px;
	}

	.submenu a {
		display: block;
		padding: 10px 0;
		color: #666;
		font-weight: 500;
		text-decoration: none;
		font-size: 1.125rem;
	}

	.nav-item.active .submenu {
		display: block;
	}

	.nav-item.active .toggle-btn {

		transform: rotate(45deg);
	}

	.toggle-btn {
		background: none;
		border: none;
		outline: none;
		padding: 0;
		margin: 0;
		font-size: 30px;
		color: #333;
		cursor: pointer;
		transition: transform 0.3s ease;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
	}

	.toggle-btn img {
		width: 14px;
		height: 14px;
	}

	.toggle-btn:focus {
		outline: none;
	}

	.nav-item.active .toggle-btn {
		transform: rotate(45deg);
	}

	.toggle-btn {
		transition: transform 0.3s ease;
	}

	.submenu-title {
		display: block;
		color: #333;
		margin: 15px 0 10px;
		padding-bottom: 10px;
	}

	.submenu-title:first-child {
		margin-top: 0;
	}

	.red-chery-container {
        flex-direction: column;
        min-height: auto;
    }

    .red-chery-container a {
        width: 100%;
        text-align: left;
        padding: 15px;
    }

}

@media (max-width: 768px) {

	h1 {
		font-size: 1.75rem;
		font-weight: 900;
	}

	h2 {
		font-size: 1.25rem;
		font-weight: 900;
	}

	h3 {
		font-size: 1.125rem;
		font-weight: 900;
	}

	h4 {
		font-size: 1rem;
		font-weight: 900;
	}

	section {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.desktop-only {
		display: none;
	}

	.mobile-only {
		display: block;
	}



}

@media screen and (max-width: 599px) {
	section .row-form {
		flex-direction: column;
	}
}
