:root {
  --navy: #0E2657;
  --navy-deep: #08162f;
  --yellow: #FFC913;
  --gold: #0E2657;
  --white: #fff;
  --off-white: #f6f7f9;
  --line: #e6e9ef;
  --text: #0e2657;
  --muted: #667086;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(14,38,87,.08);
  --ease: cubic-bezier(.2,.8,.2,1);
  --font: Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.page-width { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.eyebrow-light { color: rgba(255,255,255,.82); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 28px rgba(242,214,28,.24); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }

/* Microinteracciones para botones y flechas con enlace */
.btn,
.round-arrow,
.service-body > a,
.social-row a,
.hero-pager button {
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(14,38,87,.16);
}
.btn span { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover span,
.btn:focus-visible span { transform: translateX(3px); }
.round-arrow:hover,
.round-arrow:focus-visible {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.service-body > a:hover,
.service-body > a:focus-visible,
.social-row a:hover,
.social-row a:focus-visible {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 7px 18px rgba(14,38,87,.15);
  border-color: var(--yellow);
}
.hero-pager button:hover,
.hero-pager button:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.9);
}
@media (hover: none) {
  .btn:hover, .round-arrow:hover, .service-body > a:hover, .social-row a:hover, .hero-pager button:hover { transform: none; box-shadow: none; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(14,38,87,.06);
}
.nav-shell {
  width: min(1410px, calc(100% - 40px));
  height: 94px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 245px; height: 64px; max-height: 64px; object-fit: contain; object-position: left center; }
.nav-desktop { display: flex; justify-content: center; gap: 34px; }
.nav-desktop a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s var(--ease);
}
.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--navy);
  transform: translateY(-2px);
}
.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after { transform: scaleX(1); }
.btn-nav { justify-self: end; min-height: 46px; padding-inline: 26px; }
.menu-toggle { display: none; }
.nav-mobile { display: none; }

/* Hero */
.hero { position: relative; min-height: 690px; height: calc(100vh - 94px); max-height: 900px; overflow: hidden; background: var(--navy); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,10,26,.94) 0%, rgba(5,10,26,.54) 42%, rgba(5,10,26,.10) 100%); }
.hero-inner { position: relative; height: 100%; color: var(--white); }
.hero-copy { position: absolute; left: 0; top: auto; bottom: 72px; transform: none; width: min(780px, 62%); }
.hero h1 { margin: 0; font-size: clamp(64px, 7.4vw, 108px); line-height: 1.02; letter-spacing: -.055em; font-weight: 700; }
.hero h1 span { color: var(--yellow); }
.hero-text { max-width: 540px; margin: 0 0 28px; font-size: 17px; color: rgba(255,255,255,.9); }
.social-row { display: flex; gap: 10px; margin-top: 30px; }
.social-row a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-size: 12px; font-weight: 700; }
.hero-float-card { position: absolute; right: 0; bottom: 130px; width: 450px; padding: 14px; display: grid; grid-template-columns: 96px 1fr 52px; align-items: center; gap: 16px; border-radius: 24px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32); backdrop-filter: blur(20px); box-shadow: 0 18px 45px rgba(0,0,0,.18); }
.hero-float-card img { height: 96px; object-fit: cover; border-radius: 16px; }
.hero-float-card h2 { margin: 0 0 6px; font-size: 24px; line-height: 1; letter-spacing: -.03em; }
.hero-float-card p { margin: 0; font-size: 14px; color: rgba(255,255,255,.82); }
.round-arrow { width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; text-decoration: none; font-size: 20px; }
.round-arrow.small { width: 34px; height: 34px; flex: 0 0 34px; }
.hero-pager { position: absolute; right: 0; bottom: 36px; display: flex; align-items: center; gap: 12px; }
.hero-pager span { margin-right: 10px; font-size: 13px; font-weight: 700; }
.hero-pager button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: transparent; color: white; cursor: pointer; }

/* Benefits */
.benefits-section { padding: 76px 0 52px; }
.section-center { text-align: center; margin-bottom: 34px; }
.section-center h2 { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: .98; letter-spacing: -.045em; color: #0c0f16; }
.benefit-grid { display: grid; grid-template-columns: 1.15fr .9fr .9fr; gap: 18px; }
.benefit-card { min-height: 340px; padding: 34px; border-radius: var(--radius); background: var(--off-white); overflow: hidden; position: relative; }
.benefit-card h3 { margin: 24px 0 14px; font-size: 31px; line-height: 1.02; letter-spacing: -.045em; color: #0c0f16; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon-disc { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--navy); font-size: 28px; }
.benefit-photo { padding: 0; color: white; }
.benefit-photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.benefit-photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,15,30,.18), rgba(4,15,30,.72)); }
.benefit-photo-copy { position: relative; z-index: 1; height: 100%; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; }
.benefit-photo h3 { color: white; margin: 0; }
.meter-copy { margin-top: auto; }
.meter-copy span { display: block; font-size: 13px; color: rgba(255,255,255,.78); }
.meter-copy strong { display: block; font-size: 54px; line-height: 1; margin-top: 6px; }
.meter { width: 126px; height: 64px; margin-top: 18px; border: 9px solid rgba(255,255,255,.34); border-bottom: 0; border-radius: 90px 90px 0 0; transform: rotate(-8deg); overflow: hidden; }
.meter span { display: none; } /* Solo se muestra el arco, sin relleno blanco */

