:root {
--primary-color: #ffffff;
--secondary-color: #e74c3c;
--accent-color: #3ca241;
--light-color: #ffffff;
--dark-color: #0e0e0e;
--gray-color: #f4f4f4;
--transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat', sans-serif;
}
body {
background-color: var(--light-color);
color: var(--dark-color);
overflow-x: hidden;
scroll-behavior: smooth;
}
/* Header Styles */
header {
position: relative;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
padding: 20px 0;
transition: var(--transition);
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}
header.scrolled {
padding: 15px 0;
background: rgba(255, 255, 255, 0.98);
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
display: flex;
align-items: center;
box-sizing: border-box;
}
.logo img {
box-sizing: border-box;
width: 150px;
height: auto;
object-fit: cover;
margin: auto;
}
.nav-menu {
display: flex;
list-style: none;
flex-wrap: wrap;
}
.nav-menu li {
margin-left: 54px;
}
.nav-menu a {
color: #219652;
text-decoration: none;
font-weight: 500;
font-size: 1.1rem;
transition: var(--transition);
position: relative;
padding: 5px 0;
}
.nav-menu a:hover {
color: #494949;
}
.nav-menu a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: #333;
transition: var(--transition);
}
.nav-menu a:hover::after {
width: 100%;
}
/* Enhanced Language Selector */
.language-selector {
position: relative;
margin-left: 25px;
}
.language-toggle {
background: #3ca241;
border: none;
color: white;
padding: 10px 15px;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
transition: var(--transition);
font-size: 0.95rem;
display: flex;
align-items: center;
gap: 8px;
box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}
.language-toggle:hover {
background: #219652;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}
.language-toggle i {
transition: var(--transition);
}
.language-toggle:hover i {
transform: rotate(180deg);
}
.language-dropdown {
position: absolute;
top: 100%;
right: 0;
background: white;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
padding: 15px 0;
min-width: 180px;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: var(--transition);
z-index: 1001;
border: 1px solid rgba(39, 174, 96, 0.2);
}
.language-selector:hover .language-dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.language-option {
padding: 12px 25px;
cursor: pointer;
display: flex;
align-items: center;
gap: 12px;
color: var(--dark-color);
transition: var(--transition);
position: relative;
}
.language-option:not(:last-child)::after {
content: '';
position: absolute;
bottom: 0;
left: 25px;
right: 25px;
height: 1px;
background: rgba(13, 43, 69, 0.1);
}
.language-option:hover {
background: rgba(39, 174, 96, 0.1);
transform: translateX(5px);
}
.language-option.active {
background: rgba(39, 174, 96, 0.2);
font-weight: 600;
color: var(--accent-color);
}
.flag-icon {
width: 24px;
height: 18px;
object-fit: cover;
border-radius: 3px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.language-name {
font-weight: 500;
font-size: 0.95rem;
}
.check-icon {
margin-left: auto;
color: var(--accent-color);
font-size: 1rem;
opacity: 0;
transition: var(--transition);
}
.language-option.active .check-icon {
opacity: 1;
}
.mobile-toggle {
display: none;
color: #219652;
font-size: 1.5rem;
cursor: pointer;
}



/* Politica de privacidad*/

/* All Cars Section */
.all-cars-section {
padding: 100px 0;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
position: relative;
overflow: hidden;
}
.all-cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 320px);
  justify-content: center;
  gap: 30px;
}
.hidden {
display: none;
}
.view-more-btn {
display: block;
margin: 30px auto 0;
padding: 15px 40px;
background: var(--accent-color);
color: white;
border: none;
border-radius: 50px;
font-weight: 600;
font-size: 1.1rem;
cursor: pointer;
transition: var(--transition);
box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
position: relative;
overflow: hidden;
}
.view-more-btn:hover {
background: #219652;
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(39, 174, 96, 0.5);
}

