@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
  --negro:        #0d0d0f;
  --negro-2:      #16161a;
  --naranja:      #f2751e;
  --naranja-2:    #f68b1f;
  --blanco:       #ffffff;
  --gris-claro:   #f5f6f8;
  --gris-borde:   #e8e9ec;
  --gris-texto:   #6b7280;
  --texto:        #14141a;
  --sombra:       0 12px 32px rgba(0,0,0,.08);
  --radio:        14px;
  --radio-pill:   999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--texto);
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 6%; }

/* Fade up reveal */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─────────── BOTONES ─────────── */
.btn-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--naranja); color: #fff; font-weight: 600; font-size: .95rem;
  padding: .85rem 1.7rem; border-radius: var(--radio-pill); border: none;
  transition: background .25s, transform .25s;
  white-space: nowrap;
}
.btn-pill:hover { background: var(--naranja-2); transform: translateY(-2px); }

.btn-outline-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1.5px solid var(--texto); border-radius: var(--radio-pill);
  padding: .75rem 1.5rem; font-weight: 600; font-size: .9rem;
  transition: background .25s, color .25s;
}
.btn-outline-pill:hover { background: var(--texto); color: #fff; }

.btn-play {
  display: flex; align-items: center; gap: .7rem; background: none; border: none;
  font-weight: 600; color: var(--texto); font-size: .95rem;
}
.play-circle {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--texto);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ─────────── NAVBAR ─────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,15,15,.06);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.nav-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  padding: .4rem 6%;
  min-height: 76px;
}
.logo img { height: 68px; width: auto; margin: -6px 0; object-fit: contain; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 2.2rem; flex: 1; margin: 0 2.5rem; }
.nav-links a {
  font-size: .95rem; font-weight: 600; color: var(--texto);
  padding-bottom: 4px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--naranja); }
.nav-links a.active { color: var(--naranja); border-bottom-color: var(--naranja); }
.nav-cta { margin-left: 0; flex-shrink: 0; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none;
}
.hamburger span { width: 26px; height: 2.5px; background: var(--texto); border-radius: 3px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─────────── WHATSAPP FLOTANTE ─────────── */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 1500;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  animation: waPulse 2.4s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,.4); }
  50% { box-shadow: 0 8px 30px rgba(37,211,102,.7); }
}

/* ─────────── HERO ─────────── */
.hero-roi {
  position: relative; background: var(--gris-claro);
  padding: 8.5rem 6% 5rem; overflow: hidden; min-height: 760px;
}
.hero-roi-bg { position: absolute; inset: 0; z-index: 0; }
.hero-roi-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 78%;
  animation: heroZoom 10s ease-out forwards;
}
.hero-roi-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right,
    var(--gris-claro) 0%, var(--gris-claro) 30%,
    rgba(245,246,248,.88) 40%,
    rgba(245,246,248,.45) 50%,
    rgba(245,246,248,0) 62%
  );
}
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1); } }
.hero-car-outline { position: absolute; top: -10px; right: -100px; width: 58%; opacity: .07; z-index: 1; pointer-events: none; }
.hero-roi-text { position: relative; z-index: 2; max-width: 580px; animation: fadeLeft .8s ease both; }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }
.hero-eyebrow { color: var(--naranja); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; margin-bottom: .8rem; }
.hero-roi-text h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.12; color: var(--texto); }
.hero-roi-text h1 em { font-style: normal; color: var(--naranja); }
.hero-roi-text p { color: var(--gris-texto); margin: 1.3rem 0 1.9rem; max-width: 460px; font-size: 1.02rem; line-height: 1.6; }
.hero-roi-btns { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 1.6rem; left: 6%; display: flex; gap: .4rem; z-index: 2; }
.hero-dots .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(20,20,26,.25); transition: .3s; }
.hero-dots .dot.active { background: var(--naranja); width: 22px; border-radius: 4px; }

/* ─────────── SERVICIOS ─────────── */
.servicios-roi { padding: 6.5rem 6%; }
.servicios-head { display: flex; justify-content: space-between; gap: 3rem; align-items: flex-end; margin-bottom: 3.2rem; flex-wrap: wrap; }
.eyebrow { color: var(--naranja); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; margin-bottom: .6rem; }
.servicios-head h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 800; max-width: 540px; line-height: 1.25; }
.servicios-head h2 em { font-style: normal; color: var(--naranja); }
.servicios-sub { color: var(--gris-texto); max-width: 340px; line-height: 1.6; }
.servicios-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.7rem; }
.servicio-card {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--gris-borde); border-radius: var(--radio);
  padding: 1.7rem 1.7rem 0; box-shadow: var(--sombra); overflow: visible;
  transition: transform .35s, box-shadow .35s; margin-bottom: 2.4rem;
}
.servicio-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,.12); }
.servicio-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--naranja);
  display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.servicio-icon svg { width: 22px; height: 22px; }
