/* ===== Fuentes self-hosted (Bitter + Poppins, subsets latin/latin-ext) ===== */
/* latin-ext */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/rax8HiqOu8IVPmn7cYxpLjpSm3LZ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/rax8HiqOu8IVPmn7f4xpLjpSmw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/rax8HiqOu8IVPmn7cYxpLjpSm3LZ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/rax8HiqOu8IVPmn7f4xpLjpSmw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/rax8HiqOu8IVPmn7cYxpLjpSm3LZ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/rax8HiqOu8IVPmn7f4xpLjpSmw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/rax8HiqOu8IVPmn7cYxpLjpSm3LZ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/rax8HiqOu8IVPmn7f4xpLjpSmw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/pxiByp8kv8JHgFVrLDz8Z1JlFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/pxiByp8kv8JHgFVrLDz8Z1xlFd2JQEk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/pxiEyp8kv8JHgFVrJJnecnFHGPezSQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/pxiEyp8kv8JHgFVrJJfecnFHGPc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/pxiByp8kv8JHgFVrLGT9Z1JlFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/pxiByp8kv8JHgFVrLGT9Z1xlFd2JQEk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/pxiByp8kv8JHgFVrLEj6Z1JlFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/pxiByp8kv8JHgFVrLEj6Z1xlFd2JQEk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/pxiByp8kv8JHgFVrLCz7Z1JlFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/pxiByp8kv8JHgFVrLCz7Z1xlFd2JQEk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   CENTRO — Sistema de diseño
   Marca Grupo Gloria · azul corporativo · Bitter + Poppins
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Registrar tokens de color como <color> para que las transiciones de tema
   interpolen correctamente (sin esto, var() no se anima y el valor se congela). */