/* Featured Cars Section Slider*/
.featured-cars {
padding: 50px 0 150px;
background: var(--light-color);
position: relative;
overflow: hidden;
}
.section-header {
text-align: center;
margin-bottom: 70px;
position: relative;
z-index: 2;
}
.section-subtitle {
font-size: 1rem;
color: var(--accent-color);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 15px;
}
.section-title {
font-size: 2.8rem;
font-weight: 800;
text-transform: uppercase;
color: #5a5a5a;
margin-bottom: 20px;
position: relative;
display: inline-block;
}
.section-title::after {
content: '';
position: absolute;
bottom: -15px;
left: 50%;
transform: translateX(-50%);
width: 100px;
height: 4px;
background: var(--accent-color);
}
.section-description {
max-width: 700px;
margin: 30px auto 0;
color: #555;
font-size: 1.1rem;
line-height: 1.7;
font-weight: 300;
}
.section-description-a {
max-width: 700px;
margin: 22px auto 0;
color: #555;
font-size: 1.0rem;
line-height: 1.8;
font-weight: 300;
text-align: left;
line-height: 25px;

/* Fixed height for consistent card sizing */
height: 180px;
overflow: hidden;
display: -webkit-box;
--webkit-line-clamp: 4;
--webkit-box-orient: vertical;
}
.cars-carousel {
position: relative;
overflow: hidden;
max-width: 1200px;
margin: 0 auto;
}
.cars-slider {
display: flex;
transition: transform 0.5s ease-in-out;
}
.car-card {
background: white;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
transition: var(--transition);
position: relative;
display: flex;
flex-direction: column;
min-width: 320px;
max-width: 320px;
width: 320px;
margin: 0 20px;
/* Ensure consistent height */
height: 100%;
display: flex;
flex-direction: column;
}
.car-card:hover {
transform: translateY(-15px);
border-radius: 15px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.car-badge {
position: absolute;
top: 20px;
right: 20px;
background: var(--accent-color);
color: white;
padding: 5px 15px;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 600;
z-index: 2;
}
.car-image {
height: 220px;
overflow: hidden;
position: relative;
}
.car-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: var(--transition);
}
.car-card:hover .car-image img {
transform: scale(1.1);
}
.car-content {
padding: 30px;
flex-grow: 1;
display: flex;
flex-direction: column;
}
.car-title {
font-size: 1.8rem;
font-weight: 700;
color: #219652;
margin: auto;
text-align: center;
}
.car-specs {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin: 32px 0;
color: #666;
font-size: 0.95rem;
}
.car-spec {
display: flex;
align-items: center;
}
.car-spec i {
color: var(--accent-color);
margin-right: 8px;
font-size: 0.9rem;
}
.car-price {
display: flex;
justify-content: space-between;
flex-direction: column;
align-items: center;
margin-top: auto;
padding-top: 20px;
border-top: 1px solid #eee;
text-align: center;
}
.price-value {
font-size: 1.8rem;
font-weight: 800;
color: var(--accent-color);
}
.price-unit {
font-size: 1rem;
color: #888;
font-weight: 400;
margin-top: 5px;
margin-bottom: 5px;
}
.car-cta {
background: #ffffff00;
color: #3ca241;
padding: 12px 25px;
outline: 2px solid #3ca241;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
transition: var(--transition);
border: none;
cursor: pointer;
font-size: 0.95rem;
}
.car-cta:hover {
background: var(--accent-color);
transform: translateY(-3px);
color: white;
}
.carousel-controls {
display: flex;
justify-content: center;
gap: 10px;
margin-top: 30px;
}
.carousel-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: #ccc;
cursor: pointer;
transition: var(--transition);
}
.carousel-dot.active {
background: var(--accent-color);
transform: scale(1.2);
}
.carousel-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 45px;
height: 45px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.9);
color: var(--dark-color);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.1rem;
cursor: pointer;
transition: var(--transition);
z-index: 11;
border: none;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.carousel-arrow:hover {
background: white;
transform: translateY(-50%) scale(1.1);
}
.prev-carousel {
left: 10px;
}
.next-carousel {
right: 10px;
}
@media (max-width: 768px) {
.car-card {
min-width: 280px;
max-width: 280px;
width: 280px;
margin: 0 10px;
}
}




