/* ==========================================================================
   PROSHIP HOLD SOLUTIONS — Landing page
   Sistema de marca: PHS-MANUAL DE MARCA.pdf (v1.0 · mayo 2026)
   ========================================================================== */

:root {
  /* Paleta cromática */
  --navy: #0E2F66;   /* Marine Navy · primario institucional */
  --cyan: #1ABFE6;   /* Cyan Acento · vitalidad / agua */
  --foam: #F2F6F8;   /* Foam · fondo neutro */
  --steel: #5A6B7B;  /* Steel · texto secundario */
  --ink: #000F1F;    /* Ink · tipografía / fondos profundos */
  --white: #FFFFFF;

  --navy-700: #0B2552;
  --line: #DCE4EA;
  --line-dark: rgba(255, 255, 255, .14);

  /* Tipografía dual */
  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 10px 30px -12px rgba(0, 15, 31, .25);
  --header-h: 72px;
  --gutter: 16px;
  --section-y: clamp(64px, 9vw, 120px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

.cyan { color: var(--cyan); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--cyan); color: var(--ink);
  font-weight: 700; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* ---------- Tipografía de sección ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.eyebrow--dark { color: #0E8FB0; } /* cyan oscurecido: contraste AA sobre fondos claros */

.h2 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.4rem); font-weight: 900; color: var(--navy); }
.h3 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 800; color: var(--navy); }

.lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem); color: var(--steel); margin-top: 18px; max-width: 68ch; }
.lead strong { color: var(--ink); font-weight: 700; }

