:root {
  --blue: #073d78;
  --blue-2: #0b4f92;
  --sky: #55bce8;
  --sky-2: #e8f7fd;
  --dark: #071827;
  --text: #102033;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --green: #25d366;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-md: 0 24px 70px rgba(15, 23, 42, .14);
  --shadow-blue: 0 18px 40px rgba(7, 61, 120, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
strong { color: #071827; }
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--blue);
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 999;
}
.skip-link:focus { left: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,.9);
}
.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 56px; width: auto; object-fit: contain; }
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #475569;
  font-weight: 750;
  font-size: 14px;
}
.nav a:hover { color: var(--blue); }
.header-actions { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: #052f5d; }
.btn-secondary {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: #f8fafc; }
.btn-whatsapp {
  color: #fff;
  background: var(--green);
  box-shadow: 0 18px 36px rgba(37, 211, 102, .28);
}
.btn-sky {
  color: #073d78;
  background: var(--sky);
  box-shadow: 0 18px 36px rgba(85, 188, 232, .28);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 142px 0 82px;
  background:
    radial-gradient(circle at 6% 12%, rgba(85,188,232,.32), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(7,61,120,.18), transparent 34%),
    linear-gradient(135deg, #fff 0%, #f1f7fb 62%, #edf8fd 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -170px;
  top: 120px;
  width: 440px;
  height: 440px;
  border-radius: 999px;
  background: rgba(85,188,232,.13);
  filter: blur(4px);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--sky-2);
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 9px;
  height: 9px;
  background: var(--sky);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(85,188,232,.22);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: .96;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
  color: #071827;
}
.lead {
  font-size: 20px;
  color: #475569;
  max-width: 650px;
  margin-bottom: 18px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 16px;
}
.microcopy { font-size: 14px; color: #64748b; margin: 0; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  max-width: 660px;
}
.stat {
  padding: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-size: 22px; color: var(--blue); line-height: 1; }
.stat span { font-size: 13px; color: #64748b; }

.visual-card {
  position: relative;
}
.photo-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.photo-stack img {
  width: 100%;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}
.photo-stack .wide { grid-column: span 2; height: 350px; }
.photo-stack .small { height: 190px; }
.float-card {
  position: absolute;
  left: -22px;
  bottom: 24px;
  padding: 18px 20px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}
.float-card span { display: block; color: #64748b; font-size: 13px; font-weight: 800; }
.float-card b { display: block; color: var(--blue); font-size: 26px; line-height: 1.1; }

.section {
  padding: 84px 0;
}
.section-white { background: #fff; }
.section-soft { background: #f8fafc; }
.section-blue {
  background:
    radial-gradient(circle at 20% 0%, rgba(85,188,232,.22), transparent 28%),
    linear-gradient(135deg, #073d78, #052f5d);
  color: white;
}
.section-blue .section-title,
.section-blue h2,
.section-blue h3,
.section-blue strong { color: white; }
.section-blue p { color: #dbeafe; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}
.section-kicker {
  color: var(--blue);
  font-weight: 950;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}
.section-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #071827;
  margin-bottom: 14px;
}
.section-copy {
  color: #64748b;
  font-size: 18px;
  max-width: 780px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: center;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.card-soft {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--sky-2);
  color: var(--blue);
  font-weight: 950;
  font-size: 20px;
  margin-bottom: 18px;
}
.card h3, .card-soft h3 {
  color: #071827;
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.card p, .card-soft p { color: #64748b; margin-bottom: 0; }

.info-panel {
  background: #071827;
  color: white;
  border-radius: 36px;
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.info-panel p { color: #cbd5e1; }
.info-panel ul {
  display: grid;
  gap: 12px;
  padding-left: 0;
  list-style: none;
  margin: 22px 0 0;
}
.info-panel li {
  display: flex;
  gap: 10px;
  color: #e2e8f0;
}
.check { color: var(--sky); font-weight: 950; }

.steps {
  counter-reset: step;
}
.step {
  position: relative;
  padding-left: 70px;
}
.step + .step { margin-top: 22px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  font-weight: 950;
  box-shadow: var(--shadow-blue);
}
.step h3 { margin-bottom: 6px; color: #071827; }
.step p { color: #64748b; margin-bottom: 0; }

.vehicle-card {
  padding: 0;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.vehicle-card img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}
.vehicle-body { padding: 24px; }
.vehicle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.tag {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  background: var(--sky-2);
  color: var(--blue);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery img {
  height: 235px;
  width: 100%;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.seo-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
.seo-box p { color: #64748b; font-size: 18px; }
.keyword-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.keyword-list li {
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #475569;
  font-weight: 750;
}

.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 950;
  color: #071827;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 24px;
  transition: transform .2s ease;
}
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 24px;
  margin: 0;
  color: #64748b;
}

.cta {
  border-radius: 40px;
  padding: 44px;
  background:
    radial-gradient(circle at 20% 10%, rgba(85,188,232,.24), transparent 34%),
    linear-gradient(135deg, #073d78, #052f5d);
  color: white;
  box-shadow: var(--shadow-md);
}
.cta h2 { color: white; font-size: clamp(30px, 4vw, 46px); line-height: 1.06; letter-spacing: -.04em; margin-bottom: 12px; }
.cta p { color: #dbeafe; font-size: 18px; max-width: 720px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.site-footer {
  background: #071827;
  color: #cbd5e1;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .8fr;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo img { height: 58px; width: auto; background: white; border-radius: 18px; padding: 6px; margin-bottom: 16px; }
.footer-title { color: #fff; font-weight: 950; margin-bottom: 12px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: var(--sky); }
.footer-bottom {
  padding-top: 20px;
  color: #94a3b8;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.page-hero {
  padding: 130px 0 58px;
  background:
    radial-gradient(circle at 15% 20%, rgba(85,188,232,.25), transparent 30%),
    linear-gradient(135deg, #fff, #f1f7fb);
}
.page-hero h1 { max-width: 900px; }
.legal-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow-sm);
  padding: 36px;
}
.legal-content h2 { margin-top: 30px; color: #071827; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #64748b; }
.legal-content a { color: var(--blue); font-weight: 850; }

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 80;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 35px rgba(37, 211, 102, .35);
}
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.03); }
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 75;
  display: none;
  padding: 10px;
  background: rgba(255,255,255,.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  gap: 8px;
}
.mobile-cta a {
  flex: 1;
  border-radius: 18px;
  padding: 12px 10px;
  text-align: center;
  font-weight: 950;
}
.mobile-cta .call { background: var(--blue); color: white; }
.mobile-cta .wa { background: var(--green); color: white; }

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: 980px;
  margin: 0 auto;
  background: rgba(7,24,39,.96);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .35);
  padding: 18px;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cookie-banner p { margin: 0; color: #dbeafe; font-size: 14px; }
.cookie-banner b { display: block; color: white; font-size: 18px; margin-bottom: 4px; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 950;
  cursor: pointer;
}
.cookie-btn.light { background: white; color: var(--blue); }
.cookie-btn.dark { background: transparent; color: white; border: 1px solid rgba(255,255,255,.24); }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid,
  .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-stats { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .header-inner { height: 76px; }
  .logo img { height: 46px; }
  .header-actions .btn-secondary { display: none; }
  .header-actions .btn-primary { padding: 11px 14px; font-size: 13px; }
  h1 { font-size: 42px; }
  .lead { font-size: 18px; }
  .hero { padding: 106px 0 58px; }
  .hero-actions .btn { width: 100%; }
  .photo-stack .wide { height: 260px; }
  .photo-stack .small { height: 150px; }
  .float-card { display: none; }
  .section { padding: 60px 0; }
  .section-head { display: block; }
  .section-title { font-size: 32px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery img { height: 165px; border-radius: 18px; }
  .cta { padding: 28px; border-radius: 30px; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .floating-whatsapp { display: none; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
  .cookie-banner { bottom: 78px; left: 10px; right: 10px; border-radius: 20px; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
}


/* ============================
   Motion / Animaciones suaves
   ============================ */

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

@keyframes softFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.01);
  }
}

@keyframes softFloatSmall {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 18px 35px rgba(37, 211, 102, .35);
  }
  50% {
    box-shadow: 0 18px 45px rgba(37, 211, 102, .60), 0 0 0 10px rgba(37, 211, 102, .10);
  }
}

@keyframes blueGlow {
  0%, 100% {
    box-shadow: 0 18px 40px rgba(7, 61, 120, .24);
  }
  50% {
    box-shadow: 0 22px 52px rgba(7, 61, 120, .34);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow {
    animation: fadeUp .65s ease both;
  }

  .hero h1 {
    animation: fadeUp .75s ease .08s both;
  }

  .hero .lead:nth-of-type(1) {
    animation: fadeUp .75s ease .16s both;
  }

  .hero .lead:nth-of-type(2) {
    animation: fadeUp .75s ease .24s both;
  }

  .hero-actions {
    animation: fadeUp .75s ease .32s both;
  }

  .microcopy {
    animation: fadeUp .75s ease .40s both;
  }

  .hero-stats .stat {
    animation: fadeUp .75s ease both;
  }

  .hero-stats .stat:nth-child(1) { animation-delay: .48s; }
  .hero-stats .stat:nth-child(2) { animation-delay: .56s; }
  .hero-stats .stat:nth-child(3) { animation-delay: .64s; }

  .photo-stack .wide {
    animation: fadeUp .85s ease .22s both, softFloat 6s ease-in-out 1.2s infinite;
  }

  .photo-stack .small:nth-child(2) {
    animation: fadeUp .85s ease .36s both, softFloatSmall 7s ease-in-out 1.4s infinite;
  }

  .photo-stack .small:nth-child(3) {
    animation: fadeUp .85s ease .44s both, softFloatSmall 7.5s ease-in-out 1.7s infinite reverse;
  }

  .float-card {
    animation: fadeUp .75s ease .68s both;
  }

  .btn-primary:hover,
  .btn-whatsapp:hover,
  .btn-secondary:hover {
    transform: translateY(-3px);
  }

  .btn-primary {
    animation: blueGlow 4.5s ease-in-out infinite;
  }

  .floating-whatsapp {
    animation: whatsappPulse 2.8s ease-in-out infinite;
  }

  .motion-ready .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity .75s ease,
      transform .75s ease,
      box-shadow .25s ease,
      background .25s ease;
    transition-delay: var(--delay, 0ms);
  }

  .motion-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .card,
  .card-soft,
  .vehicle-card,
  .seo-box,
  .info-panel,
  .faq-item {
    will-change: transform;
  }

  .card:hover,
  .card-soft:hover,
  .seo-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }

  .gallery img {
    transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
  }

  .gallery img:hover {
    transform: translateY(-5px) scale(1.025);
    box-shadow: var(--shadow-md);
    filter: saturate(1.06);
  }

  .vehicle-card img {
    transition: transform .5s ease, filter .5s ease;
  }

  .vehicle-card:hover img {
    transform: scale(1.045);
    filter: saturate(1.05);
  }

  .step::before {
    transition: transform .3s ease, box-shadow .3s ease;
  }

  .step:hover::before {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 22px 46px rgba(7, 61, 120, .32);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
