/* Reset y Variables */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--red-primary: #D53030;
	--red-dark: #B52828;
	--gray-dark: #4A5568;
	--gray-medium: #718096;
	--gray-light: #E2E8F0;
	--gray-bg: #F7FAFC;
	--white: #FFFFFF;
	--black: #1A202C;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	line-height: 1.6;
	color: var(--gray-dark);
	background-color: var(--white);
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
#header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: var(--white);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	transition: all 0.3s ease;
}

#header.scrolled {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo-circle {
	width: 48px;
	height: 48px;
	background-color: var(--red-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-weight: bold;
	font-size: 20px;
}

.logo-circle img {
	height: 25px;
}

.logo-text h1 {
	font-size: 20px;
	color: var(--red-primary);
	font-weight: 700;
	line-height: 1.2;
}

.logo-text p {
	font-size: 12px;
	color: var(--gray-medium);
	line-height: 1;
}

nav {
	display: flex;
	align-items: center;
	gap: 30px;
}

nav a {
	text-decoration: none;
	color: var(--gray-dark);
	font-weight: 500;
	transition: color 0.3s ease;
}

nav a:hover {
	color: var(--red-primary);
}

nav.footer-col {
	flex-direction: column;
	gap: 0;
	align-items: flex-start;
}

.btn-whatsapp {
	background-color: var(--red-primary);
	color: var(--white) !important;
	padding: 10px 24px;
	border-radius: 8px;
	transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
	background-color: var(--red-dark);
}

.mobile-menu-btn {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
}

.mobile-menu-btn span {
	width: 25px;
	height: 3px;
	background-color: var(--gray-dark);
	transition: all 0.3s ease;
}

.mobile-menu {
	display: none;
	position: fixed;
	top: 78px;
	left: 0;
	right: 0;
	background-color: var(--white);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	padding: 20px;
	flex-direction: column;
	gap: 15px;
	z-index: 999;
}

.mobile-menu a {
	text-decoration: none;
	color: var(--gray-dark);
	font-weight: 500;
	padding: 10px;
	border-radius: 8px;
	transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
	background-color: var(--gray-light);
}

.mobile-menu.active {
	display: flex;
}

/* Hero Section */
.hero {
	padding: 120px 0 80px;
	background: linear-gradient(135deg, var(--gray-bg) 0%, var(--white) 100%);
}

.hero-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.badge {
	display: inline-block;
	background-color: rgba(213, 48, 48, 0.1);
	color: var(--red-primary);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 20px;
}

.hero-text h2 {
	font-size: 48px;
	color: var(--black);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 20px;
}

.text-red {
	color: var(--red-primary);
}

.hero-text p {
	font-size: 18px;
	color: var(--gray-medium);
	margin-bottom: 30px;
	line-height: 1.8;
}