/* Contact Section */
.contact {
position: relative;
padding: 100px 0;
background: #3ca241;
color: white;
overflow: hidden;
}
.contact::before {
content: "";
position: absolute;
inset: 0;
background-image: url('../img/fondo-contact.webp');
background-attachment: fixed;
background-position: center;
background-size: cover;
z-index: 0;
}
.contact::after {
content: "";
position: absolute;
inset: 0;
background: rgb(0 0 0 / 73%);
z-index: 1;
}
.contact-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 50px;
position: relative;
z-index: 2;
}
.contact-info h2 {
font-size: 2.5rem;
font-weight: 800;
margin-bottom: 30px;
position: relative;
display: inline-block;
}
.contact-info h2::after {
content: '';
position: absolute;
bottom: -15px;
left: 0;
width: 80px;
height: 4px;
background: var(--accent-color);
}
.contact-info p {
margin-bottom: 40px;
line-height: 1.7;
font-size: 1.1rem;
font-weight: 300;
}
.contact-details {
margin-top: 40px;
}
.contact-item {
display: flex;
align-items: flex-start;
margin-bottom: 30px;
}
.contact-icon {
width: 60px;
height: 60px;
background: rgb(255, 255, 255);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 20px;
color: var(--accent-color);
font-size: 1.3rem;
flex-shrink: 0;
}
.contact-text h4 {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 8px;
}
.contact-text p {
margin-bottom: 0;
font-weight: 300;
}
.contact-form {
background: rgba(255, 255, 255, 0.05);
padding: 50px;
border-radius: 25px;
backdrop-filter: blur(10px);
}
.titulo-contact {
font-size: 2rem;
margin-bottom: 35px;
font-weight: 800;
display: flex;
gap: 10px;
}
.vertical-verde {
width: 50px;
margin-top: -21px;
margin-bottom: 45px;
height: 5px;
background-color: #16af56;
border: none;
}
.verde-ahora {
color: #16af56;
}
.form-group {
margin-bottom: 25px;
}
.form-label {
display: block;
margin-bottom: 10px;
font-weight: 500;
color: rgba(255, 255, 255, 0.9);
}
.form-control {
width: 100%;
padding: 16px 20px;
border: none;
border-radius: 12px;
background: rgba(255, 255, 255, 0.227);
color: white;
font-size: 1rem;
transition: var(--transition);
font-weight: 400;
}
.form-control::placeholder {
color: rgba(255, 255, 255, 0.7);
}
.form-control:focus {
outline: none;
background: rgba(255, 255, 255, 0.15);
box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.3);
}

/* Selector de vehículos legible en Chrome, Edge, Safari y Firefox. */
#vehicle_id {
  color: #fff !important;
  background-color: rgba(255, 255, 255, .23) !important;
  color-scheme: light;
}

#vehicle_id option {
  color: #222 !important;
  -webkit-text-fill-color: #222 !important;
  background-color: #fff !important;
  font-weight: 500;
}

#vehicle_id option:checked {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-color: #2877d4 !important;
}
textarea.form-control {
min-height: 160px;
resize: vertical;
padding: 15px 20px;
}
.submit-btn {
background: #2A7B9B;
background: linear-gradient(90deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%);
color: white;
padding: 16px 40px;
border-radius: 50px;
border: none;
font-weight: 700;
font-size: 1.1rem;
cursor: pointer;
transition: var(--transition);
width: 100%;
margin-top: 45px;
letter-spacing: 0.5px;
box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}
.submit-btn:hover {
background: #3ca241;
color: white;
transform: translateY(-3px);
box-shadow: 0 8px 25px #3ca241;
}

.autocomplete-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: white;
  color: #333;
  border-radius: 8px;
  position: absolute;
  width: calc(100% - 99px); /* coincide con padding del input */
  max-height: 150px;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 10;
  display: none; /* inicialmente oculta */
}

.autocomplete-list li {
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.autocomplete-list li:hover {
  background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%);
  color: white;
}