.servicio-card h3 { font-weight: 700; font-size: 1.08rem; margin-bottom: .5rem; }
.servicio-card p { color: var(--gris-texto); font-size: .92rem; line-height: 1.5; margin-bottom: 1.4rem; }
.servicio-img { position: relative; margin: auto -1.7rem 0; border-radius: 0 0 var(--radio) var(--radio); overflow: hidden; }
.servicio-img img { width: 100%; height: 200px; object-fit: cover; object-position: center 42%; display: block; }
.arrow-btn {
  position: absolute; left: 1.4rem; bottom: -21px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--negro); color: #fff; border: 3px solid #fff; display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; transition: background .25s; z-index: 2;
}
.servicio-card:hover .arrow-btn { background: var(--naranja); }

/* ─────────── STATS OSCURA ─────────── */
.stats-roi { background: var(--negro); display: grid; grid-template-columns: repeat(4, 1fr); padding: 2.4rem 6%; }
.stat-item { display: flex; gap: 1rem; align-items: flex-start; padding: 0 1.5rem; border-left: 1px solid rgba(255,255,255,.1); }
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-icon { color: var(--naranja); flex-shrink: 0; }
.stat-icon svg { width: 26px; height: 26px; }
.stat-item strong { color: #fff; display: block; margin-bottom: .25rem; font-size: 1.02rem; }
.stat-item p { color: rgba(255,255,255,.55); font-size: .85rem; line-height: 1.4; }

/* ─────────── FLOTA ─────────── */
.flota-roi { padding: 5.5rem 6%; }
.flota-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin: .6rem 0 2.8rem; }
.flota-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); font-weight: 800; max-width: 480px; line-height: 1.25; }
.flota-head h2 em { font-style: normal; color: var(--naranja); }
.flota-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.flota-grid figure {}
.flota-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radio); transition: transform .4s; }
.flota-grid figure:hover img { transform: scale(1.03); }
.flota-grid figcaption { margin-top: .8rem; }
.flota-grid figcaption strong { display: block; font-weight: 700; }
.flota-grid figcaption span { color: var(--gris-texto); font-size: .85rem; }
.hero-dots.center { position: static; justify-content: center; margin-top: 2.4rem; }
.hero-dots.center .dot { background: var(--gris-borde); }
.hero-dots.center .dot.active { background: var(--naranja); }