.section { padding-block: var(--section-y); }
.section--foam { background: var(--foam); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy .h2, .section--navy h3 { color: var(--white); }
.section--navy .lead { color: rgba(255, 255, 255, .78); }

.section-head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 820px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { background: #4FD0EE; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-family: var(--font-display); font-weight: 800; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--cyan); padding-bottom: 2px;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand-logo { height: 40px; width: auto; min-width: 119px; } /* mín. 96 px en pantalla según manual */
.brand-logo--dark { display: none; }
.brand-word {
  display: none;
  font-family: var(--font-display); font-weight: 900; font-size: .78rem; line-height: 1.05;
  letter-spacing: .02em; color: var(--white);
  padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .35);
}

.site-header.is-solid, .site-header.menu-open { background: var(--white); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(0, 15, 31, .3); }
.site-header.is-solid .brand-logo--light, .site-header.menu-open .brand-logo--light { display: none; }
.site-header.is-solid .brand-logo--dark, .site-header.menu-open .brand-logo--dark { display: block; }
.site-header.is-solid .brand-word { color: var(--navy); border-color: var(--line); }

/* Toggle móvil */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 11px; border: 0; border-radius: var(--radius); background: transparent;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s, background-color .25s; }
.site-header.is-solid .nav-toggle span, .site-header.menu-open .nav-toggle span { background: var(--navy); }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil (panel) */
.main-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--white); border-top: 1px solid var(--line);
  padding: 8px var(--gutter) 24px;
  box-shadow: 0 20px 30px -20px rgba(0, 15, 31, .35);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s;
  max-height: calc(100svh - var(--header-h)); overflow-y: auto;
}
.menu-open .main-nav { transform: none; opacity: 1; visibility: visible; }
.main-nav a:not(.btn) {
  display: block; padding: 14px 4px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--navy);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.main-nav a.is-active { color: #0E8FB0; }
.nav-cta { margin-top: 20px; width: 100%; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 48px);
  color: var(--white);
  background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 15, 31, .55) 0%, rgba(0, 15, 31, 0) 28%),
    linear-gradient(100deg, rgba(0, 15, 31, .94) 0%, rgba(14, 47, 102, .86) 48%, rgba(14, 47, 102, .45) 100%);
}
.hero-content { padding-bottom: 40px; }
.hero h1 {
  font-size: clamp(2.6rem, 1.4rem + 6vw, 5.6rem);
  font-weight: 900; line-height: .98; letter-spacing: -.035em;
  max-width: 13ch;
}
.hero-lead { margin-top: 24px; max-width: 58ch; font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: rgba(255, 255, 255, .85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions .btn { flex: 1 1 220px; }

.hero-facts {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--line-dark);
  margin-bottom: 8px;
}
.hero-facts li { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.hero-facts li:last-child { border-bottom: 0; }
.hero-facts strong { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--cyan); min-width: 84px; }
.hero-facts span { font-size: .92rem; color: rgba(255, 255, 255, .8); }

/* ==========================================================================
   CARTA DE PRESENTACIÓN
   ========================================================================== */
.letter-grid { display: grid; gap: 40px; }
.letter-photo { margin: 32px 0 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.letter-photo img { width: 100%; height: 100%; object-fit: cover; }

.letter {
  position: relative;
  background: var(--foam);
  border-left: 4px solid var(--cyan);
  padding: clamp(24px, 4vw, 48px);
  font-size: 1.05rem; color: #24384D;
}
.letter p + p { margin-top: 16px; }
.letter strong { color: var(--navy); }
.letter-salute { font-weight: 700; color: var(--navy); }
.letter-close { margin-top: 28px !important; }
.signature { display: flex; flex-direction: column; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.signature-name { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; color: var(--navy); letter-spacing: -.01em; }
.signature-role { font-size: .85rem; color: var(--steel); letter-spacing: .02em; }

/* ==========================================================================
   QUIÉNES SOMOS
   ========================================================================== */
.pillars { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pillar {
  background: var(--white); border: 1px solid var(--line);
  padding: 28px 24px; border-top: 4px solid var(--navy);
}
.pillar-tag {
  font-family: var(--font-display); font-weight: 900; font-size: .78rem;
  letter-spacing: .3em; text-transform: uppercase; color: #0E8FB0; margin-bottom: 10px;
}
.pillar h3 { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.pillar p { color: var(--steel); }

.focus-list { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.focus-list li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--steel); }
.focus-list span {
  font-family: var(--font-display); font-weight: 900; font-size: .8rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--navy);
}

/* ==========================================================================
   SERVICIOS
   ========================================================================== */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
.service { background: var(--white); padding: 32px 24px; transition: background-color .25s; }
.service:hover { background: var(--foam); }
.service-icon {
  width: 44px; height: 44px; padding: 10px; margin-bottom: 20px;
  fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  background: var(--navy); border-radius: 50%;
}
.service h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.service p { color: var(--steel); font-size: .97rem; }

.feature {
  display: grid; margin-top: 48px;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius-lg); overflow: hidden;
}
.feature-media { position: relative; aspect-ratio: 16 / 10; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-badge {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: var(--cyan); color: var(--ink);
  font-family: var(--font-display); font-weight: 900; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  border-radius: 999px;
}
.feature-badge .icon { width: 18px; height: 18px; }
.feature-body { padding: clamp(28px, 4vw, 52px); align-self: center; }
.feature-body .eyebrow { color: var(--cyan); }
.feature-body .h3 { color: var(--white); margin-bottom: 14px; }
.feature-body p { color: rgba(255, 255, 255, .8); }

.checks { display: grid; gap: 12px; margin-top: 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--cyan); margin-top: 3px; }

/* ==========================================================================
   MODELO OPERATIVO
   ========================================================================== */
.steps { display: grid; gap: 0; counter-reset: none; position: relative; }
.step { position: relative; padding: 0 0 32px 64px; }
.step::before { /* línea vertical en móvil */
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px;
  background: linear-gradient(var(--cyan), rgba(26, 191, 230, .15));
}
.step:last-child::before { display: none; }
.step-num {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 2px solid var(--cyan); border-radius: 50%;
  font-family: var(--font-display); font-weight: 900; font-size: .9rem; color: var(--cyan);
  background: var(--navy);
}
.step h3 { font-size: 1.25rem; font-weight: 800; padding-top: 8px; margin-bottom: 6px; }
.step p { color: rgba(255, 255, 255, .75); font-size: .95rem; }

/* ==========================================================================
   GALERÍA
   ========================================================================== */
.gallery {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
}
.gallery-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--foam); }
.gallery-item--tall { grid-row: span 2; }
.gallery-item button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 15, 31, .88));
  color: var(--white); font-size: .88rem; font-weight: 600; line-height: 1.4;
  pointer-events: none;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: rgba(0, 15, 31, .95);
  padding: 56px 12px 64px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 1200px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 100%; max-height: calc(100svh - 170px); width: auto; object-fit: contain; border-radius: var(--radius); }