/* About */
.about-section { padding: 38px 0 76px; }
.about-grid { display: grid; grid-template-columns: .82fr 1.28fr; gap: 58px; align-items: center; }
.about-copy h2 { margin: 0 0 24px; font-size: clamp(54px, 6vw, 82px); line-height: .89; letter-spacing: -.055em; color: var(--navy); }
.about-copy > p:not(.eyebrow) { max-width: 500px; margin: 0 0 22px; color: var(--muted); font-size: 16px; }
.check-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 600; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 800; }
.about-image { position: relative; margin: 0; min-height: 620px; border-radius: 26px; overflow: hidden; }
.about-image > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.glass-badge { position: absolute; right: 28px; bottom: 28px; width: 320px; padding: 22px; border-radius: 24px; color: white; background: rgba(10,17,14,.67); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(16px); }
.badge-top, .badge-bottom { display: flex; gap: 14px; align-items: center; }
.badge-icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; display: grid; place-items: center; background: #FFC913; color: #0E2657; }
.badge-bolt { display: block; width: 22px; height: 22px; fill: currentColor; }
.badge-top small { display: block; color: rgba(255,255,255,.68); }
.badge-top strong { display: block; font-size: 27px; line-height: 1; }
.badge-line { height: 1px; background: rgba(255,255,255,.24); margin: 18px 0; }
.badge-bottom p { margin: 0; flex: 1; font-size: 13px; color: rgba(255,255,255,.86); }
.leaf-icon { font-size: 30px; }

/* Services */
.services-section { padding: 76px 0 84px; background: linear-gradient(180deg, #fafbfc, #fff); }
.services-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-bottom: 32px; }
.services-head h2 { margin: 0; font-size: clamp(52px, 6vw, 76px); line-height: .9; letter-spacing: -.055em; }
.services-head > p { margin: 0 0 5px; color: var(--muted); max-width: 480px; }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.service-card { background: white; border: 1px solid #edf0f4; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 38px rgba(14,38,87,.05); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card figure { margin: 0; height: 170px; overflow: hidden; }
.service-card figure img { height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover figure img { transform: scale(1.04); }
.service-body { position: relative; min-height: 230px; padding: 28px 18px 20px; }
.service-icon { position: absolute; left: 18px; top: -26px; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--navy); border: 1px solid var(--yellow); display: grid; place-items: center; font-size: 20px; box-shadow: 0 8px 20px rgba(14,38,87,.07); }
.service-body h3 { margin: 2px 0 12px; font-size: 18px; line-height: 1.08; letter-spacing: -.025em; }
.service-body p { margin: 0; color: var(--muted); font-size: 13px; }
.service-body > a { position: absolute; right: 16px; bottom: 16px; width: 34px; height: 34px; border: 1px solid #dfe4eb; border-radius: 50%; display: grid; place-items: center; text-decoration: none; }

/* CTA */
.cta-section { padding: 0 0 60px; }
.cta-panel { position: relative; min-height: 330px; border-radius: 26px; overflow: hidden; color: white; }
.cta-panel > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.cta-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,19,43,.96), rgba(4,19,43,.72) 52%, rgba(4,19,43,.18)); }
.cta-copy { position: relative; z-index: 1; padding: 54px 52px; width: 65%; }
.cta-copy h2 { margin: 0 0 14px; font-size: clamp(42px, 5vw, 66px); line-height: .94; letter-spacing: -.05em; }
.cta-copy h2 span { color: var(--yellow); }
.cta-copy > p:not(.eyebrow) { margin: 0 0 24px; color: rgba(255,255,255,.8); }
.cta-glass-card { position: absolute; z-index: 2; right: 34px; bottom: 34px; width: 315px; padding: 18px; display: flex; gap: 14px; align-items: center; border-radius: 20px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(14px); }
.cta-home-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-size: 24px; }
.cta-glass-card p { margin: 0; font-size: 13px; color: rgba(255,255,255,.8); }
.cta-glass-card strong { color: white; font-size: 16px; }

