: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: fixed;
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;
}
/* Hero Video Banner Section */
.hero-video-banner {
height: 100vh;
position: relative;
overflow: hidden;
}
.hero-video {
width: 100%;
height: 100%;
object-fit: cover;
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgb(0 0 0 / 56%);
}
.hero-content {
position: absolute;
top: 58%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
text-align: center;
z-index: 2;
max-width: 900px;
padding: 0 20px;
}
.hero-content h1 {
font-size: 3.8rem;
font-weight: 800;
margin-bottom: 25px;
line-height: 1.2;
letter-spacing: -1px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.hero-content p {
font-size: 1.4rem;
margin-bottom: 40px;
line-height: 1.4;
font-weight: 300;
}
.hero-btns {
display: flex;
gap: 25px;
justify-content: center;
}
.btn {
display: inline-block;
padding: 16px 35px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
font-size: 1.1rem;
transition: var(--transition);
cursor: pointer;
border: none;
letter-spacing: 0.5px;
}
.btn-primary {
background: #2A7B9B;
background: linear-gradient(90deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%);
color: white;
box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}
.btn-primary:hover {
background: #219652;
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(39, 174, 96, 0.6);
}
.btn-secondary {
background: transparent;
color: white;
border: 2px solid white;
}
.btn-secondary:hover {
background: white;
color: #3ca241;
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}
/* Promotions Section */
.promotions {
padding: 100px 0;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
position: relative;
overflow: hidden;
}
.promotions-grid {
display: grid;
/* Evita que una sola card se estire demasiado en pantallas grandes */
grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
justify-content: center;
gap: 30px;
margin-top: 50px;
position: relative;
z-index: 2;
}
.promotion-card {
background: white;
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;
cursor: pointer;
text-decoration: none;
}

.promotion-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.promotion-card--offer {
min-height: 100%;
}

.promotion-image {
height: 200px;
overflow: hidden;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
background: #ffffff;
}

.promotion-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: var(--transition);
transform: none;
}

.promotion-card:hover .promotion-image img {
transform: scale(1.05);
}


.promotion-content {
padding: 30px;
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: center;
}

.promotion-title,
.promotion-brand {
font-size: 1.5rem;
font-weight: 700;
color: #707070;
margin-bottom: 16px;
line-height: 1.2;
}

.promotion-model {
font-size: 1rem;
font-weight: 500;
color: #707070;
margin-bottom: 14px;
line-height: 1.35;
}

.promotion-rent-from {
font-size: 0.95rem;
font-weight: 700;
color: #58b6af;
margin-bottom: 10px;
}

.promotion-price-container {
margin: 10px 0 22px;
display: flex;
flex-direction: column;
align-items: center;
gap: 3px;
}

.promotion-price-line {
display: flex;
align-items: baseline;
justify-content: center;
gap: 1px;
flex-wrap: wrap;
}

.promotion-price {
font-size: 2.2rem;
font-weight: 800;
color: var(--accent-color);
margin: 0;
line-height: 1;
}

.promotion-price-suffix {
font-size: 0.9rem;
font-weight: 500;
color: var(--accent-color);
letter-spacing: 0;
}

.promotion-regular-price {
font-size: 0.92rem;
font-weight: 500;
color: #707070;
opacity: 1;
}

.promotion-cta {
background: var(--accent-color);
color: white;
padding: 15px 25px;
border-radius: 50px;
text-decoration: none;
font-weight: 700;
transition: var(--transition);
margin-top: auto;
border: none;
cursor: pointer;
font-size: 1rem;
width: min(100%, 270px);
box-shadow: none;
text-transform: none;
}

.promotion-cta:hover {
background: #219652;
transform: translateY(-3px);
}

@media (max-width: 768px) {
  .promotion-image {
    height: 180px;
    padding: 0;
  }
  .promotion-image img {
    object-fit: cover;
    transform: none;
  }
  .promotion-card:hover .promotion-image img {
    transform: scale(1.04);
  }
  .promotion-content {
    padding: 24px 20px 24px;
  }
  .promotion-title,
  .promotion-brand {
    font-size: 1.35rem;
  }
  .promotion-price {
    font-size: 2rem;
  }
}