/* Footer */
footer {
background: var(--dark-color);
color: white;
padding: 100px 0 30px;
position: relative;
overflow: hidden;
}
.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 50px;
margin-bottom: 70px;
position: relative;
z-index: 2;
}
.footer-col h3 {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 30px;
position: relative;
padding-bottom: 15px;
}
.footer-col h3::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 60px;
height: 3px;
background: var(--accent-color);
}
.footer-about p {
line-height: 1.7;
margin-bottom: 30px;
font-weight: 300;
}
.social-links {
display: flex;
gap: 15px;
}
.social-link {
width: 45px;
height: 45px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
color: white;
transition: var(--transition);
text-decoration: none;
font-size: 1.1rem;
}
.social-link:hover {
background: var(--accent-color);
transform: translateY(-5px);
}
.footer-links {
list-style: none;
}
.footer-links li {
margin-bottom: 18px;
}
.footer-links a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: var(--transition);
display: flex;
align-items: center;
font-weight: 400;
}
.footer-links a i {
margin-right: 12px;
color: var(--accent-color);
font-size: 0.8rem;
transition: var(--transition);
}
.footer-links a:hover {
color: white;
padding-left: 5px;
}
.footer-links a:hover i {
transform: translateX(5px);
}
.footer-newsletter p {
margin-bottom: 25px;
line-height: 1.7;
font-weight: 300;
}
.newsletter-form {
display: flex;
margin-bottom: 20px;
}
.newsletter-input {
flex-grow: 1;
padding: 15px 20px;
border: none;
border-radius: 8px 0 0 8px;
background: rgba(255, 255, 255, 0.1);
color: white;
font-size: 1rem;
}
.newsletter-input::placeholder {
color: rgba(255, 255, 255, 0.7);
}
.newsletter-btn {
background: var(--accent-color);
color: white;
border: none;
padding: 0 25px;
border-radius: 0 8px 8px 0;
cursor: pointer;
transition: var(--transition);
font-weight: 600;
}
.newsletter-btn:hover {
background: #219652;
}
.footer-bottom {
text-align: center;
padding-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.7);
font-size: 0.95rem;
position: relative;
z-index: 2;
}
/* WhatsApp Button */
.whatsapp-btn {
position: fixed;
bottom: 30px;
right: 30px;
width: 75px;
height: 75px;
background: #25D366;
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 2.2rem;
z-index: 1000;
text-decoration: none;
animation: whatsappPulse 3s ease-in-out infinite,
whatsappFloat 4s ease-in-out infinite;
box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
border: 4px solid white;
overflow: visible;
transition:
transform 0.4s ease,
box-shadow 0.4s ease,
background-color 0.4s ease;
}
.whatsapp-btn::before {
content: '';
position: absolute;
top: -8px;
left: -8px;
right: -8px;
bottom: -8px;
border-radius: 50%;
background: #25D366;
z-index: -1;
opacity: 0.6;
animation: whatsappRipple 3s ease-in infinite;
}
.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
transform: scale(1.08) translateY(-8px);
box-shadow: 0 12px 35px rgba(37, 211, 102, 0.9);
background: #128C7E;
animation-play-state: paused;
}
.whatsapp-btn:hover::before,
.whatsapp-btn:focus-visible::before {
animation-play-state: paused;
}
@keyframes whatsappPulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
@keyframes whatsappFloat {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-6px); }
}
@keyframes whatsappRipple {
0% {
transform: scale(0.8);
opacity: 0.6;
}
100% {
transform: scale(2.2);
opacity: 0;
}
}
/* Scroll to Top Button */
.scroll-top {
position: fixed;
bottom: 130px;
right: 30px;
width: 55px;
height: 55px;
background: var(--primary-color);
color: #3ca241;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
box-shadow: 0 5px 20px rgba(13, 43, 69, 0.4);
z-index: 999;
cursor: pointer;
opacity: 0;
visibility: hidden;
transition: var(--transition);
border: 2px solid white;
}
.scroll-top.show {
opacity: 1;
visibility: visible;
}
.scroll-top:hover {
background: var(--accent-color);
transform: translateY(-5px);
color: #ffffff;
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(40px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive Design */
@media (max-width: 992px) {
.hero-content h1 {
font-size: 3.2rem;
}
.section-title {
font-size: 2.5rem;
}
}
@media (max-width: 768px) {
.nav-menu {
position: fixed;
top: 124px;
left: -100%;
width: 100%;
height: calc(100vh - 85px);
background: #3ca241;
flex-direction: column;
align-items: center;
justify-content: center;
transition: var(--transition);
z-index: 999;
}
.nav-menu.active {
left: 0;
}
.nav-menu li {
margin: 20px 0;
}
.nav-menu a {
color: white;
font-size: 1.5rem;
}
.mobile-toggle {
display: block;
}
.hero-content h1 {
font-size: 2.5rem;
}
.hero-btns {
flex-direction: column;
gap: 15px;
}
.stats-container {
flex-direction: column;
gap: 40px;
}
.contact-grid {
grid-template-columns: 1fr;
}
.contact-form {
padding: 30px 20px;
}
.language-dropdown {
right: -20px;
}
}
@media (max-width: 576px) {
.hero-content h1 {
font-size: 2.2rem;
}
.section-title {
font-size: 2rem;
}
.cta-title {
font-size: 2.2rem;
}
.testimonial-card {
padding: 30px 20px;
}
.whatsapp-btn {
width: 65px;
height: 65px;
font-size: 1.8rem;
}
.scroll-top {
width: 50px;
height: 50px;
font-size: 1.2rem;
}
.language-toggle {
padding: 8px 12px;
font-size: 0.9rem;
}
.language-option {
padding: 10px 20px;
}
}
/* Ensure carousel arrows are always visible and properly positioned on small screens */
@media (max-width: 480px) {
.prev-carousel, .next-carousel {
display: block !important;
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 11;
width: 40px;
height: 40px;
font-size: 1rem;
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.prev-carousel {
left: 5px;
}
.next-carousel {
right: 5px;
}
}
/* Language Content */
.lang-es { display: block; }
.lang-en { display: none; }
.lang-active-es .lang-es { display: block; }
.lang-active-es .lang-en { display: none; }
.lang-active-en .lang-es { display: none; }
.lang-active-en .lang-en { display: block; }

/* Filter Buttons */
.filter-buttons {
display: flex;
justify-content: center;
gap: 15px;
margin-bottom: 40px;
flex-wrap: wrap;
}
.filter-btn {
padding: 10px 25px;
background: #f0f0f0;
border: none;
border-radius: 50px;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
color: #555;
}
.filter-btn.active, .filter-btn:hover {
background: var(--accent-color);
color: white;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

/* Fixed car card styling to prevent expansion */
.car-card {
min-height: 580px;
display: flex;
flex-direction: column;
}
.car-content {
display: flex;
flex-direction: column;
flex-grow: 1;
}
.car-specs {
margin: 20px 0;
}
.car-price {
margin-top: auto;
padding-top: 20px;
}

/* Ensure consistent card height across all screen sizes */
.all-cars-grid {
grid-auto-rows: 1fr;
}
.car-card {
height: 100%;
min-height: 580px;
}
@media (max-width: 768px) {
.car-card {
min-height: 560px;
}
}
@media (max-width: 576px) {
.car-card {
min-height: 540px;
}
}


/* Politica de privacidad*/

.politica-p {

width: 100%;
height: 800px;
}

.container-p {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}
.politica-pa {
margin-top: 25px;
margin: 25px;
  
}
.header-container-p {
display: flex;
justify-content: space-between;
align-items: center;
}

/* === Ajuste SEO + cards de promociones estilo landing principal === */
.featured-cars {
  padding: 90px 0 120px;
  background: #f4f6f7;
}
.all-cars-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  justify-content: center;
  gap: 34px;
  align-items: stretch;
}
.car-card.car-card--promo {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  min-width: 0;
  max-width: 340px;
  width: 100%;
  min-height: 500px;
  height: auto;
  margin: 0;
}
.car-card.car-card--promo:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.car-card--promo .car-image {
  height: 220px;
  padding: 26px 24px 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.car-card--promo .car-image picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-card--promo .car-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
  transform: none;
}
.car-card--promo:hover .car-image img {
  transform: scale(1.04);
}
.car-card--promo .car-content {
  padding: 22px 30px 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.car-card--promo .car-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #707070;
  margin: 0 0 14px;
  line-height: 1.2;
  text-align: center;
}
.car-card--promo .seo-card-description {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
.car-card--promo .car-price {
  margin-top: auto;
  padding-top: 0;
  border-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.car-card--promo .promo-price-wrap {
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.car-card--promo .promo-price-line,
.lang-active-es .car-card--promo .promo-price-line.lang-es,
.lang-active-en .car-card--promo .promo-price-line.lang-en {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  flex-wrap: wrap;
}
.lang-active-es .car-card--promo .promo-price-line.lang-en,
.lang-active-en .car-card--promo .promo-price-line.lang-es {
  display: none;
}
.car-card--promo .price-value {
  font-size: 2.45rem;
  font-weight: 900;
  color: var(--accent-color);
  line-height: 1;
  letter-spacing: -1px;
}
.car-card--promo .price-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-color);
  margin: 0;
}
.car-card--promo .promo-old-price,
.lang-active-es .car-card--promo .promo-old-price.lang-es,
.lang-active-en .car-card--promo .promo-old-price.lang-en {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #707070;
  line-height: 1.2;
}
.lang-active-es .car-card--promo .promo-old-price.lang-en,
.lang-active-en .car-card--promo .promo-old-price.lang-es {
  display: none;
}
.car-card--promo .car-cta {
  background: var(--accent-color);
  color: #fff;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  width: min(100%, 270px);
  outline: 0;
  box-shadow: none;
}
.car-card--promo .car-cta:hover {
  background: #219652;
  transform: translateY(-3px);
  color: #fff;
}
@media (max-width: 576px) {
  .all-cars-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .car-card.car-card--promo {
    max-width: 100%;
    min-height: 470px;
  }
  .car-card--promo .car-image {
    height: 205px;
  }
  .car-card--promo .price-value {
    font-size: 2.2rem;
  }
}

/* Tarjetas de promociones integradas en esta hoja (V8).
   Se mantienen aquí para que la página no dependa de /assets. */
.fleet-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.vehicle-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(22, 50, 35, .10);
  scroll-margin-top: 120px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(22, 50, 35, .15);
}

.vehicle-photo {
  height: 250px;
  padding: 28px 30px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.vehicle-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.vehicle-body {
  padding: 14px 38px 34px;
  display: flex;
  flex: 1;
  flex-direction: column;
  text-align: center;
}

.vehicle-body h3 {
  min-height: 2.6em;
  margin: 0 0 17px;
  color: #686868;
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 18px;
  padding: 14px 0;
  border-top: 1px solid #edf0ed;
  border-bottom: 1px solid #edf0ed;
}

.vehicle-spec {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  color: #626862;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.25;
}

.vehicle-spec i {
  color: #35a63d;
  font-size: 1.05rem;
}

.vehicle-rate {
  min-height: 67px;
  margin: auto 0 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vehicle-current-price {
  color: #35a63d;
  line-height: 1;
  white-space: nowrap;
}

.vehicle-current-price strong {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.025em;
}

.vehicle-current-price > span {
  margin-left: 3px;
  font-size: .78rem;
  font-weight: 600;
}

.vehicle-old-price {
  margin-top: 7px;
  color: #686868;
  font-size: .9rem;
}

.vehicle-rate--request > strong {
  color: #35a63d;
  font-size: 1rem;
  line-height: 1.3;
}

.vehicle-cta {
  width: 100%;
  min-height: 55px;
  padding: 14px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: #35a63d;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease;
}

.vehicle-cta:hover {
  color: #fff !important;
  background: #258b31;
  transform: translateY(-1px);
}

.vehicle-card .lang-es,
.vehicle-card .lang-en {
  display: none;
}

.lang-active-es .vehicle-card .lang-es,
.lang-active-en .vehicle-card .lang-en {
  display: block;
}

.lang-active-es .vehicle-card .vehicle-spec span.lang-es,
.lang-active-en .vehicle-card .vehicle-spec span.lang-en,
.lang-active-es .vehicle-card .vehicle-current-price span.lang-es,
.lang-active-en .vehicle-card .vehicle-current-price span.lang-en,
.lang-active-es .vehicle-card .vehicle-cta span.lang-es,
.lang-active-en .vehicle-card .vehicle-cta span.lang-en {
  display: inline;
}

.vehicle-card[hidden] {
  display: none !important;
}

@media (max-width: 1000px) {
  .fleet-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
  }

  .vehicle-photo {
    height: 245px;
  }
}

@media (max-width: 620px) {
  .fleet-card-grid {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
    gap: 22px;
  }

  .vehicle-photo {
    height: 235px;
    padding: 24px 24px 6px;
  }

  .vehicle-body {
    padding: 12px 25px 28px;
  }

  .vehicle-body h3 {
    font-size: 1.45rem;
  }

  .vehicle-current-price strong {
    font-size: 2.05rem;
  }
}

/* === Corrección visual solicitada: navbar fijo + imágenes más grandes en promociones === */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
}

html {
  scroll-padding-top: 110px;
}

.car-card.car-card--promo {
  min-height: 560px;
}

.car-card--promo .car-image {
  height: 275px;
  padding: 8px 10px 0;
  overflow: hidden;
}

.car-card--promo .car-image picture {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.car-card--promo .car-image img {
  width: 124%;
  height: 124%;
  max-width: none;
  object-fit: contain;
  transform: scale(1.13);
  transform-origin: center center;
}

.car-card--promo:hover .car-image img {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .car-card.car-card--promo {
    min-height: 530px;
  }

  .car-card--promo .car-image {
    height: 245px;
    padding: 8px 8px 0;
  }

  .car-card--promo .car-image img {
    width: 118%;
    height: 118%;
    transform: scale(1.08);
  }

  .car-card--promo:hover .car-image img {
    transform: scale(1.12);
  }
}

@media (max-width: 576px) {
  .car-card.car-card--promo {
    min-height: 500px;
  }

  .car-card--promo .car-image {
    height: 230px;
  }
}

/* === FIX FINAL PROMOCIONES: navbar fijo + cards iguales a la página principal === */
body {
  padding-top: 110px;
}

header#header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

header#header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
}

.featured-cars {
  padding-top: 80px;
}

.all-cars-grid#cars-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, 320px) !important;
  justify-content: center !important;
  gap: 30px !important;
  align-items: stretch !important;
}

#cars-grid .car-card.car-card--promo {
  width: 320px !important;
  max-width: 320px !important;
  min-width: 320px !important;
  min-height: 580px !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

#cars-grid .car-card--promo .car-image {
  height: 220px !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  display: block !important;
  background: #fff !important;
}

#cars-grid .car-card--promo .car-image picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

#cars-grid .car-card--promo .car-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  transform: none !important;
  transition: var(--transition) !important;
}