/* Footer */
.site-footer { border-top: 1px solid #edf0f4; padding: 42px 0 24px; background: #fff; }
.footer-contact-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; padding-bottom: 32px; }
.footer-brand img { width: 170px; }
.footer-contact-brand p { color: var(--muted); font-size: 13px; max-width: 280px; line-height: 1.6; }
.footer-contact-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-contact-column h2 { margin: 0 0 4px; color: var(--navy); font-size: 16px; }
.footer-contact-column a, .footer-bottom a { text-decoration: none; color: var(--muted); font-size: 13px; }
.footer-contact-column a:hover, .footer-bottom a:hover { color: var(--navy); }
.footer-bottom { border-top: 1px solid #edf0f4; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-bottom p { margin: 0; color: var(--muted); font-size: 11px; }
.footer-bottom nav { display: flex; gap: 20px; }

/* Reveals */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .nav-desktop { gap: 22px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 1; }
  .hero-float-card { width: 370px; }
  .about-grid { grid-template-columns: 1fr 1.15fr; gap: 36px; }
}

@media (max-width: 820px) {
  .page-width, .nav-shell { width: min(100% - 28px, 1180px); }
  .nav-shell { grid-template-columns: 1fr auto; }
  .nav-desktop, .btn-nav { display: none; }
  .menu-toggle { display: grid; gap: 6px; width: 44px; height: 44px; border: 0; background: transparent; align-content: center; justify-content: end; }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); }
  .nav-mobile { display: grid; gap: 0; padding: 12px 20px 24px; background: white; border-top: 1px solid #eef0f4; }
  .nav-mobile[hidden] { display: none; }
  .nav-mobile a {
    position: relative;
    padding: 14px 0;
    text-decoration: none;
    border-bottom: 1px solid #eef0f4;
    font-weight: 700;
    transition: color .22s var(--ease), padding-left .22s var(--ease), background-color .22s var(--ease), transform .22s var(--ease);
    animation: mobile-nav-enter .32s var(--ease) both;
  }
  .nav-mobile a:nth-child(1) { animation-delay: .02s; }
  .nav-mobile a:nth-child(2) { animation-delay: .05s; }
  .nav-mobile a:nth-child(3) { animation-delay: .08s; }
  .nav-mobile a:nth-child(4) { animation-delay: .11s; }
  .nav-mobile a:nth-child(5) { animation-delay: .14s; }
  .nav-mobile a:hover,
  .nav-mobile a:focus-visible,
  .nav-mobile a:active {
    color: var(--navy);
    padding-left: 7px;
    background-color: rgba(255,201,19,.09);
  }
  .nav-mobile .btn { margin-top: 16px; border-bottom: 0; }
  .menu-toggle { transition: transform .22s var(--ease); cursor: pointer; }
  .menu-toggle:active { transform: scale(.94); }
  .menu-toggle span { transition: transform .25s var(--ease), width .25s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  @keyframes mobile-nav-enter {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .brand img { width: 155px; }

  .hero { min-height: 760px; height: auto; }
  .hero-inner { min-height: 760px; }
  .hero-copy { left: 0; top: 90px; bottom: auto; transform: none; width: 95%; }
  .hero h1 { font-size: clamp(58px, 15vw, 82px); }
  .hero-float-card { left: 0; right: auto; bottom: 94px; width: min(100%, 410px); }
  .hero-pager { left: 0; right: auto; bottom: 28px; }

  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 300px; }
  .benefit-photo { min-height: 390px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image { min-height: 560px; }
  .services-head { grid-template-columns: 1fr; gap: 18px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-copy { width: 100%; padding: 44px 28px 150px; }
  .cta-glass-card { left: 28px; right: 28px; width: auto; }

  .footer-contact-grid { grid-template-columns: 1fr; text-align: center; gap: 26px; }
  .footer-contact-brand, .footer-contact-column { align-items: center; }
  .footer-contact-brand p { text-align: center; margin-left: auto; margin-right: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom nav { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  /* Ajuste exclusivo para móvil: acercar la tarjeta inferior al titular */
  .hero { min-height: 690px; }
  .hero-inner { min-height: 690px; }
  .hero-copy { top: 64px; bottom: auto; width: 100%; }
  .hero h1 { font-size: 58px; }
  .hero-text { font-size: 15px; }
  /* En móvil, elevar la tarjeta para dejar libres los controles de navegación */
  .hero-float-card { grid-template-columns: 76px 1fr 44px; padding: 10px; bottom: 104px; }
  .hero-float-card img { height: 76px; }
  .hero-float-card h2 { font-size: 19px; }

  .benefits-section { padding-top: 58px; }
  .section-center h2 { font-size: 42px; }
  .about-copy h2, .services-head h2 { font-size: 50px; }
  .about-image { min-height: 470px; }
  .glass-badge { left: 16px; right: 16px; bottom: 16px; width: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card figure { height: 210px; }
  .service-body { min-height: 190px; }
  .cta-panel { min-height: 520px; }
  .cta-copy { padding: 40px 24px 165px; }
  .cta-copy h2 { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