@property --bg        { syntax: '<color>'; inherits: true; initial-value: #FFFFFF; }
@property --bg-2      { syntax: '<color>'; inherits: true; initial-value: #E7EDF2; }
@property --surface   { syntax: '<color>'; inherits: true; initial-value: #FFFFFF; }
@property --surface-2 { syntax: '<color>'; inherits: true; initial-value: #ECECEC; }
@property --border    { syntax: '<color>'; inherits: true; initial-value: #C4C4C4; }
@property --border-strong { syntax: '<color>'; inherits: true; initial-value: #9AA7B2; }
@property --text      { syntax: '<color>'; inherits: true; initial-value: #061E33; }
@property --text-muted { syntax: '<color>'; inherits: true; initial-value: #404040; }
@property --text-faint { syntax: '<color>'; inherits: true; initial-value: #6B7280; }

/* Durante el cambio de tema desactivamos transiciones para que los tokens
   actualicen su valor instantáneamente (evita el "congelado" de var()). */
html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after { transition: none !important; }

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --font-display: 'Bitter', Georgia, 'Times New Roman', serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-mono: 'Poppins', system-ui, sans-serif;

  /* Type scale (fluid) */
  --fs-eyebrow: 0.78rem;
  --fs-small: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.15rem, 1rem + 0.7vw, 1.4rem);
  --fs-h3: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  --fs-h1: clamp(2.6rem, 1.6rem + 4.4vw, 5rem);
  --fs-display: clamp(3rem, 1.6rem + 6vw, 6.5rem);

  /* Spacing */
  --sp-1: 0.5rem;  --sp-2: 0.75rem; --sp-3: 1rem;  --sp-4: 1.5rem;
  --sp-5: 2rem;    --sp-6: 3rem;    --sp-7: 4.5rem; --sp-8: 7rem;
  --sp-9: 10rem;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --maxw: 1280px;
  --maxw-narrow: 880px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .2s;
  --t: .4s;
  --t-slow: .7s;

  --accent-h: 252;
}

/* ---------- DARK (PLUS — derivado del navy de marca) ---------- */
html[data-theme="dark"] {
  --bg:        #061E33;
  --bg-2:      #082843;
  --surface:   #082843;
  --surface-2: #0B2F4F;
  --border:    #1C3A57;
  --border-strong: #2C4D70;
  --text:      #EAF1F8;
  --text-muted: #A9BBD0;
  --text-faint: #7E93AC;

  --accent:        #5AA0E0;
  --accent-strong: #7CB4E8;
  --accent-soft:   rgba(90,160,224,0.16);
  --accent-line:   rgba(90,160,224,0.32);
  --on-accent:     #061E33;

  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 40px -18px rgba(0,0,0,.7);
  --shadow-lg: 0 30px 80px -30px rgba(0,0,0,.8);
  --hero-glow: radial-gradient(120% 120% at 80% -10%, rgba(90,160,224,0.16), transparent 55%);
  --grid-line: rgba(234,241,248,0.05);
  color-scheme: dark;
}

/* ---------- LIGHT (POR DEFECTO — calcado del Figma) ---------- */
html[data-theme="light"] {
  --bg:        #FFFFFF;
  --bg-2:      #E7EDF2;
  --surface:   #FFFFFF;
  --surface-2: #ECECEC;
  --border:    #C4C4C4;
  --border-strong: #9AA7B2;
  --text:      #061E33;
  --text-muted: #404040;
  --text-faint: #6B7280;

  --accent:        #0E487A;
  --accent-strong: #082843;
  --accent-soft:   rgba(14,72,122,0.09);
  --accent-line:   rgba(14,72,122,0.22);
  --on-accent:     #FFFFFF;

  --shadow: 0 1px 2px rgba(8,40,67,.07), 0 14px 36px -18px rgba(8,40,67,.20);
  --shadow-lg: 0 30px 70px -28px rgba(8,40,67,.28);
  --hero-glow: radial-gradient(120% 120% at 80% -10%, rgba(14,72,122,0.08), transparent 55%);
  --grid-line: rgba(6,30,51,0.05);
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  background-color: var(--bg);
  color: var(--text);
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 3rem); }
.narrow { max-width: var(--maxw-narrow); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
main { display: block; }

.divider { height: 1px; background: var(--border); border: 0; }

/* ============================================================
   TYPE
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; color: var(--text); text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; }
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.02em; font-weight: 700; }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); color: var(--text-muted); font-weight: 400; line-height: 1.5; }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
strong, b { font-weight: 700; color: var(--text); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .8; }
.eyebrow--center::before { display: none; }

.accent-text { color: var(--accent); }
.balance { text-wrap: balance; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --btn-pad: 0.85rem 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: var(--btn-pad);
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-small);
  letter-spacing: 0.01em; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: all var(--t-fast) var(--ease); white-space: nowrap;
  background: none;
}
.btn svg { width: 17px; height: 17px; transition: transform var(--t-fast) var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); box-shadow: 0 10px 24px -10px var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-soft { background: var(--accent-soft); color: var(--accent); }
.btn-soft:hover { background: var(--accent); color: var(--on-accent); }
.btn-lg { --btn-pad: 1.05rem 2rem; font-size: var(--fs-body); }
.btn-sm { --btn-pad: 0.55rem 1.05rem; font-size: 0.8rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--accent); font-weight: 600; font-size: var(--fs-small); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #0E487A;
  color: #FFFFFF;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
  /* Contexto azul fijo: re-mapea los tokens dentro del navbar (ambos temas) */
  --text: #FFFFFF;
  --text-muted: rgba(255,255,255,0.80);
  --accent: #FFFFFF;
  --border: rgba(255,255,255,0.20);
  --border-strong: rgba(255,255,255,0.34);
  --surface: rgba(255,255,255,0.10);
  --on-accent: #0E487A;
}
.nav.scrolled { border-bottom-color: rgba(255,255,255,0.16); box-shadow: 0 10px 30px -22px rgba(0,0,0,.6); }
.nav__inner { display: flex; align-items: center; gap: var(--sp-4); height: 84px; }
.brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand b { color: var(--accent); font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 0.25rem; margin-inline: auto; }
.nav__link {
  position: relative; padding: 0.5rem 0.85rem; border-radius: 999px;
  font-size: var(--fs-small); font-weight: 500; color: var(--text-muted);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link.active { color: var(--text); }
.nav__link.active::after { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav__right { display: flex; align-items: center; gap: 0.5rem; }

/* Logo Grupo Gloria (reemplaza el antiguo toggle de tema) */
.nav__gloria { display: inline-flex; align-items: center; line-height: 0; border-radius: 8px; padding: 2px; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.nav__gloria img { height: 44px; width: auto; display: block; }
.nav__gloria:hover { transform: translateY(-1px); opacity: 0.85; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border);
  display: grid; place-items: center; cursor: pointer; color: var(--text-muted);
  background: var(--surface); transition: all var(--t-fast) var(--ease);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav__cta { display: inline-flex; }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; place-items: center; }
.nav__burger svg { width: 20px; height: 20px; }

@media (max-width: 940px) {
  /* En móvil el menú pasa a position:fixed (sale del flujo), por lo que el
     margin-inline:auto de .nav__links ya no separa la marca del grupo derecho.
     space-between empuja el logo de Grupo Gloria + hamburguesa al extremo. */
  .nav__inner { justify-content: space-between; }
  .nav__links { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: var(--sp-3) clamp(1.15rem,4vw,3rem) var(--sp-4); background: #0E487A; border-bottom: 1px solid rgba(255,255,255,0.16); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all var(--t) var(--ease); }
  .nav__links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 0.85rem 0.5rem; font-size: 1.05rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav__link.active::after { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: grid; }
}

/* ============================================================
   PLACEHOLDERS (recursos visuales pendientes)
   ============================================================ */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background-color: var(--bg-2);
  background-image: repeating-linear-gradient(135deg, var(--border) 0 1px, transparent 1px 11px);
  border: 1px dashed var(--border-strong);
  display: grid; place-items: center; min-height: 200px; color: var(--text-faint);
}
.ph__label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.5rem 0.9rem; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--border); color: var(--text-muted);
  max-width: 88%; text-align: center; line-height: 1.4;
}
.ph--video .ph__label::before { content: "▶  "; color: var(--accent); }
.ph--full { width: 100%; height: 100%; }
.ph--ratio { aspect-ratio: 16 / 10; min-height: 0; }
.ph--square { aspect-ratio: 1; min-height: 0; }
.ph--portrait { aspect-ratio: 3 / 4; min-height: 0; }
.ph--avatar { aspect-ratio: 1; border-radius: 999px; min-height: 0; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-5);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease), background-color var(--t) var(--ease);
}
.card--hover:hover { border-color: var(--accent-line); transform: translateY(-4px); }

.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.two-col--text { grid-template-columns: 1.05fr 0.95fr; }
@media (max-width: 860px) { .two-col, .two-col--text { grid-template-columns: 1fr; gap: var(--sp-5); } }

/* Icon chip */
.icon-chip {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: var(--sp-3);
}
.icon-chip svg { width: 24px; height: 24px; }

/* Value card */
.value-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.value-card p { color: var(--text-muted); font-size: var(--fs-small); }

/* Service card */
.service-card { display: flex; flex-direction: column; gap: var(--sp-3); }
.service-card .num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-faint); }
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--text-muted); font-size: var(--fs-small); flex: 1; }

/* Stat */
.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.stat__num .unit { color: var(--accent); }
.stat__label { font-size: var(--fs-small); color: var(--text-muted); }

/* Section heading block */
.head { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 720px; margin-bottom: var(--sp-6); }
.head--center { align-items: center; text-align: center; margin-inline: auto; }
.head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-6); }
.head__row .head { margin-bottom: 0; }