#cars-grid .car-card--promo:hover .car-image img {
  transform: scale(1.1) !important;
}

#cars-grid .car-card--promo .car-content {
  padding: 30px !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#cars-grid .car-card--promo .car-title {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  color: #707070 !important;
  margin: auto !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

#cars-grid .car-card--promo .car-price {
  margin-top: auto !important;
  padding-top: 20px !important;
  border-top: 0 !important;
  width: 100% !important;
}

#cars-grid .car-card--promo .promo-price-wrap {
  margin: 0 0 20px !important;
  gap: 2px !important;
}

#cars-grid .car-card--promo .price-value {
  font-size: 2.35rem !important;
  font-weight: 900 !important;
  color: var(--accent-color) !important;
  line-height: 1 !important;
  letter-spacing: -1px !important;
}

#cars-grid .car-card--promo .price-unit {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--accent-color) !important;
  margin: 0 !important;
}

#cars-grid .car-card--promo .promo-old-price {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #707070 !important;
  line-height: 1.2 !important;
}

#cars-grid .car-card--promo .car-cta {
  width: 100% !important;
  max-width: 270px !important;
  padding: 14px 25px !important;
  border-radius: 50px !important;
  background: var(--accent-color) !important;
  color: #fff !important;
  font-weight: 800 !important;
  outline: none !important;
}

@media (max-width: 768px) {
  body {
    padding-top: 92px;
  }

  .featured-cars {
    padding-top: 60px;
  }

  .all-cars-grid#cars-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 320px)) !important;
  }

  #cars-grid .car-card.car-card--promo {
    width: 100% !important;
    max-width: 320px !important;
    min-width: 0 !important;
    min-height: 540px !important;
  }
}

@media (max-width: 576px) {
  .all-cars-grid#cars-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #cars-grid .car-card.car-card--promo {
    max-width: 100% !important;
    min-height: 520px !important;
  }

  #cars-grid .car-card--promo .car-image {
    height: 215px !important;
  }
}