.lb-caption { margin-top: 14px; color: rgba(255, 255, 255, .85); text-align: center; font-size: .95rem; max-width: 60ch; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: var(--white);
  font-size: 2rem; line-height: 1; transition: background-color .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--cyan); color: var(--ink); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; bottom: 12px; }
.lb-next { right: 12px; bottom: 12px; }
.lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .6); font-size: .85rem; letter-spacing: .15em; }

/* ==========================================================================
   INSTALACIONES
   ========================================================================== */
.sites { display: grid; gap: 20px; }
.site { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.site-map { aspect-ratio: 16 / 10; background: var(--line); }
.site-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.site-body { padding: 28px 24px 32px; flex: 1; }
.site-icon, .partners-icon, .docs-icon {
  width: 40px; height: 40px; margin-bottom: 14px;
  fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.site h3, .partners h3, .docs h3 { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.site p, .partners p, .docs-head p { color: var(--steel); }
.site-points { display: grid; gap: 10px; margin-top: 18px; }
.site-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: .95rem; }
.site-points .icon { color: #0E8FB0; margin-top: 2px; }

.partners {
  display: grid; gap: 4px; margin-top: 20px;
  padding: 28px 24px; background: var(--navy); color: var(--white); border-radius: var(--radius-lg);
}
.partners-icon { stroke: var(--cyan); }
.partners h3 { color: var(--white); }
.partners p { color: rgba(255, 255, 255, .8); max-width: 70ch; }

/* ==========================================================================
   CUMPLIMIENTO
   ========================================================================== */
.phases { display: grid; gap: 16px; }
.phase { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.phase-tag {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px;
  background: var(--navy); color: var(--white); border-radius: 999px;
  font-family: var(--font-display); font-weight: 900; font-size: .75rem; letter-spacing: .25em; text-transform: uppercase;
}
.phase p { color: var(--steel); }

.docs { margin-top: 24px; padding: clamp(24px, 4vw, 44px); background: var(--foam); border-left: 4px solid var(--cyan); }
.docs-head { display: flex; gap: 16px; align-items: flex-start; }
.docs-icon { flex: none; margin: 0; }
.docs-list { display: grid; gap: 12px; margin-top: 24px; }
.docs-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.docs-list .icon { color: var(--white); background: var(--navy); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }
.fineprint { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--steel); }

/* ==========================================================================
   POR QUÉ PHS
   ========================================================================== */
.reasons { display: grid; gap: 16px; grid-template-columns: 1fr; }
.reason { background: var(--white); padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.reason-icon { width: 32px; height: 32px; margin-bottom: 14px; fill: none; stroke: #0E8FB0; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reason h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.reason p { color: var(--steel); font-size: .95rem; }

.pilot { margin-top: 48px; padding: clamp(28px, 4vw, 48px); background: var(--navy); color: var(--white); border-radius: var(--radius-lg); }
.pilot-intro { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); font-family: var(--font-display); font-weight: 600; max-width: 40ch; line-height: 1.3; }
.pilot-intro strong { color: var(--cyan); font-weight: 900; }
.pilot-steps { display: grid; gap: 20px; margin-top: 28px; }
.pilot-steps li { padding-top: 16px; border-top: 2px solid var(--cyan); color: rgba(255, 255, 255, .8); font-size: .95rem; }
.pilot-steps span {
  display: block; margin-bottom: 6px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: var(--white); letter-spacing: -.01em;
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact { background: linear-gradient(160deg, var(--navy) 0%, var(--ink) 100%); }
.contact-grid { display: grid; gap: 40px; }
.contact-list { display: grid; gap: 16px; margin-top: 32px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list .icon {
  width: 48px; height: 48px; padding: 12px; flex: none;
  color: var(--cyan); border: 1px solid var(--line-dark); border-radius: 50%;
}
.contact-list span { display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.contact-list a { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); text-decoration: none; color: var(--white); word-break: break-word; }
.contact-list a:hover { color: var(--cyan); }

.contact-form {
  background: var(--white); color: var(--ink);
  padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.5rem; font-weight: 900; color: var(--navy); }
.form-note { margin: 6px 0 20px; color: var(--steel); font-size: .9rem; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .85rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: var(--white); box-shadow: 0 0 0 3px rgba(26, 191, 230, .25); }
.field [aria-invalid="true"] { border-color: #C0392B; }
.form-error { color: #B42318; font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.form-alt { display: block; margin-top: 14px; text-align: center; color: var(--steel); font-size: .9rem; }
.form-alt:hover { color: var(--navy); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding-top: 56px; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 40px; }
.footer-brand img { width: 220px; height: auto; }
.footer-brand p { margin-top: 14px; font-family: var(--font-display); font-weight: 800; color: var(--white); }
.footer-nav, .footer-contact { display: grid; gap: 10px; align-content: start; }
.footer-nav a, .footer-contact a { text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding-block: 20px;
  background: linear-gradient(var(--line-dark), var(--line-dark)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  font-size: .8rem; letter-spacing: .08em; color: rgba(255, 255, 255, .5);
}

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  box-shadow: 0 10px 24px -6px rgba(0, 15, 31, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Animación de aparición ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .hero-facts li { flex-direction: column; gap: 4px; padding: 20px 20px 20px 0; border-bottom: 0; border-right: 1px solid var(--line-dark); }
  .hero-facts li + li { padding-left: 20px; }
  .hero-facts li:last-child { border-right: 0; }
  .hero-actions .btn { flex: 0 0 auto; }
  .focus-list { grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 0; }
  .focus-list li { border-bottom: 0; border-top: 2px solid var(--navy); }
  .phases { grid-template-columns: repeat(3, 1fr); }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .docs-list { grid-template-columns: repeat(2, 1fr); }
  .pilot-steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .partners { grid-template-columns: auto 1fr; gap: 24px; align-items: start; padding: 32px; }
  .partners-icon { margin: 0; }
}

@media (min-width: 900px) {
  :root { --header-h: 84px; }
  .brand-logo { height: 46px; }
  .brand-word { display: block; }
  .nav-toggle { display: none; }

  .main-nav {
    position: static; display: flex; align-items: center; gap: 28px;
    padding: 0; background: none; border: 0; box-shadow: none;
    transform: none; opacity: 1; visibility: visible; max-height: none; overflow: visible;
  }
  .main-nav ul { display: flex; gap: 24px; }
  .main-nav a:not(.btn) {
    padding: 6px 0; border: 0; font-size: .92rem; color: var(--white);
    position: relative;
  }
  .main-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s;
  }
  .main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
  .site-header.is-solid .main-nav a:not(.btn) { color: var(--navy); }
  .main-nav a.is-active { color: var(--white); }
  .site-header.is-solid .main-nav a.is-active { color: var(--navy); }
  .nav-cta { margin: 0; width: auto; min-height: 44px; padding: 10px 20px; }

  .site-header.is-solid { height: 70px; }

  .letter-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .letter-head { position: sticky; top: calc(var(--header-h) + 24px); }

  .services { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 1.1fr 1fr; }
  .feature-media { aspect-ratio: auto; min-height: 380px; }

  .steps { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .step { padding: 64px 0 0; }
  .step::before { left: 44px; right: -20px; top: 21px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--cyan), rgba(26, 191, 230, .2)); }
  .step:last-child::before { display: none; }
  .step h3 { padding-top: 0; }

  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 16px; }

  .sites { grid-template-columns: 1fr 1fr; }
  .reasons { grid-template-columns: repeat(3, 1fr); }

  .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

  .lb-prev, .lb-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
  .lightbox { padding: 56px 96px; }
  .lb-close { top: 20px; right: 24px; }
}

@media (min-width: 1200px) {
  .gallery { grid-auto-rows: 250px; }
  .hero-content { padding-bottom: 56px; }
  .wa-float { right: 28px; bottom: 28px; }
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