/* Tarjetas de flota integradas en la hoja principal (V8).
   Se mantienen aquí para evitar depender de una carpeta de recursos adicional. */
.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;
  }
}

/* Slider Controls */
.slider-controls {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 10px;
z-index: 10;
}
.slider-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
cursor: pointer;
transition: var(--transition);
}
.slider-dot.active {
background: white;
transform: scale(1.3);
}
.slider-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 50px;
height: 50px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
cursor: pointer;
transition: var(--transition);
z-index: 10;
border: none;
}
.slider-arrow:hover {
background: rgba(255, 255, 255, 0.4);
}
.prev-arrow {
left: 30px;
}
.next-arrow {
right: 30px;
}
/* Contenedor principal del carrusel */
.logo-slider-container {
box-sizing: border-box;
overflow: hidden;
position: relative;
width: 100%;
padding: 50px 0;
mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
-webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.logo-slider-track {
display: flex;
width: max-content;
animation: scroll-loop 40s linear infinite;
}
@keyframes scroll-loop {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
.logo-img {
height: 75px;
margin: 0 40px;
filter: grayscale(100%);
opacity: 0.6;
transition: all 0.3s ease;
}

/* Hover (para cards dinámicas también, sin depender de JS) */
.promotion-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.logo-img:hover {
filter: grayscale(0%);
opacity: 1;
transform: scale(1.1);
}
.logo-slider-container:hover .logo-slider-track {
animation-play-state: paused;
}
/* 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: 90px 0 80px;
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;
}
}


/* Services Section */
.services {
  padding: 100px 0;
  background: var(--gray-color);
  position: relative;
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

.service-card {
  background: white;
  padding: 45px 35px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 90px;
  height: 90px;
  background: rgba(39, 174, 96, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: var(--accent-color);
  font-size: 2rem;
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.service-card:hover .service-icon {
  background: var(--accent-color);
  color: white;
  transform: scale(1.1);
}

.service-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #16af56;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.service-description {
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.service-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

.service-link::after {
  content: '→';
  position: absolute;
  right: -20px;
  opacity: 0;
  transition: var(--transition);
}

.service-link:hover {
  padding-right: 20px;
}

.service-link:hover::after {
  opacity: 1;
  right: 0;
}


/* CTA Section */
.cta {
width: 100%;
height: 500px;
background-image: url('img/fly.jpg');
background-attachment: fixed;
background-size: cover;
color: white;
text-align: center;
position: relative;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
.cta-overlay {
width: 100%;
height: 100%;
background-color: #0e0e0ea4;
margin: auto;
display: flex;
justify-content: center;
align-items: center;
}
.cta-content {
max-width: 800px;
margin: 0 auto;
position: relative;
z-index: 2;
}
.description-strong {
font-weight: 600;
}
.cta-title {
font-size: 3rem;
font-weight: 800;
margin-bottom: 25px;
line-height: 1.2;
}
.cta-description {
font-size: 1.2rem;
margin-bottom: 40px;
line-height: 1.7;
font-weight: 300;
}
.cta-btn {
background: #2A7B9B;
background: linear-gradient(90deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%);
color: white;
padding: 18px 45px;
border-radius: 50px;
text-decoration: none;
font-weight: 700;
font-size: 1.2rem;
transition: var(--transition);
display: inline-block;
letter-spacing: 0.5px;
box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4);
}
.cta-btn:hover {
background: #3ca241;
transform: translateY(-5px);
box-shadow: 0 10px 30px #3ca241;
}
/* Testimonials Section */


.testimonials {
  padding: 120px 0 80px;
  background: white;
  position: relative;
}

/* GRID: UNA SOLA COLUMNA */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

/* CARD-1*/
.testimonial-card {
  background-color: white;
  background-image: url(img/cinta-tes.jpg);
  object-fit: cover;
  padding: 45px 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* COMILLA DECORATIVA */
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 5rem;
  color: rgba(39, 174, 96, 0.1);
  font-family: serif;
  line-height: 1;
  z-index: 0;
}

/* HOVER */
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* CONTENIDO */
.testimonial-content {
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* TEXTO */
.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #555;
  font-style: italic;
  margin-bottom: 25px;
}

/* AUTOR */
.testimonial-author {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

/* FOTO (CÍRCULO PERFECTO) */
.author-image {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  border: 3px solid rgba(39, 174, 96, 0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  background: #eef8f0;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-fallback {
  font-weight: 700;
  letter-spacing: .03em;
}

/* INFO AUTOR */
.author-info {
  flex-grow: 1;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #3ca241;
  margin-bottom: 5px;
}

.author-title {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
}

/* RATING ABAJO */
.rating {
  color: #ffb528;
  margin-top: auto; /* empuja las estrellas abajo */
  font-size: 1.1rem;
}

/* MOBILE */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 35px 30px;
  }
}

/* ===== AUTOCOMPLETE (SIN CAMBIOS) ===== */

.autocomplete-list {
  background-color: #ffffff52;
  list-style: none;
  border-radius: 15px;
  padding: 0px;
  overflow: hidden;
}

.autocomplete-list li {
  padding: 10px 15px;
  margin: 0;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.autocomplete-list li:hover {
  background: #2A7B9B;
  background: linear-gradient(
    90deg,
    rgba(42, 123, 155, 1) 0%,
    rgba(87, 199, 133, 1) 43%,
    rgba(237, 221, 83, 0) 100%
  );
}




/* Contact Section */
.contact {
position: relative;
padding: 100px 0;
background: #071a0a;
color: white;
overflow: hidden;
}
.contact::before {
content: "";
position: absolute;
inset: 0;
background-image: url("img/fondo-contact.webp");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: scroll;
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);
}
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 {
  position: relative;
}





.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;
}










.testimonial-slider {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.testimonial-card {
  background-color: white;
  background-image: url('img/cinta-tes.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 45px 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
}

.testimonial-inner {
  position: relative;
  padding: 40px;
  z-index: 2;
}

.testimonial-stars {
  color: #f4b400;
  font-size: 18px;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2e7d32;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-stars {
  color: #f5a623;
  margin-top: 5px;
}



/* 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;
}

/* ===== Mobile performance + iPhone fixes ===== */
.promotion-price-suffix {
  color: var(--accent-color) !important;
}
.promotion-regular-price {
  color: #707070 !important;
}

@media (max-width: 768px) {
  .hero-video {
    display: none !important;
  }

  .hero-video-banner {
    background-image: url('img/fly.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100svh;
  }

  .hero-overlay {
    background: rgb(0 0 0 / 48%);
  }

  .whatsapp-btn {
    width: 62px;
    height: 62px;
    right: 16px;
    bottom: 16px;
    font-size: 1.8rem;
    border-width: 3px;
    box-shadow: 0 5px 16px rgba(37, 211, 102, 0.45);
  }

  .whatsapp-btn::before {
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
  }

  .scroll-top {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 88px;
    font-size: 1.1rem;
  }

  .promotion-image {
    height: 200px;
  }

  .promotion-image img {
    object-fit: cover;
  }
}


/* ===== Accessibility + keep desktop video ===== */
.mobile-toggle {
  background: transparent;
  border: none;
  padding: 0;
}

.contact-label {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.social-link:focus-visible,
.whatsapp-btn:focus-visible,
.language-toggle:focus-visible,
.mobile-toggle:focus-visible,
.nav-menu a:focus-visible,
.btn:focus-visible,
.promotion-card:focus-visible,
.submit-btn:focus-visible,
.form-control:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.language-toggle {
  background: #2f8d39;
}
.language-toggle:hover {
  background: #26772f;
}
.promotion-price-suffix {
  color: #2f8d39 !important;
}
.promotion-regular-price {
  color: #666666 !important;
}

/* Desktop hero video must remain visible */
.hero-video-banner {
  background-image: none;
}
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-video {
    display: none !important;
  }

  .hero-video-banner {
    background-image: url('img/fly.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100svh;
  }
}