/* tags */
.tag { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted); background: var(--bg); }
.tag--accent { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg canvas { width: 100%; height: 100%; }
.hero__glow { position: absolute; inset: 0; z-index: -1; background: var(--hero-glow); }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 80%);
}
.hero--home { padding-block: clamp(4.5rem, 11vh, 9rem); min-height: min(86vh, 820px); display: flex; align-items: center; }
.hero--page { padding-block: clamp(4rem, 9vh, 7rem); }
.hero__inner { max-width: 880px; }
.hero h1 + .lead, .hero .display + .lead { margin-top: var(--sp-4); max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(2.5rem, 6vw, 5rem); isolation: isolate; background: var(--bg-2); border: 1px solid var(--border); }
.cta-band__bg { position: absolute; inset: 0; z-index: -1; }
.cta-band__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 100% 0%, var(--accent-soft), transparent 60%); }
.cta-band__inner { max-width: 640px; }
.cta-band h2 { margin-bottom: var(--sp-3); }

/* ============================================================
   LOGO WALL + MARQUEE
   ============================================================ */
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.logo-grid__cell { background: var(--surface); aspect-ratio: 16/9; display: grid; place-items: center; padding: var(--sp-3); transition: background-color var(--t-fast) var(--ease); }
.logo-grid__cell:hover { background: var(--surface-2); }
.logo-chip { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; color: var(--text-muted); text-align: center; }
@media (max-width: 980px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: var(--sp-5); width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: grid; place-items: center; height: 64px; padding: 0 var(--sp-4); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   CAROUSEL (Casos de éxito / novedades)
   ============================================================ */
.carousel { position: relative; }
.carousel__track { display: flex; gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-3); scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__card { flex: 0 0 min(380px, 82vw); scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 0.5rem; }
.carousel__btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: all var(--t-fast) var(--ease); }
.carousel__btn:hover { border-color: var(--accent); color: var(--accent); }
.carousel__btn:disabled { opacity: 0.35; cursor: default; }
.carousel__btn svg { width: 18px; height: 18px; }

.case-card { padding: 0; overflow: hidden; }
.case-card .ph { border-radius: 0; border: 0; border-bottom: 1px dashed var(--border-strong); }
.case-card__body { padding: var(--sp-4); }
.case-card__client { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.case-card h3 { font-size: 1.2rem; margin: 0.4rem 0 0.5rem; }
.case-card p { color: var(--text-muted); font-size: var(--fs-small); }

/* ============================================================
   EXPANDABLE / ACCORDION
   ============================================================ */
.expand { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; transition: border-color var(--t) var(--ease); }
.expand.open { border-color: var(--accent-line); }
.expand__head { display: flex; align-items: center; gap: var(--sp-3); width: 100%; padding: var(--sp-4); cursor: pointer; text-align: left; background: none; border: 0; }
.expand__head h3 { font-size: 1.15rem; flex: 1; }
.expand__toggle { width: 34px; height: 34px; flex: none; border-radius: 999px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-muted); transition: all var(--t) var(--ease); }
.expand.open .expand__toggle { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: rotate(45deg); }
.expand__toggle svg { width: 16px; height: 16px; }
.expand__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t) var(--ease); }
.expand.open .expand__body { grid-template-rows: 1fr; }
.expand__inner { overflow: hidden; }
.expand__content { padding: 0 var(--sp-4) var(--sp-4); color: var(--text-muted); border-top: 1px solid transparent; }
.expand.open .expand__content { border-top-color: var(--border); padding-top: var(--sp-4); }

/* ============================================================
   FORMS
   ============================================================ */
.form { display: grid; gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: var(--fs-small); font-weight: 600; }
.field .req { color: var(--accent); }
.input, .select, .textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
  font-size: var(--fs-small); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.textarea { resize: vertical; min-height: 130px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
.field.error .input, .field.error .select, .field.error .textarea { border-color: oklch(0.62 0.2 22); box-shadow: 0 0 0 3px oklch(0.62 0.2 22 / 0.15); }
.field__msg { font-size: 0.78rem; color: oklch(0.66 0.2 22); display: none; }
.field.error .field__msg { display: block; }
.field.ok .input, .field.ok .select, .field.ok .textarea { border-color: oklch(0.62 0.14 155); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }
.form-note { font-size: 0.78rem; color: var(--text-faint); }
.form-success { display: none; padding: var(--sp-4); border-radius: var(--radius); background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--text); align-items: center; gap: var(--sp-3); }
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

/* File drop */
.filedrop { border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: var(--sp-5); text-align: center; cursor: pointer; transition: all var(--t-fast) var(--ease); background: var(--bg); }
.filedrop:hover, .filedrop.drag { border-color: var(--accent); background: var(--accent-soft); }
.filedrop svg { width: 28px; height: 28px; color: var(--accent); margin: 0 auto var(--sp-2); }
.filedrop__name { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); margin-top: var(--sp-2); }

/* ============================================================
   FLOW DIAGRAM (Servicios)
   ============================================================ */
.flow { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.flow__step { flex: 1 1 160px; padding: var(--sp-5) var(--sp-4); position: relative; display: flex; flex-direction: column; gap: 0.5rem; border-right: 1px solid var(--border); }
.flow__step:last-child { border-right: 0; }
.flow__step .n { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); }
.flow__step h4 { font-family: var(--font-display); font-size: 1.05rem; }
.flow__step p { font-size: 0.82rem; color: var(--text-muted); }
@media (max-width: 760px) { .flow { flex-direction: column; } .flow__step { border-right: 0; border-bottom: 1px solid var(--border); } .flow__step:last-child { border-bottom: 0; } }

/* Pillars timeline */
.pillars { display: grid; gap: var(--sp-4); }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); position: relative; }
.pillar__node { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.pillar__dot { width: 44px; height: 44px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; flex: none; border: 1px solid var(--accent-line); }
.pillar__line { width: 1px; flex: 1; background: var(--border); }
.pillar:last-child .pillar__line { display: none; }
.pillar__body { padding-bottom: var(--sp-4); }
.pillar__body h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.pillar__body p { color: var(--text-muted); }

/* ============================================================
   DERIVER CARDS (Compromiso)
   ============================================================ */
.deriver { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 760px) { .deriver { grid-template-columns: 1fr; } }
.deriver__card { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg-2); padding: clamp(2rem, 4vw, 3rem); min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sp-3); transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); isolation: isolate; }
.deriver__card:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.deriver__card .ph { position: absolute; inset: 0; z-index: -1; border-radius: 0; border: 0; opacity: 0.35; }
.deriver__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg-2) 30%, transparent); }
.deriver__card h2 { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.1rem); }