.hero-buttons {
	display: flex;
	gap: 15px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.hero-buttons .btn-outline {
	display: none;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.btn-primary {
	background-color: var(--red-primary);
	color: var(--white);
}

.btn-primary:hover {
	background-color: var(--red-dark);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(213, 48, 48, 0.3);
}

.btn-outline {
	border: 2px solid var(--red-primary);
	color: var(--red-primary);
	background-color: transparent;
}

.btn-outline:hover {
	background-color: var(--red-primary);
	color: var(--white);
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	padding-top: 30px;
	border-top: 1px solid var(--gray-light);
}

.stat-item {
	text-align: center;
}

.stat-number {
	font-size: 32px;
	font-weight: 700;
	color: var(--black);
	margin-bottom: 5px;
}

.stat-label {
	font-size: 14px;
	color: var(--gray-medium);
}

.hero-image {
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-logo {
	background: linear-gradient(135deg, rgba(213, 48, 48, 0.1) 0%, var(--gray-light) 100%);
	padding: 60px;
	border-radius: 20px;
	text-align: center;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.logo-circle-large {
	width: 150px;
	height: 150px;
	background-color: var(--red-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-weight: bold;
	font-size: 48px;
	margin: 0 auto 20px;
}

.logo-circle-large img {
	height: 70px;
}

.hero-logo-text {
	font-size: 24px;
	font-weight: 700;
	color: var(--black);
	margin-bottom: 5px;
}

.hero-logo-subtext {
	font-size: 16px;
	color: var(--gray-medium);
}

/* Background Image Section */
.bg-image-section {
	position: relative;
	padding: 120px 0;
	background-image: url('./crv_car_image.png');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

.bg-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(213, 48, 48, 0.9) 0%, rgba(26, 32, 44, 0.85) 100%);
}

.bg-content {
	position: relative;
	z-index: 1;
	text-align: center;
	color: var(--white);
	max-width: 800px;
	margin: 0 auto;
}

.bg-content h2 {
	font-size: 42px;
	font-weight: 700;
	margin-bottom: 20px;
	line-height: 1.3;
}

.bg-content p {
	font-size: 20px;
	margin-bottom: 30px;
	opacity: 0.95;
}

.btn-white {
	background-color: var(--white);
	color: var(--red-primary);
}

.btn-white:hover {
	background-color: var(--gray-light);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* About Section */
.about {
	padding: 80px 0;
	background-color: var(--white);
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-header h2 {
	font-size: 42px;
	font-weight: 700;
	color: var(--black);
	margin-bottom: 15px;
}

.section-header p {
	font-size: 18px;
	color: var(--gray-medium);
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	margin-bottom: 60px;
}

.about-image {
	background: linear-gradient(135deg, var(--gray-bg) 0%, var(--gray-light) 100%);
	padding: 60px;
	border-radius: 20px;
	text-align: center;
}

.about-years {
	text-align: center;
}

.years-circle {
	width: 120px;
	height: 120px;
	background-color: var(--red-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-weight: bold;
	font-size: 42px;
	margin: 0 auto 15px;
}

.about-years p {
	font-size: 20px;
	font-weight: 600;
	color: var(--black);
}

.about-text h3 {
	font-size: 28px;
	font-weight: 700;
	color: var(--black);
	margin-bottom: 20px;
}

.about-text p {
	font-size: 16px;
	color: var(--gray-medium);
	margin-bottom: 20px;
	line-height: 1.8;
}

.mission {
	background-color: var(--gray-bg);
	padding: 25px;
	border-radius: 12px;
	margin-top: 30px;
	border-left: 4px solid var(--red-primary);
}

.mission h4 {
	font-size: 20px;
	font-weight: 700;
	color: var(--black);
	margin-bottom: 10px;
}

.values {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
}

.value-card {
	background-color: var(--white);
	border: 2px solid var(--gray-light);
	padding: 30px 20px;
	border-radius: 12px;
	text-align: center;
	transition: all 0.3s ease;
}

.value-card:hover {
	border-color: var(--red-primary);
	transform: translateY(-5px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.value-icon {
	font-size: 48px;
	margin-bottom: 15px;
}

.value-card h4 {
	font-size: 18px;
	font-weight: 700;
	color: var(--black);
	margin-bottom: 10px;
}

.value-card p {
	font-size: 14px;
	color: var(--gray-medium);
}

/* Catalog Section */
.catalog {
	display: none;
	padding: 80px 0;
	background-color: var(--gray-dark);
}

.catalog .section-header h2,
.catalog .section-header p {
	color: var(--white);
}

.catalog-content {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 40px;
}

.catalog-card {
	background-color: var(--white);
	padding: 40px;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.catalog-icon {
	font-size: 64px;
	text-align: center;
	margin-bottom: 20px;
}

.catalog-card h3 {
	font-size: 28px;
	font-weight: 700;
	color: var(--black);
	margin-bottom: 15px;
}

.catalog-card p {
	font-size: 16px;
	color: var(--gray-medium);
	margin-bottom: 25px;
	line-height: 1.8;
}

.catalog-features {
	list-style: none;
	margin-bottom: 30px;
}

.catalog-features li {
	font-size: 16px;
	color: var(--gray-dark);
	padding: 8px 0;
	border-bottom: 1px solid var(--gray-light);
}

.catalog-features li:last-child {
	border-bottom: none;
}

.catalog-cta {
	background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
	padding: 40px;
	border-radius: 16px;
	color: var(--white);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.catalog-cta h3 {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 15px;
}

.catalog-cta p {
	font-size: 16px;
	margin-bottom: 25px;
	opacity: 0.95;
}

.btn-outline-white {
	border: 2px solid var(--white);
	color: var(--white);
	background-color: transparent;
}

.btn-outline-white:hover {
	background-color: var(--white);
	color: var(--red-primary);
}

/* Contact Section */
.contact {
	padding: 80px 0;
	background-color: var(--white);
}

.contact-content {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* Grid de tarjetas de contacto */
.contact-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
}

.contact-card-item {
	background-color: var(--white);
	border: 2px solid var(--gray-light);
	padding: 30px 20px;
	border-radius: 12px;
	text-align: center;
	transition: all 0.3s ease;
}

.contact-card-item:hover {
	border-color: var(--red-primary);
	transform: translateY(-5px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-card-item .contact-icon {
	font-size: 48px;
	width: 80px;
	height: 80px;
	background-color: rgba(213, 48, 48, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.contact-card-item h4 {
	font-size: 18px;
	font-weight: 700;
	color: var(--black);
	margin-bottom: 10px;
}

.contact-card-item p {
	font-size: 14px;
	color: var(--gray-medium);
	line-height: 1.6;
}

.contact-card-item a {
	color: var(--gray-medium);
	text-decoration: none;
	transition: color 0.3s ease;
}

.contact-card-item a:hover {
	color: var(--red-primary);
}

/* CTA de WhatsApp */
.contact-cta {
	text-align: center;
	padding: 20px 0;
}

.btn-large {
	padding: 18px 40px;
	font-size: 18px;
}

/* Mapa a ancho completo */
.map-container-full {
	height: 450px;
	border-radius: 16px;
	overflow: hidden;
	border: 2px solid var(--gray-light);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
	background-color: var(--black);
	color: var(--white);
	padding: 60px 0 30px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	margin-bottom: 40px;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 15px;
}

.footer-logo h3 {
	font-size: 20px;
	color: var(--white);
	font-weight: 700;
	line-height: 1.2;
}

.footer-logo p {
	font-size: 12px;
	color: var(--gray-medium);
	line-height: 1;
}

.footer-desc {
	font-size: 14px;
	color: var(--gray-medium);
	line-height: 1.6;
}

.footer-col h4 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 20px;
}

.footer-col ul {
	list-style: none;
}

.footer-col ul li {
	margin-bottom: 12px;
	font-size: 14px;
	color: var(--gray-medium);
}

.footer-col ul li a {
	color: var(--gray-medium);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-col ul li a:hover {
	color: var(--red-primary);
}

.social-links {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.social-links a {
	width: 40px;
	height: 40px;
	background-color: var(--gray-dark);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.social-links a:hover {
	background-color: var(--red-primary);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 30px;
	border-top: 1px solid var(--gray-dark);
}

.footer-bottom p {
	font-size: 14px;
	color: var(--gray-medium);
}

.footer-links {
	display: flex;
	gap: 20px;
}

.footer-links a {
	font-size: 14px;
	color: var(--gray-medium);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: var(--red-primary);
}

/* WhatsApp Floating Button */
:root {
	--wa-size: 56px;
	--wa-gap: 20px;
	--wa-bg: #25D366;
	--wa-fg: #ffffff;
	--wa-shadow: 0 10px 18px rgba(0, 0, 0, .18), 0 6px 6px rgba(0, 0, 0, .12);
	--wa-shadow-active: 0 6px 10px rgba(0, 0, 0, .2), 0 2px 4px rgba(0, 0, 0, .14);
}

.wa-float {
	background: #25D366;
	box-shadow: var(--wa-shadow);
	position: fixed;
	inset: auto var(--wa-gap) var(--wa-gap) auto;
	width: var(--wa-size);
	height: var(--wa-size);
	border-radius: 50%;
	color: var(--wa-fg);
	display: inline-grid;
	place-items: center;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	z-index: 1100;
	transition: transform .15s ease, box-shadow .15s ease, opacity .2s ease;
	outline: none;
	touch-action: none;
	animation: wa-bob 3.5s ease-in-out infinite alternate;
	border: none;
}

.wa-float svg {
	width: 36px;
	height: 36px;
	display: block;
}

.wa-float:hover {
	transform: translateY(-2px);
	box-shadow: var(--wa-shadow-active);
}

.wa-float:active {
	transform: translateY(0);
	box-shadow: var(--wa-shadow);
}

.wa-float svg {
	width: calc(var(--wa-size) * .56);
	height: calc(var(--wa-size) * .56);
	display: block;
}

/* Pulso sutil */
.wa-float::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: 0 0 0 0 rgba(37, 211, 102, .35);
	animation: wa-pulse 5s ease-out infinite;
	pointer-events: none;
}

/* Tooltip */
.wa-tooltip {
	position: fixed;
	background: #111827;
	color: #fff;
	font: 500 12px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	padding: 6px 8px;
	/* border-radius: 6px; */
	opacity: 0;
	transform: translate(-8px, -8px);
	transition: opacity .15s ease, transform .15s ease;
	pointer-events: none;
	z-index: 1101;
	white-space: nowrap;
}

.wa-float[data-hover="1"]+.wa-tooltip {
	opacity: .95;
	transform: translate(-4px, -4px);
}

@media (prefers-reduced-motion: reduce) {
	.wa-float {
		animation: none;
	}

	.wa-float::after {
		animation: none;
	}
}

@keyframes wa-bob {
	from {
		transform: translateY(0)
	}

	to {
		transform: translateY(-4px)
	}
}

@keyframes wa-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, .35);
	}

	60% {
		box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
	}
}

/* FAQ Section */
.faq-section {
	padding: 80px 0;
	background-color: var(--white);
}

.faq-container {
	max-width: 900px;
	margin: 0 auto;
}

.faq-item {
	background-color: var(--white);
	border: 2px solid var(--gray-light);
	border-radius: 12px;
	margin-bottom: 20px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.faq-item:hover {
	border-color: var(--red-primary);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
	width: 100%;
	padding: 25px 30px;
	background-color: transparent;
	border: none;
	text-align: left;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	transition: background-color 0.3s ease;
}

.faq-question:hover {
	background-color: var(--gray-bg);
}

.faq-question h3 {
	font-size: 18px;
	font-weight: 600;
	color: var(--black);
	margin: 0;
	flex: 1;
}

.faq-icon {
	font-size: 24px;
	font-weight: 300;
	color: var(--red-primary);
	transition: transform 0.3s ease;
	flex-shrink: 0;
}

.faq-item.active .faq-icon {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
	max-height: 500px;
	padding: 0 30px 25px 30px;
}

.faq-answer p {
	font-size: 16px;
	line-height: 1.8;
	color: var(--gray-medium);
	margin: 0;
}

.faq-answer strong {
	color: var(--gray-dark);
	font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
	.faq-question {
		padding: 20px;
	}
	
	.faq-question h3 {
		font-size: 16px;
	}
	
	.faq-item.active .faq-answer {
		padding: 0 20px 20px 20px;
	}
	
	.faq-answer p {
		font-size: 15px;
	}
}

/* Responsive */
@media (max-width: 968px) {
	nav {
		display: none;
	}

	.mobile-menu-btn {
		display: flex;
	}

	.hero-content,
	.about-content,
	.catalog-content {
		grid-template-columns: 1fr;
	}

	.contact-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.values {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-content {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero-text h2 {
		font-size: 36px;
	}

	.bg-content h2 {
		font-size: 32px;
	}

	.section-header h2 {
		font-size: 32px;
	}
}

@media (max-width: 640px) {
	.hero-buttons {
		flex-direction: column;
	}

	.btn {
		width: 100%;
		justify-content: center;
	}

	.stats {
		grid-template-columns: 1fr;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.values {
		grid-template-columns: 1fr;
	}

	.footer-content {
		grid-template-columns: 1fr;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}

	.map-container-full {
		height: 300px;
	}
}