/* ─────────── CTA FINAL OSCURA ─────────── */
.cta-roi {
  position: relative; background: var(--negro); padding: 4.8rem 6%;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem;
  overflow: hidden;
}
.cta-roi-curve { position: absolute; right: -80px; bottom: -100px; width: 460px; z-index: 0; opacity: .95; }
.cta-roi-text { position: relative; z-index: 1; max-width: 480px; }
.cta-roi-text h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.2; }
.cta-roi-text h2 em { font-style: normal; color: var(--naranja); }
.cta-roi-text p { color: rgba(255,255,255,.65); margin: 1.1rem 0 1.7rem; line-height: 1.6; }
.cta-roi-contact { position: relative; z-index: 1; display: flex; align-items: center; gap: 1rem; color: #fff; }
.wa-icon {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wa-icon svg { width: 24px; height: 24px; fill: #25D366; }
.cta-roi-contact strong { font-size: 1.4rem; display: block; }
.cta-roi-contact small { display: block; color: rgba(255,255,255,.6); font-size: .82rem; margin-bottom: .2rem; }

/* ─────────── FOOTER ─────────── */
.footer-roi { background: var(--negro); color: #fff; padding: 3.8rem 6% 1.8rem; }
.footer-roi-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.2rem; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo-box { margin-bottom: 1.2rem; }
.footer-logo-box img { height: 78px; width: auto; }
.footer-roi p.footer-desc { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.6; max-width: 280px; }
.footer-roi h4 { color: var(--naranja); font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 1.1rem; }
.footer-roi ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-roi ul li a, .footer-roi ul li { color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-roi ul li a:hover { color: var(--naranja); }
.footer-social { display: flex; gap: .7rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; transition: background .25s;
}
.footer-social a:hover { background: var(--naranja); }
.footer-social svg { width: 17px; height: 17px; fill: #fff; }
.footer-bottom { text-align: center; padding-top: 1.5rem; font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.75); text-decoration: underline; }

/* ─────────── PÁGINAS INTERIORES ─────────── */
.page-hero {
  position: relative; background: var(--negro); padding: 10.5rem 6% 4.5rem; overflow: hidden;
}
.page-hero img.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; z-index: 0; }
.page-hero-content { position: relative; z-index: 1; max-width: 600px; }
.page-hero .eyebrow { color: var(--naranja-2); margin-bottom: 1rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; line-height: 1.25; }
.page-hero h1 em { font-style: normal; color: var(--naranja); }
.page-hero p { color: rgba(255,255,255,.68); margin-top: 1.2rem; max-width: 460px; line-height: 1.65; font-size: .98rem; }

.content-section { padding: 5.5rem 6%; }
.content-section.gris { background: var(--gris-claro); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.two-col img { border-radius: var(--radio); width: 100%; height: 100%; object-fit: cover; box-shadow: var(--sombra); }
.two-col h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; margin-bottom: 1.1rem; line-height: 1.25; }
.two-col h2 em { font-style: normal; color: var(--naranja); }
.two-col p { color: var(--gris-texto); line-height: 1.7; margin-bottom: 1rem; }

.valores-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.valor-card { text-align: center; padding: 2rem 1.2rem; border: 1px solid var(--gris-borde); border-radius: var(--radio); }
.valor-card .servicio-icon { margin: 0 auto 1rem; }
.valor-card h3 { font-weight: 700; margin-bottom: .5rem; font-size: 1rem; }
.valor-card p { color: var(--gris-texto); font-size: .88rem; line-height: 1.5; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.5rem; }
.gallery-grid img { border-radius: var(--radio); height: 260px; object-fit: cover; width: 100%; transition: transform .4s; }
.gallery-grid a:hover img { transform: scale(1.03); }

/* ─────────── FORMULARIO CONTACTO ─────────── */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.contacto-info-card { background: var(--negro); color: #fff; border-radius: var(--radio); padding: 2.5rem; }
.contacto-info-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.6rem; }
.contact-list { display: flex; flex-direction: column; gap: 1.3rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-list .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--naranja); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-list .ic svg { width: 19px; height: 19px; fill: #fff; }
.contact-list span { color: rgba(255,255,255,.85); font-size: .95rem; }

.form-roi { display: flex; flex-direction: column; gap: 1.1rem; }
.form-roi label { font-size: .85rem; font-weight: 600; margin-bottom: .35rem; display: block; }
.form-roi input, .form-roi select, .form-roi textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--gris-borde); border-radius: 10px;
  font-family: inherit; font-size: .92rem; background: var(--gris-claro); transition: border-color .2s;
}
.form-roi input:focus, .form-roi select:focus, .form-roi textarea:focus { outline: none; border-color: var(--naranja); }
.form-roi textarea { resize: vertical; min-height: 100px; }
.form-roi button { margin-top: .4rem; align-self: flex-start; }

.mapa-wrap { margin-top: 3.5rem; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); }
.mapa-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 1100px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .flota-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-roi { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
  .stat-item:nth-child(3) { border-left: none; padding-left: 0; }
  .two-col { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-roi-inner { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
}

@media (max-width: 860px) {
  .nav-links {
    display: none !important;
    position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100vw !important; height: 100vh !important; background: #fff !important;
    padding: 100px 2.5rem 3rem !important; flex-direction: column !important; align-items: stretch !important;
    z-index: 2000 !important; overflow-y: auto; margin-left: 0 !important;
  }
  .nav-links.open { display: flex !important; }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(15,15,15,.08); }
  .nav-links a { display: block !important; font-size: 1.3rem !important; padding: 1.1rem 0 !important; border-bottom: none !important; }
  .nav-cta { display: none !important; }
  .hamburger { display: flex !important; margin-left: auto; z-index: 2200; }
  .logo img { height: 52px !important; }
  .nav-inner { min-height: 66px; padding: .3rem 5%; }

  .hero-roi {
    padding: 6.5rem 6% 3rem !important; min-height: 760px !important;
    display: flex !important; flex-direction: column !important; justify-content: flex-start !important;
  }
  .hero-eyebrow { margin-bottom: 1rem !important; }
  .hero-roi-text h1 { font-size: clamp(1.9rem, 6vw, 2.6rem) !important; margin-bottom: .3rem; }
  .hero-roi-text p { margin: 1.1rem 0 1.7rem !important; }
  .hero-car-outline { width: 90% !important; right: -40px !important; opacity: .05 !important; }
  .hero-roi-btns { flex-direction: column !important; align-items: flex-start !important; gap: 1.1rem !important; }
  .hero-roi-bg img { object-position: center 88% !important; }
  .hero-roi-bg::after {
    background: linear-gradient(180deg,
      var(--gris-claro) 0%, var(--gris-claro) 40%,
      rgba(245,246,248,.82) 50%, rgba(245,246,248,.42) 62%,
      rgba(245,246,248,0) 76%
    ) !important;
  }

  .servicios-head { flex-direction: column; align-items: flex-start !important; }
  .servicios-grid { grid-template-columns: 1fr !important; }
  .servicio-img img { height: 230px !important; object-position: center 40% !important; }
  .flota-grid { grid-template-columns: 1fr 1fr !important; }
  .flota-head { flex-direction: column; align-items: flex-start !important; }

  .stats-roi { grid-template-columns: 1fr !important; padding: 2rem 6% !important; }
  .stat-item { border-left: none !important; border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0 0 !important; }
  .stat-item:first-child { border-top: none; padding-top: 0 !important; }

  .cta-roi { flex-direction: column !important; align-items: flex-start !important; text-align: left; }
  .cta-roi-curve { width: 260px !important; opacity: .5 !important; }

  .footer-roi-inner { grid-template-columns: 1fr !important; }
  .valores-grid { grid-template-columns: 1fr 1fr !important; }
  .gallery-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .flota-grid { grid-template-columns: 1fr !important; }
  .valores-grid { grid-template-columns: 1fr !important; }
  .whatsapp-float { width: 50px; height: 50px; bottom: 18px; right: 18px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}