/* ============================================================
   FILTER PILLS (Novedades)
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-pill { padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); font-size: var(--fs-small); font-weight: 500; cursor: pointer; transition: all var(--t-fast) var(--ease); }
.filter-pill:hover { color: var(--text); border-color: var(--border-strong); }
.filter-pill.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { padding: 0; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.news-card .ph { border-radius: 0; border: 0; aspect-ratio: 16/10; }
.news-card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--text-faint); }
.news-card h3 { font-size: 1.15rem; }
.news-card p { font-size: var(--fs-small); color: var(--text-muted); flex: 1; }

/* Contact info rows */
.contact-row { display: flex; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .icon-chip { width: 44px; height: 44px; margin: 0; flex: none; }
.contact-row .icon-chip svg { width: 20px; height: 20px; }
.contact-row__label { font-size: 0.78rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-mono); }
.contact-row__value { font-weight: 600; }

.channel-card { display: flex; flex-direction: column; gap: var(--sp-3); }
.channel-card .ph { aspect-ratio: 16/9; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 0; background: #082843; margin-top: var(--sp-6);
  /* Contexto navy fijo: re-mapea tokens dentro del footer (ambos temas) */
  --text: #EAF1F8;
  --text-muted: #A9BBD0;
  --text-faint: #8197AF;
  --accent: #5AA0E0;
  --border: rgba(255,255,255,0.14);
  --border-strong: rgba(255,255,255,0.26);
  --surface: rgba(255,255,255,0.05);
  --bg: #082843;
  --bg-2: #061E33;
  --on-accent: #082843;
}
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-5); padding-block: var(--sp-6) var(--sp-5); }
.footer__brand .brand { margin-bottom: var(--sp-3); }
.footer__brand p { color: var(--text-muted); font-size: var(--fs-small); max-width: 280px; }
.footer__col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--sp-3); font-weight: 500; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a { color: var(--text-muted); font-size: var(--fs-small); transition: color var(--t-fast) var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__socials { display: flex; gap: 0.5rem; margin-top: var(--sp-3); }
.footer__socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-muted); transition: all var(--t-fast) var(--ease); }
.footer__socials a:hover { color: var(--accent); border-color: var(--accent); }
.footer__socials svg { width: 17px; height: 17px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; padding-block: var(--sp-4); border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-faint); }
.footer__bottom-links { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.footer__bottom-links a:hover { color: var(--accent); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transition: opacity var(--t-slow) var(--ease-out); }
.reveal.in { opacity: 1; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
/* ============================================================
   REVEAL v2 — aparición al scroll (se re-dispara al subir/bajar)
   ============================================================ */
[data-reveal]{opacity:0;transition:opacity .8s cubic-bezier(.22,.61,.36,1);}
[data-reveal].in{opacity:1;}
[data-reveal="img"]{opacity:0;transform:none;filter:none;will-change:auto;transition:opacity .8s ease;}
[data-reveal="img"].in{opacity:1;}
.reveal-text .word{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.12em;margin-bottom:-.12em;}
.reveal-text .word>span{display:inline-block;transform:translateY(110%);transition:transform .7s cubic-bezier(.22,.61,.36,1);}
.reveal-text.in .word>span{transform:translateY(0);}
@media (prefers-reduced-motion: reduce){
  [data-reveal],[data-reveal="img"]{opacity:1!important;transform:none!important;filter:none!important;transition:none!important;}
  .reveal-text .word>span{transform:none!important;transition:none!important;}
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  * { scroll-behavior: auto; }
}

/* utilities */
.mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); } .mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: var(--sp-3); }
.row { display: flex; gap: var(--sp-3); flex-wrap: wrap; align-items: center; }
.hr-list { display: grid; gap: var(--sp-3); }
.check-list { display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text-muted); font-size: var(--fs-small); }
.check-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.bg-alt { background: var(--bg-2); }

/* ============================================================
   === HOME v2 ===  (ajustes de la página de inicio según wireframes)
   Solo se AÑADE; no se modifica ninguna regla anterior.
   ============================================================ */

/* Línea divisoria corta reutilizable */
.rule { display: block; width: 52px; height: 3px; border-radius: 3px; background: var(--accent); opacity: .9; }

/* ---- 1) HERO en dos columnas ---- */
.hero-split { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; width: 100%; }
.hero-split__text { max-width: 560px; }
.hero-split .display { margin-bottom: .35rem; }
.hero-sub { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-lead); color: var(--text-muted); letter-spacing: -0.01em; }
.hero-split .rule { margin: var(--sp-4) 0; }
.hero-split p.lead { margin-bottom: var(--sp-5); }
.hero-video { position: relative; }
.hero-video .ph { aspect-ratio: 16 / 11; min-height: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; gap: var(--sp-5); }
  .hero-video { order: 2; }
}

/* ---- 2) Indicadores / Impacto: banda oscura + tarjeta flotante ---- */
.section.impact { padding-top: 0; }
.impact__band {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 0;
  min-height: 320px;
  display: grid; place-items: center; text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem clamp(4rem, 7vw, 5.5rem);
}
.impact__band .ph { position: absolute; inset: 0; z-index: -2; border: 0; border-radius: 0; background-color: oklch(0.20 0.018 264); background-image: url("impact-bg.jpg"); background-size: cover; background-position: center; }
.impact__band .ph__label { display: none; }
.impact__band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, oklch(0.16 0.012 264 / .55), oklch(0.13 0.012 264 / .82)); }
.impact__hero .impact__num { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-size: clamp(3.2rem, 2rem + 5vw, 5.5rem); color: oklch(0.98 0.004 264); }
.impact__hero .impact__num .unit { color: oklch(0.98 0.004 264); }
.impact__hero .impact__label { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: oklch(0.82 0.01 264); margin-top: .6rem; }
.impact__card {
  position: relative; z-index: 2;
  width: min(900px, 92%); margin: -3.5rem auto 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}
.impact__item { padding: .25rem clamp(1rem, 3vw, 2rem); border-left: 1px solid var(--border); text-align: center; }
.impact__item:first-child { border-left: 0; }
.impact__item .stat__num { justify-content: center; }
.impact__item .stat__num, .impact__item .impact__num2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); color: var(--text); }
.impact__item .unit { color: var(--accent); }
.impact__item .stat__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-top: .5rem; }
@media (max-width: 620px) {
  .impact__card { grid-template-columns: 1fr; gap: var(--sp-3); padding: var(--sp-4) 0; }
  .impact__item { border-left: 0; border-top: 1px solid var(--border); padding-top: var(--sp-3); padding-bottom: var(--sp-3); }
  .impact__item:first-child { border-top: 0; }
}

/* ---- 5) Servicios: panel del acordeón en dos columnas ---- */
.svc-panel { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.svc-panel__info { min-width: 0; }
.svc-panel__info .muted { font-size: 0.85rem; line-height: 1.5; }
.svc-sub-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text); margin: var(--sp-4) 0 var(--sp-3); }
.svc-sublist { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem clamp(1rem, 3vw, 2.5rem); padding-left: 0.5rem; }
.svc-sublist li { font-size: var(--fs-small); color: var(--text-muted); }
.svc-panel__img { aspect-ratio: 16 / 11; min-height: 0; border: 0; border-radius: 16px; background: #D8DDE3; display: grid; place-items: center; color: #FFFFFF; }
.svc-panel__img svg { width: 60px; height: 60px; opacity: 0.85; }
html[data-theme="dark"] .svc-panel__img { background: var(--surface-2); color: var(--text-faint); }
@media (max-width: 720px) { .svc-panel { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .svc-sublist { grid-template-columns: 1fr; } }

/* ---- 6) Talento Innovador: columnas separadas por LÍNEA (no cards) ---- */
.icon-chip--round { border-radius: 999px; }
.flow.talent { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.talent .flow__step { align-items: center; text-align: center; gap: .6rem; border-right: 1px solid var(--border); }
.talent .flow__step:last-child { border-right: 0; }
.talent .flow__step h4 { text-transform: uppercase; letter-spacing: .04em; font-size: .98rem; }
.talent .icon-chip { margin: 0 auto .25rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.talent .flow__step:hover .icon-chip { transform: scale(1.04); box-shadow: 0 0 30px 6px var(--accent-soft); }
@media (max-width: 760px) {
  .talent .flow__step { border-right: 0; border-bottom: 1px solid var(--border); }
  .talent .flow__step:last-child { border-bottom: 0; }
}

/* ---- Encabezados de sección simplificados (un solo título mediano) ---- */
.sec-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); letter-spacing: -0.01em; color: var(--text); }

/* ---- Ajustes finos de tipografía (home) ---- */
.lead--sm { font-size: var(--fs-body); }
.h2--sm { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }

/* ---- Acordeón de servicios "pegado" (los 4 unidos, no cards sueltas) ---- */
.svc-accordion { gap: 0; }
.svc-accordion .expand { border-radius: 0; border-bottom-width: 0; }
.svc-accordion .expand:first-child { border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg); }
.svc-accordion .expand:last-child { border-bottom-width: 1px; border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }
.svc-accordion .expand.open + .expand { border-top: 1px solid var(--border); }

/* ---- Efecto hover para imágenes (placeholders incluidos) ---- */
/* Aplica a TODA imagen de contenido (no a los fondos decorativos .ph sueltos) */
.img-hover,
.ph--ratio, .ph--portrait, .ph--square, .ph--video {
  cursor: pointer;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.img-hover:hover,
.ph--ratio:hover, .ph--portrait:hover, .ph--square:hover, .ph--video:hover {
  transform: scale(1.02); box-shadow: var(--shadow-lg); border-color: var(--accent-line);
}

/* ============================================================
   === FOOTER v2 ===  (footer según wireframe de la diseñadora)
   ============================================================ */
.footer__logo.ph { width: 150px; min-height: 0; height: 72px; margin-bottom: var(--sp-4); border-radius: var(--radius-sm); }
.footer__logo .ph__label { font-size: 0.62rem; padding: 0.3rem 0.55rem; }
.footer__about-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: var(--sp-2); color: var(--text); }
.footer__col--end { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
.footer__policies { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__policies a { color: var(--text-muted); font-size: var(--fs-small); transition: color var(--t-fast) var(--ease); }
.footer__policies a:hover { color: var(--accent); }
.footer__mark { width: 44px; height: 44px; flex: none; border: 1px solid var(--border); border-radius: 999px; display: grid; place-items: center; }
.footer__mark .brand__mark { width: 26px; height: 26px; }
@media (max-width: 860px) { .footer__col--end { align-items: flex-start; } }

/* Compactar altura del footer (menos alto, letras más apegadas) */
.footer { margin-top: var(--sp-5); }
.footer__top { padding-block: var(--sp-5) var(--sp-4); gap: var(--sp-4); }
.footer__logo.ph { height: 56px; margin-bottom: var(--sp-3); }
.footer__about-title { margin-bottom: 0.35rem; }
.footer__brand p { line-height: 1.45; }
.footer__col h4 { margin-bottom: var(--sp-2); }
.footer__col ul { gap: 0.5rem; }
.footer__policies { gap: 0.5rem; }
.footer__socials { margin-top: var(--sp-2); }
.footer__bottom { padding-block: var(--sp-3); }

/* ============================================================
   === MARCA v3 ===  (azul Grupo Gloria · Bitter/Poppins · Figma)
   Solo se AÑADE; secciones oscuras navy en ambos temas.
   ============================================================ */

/* ---- Botón blanco para secciones navy (hero / CTA) ---- */
.btn-white { background: #FFFFFF; color: #0E487A; border-radius: 10px; }
.btn-white:hover { background: #E7EDF2; color: #082843; transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(0,0,0,.45); }
.btn-white svg { color: inherit; }

/* ---- Logo de marca en el navbar (imagen entregada por diseño) ---- */
.brand__logo { height: 54px; width: auto; display: block; }
/* Wordmark temporal hasta recibir el logo real (SVG entregado venía vacío) */
.brand__word { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.01em; color: #FFFFFF; line-height: 1; }
@media (max-width: 940px) { .brand__logo { height: 44px; } .nav__gloria img { height: 36px; } .brand__word { font-size: 1.3rem; } }

/* ---- Navbar: comboboxes con flechita + desplegable ---- */
.nav__item--dd { position: relative; display: flex; align-items: center; }
.nav__link--dd { display: inline-flex; align-items: center; gap: 0.35rem; background: none; border: 0; cursor: pointer; font-family: var(--font-body); font-size: var(--fs-small); font-weight: 500; line-height: 1; }
.nav__chev { width: 15px; height: 15px; transition: transform var(--t-fast) var(--ease); }
.nav__item--dd.open .nav__chev { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 230px;
  background: #0E487A; border: 1px solid rgba(255,255,255,0.18); border-radius: 12px;
  box-shadow: 0 22px 44px -18px rgba(0,0,0,0.55);
  padding: 0.4rem; display: none; flex-direction: column; gap: 2px; z-index: 200;
}
.nav__item--dd.open .nav__dropdown { display: flex; }
.nav__dropdown a { padding: 0.6rem 0.7rem; border-radius: 8px; font-size: var(--fs-small); color: rgba(255,255,255,0.85); }
.nav__dropdown a:hover { background: rgba(255,255,255,0.10); color: #FFFFFF; }
.nav__dropdown-soon { padding: 0.6rem 0.7rem; font-size: var(--fs-small); color: rgba(255,255,255,0.6); }
@media (max-width: 940px) {
  .nav__item--dd { flex-direction: column; align-items: stretch; }
  .nav__link--dd { justify-content: space-between; width: 100%; }
  .nav__dropdown { position: static; min-width: 0; box-shadow: none; border: 0; background: rgba(255,255,255,0.06); margin: 2px 0 6px; }
}

/* ---- Logo del footer (imagen blanca entregada por diseño) ---- */
img.footer__logo { height: auto; display: block; }

/* ---- 1) HERO navy a todo el ancho, texto a la izquierda ---- */
.hero--home {
  background: #082843;
  /* tokens en contexto navy (se mantiene en claro y oscuro) */
  --text: #FFFFFF;
  --text-muted: rgba(234,241,248,0.80);
  --accent: #5AA0E0;
  --border: rgba(255,255,255,0.16);
  --on-accent: #082843;
}
html[data-theme="dark"] .hero--home { background: #061E33; }
.hero--home .hero__grid { mask-image: radial-gradient(120% 110% at 12% 0%, #000 30%, transparent 78%); opacity: .7; }
.hero--home .hero-split { display: block; }

/* Video de fondo del hero (loop infinito sin salto: crossfade entre 2 capas) */
.hero--video .hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #061E33; }
.hero--video .hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity 1s linear; will-change: opacity;
}
.hero--video .hero__video:first-child { opacity: 1; }
.hero--video .hero__video-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,30,51,0.86) 0%, rgba(6,30,51,0.66) 42%, rgba(6,30,51,0.40) 70%, rgba(6,30,51,0.30) 100%),
    linear-gradient(0deg, rgba(6,30,51,0.45) 0%, rgba(6,30,51,0.10) 40%);
}
@media (prefers-reduced-motion: reduce) {
  .hero--video .hero__video { display: none; }
}
.hero-home__text { max-width: 906px; }
.hero-home__title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.08; color: #FFFFFF; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); text-wrap: balance; max-width: 16ch; }
.hero--home .hero-home__text .lead { color: rgba(234,241,248,0.84); max-width: 600px; font-size: 1rem; line-height: 1.6; }
.hero--home .hero-home__title + .lead { margin-top: var(--sp-5); }
.hero-home__text .lead + .lead { margin-top: var(--sp-3); }
.hero-home__actions { margin-top: var(--sp-6); }

/* ---- 2) Impacto: tarjeta flotante (#666666) ---- */
.impact__card { background: #666666; border-color: #666666; box-shadow: 0 8px 24px -8px rgba(0,0,0,.25); }
/* Sin líneas blancas: divisores del mismo gris del fondo */
.impact__card .impact__item { border-left-color: #666666; }
@media (max-width: 620px) { .impact__card .impact__item { border-top-color: #666666; } }
/* Texto de la tarjeta de impacto en blanco sobre el fondo #666666 */
.impact__card .stat__num,
.impact__card .stat__num .unit,
.impact__card .impact__num2,
.impact__card .impact__num2 .unit,
.impact__card .stat__label { color: #FFFFFF; }

/* ---- 5) Servicios: ítems planos (avatar + título + gerente + "Ver más") ---- */
.svc-accordion { gap: 0; }
.svc-accordion .expand { border: 0; border-radius: 0; background: transparent; }
.svc-accordion .expand + .expand { border-top: 1px solid var(--border-strong); }
.svc-accordion .expand.open { border-color: transparent; }
.svc-accordion .expand.open + .expand { border-top: 1px solid var(--border-strong); }
.svc-accordion .expand__head { gap: var(--sp-4); align-items: center; padding: var(--sp-4) var(--sp-2); }
.svc-head__avatar { margin: 0; flex: none; width: 64px; height: 64px; border-radius: 999px; background-color: #D8DDE3; background-image: repeating-linear-gradient(135deg, rgba(8,40,67,.06) 0 1px, transparent 1px 7px); }
html[data-theme="dark"] .svc-head__avatar { background-color: var(--surface-2); }
.svc-head__avatar--photo { background-image: none; background-color: #fff; background-size: cover; background-position: center top; background-repeat: no-repeat; }
html[data-theme="dark"] .svc-head__avatar--photo { background-color: #fff; }
.svc-head__text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.svc-head__text h3 { margin: 0; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); }
.svc-head__sub { font-family: var(--font-body); font-size: 0.85rem; font-weight: 400; color: var(--text-muted); line-height: 1.3; }
.svc-head__more { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; color: var(--accent); padding: 0.6rem 1.4rem; border: 1px solid var(--accent); border-radius: 8px; background: transparent; flex: none; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.svc-head__more:hover, .svc-accordion .expand__head:hover .svc-head__more { background: var(--accent); color: #FFFFFF; }
@media (max-width: 640px) {
  .svc-head__avatar { width: 48px; height: 48px; }
  .svc-head__sub { display: none; }
}

/* ---- 7) CTA con foto de fondo + overlay oscuro 40% ---- */
.cta-band--photo {
  background: #082843; border: 0;
  --text: #FFFFFF; --text-muted: rgba(234,241,248,0.82);
}
.cta-band--photo .cta-photo__bg { position: absolute; inset: 0; z-index: -2; border: 0; border-radius: 0; background-color: #0a2236; }
.cta-band--photo .cta-photo__bg .ph__label { background: rgba(6,30,51,.78); border-color: rgba(255,255,255,.25); color: rgba(234,241,248,.85); }
.cta-band--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.40); }
.cta-band--photo h2 { color: #FFFFFF; }
.cta-band--photo .lead { color: rgba(234,241,248,0.88); }

/* ---- 7b) Home CTA: banda horizontal a sangre completa, pegada al footer ---- */
.home-cta { padding: 0; }
.home-cta .cta-band--full { border-radius: 0; border: 0; padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.home-cta .cta-band__row { display: flex; align-items: center; justify-content: space-between; gap: clamp(1.5rem, 4vw, 3.5rem); text-align: left; }
.home-cta .cta-band__text { max-width: 760px; }
.home-cta .cta-band__text h2 { margin-bottom: var(--sp-2); }
.home-cta .cta-band__text .lead { margin: 0; }
.home-cta .cta-band__row .btn { flex: none; }
@media (max-width: 720px) {
  /* En móvil el CTA se centra (título, texto y botón), como el de Servicios. */
  .home-cta .cta-band__row { flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
}
/* Sin franja en blanco entre el CTA del Home y el footer */
main:has(.home-cta) + .footer { margin-top: 0; }

/* Franja multicolor animada sobre el footer */
.footer__stripe {
  height: 6px;
  width: 100%;
  background-image: linear-gradient(90deg,
    #1f9bdf 0 20%, #e5484d 20% 40%, #f2c200 40% 60%, #22a06b 60% 80%, #15bdb0 80% 100%);
  background-size: 100% 100%;
  background-repeat: repeat-x;
}
}
@media (prefers-reduced-motion: reduce) {
}

/* ---- 4) Empresas: logos reales en chips blancos (contraste en ambos temas) ---- */
.marquee--logos .marquee__track { gap: 0; align-items: center; animation-duration: 78s; }
/* Tira única de logos (imagen provista por diseño): dos copias contiguas para el loop.
   El padding lateral de la tira ya está calibrado para que el empalme sea continuo. */
.marquee--logos .logo-strip { height: 54px; width: auto; display: block; }
.marquee--logos .marquee__item {
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  height: 82px;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
  box-shadow: none;
}
html[data-theme="dark"] .marquee--logos .marquee__item { background: #FFFFFF; }
.marquee--logos .logo-img {
  height: 45px; width: auto; max-width: 230px;
  object-fit: contain; display: block;
}

/* ---- 5) Servicios: sección en gris completo (sin esquinas blancas) ---- */
.svc-box { padding-block: 0; }

/* ============================================================
   === FOOTER v3 ===  (según referencia: logo / CENTRO / CONTACTO + mapa)
   Layout de 3 columnas, espaciado compacto, mapa clicable a Google Maps.
   ============================================================ */
.footer__top {
  grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2rem);
}
img.footer__logo { margin-bottom: 0; display: block; }
img.footer__logo--centro { width: clamp(210px, 20vw, 264px); }
img.footer__logo--gloria { width: 84px; align-self: center; margin-top: 0; }
.footer__brand { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.7rem; width: clamp(210px, 20vw, 264px); margin-inline: auto; }

.footer__col h4 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-3); }
.footer__col ul { gap: 0.75rem; }
.footer__col a { font-size: var(--fs-small); }

/* Columna CONTACTO + mapa real de Google Maps (clic abre la dirección) */
.footer__address { font-size: var(--fs-small); color: var(--text-muted); margin-bottom: var(--sp-3); }
.footer__map {
  position: relative; height: 132px; width: 100%;
  border-radius: 10px; overflow: hidden;
  background: #E2E5E9;
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.footer__map:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(0,0,0,.6); }
.footer__map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.footer__map-link { position: absolute; inset: 0; z-index: 2; display: block; }

/* Barra inferior */
.footer__bottom { justify-content: space-between; align-items: center; }
.footer__bottom-left { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); flex-wrap: wrap; font-size: 0.8rem; color: var(--text-faint); }
.footer__bottom-left a { color: var(--text-muted); transition: color var(--t-fast) var(--ease); }
.footer__bottom-left a:hover { color: var(--accent); }
.footer__linkedin { display: grid; place-items: center; width: 28px; height: 28px; color: var(--text-muted); transition: color var(--t-fast) var(--ease); flex: none; }
.footer__linkedin:hover { color: var(--accent); }
.footer__linkedin svg { width: 19px; height: 19px; }

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; justify-content: center; align-items: center; }
  img.footer__logo { align-self: center; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  /* "Sobre CENTRO" (.footer__col--end) es flex con gap: su h4 sumaba el gap +
     su margin-bottom, dejando el título muy lejos de su primer ítem. Se compensa
     para que quede pegado a su contenido igual que "Inicio" (~16px). */
  .footer__col--end h4 { margin-bottom: calc(var(--sp-3) - var(--sp-4)); }
  /* Con cada título ya pegado a su contenido, se agrega un pequeño respiro entre
     secciones (Inicio | Sobre CENTRO | Ubicación) para diferenciarlas. */
  .footer__col + .footer__col { margin-top: var(--sp-3); }
}

/* Desktop (footer de 4 columnas): "Enlaces" (.footer__col--end) es flex con gap,
   así que el margin-bottom del h4 se sumaba al gap y dejaba el título muy separado
   de su primer enlace, desalineado respecto a "Secciones". Se compensa el margin
   para que "Políticas" quede a la misma altura que "Inicio", igual que en Figma.
   El móvil/tablet (≤860px) no se toca. */
@media (min-width: 861px) {
  .footer__col--end h4 { margin-bottom: calc(var(--sp-3) - var(--sp-4)); }
}

/* ============================================================
   SALTOS DE LÍNEA CONTROLADOS (u-brk)
   Calcan el reparto de líneas del Figma en desktop/tablet;
   en móvil se ocultan para que el texto fluya natural.
   ============================================================ */
@media (max-width: 768px) { br.u-brk { display: none; } }

/* Solo para lectores de pantalla / SEO (oculto visualmente, presente en el DOM) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================================================
   BANDERAS — países con presencia del Grupo Gloria
   (estáticas: 3 a cada lado del título "Empresas que potenciamos")
   ============================================================ */
.empresas-head {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(2rem, 6vw, 5rem); margin-bottom: var(--sp-6); text-align: center;
}
.empresas-head h2 { margin: 0; flex: none; }
.banderas-lado { display: flex; align-items: center; gap: clamp(0.8rem, 1.8vw, 1.4rem); flex: none; }
.banderas-lado .bandera-img { width: clamp(26px, 2.4vw, 36px); height: auto; display: block; }
@media (max-width: 700px) {
  .empresas-head { flex-direction: column; gap: 0.9rem; }
}


/* ============================================================
   Utilidades CSP — reemplazan estilos inline (style="") para
   permitir Content-Security-Policy sin 'unsafe-inline'.
   Llevan !important a propósito: un atributo style inline siempre
   gana sobre las reglas del CSS, así que estas clases replican ese
   mismo comportamiento para no alterar el render.
   ============================================================ */

/* Colores de acento (antes style="color:...") */
.t-acento { color: #14A0BB !important; }
.t-amarillo { color: #FDC633 !important; }

/* Chips de icono (antes style="--ic:...; --ic-soft:...") */
.ic-rojo { --ic: #E11313 !important; --ic-soft: rgba(225,19,19,.15) !important; }
.ic-rojo2 { --ic: #E2342B !important; --ic-soft: rgba(226,52,43,0.14) !important; }
.ic-verde { --ic: #00B454 !important; --ic-soft: rgba(0,180,84,.15) !important; }
.ic-amarillo { --ic: #FDC633 !important; --ic-soft: rgba(253,198,51,.18) !important; }
.ic-azul { --ic: #26658B !important; --ic-soft: rgba(38,101,139,.16) !important; }
.ic-teal { --ic: #24B6AE !important; --ic-soft: rgba(36,182,174,.16) !important; }
.ic-naranja { --ic: #F5B301 !important; --ic-soft: rgba(245,179,1,0.16) !important; }

/* Imagen que cubre su contenedor (antes style="position:absolute; inset:0; ...") */
.s-fill-cover { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }

/* Reset de contenedor (antes style="border:0; background:none;") */
.s-bare { border: 0 !important; background: none !important; }

/* Acordeón de servicios (Home) */
.s-acc-wrap { overflow: hidden !important; background: none !important; }
.s-acc-img-38 { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center 38% !important; display: block !important; }
.s-acc-img-45 { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center 45% !important; display: block !important; }
.s-acc-img-62 { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center 62% !important; display: block !important; }
.s-acc-img-48 { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center 48% !important; display: block !important; }

/* Fondo con recorte (reemplaza object-fit:cover en <img>). El background-image lo pone el JS desde data-cover. */
.cover-bg { background-repeat: no-repeat !important; background-position: center !important; background-size: cover !important; }

/* Utilidades varias (antes atributos style) */
.s-mw760 { max-width: 760px !important; }
.s-mt-fs { margin-top: .6rem !important; font-size: .95rem !important; }
.s-cta-h2 { font-size: clamp(1.25rem, 1rem + 0.85vw, 1.6rem) !important; }
.s-fs095 { font-size: 0.95rem !important; }
.s-td10 { transition-delay: .1s !important; }
.s-bc-gray { border-color: rgb(102, 102, 102) !important; }
.s-td08-fs { transition-delay: .08s !important; font-size: .85rem !important; }
.s-flexcol14 { display: flex !important; flex-direction: column !important; gap: 14px !important; }
.s-trabaja-overlay { background: linear-gradient(90deg, rgba(2,8,22,0.82) 0%, rgba(2,8,22,0.5) 45%, rgba(2,8,22,0.05) 75%, rgba(2,8,22,0) 100%) !important; }
.s-w100 { width: 100% !important; }
.s-logo-h { height: clamp(110px, 15vw, 150px) !important; width: auto !important; display: block !important; }
.s-logo-etica { width: clamp(280px, 40vw, 430px) !important; height: auto !important; display: block !important; }
.s-tac { text-align: center !important; }

/* ============================================================
   Footer — columna "Sobre CENTRO" (botón Centro Te Escucha,
   enlace LinkedIn) y copyright centrado. Sin estilos inline (CSP).
   ============================================================ */
.footer__escucha {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #14A0BB;
  border-radius: 12px;
  padding: 13px 22px;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.footer__escucha:hover { background: #1189A1; transform: translateY(-1px); }
.footer__escucha img { height: 28px; width: auto; display: block; }

.footer__linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: var(--fs-small);
  transition: color var(--t-fast) var(--ease);
}
.footer__linkedin-link:hover { color: var(--accent); }
.footer__linkedin-link img { width: 20px; height: 20px; display: block; }

.footer__bottom--center { justify-content: center; text-align: center; }
