/* ===== BARIOS ABOGADO — BRAND SYSTEM v5 (logo BA) ===== */
:root {
  /* Logo core */
  --brand-navy: #003366;
  --brand-sky: #87ceeb;
  --brand-sky-light: #b8e4f5;
  --brand-sky-dim: rgba(135, 206, 235, 0.12);
  --brand-sky-glow: rgba(135, 206, 235, 0.38);
  --brand-white: #ffffff;
  --brand-ring: rgba(255, 255, 255, 0.88);

  /* Surfaces */
  --midnight: #001428;
  --navy: #002244;
  --navy-light: #003366;
  --navy-deep: #000d1a;
  --accent: var(--brand-white);
  --accent-glow: var(--brand-sky-glow);
  --brand-blue: var(--brand-navy);

  /* Semantic accents (map legacy tokens) */
  --gold: var(--brand-sky);
  --gold-light: var(--brand-sky-light);
  --gold-dim: var(--brand-sky-dim);
  --gold-glow: var(--brand-sky-glow);
  --border-brand: rgba(135, 206, 235, 0.32);
  --border-gold: var(--border-brand);

  --wa-color: #25d366;
  --wa-hover: #107a6e;
  --bone: var(--brand-white);
  --bone-muted: #c5d9e8;
  --section-cream: #f2ede6;
  --section-cream-muted: #e6dfd6;
  --text: var(--brand-white);
  --text-muted: #8ba3b8;
  --text-dark: #001a33;
  --text-on-cream: #2a4a66;
  --text-on-cream-muted: #3d5568;
  --text-on-cream-subtle: #4a6278;
  --accent-on-cream: var(--brand-navy);
  --border: rgba(255, 255, 255, 0.1);
  --glass: rgba(0, 26, 51, 0.62);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 4px 24px rgba(0, 20, 40, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 15, 35, 0.55);
  --shadow-brand: 0 8px 32px rgba(0, 51, 102, 0.45);
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', monospace;
  --header-h: 72px;
  --announce-h: 32px;
  --sticky-h: 64px;

  --text-xs: 0.72rem;
  --text-sm: 0.84rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --leading-tight: 1.12;
  --leading-normal: 1.65;
  --leading-relaxed: 1.78;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-section: clamp(5.5rem, 11vw, 8.5rem);

  /* Brand cable — doble línea logo */
  --cable-gradient: linear-gradient(90deg, #003366, #4a9fd4, #87ceeb, #ffffff, #87ceeb, #4a9fd4, #003366);
  --cable-radius: var(--radius-lg);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  background: var(--midnight);
  color: var(--text);
  line-height: var(--leading-normal);
  letter-spacing: -0.011em;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 51, 102, 0.45), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 50%, rgba(135, 206, 235, 0.06), transparent 50%);
}
main, .site-header, .site-footer, .announce-bar, .sticky-cta, .float-dock, .float-wa { position: relative; z-index: 1; }
::selection { background: rgba(135, 206, 235, 0.35); color: var(--bone); }
:focus-visible { outline: 2px solid var(--brand-sky); outline-offset: 3px; }
body.is-loading { overflow: hidden; }
body.is-loading .announce-bar, body.is-loading .site-header, body.is-loading main, body.is-loading .site-footer, body.is-loading .float-dock, body.is-loading .float-wa, body.is-loading .sticky-cta { visibility: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.container { width: min(92%, 1240px); margin: 0 auto; }
.section { padding: var(--space-section) 0; }
.section-alt { background: linear-gradient(180deg, var(--navy-light) 0%, var(--midnight) 100%); }

/* Editorial light bands — cream/bone alternation */
.section-surface-cream {
  background: linear-gradient(180deg, var(--section-cream) 0%, var(--section-cream-muted) 100%);
  color: var(--text-dark);
}
.section-surface-cream h1,
.section-surface-cream h2,
.section-surface-cream h3,
.section-surface-cream h4 {
  color: var(--text-dark);
}
.section-surface-cream .eyebrow,
.section-surface-cream .eyebrow-dark,
.section-surface-cream .eyebrow.gold {
  color: var(--accent-on-cream);
}
.section-surface-cream .section-desc,
.section-surface-cream .lead,
.section-surface-cream .philosophy-feature-lead,
.section-surface-cream .contact-hub-lead,
.section-surface-cream p:not(.footer-map-address) {
  color: var(--text-on-cream);
}
.section-surface-cream .text-link,
.section-surface-cream .section-head-note a,
.section-surface-cream a.text-link {
  color: var(--accent-on-cream);
  font-weight: 600;
}
.section-surface-cream .text-link:hover,
.section-surface-cream .section-head-note a:hover {
  color: var(--text-dark);
}
.section-surface-cream .gold,
.section-surface-cream .trust-more,
.section-surface-cream .check-list svg {
  color: var(--accent-on-cream);
}
.section-surface-cream .check-list li {
  color: var(--text-on-cream-muted);
}
.section-surface-cream .btn-ghost {
  color: var(--text-dark);
  border-color: rgba(0, 26, 51, 0.22);
}
.section-surface-cream .btn-ghost:hover {
  color: var(--text-dark);
  background: rgba(0, 51, 102, 0.08);
  border-color: rgba(0, 51, 102, 0.4);
}
.section-surface-cream .btn-info {
  color: var(--accent-on-cream);
  background: rgba(0, 51, 102, 0.06);
  border-color: rgba(0, 51, 102, 0.18);
}
.section-surface-cream .btn-info:hover {
  color: var(--text-dark);
  background: rgba(0, 51, 102, 0.1);
  border-color: rgba(0, 51, 102, 0.32);
}
/* Dark panels nested inside cream bands — restore dark-surface tokens */
.section-surface-cream .contact-hub-form-panel,
.section-surface-cream .footer-map-card,
.dark-surface {
  --text: var(--brand-white);
  --text-muted: #8ba3b8;
  --bone: #ffffff;
  --bone-muted: #c5d9e8;
  --gold: #87ceeb;
  --brand-sky: #87ceeb;
  --brand-sky-light: #b8e4f5;
  color: var(--bone);
}

/* ===== IMAGE SYSTEM (auditoría) ===== */
.img-portrait,
.img-ambiance {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-portrait { object-position: center 14%; }
.img-portrait-alt { object-position: 58% 18%; }
.img-ambiance { object-position: center center; }
.img-ambiance-low { object-position: center 62%; }
.img-ambiance-warm { object-position: 42% 55%; }

.service-card-media img,
.result-card-img img,
.philosophy-slider img,
.hero-portrait-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grain */
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Preloader */
.preloader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: var(--midnight); transition: opacity .7s var(--ease), visibility .7s; }
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-bg { position: absolute; inset: 0; background: url('bg.png') center/cover no-repeat; transform: scale(1.05); animation: slowPan 30s infinite alternate ease-in-out; z-index: 0; }
.preloader-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,20,40,.94) 0%, rgba(0,51,102,.88) 100%); }
@keyframes slowPan { 0%{transform:scale(1.05) translate(0,0)} 100%{transform:scale(1.05) translate(-1%,-1%)} }
.preloader-inner { position: relative; z-index: 1; text-align: center; width: min(320px, 85vw); }
/* ===== BRAND LOGO ELITE (emblema BA oficial) ===== */
.brand-logo { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: inherit; }
.brand-logo-emblem {
  position: relative;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.brand-logo-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: var(--brand-navy);
}
.brand-logo-emblem--hero {
  width: 108px;
  height: 108px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.14),
    0 24px 56px rgba(0,0,0,.55),
    0 0 48px rgba(135,206,235,.18);
}
.brand-logo-emblem--nav {
  width: 44px;
  height: 44px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 6px 20px rgba(0,0,0,.35);
}
.brand-logo:hover .brand-logo-emblem--nav {
  transform: scale(1.04);
  box-shadow: 0 0 0 1px rgba(135,206,235,.35), 0 10px 28px rgba(0,51,102,.45), 0 0 24px rgba(135,206,235,.2);
}
.brand-logo-emblem--footer {
  width: 52px;
  height: 52px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 12px 32px rgba(0,0,0,.4);
}
.brand-logo-emblem--xs {
  width: 36px;
  height: 36px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1);
}
.brand-logo-ring {
  position: absolute;
  inset: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  pointer-events: none;
  z-index: 2;
  transform: rotate(-90deg);
}
.brand-logo-ring circle {
  fill: none;
  stroke: rgba(255,255,255,.92);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: brandRingDraw 1.65s var(--ease) forwards;
}
.brand-logo-emblem--hero .brand-logo-icon { animation: brandLogoIn 1s var(--ease) .25s both; }
.brand-logo-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.08; gap: .15rem; }
.brand-logo-copy--center { align-items: center; animation: brandCopyIn .9s var(--ease) .55s both; }
.brand-logo-copy--compact .brand-logo-name { font-size: .92rem; }
.brand-logo-copy--compact .brand-logo-role { font-size: .56rem; }
.brand-logo-name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
}
.brand-logo-role {
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-sky);
}
.brand-logo--preloader { flex-direction: column; gap: 1.35rem; margin-bottom: 2rem; }
.brand-logo--hero { flex-direction: column; gap: 1.5rem; align-items: center; }
.brand-logo-emblem--hero-xl {
  width: clamp(140px, 22vw, 180px);
  height: clamp(140px, 22vw, 180px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.16),
    0 28px 64px rgba(0,0,0,.55),
    0 0 64px rgba(135,206,235,.22);
}
.brand-logo-emblem--hero-xl .brand-logo-icon { animation: brandLogoIn 1s var(--ease) .25s both; }
.brand-logo--hero .brand-logo-name { font-size: clamp(1.35rem, 3.2vw, 1.85rem); }
.brand-logo--hero .brand-logo-role { font-size: .72rem; }
@keyframes brandRingDraw { to { stroke-dashoffset: 0; } }
@keyframes brandLogoIn {
  from { opacity: 0; transform: scale(.86); filter: blur(4px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes brandCopyIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.preloader-bar { height: 2px; background: rgba(255,255,255,.08); border-radius: 100px; overflow: hidden; margin-bottom: 1rem; }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--cable-gradient); background-size: 200% 100%; animation: cableFlow 2s linear infinite; transition: width .1s linear; }
.preloader-tagline { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); opacity: .85; }
.accent-text {
  background: linear-gradient(120deg, var(--brand-white) 0%, var(--brand-sky-light) 55%, var(--brand-sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== TYPOGRAPHY — sans pro (Plus Jakarta Sans) ===== */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}
.eyebrow.gold, .eyebrow-dark { color: var(--gold); }
.eyebrow-icon { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 0.35rem; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: var(--leading-tight);
  font-style: normal;
}
h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--bone);
  max-width: 16ch;
}
h2 {
  font-size: clamp(1.55rem, 3.1vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--bone);
  margin-bottom: var(--space-2);
}
h3 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--bone);
  margin-bottom: 0.35rem;
}
h4 {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}
.gold { color: var(--gold); }
.lead {
  font-size: clamp(1.02rem, 1.8vw, 1.125rem);
  color: var(--bone-muted);
  max-width: 40rem;
  margin: var(--space-3) 0;
  line-height: var(--leading-relaxed);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.section-desc {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3);
  max-width: 38rem;
  letter-spacing: -0.008em;
}
.stat-num, .cases-metric strong, .case-dossier-stat-val, .stat-card strong {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
input, textarea, select, button { font-family: inherit; font-feature-settings: inherit; }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto var(--space-5); }
.section-head h2 { max-width: none; margin-left: auto; margin-right: auto; }
.section-head::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 1.25rem auto 0;
  background: linear-gradient(90deg, transparent, var(--brand-sky), var(--brand-white), var(--brand-sky), transparent);
  border-radius: 100px;
  box-shadow: 0 0 12px var(--brand-sky-glow);
}
.section-head p:last-child { color: var(--text-muted); font-size: 1rem; }
.section-head-note { margin-top: .75rem; font-size: .9rem; }
.section-head-note a { color: var(--brand-sky); font-weight: 600; text-decoration: none; }
.section-head-note a:hover { text-decoration: underline; }
.section-split { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.section-split-copy { padding-top: 1rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-top: 1.25rem; }
.check-list li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--text-muted); }
.check-list svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .4rem .85rem; border-radius: 100px; border: 1px solid var(--border); color: var(--text-muted); }
.pill svg { width: 13px; height: 13px; }
.pill-gold, .pill-brand { background: var(--brand-sky-dim); border-color: var(--border-brand); color: var(--brand-sky-light); }
.pill-brand i, .pill-gold i { color: var(--brand-sky); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-sky); box-shadow: 0 0 10px var(--brand-sky-glow); }
.hero-pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }

/* Announce */
.announce-bar { position: fixed; top: 0; left: 0; right: 0; height: var(--announce-h); background: linear-gradient(90deg, var(--brand-navy) 0%, rgba(0,51,102,.85) 50%, var(--brand-navy) 100%); border-bottom: 1px solid var(--border-brand); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--brand-sky-light); z-index: 1100; overflow: hidden; display: flex; align-items: center; }
.announce-track { display: flex; white-space: nowrap; font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; animation: marquee 30s linear infinite; }
.announce-track .sep { padding: 0 2rem; opacity: 0.72; color: var(--bone-muted); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* Header */
.site-header {
  position: fixed;
  top: var(--announce-h);
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 20, 40, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  transition: background-color .28s var(--ease), box-shadow .28s var(--ease), backdrop-filter .28s var(--ease);
  transform: translateZ(0);
}
.site-header.scrolled {
  background: rgba(0, 26, 51, 0.97);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--shadow-brand);
  border-bottom-color: var(--border-brand);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); width: min(92%, 1240px); margin: 0 auto; gap: 1rem; }
.footer-brand { margin-bottom: var(--space-2); }
.footer-brand .brand-logo-name { font-size: 1.12rem; }
.assistant-avatar.brand-logo-emblem { background: #003366; border: 1px solid var(--glass-border); }
.nav-desktop { display: flex; gap: 1.75rem; font-size: .8rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text-muted); }
.nav-desktop a { position: relative; padding: .25rem 0; transition: color .25s; }
.nav-desktop a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width .3s var(--ease); }
.nav-desktop a:hover, .nav-desktop a.is-active { color: var(--bone); }
.nav-desktop a.is-active::after, .nav-desktop a:hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: none; color: var(--bone); cursor: pointer; padding: .5rem; }
.menu-toggle svg { width: 24px; height: 24px; }
.nav-mobile { display: none; flex-direction: column; gap: .85rem; padding: 1.25rem min(4%,24px) 1.75rem; border-top: 1px solid var(--border); background: var(--navy); }
.nav-mobile[hidden] { display: none; }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: .95rem; color: var(--text-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-family: var(--font-sans); font-weight: 600; font-size: .86rem; letter-spacing: -0.01em; border-radius: 100px; padding: .8rem 1.6rem; border: none; cursor: pointer; transition: all .35s var(--ease); white-space: nowrap; }
.btn svg { width: 17px; height: 17px; }
.btn-gold, .btn-primary {
  background: var(--brand-white);
  color: var(--brand-navy);
  box-shadow: 0 4px 24px rgba(255,255,255,.12), var(--shadow-brand);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn-gold:hover, .btn-primary:hover {
  transform: translateY(-2px);
  background: var(--brand-sky-light);
  color: var(--brand-navy);
  box-shadow: 0 8px 32px var(--brand-sky-glow);
}
.btn-wa { background: var(--wa-color); color: var(--text-dark); box-shadow: 0 6px 28px rgba(37,211,102,.3); border: 1px solid rgba(0, 26, 51, 0.12); }
.btn-wa:hover { background: var(--wa-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 36px rgba(37,211,102,.4); }
.btn-ghost { background: transparent; color: var(--bone); border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { border-color: var(--brand-sky); color: var(--brand-sky-light); background: var(--brand-sky-dim); }
.btn-card { width: 100%; margin-top: auto; padding: .7rem 1rem; font-size: .82rem; background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--bone); border-radius: 10px; }
.btn-card:hover { border-color: var(--border-gold); background: var(--gold-dim); color: var(--gold-light); }
.btn-sm { padding: .55rem 1.1rem; font-size: .78rem; }
.btn-lg { padding: 1rem 2rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* Frames */
.img-frame { position: relative; overflow: hidden; }
.img-frame::before { content: ''; position: absolute; inset: 0; border: 1px solid var(--border); border-radius: inherit; pointer-events: none; z-index: 3; }

/* ===== CABLE COLOR SYSTEM ===== */
@keyframes cableFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.cable-border { position: relative; border-radius: var(--cable-radius); overflow: visible; }
.cable-border .hero-portrait-slider,
.cable-border .philosophy-slider,
.cable-border .service-card-media,
.cable-border .result-card-img,
.cable-border .guide-shell,
.cable-border > img { border-radius: inherit; overflow: hidden; }
.cable-stroke-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 25; overflow: visible; }
.cable-stroke-svg rect {
  fill: none;
  stroke: url(#cableGradient);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cable-drawn .cable-stroke-svg rect { stroke-dashoffset: 0; }
.cable-divider {
  display: block;
  height: 3px;
  width: 0;
  margin: 0 auto;
  background: var(--cable-gradient);
  background-size: 200% 100%;
  animation: cableFlow 5s linear infinite;
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: min(92%, 1240px);
  border-radius: 100px;
  opacity: 0.9;
}
.cable-divider.is-drawn { width: 100%; }
.cable-rail {
  position: fixed;
  left: 14px;
  top: calc(var(--announce-h) + var(--header-h) + 24px);
  bottom: 80px;
  width: 18px;
  z-index: 800;
  pointer-events: none;
}
.cable-rail-track {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255,255,255,.06);
  border-radius: 100px;
  overflow: hidden;
}
.cable-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cable-gradient);
  background-size: 100% 400%;
  animation: cableFlowV 6s linear infinite;
  border-radius: 100px;
  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}
@keyframes cableFlowV {
  0% { background-position: 50% 0%; }
  100% { background-position: 50% 200%; }
}
.cable-rail-nodes {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
}
.cable-node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.15);
  background: var(--midnight);
  padding: 0;
  cursor: pointer;
  transition: all .35s var(--ease);
  position: relative;
}
.cable-node.is-active,
.cable-node:hover {
  border-color: transparent;
  background: var(--cable-gradient);
  background-size: 200% 200%;
  animation: cableFlow 2s linear infinite;
  transform: scale(1.35);
  box-shadow: 0 0 14px rgba(0,122,255,.45);
}
.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 4;
}
.scroll-hint span { font-size: .62rem; color: rgba(255,255,255,.45); letter-spacing: .14em; text-transform: uppercase; }
.scroll-dot {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,.22);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-dot::after {
  content: '';
  width: 3px;
  height: 7px;
  background: var(--cable-gradient);
  background-size: 200% 100%;
  animation: cableFlow 2s linear infinite, scrolldot 1.6s infinite;
  border-radius: 2px;
}
@keyframes scrolldot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(7px); opacity: .35; }
}

/* ===== SCROLL PROGRESS (top) ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1300;
  background: rgba(255, 255, 255, .04);
  pointer-events: none;
  overflow: hidden;
}
.scroll-progress-fill {
  height: 100%;
  width: 100%;
  background: var(--cable-gradient);
  background-size: 200% 100%;
  animation: cableFlow 4s linear infinite;
  box-shadow: 0 0 16px var(--brand-sky-glow), 0 0 4px rgba(255, 255, 255, .35);
  border-radius: 0 2px 2px 0;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* Quick access */
.quick-access {
  position: relative;
  padding: 1.35rem 0 1.65rem;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-bottom: 1px solid var(--border);
}
.qa-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.qa-head-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-sky);
  white-space: nowrap;
}
.qa-head-label svg { width: 14px; height: 14px; }
.qa-head-line {
  flex: 1;
  height: 2px;
  border-radius: 100px;
  background: var(--cable-gradient);
  background-size: 200% 100%;
  animation: cableFlow 5s linear infinite;
  opacity: .55;
}
.qa-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .65rem;
}
.qa-item {
  position: relative;
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem .5rem .85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
  overflow: hidden;
}
.qa-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(135, 206, 235, .12), transparent 65%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.qa-item:hover {
  border-color: var(--border-brand);
  background: rgba(0, 51, 102, .45);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 20, 40, .45), 0 0 0 1px rgba(135, 206, 235, .08);
}
.qa-item:hover::before { opacity: 1; }
.qa-item:hover .qa-icon-ring { opacity: 1; transform: rotate(90deg) scale(1); }
.qa-item:hover .qa-icon { transform: translateY(-2px) scale(1.06); }
.qa-item:hover .qa-label { color: var(--bone); }
.qa-item--featured {
  border-color: var(--border-brand);
  background: linear-gradient(165deg, rgba(0, 51, 102, .55), rgba(135, 206, 235, .08));
  box-shadow: 0 0 24px rgba(135, 206, 235, .12);
}
.qa-chip {
  position: absolute;
  top: .45rem;
  right: .45rem;
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .45rem;
  border-radius: 100px;
  background: var(--brand-white);
  color: var(--brand-navy);
}
.qa-icon-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
}
.qa-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: var(--cable-gradient);
  background-size: 200% 200%;
  animation: cableFlow 3s linear infinite;
  opacity: .35;
  transform: scale(.92);
  transition: opacity .35s, transform .45s var(--ease);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.qa-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .35s var(--ease);
}
.qa-icon svg { width: 22px; height: 22px; color: var(--brand-sky-light); stroke-width: 1.75; }
.qa-icon-wrap--patrimonio .qa-icon { background: linear-gradient(145deg, rgba(0, 51, 102, .9), rgba(74, 159, 212, .25)); }
.qa-icon-wrap--familia .qa-icon { background: linear-gradient(145deg, rgba(0, 40, 80, .95), rgba(135, 206, 235, .2)); }
.qa-icon-wrap--urgente .qa-icon { background: linear-gradient(145deg, rgba(80, 20, 20, .5), rgba(0, 51, 102, .85)); }
.qa-icon-wrap--urgente .qa-icon svg { color: #fca5a5; }
.qa-icon-wrap--guia .qa-icon { background: linear-gradient(145deg, rgba(0, 51, 102, 1), rgba(135, 206, 235, .35)); box-shadow: 0 0 20px rgba(135, 206, 235, .25); }
.qa-icon-wrap--guia .qa-icon svg { color: var(--brand-white); }
.qa-icon-wrap--metodo .qa-icon { background: linear-gradient(145deg, rgba(0, 51, 102, .88), rgba(255, 255, 255, .08)); }
.qa-icon-wrap--honorarios .qa-icon { background: linear-gradient(145deg, rgba(0, 51, 102, .92), rgba(135, 206, 235, .18)); }
.qa-icon-wrap--contacto .qa-icon { background: linear-gradient(145deg, rgba(0, 51, 102, .9), rgba(37, 211, 102, .15)); }
.qa-label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .02em;
  transition: color .25s;
}
.reveal-stagger > .qa-item {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.98);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--stagger, 0s);
}
.reveal-stagger > .qa-item.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transform: translate3d(0, 8px, 0); content-visibility: visible; }
  .scroll-progress-fill,
  .qa-icon-ring,
  .qa-head-line { animation: none; }
  .reveal-stagger > .qa-item { opacity: 1; transform: none; }
}

/* Hero */
.hero { position: relative; padding-top: calc(var(--announce-h) + var(--header-h) + 48px); padding-bottom: 0; overflow: hidden; }
.hero-brand-seal {
  position: absolute;
  right: -4%;
  top: 18%;
  width: min(340px, 42vw);
  z-index: 1;
  pointer-events: none;
  opacity: 0.055;
  filter: grayscale(1) brightness(1.4);
  animation: heroSealFloat 12s ease-in-out infinite;
}
.hero-brand-seal img { width: 100%; border-radius: 50%; }
@keyframes heroSealFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
.hero-bg-slider { position: absolute; inset: 0; z-index: 0; }
.hero-bg-slide { position: absolute; inset: -8%; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.4s var(--ease), transform 8s linear; filter: grayscale(55%) brightness(.28) sepia(15%) hue-rotate(180deg); }
.hero-bg-slide.is-active { opacity: 1; transform: scale(1); }

/* Hero — video con parallax al scroll */
.hero--video {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero--video::after { display: none; }

.hero-video-scroll {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-bg {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  object-fit: cover;
  object-position: 62% center;
  filter: grayscale(42%) brightness(0.42) contrast(1.06) sepia(14%) hue-rotate(178deg);
  will-change: transform;
  transform-origin: center center;
}
.hero-video-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0,13,26,.88) 0%, rgba(0,20,40,.72) 38%, rgba(0,20,40,.28) 58%, rgba(0,13,26,.18) 100%),
    radial-gradient(ellipse 55% 50% at 78% 45%, rgba(135,206,235,.1), transparent 62%),
    linear-gradient(180deg, rgba(0,13,26,.45) 0%, transparent 42%, var(--midnight) 100%);
  pointer-events: none;
}

/* Hero — diagramación horizontal split */
.hero--video .hero-grid--split.container {
  width: min(94%, 1360px);
  max-width: 100%;
}
.hero-grid--split {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
  align-items: center;
  min-height: calc(100vh - var(--announce-h) - var(--header-h) - 72px);
  padding-bottom: 3.5rem;
}
.hero-grid--split .hero-copy {
  max-width: none;
  width: 100%;
}
.hero-grid--split .hero-copy h1 {
  max-width: 14ch;
  line-height: 1.08;
}
.hero-grid--split .hero-lead { max-width: none; margin-bottom: 1.35rem; }
.hero-actions--split {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 0;
  max-width: none;
  width: 100%;
}
.hero-cta-primary { width: 100%; justify-content: center; }
.hero-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.hero-actions-row .btn { justify-content: center; }

.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: stretch;
  min-height: 420px;
  width: 100%;
}
.hero-stage-inner { width: 100%; }
.hero-stage-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  width: 100%;
}
.hero-counsel-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .9rem;
  padding: .95rem 1.05rem;
  border-radius: var(--radius-lg);
  background: rgba(0,20,40,.62);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(135,206,235,.22);
  box-shadow: 0 16px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.04) inset;
  text-decoration: none;
  color: inherit;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
  animation: heroCardFloat 7s ease-in-out infinite;
}
.hero-counsel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(135,206,235,.45);
  box-shadow: 0 22px 56px rgba(0,0,0,.42), 0 0 32px rgba(135,206,235,.12);
}
.hero-counsel-emblem {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0,51,102,.55);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.16),
    0 8px 24px rgba(0,0,0,.35),
    0 0 20px rgba(135,206,235,.12);
}
.hero-counsel-emblem img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.hero-counsel-photo {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.14),
    0 8px 24px rgba(0,0,0,.35);
}
.hero-counsel-photo--portrait {
  width: 64px;
  height: 80px;
  border-radius: 10px;
}
.hero-counsel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}
.hero-counsel-live {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  border: 2px solid rgba(0,20,40,.9);
  box-shadow: 0 0 10px rgba(52,211,153,.6);
}
.hero-counsel-label {
  display: block;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-sky);
  font-weight: 600;
  margin-bottom: .15rem;
}
.hero-counsel-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: .98rem;
  color: var(--bone);
  line-height: 1.25;
  letter-spacing: -.01em;
}
.hero-counsel-meta {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: .2rem;
}
.hero-counsel-arrow {
  width: 18px;
  height: 18px;
  color: var(--brand-sky);
  opacity: .75;
  transition: transform .35s var(--ease), opacity .35s;
}
.hero-counsel-card:hover .hero-counsel-arrow {
  transform: translate(2px, -2px);
  opacity: 1;
}

.hero-metric-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .65rem;
}
.hero-metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .85rem .5rem;
  border-radius: var(--radius);
  background: rgba(0,51,102,.48);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(135,206,235,.16);
  text-align: center;
  transition: border-color .35s, transform .35s var(--ease);
}
.hero-metric-card svg {
  width: 16px;
  height: 16px;
  color: var(--brand-sky);
  opacity: .9;
}
.hero-metric-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--bone);
  line-height: 1;
}
.hero-metric-card span {
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-metric-card--a { animation: heroMetricFloat 6.5s ease-in-out infinite; }
.hero-metric-card--b { animation: heroMetricFloat 6.5s ease-in-out .8s infinite; }
.hero-metric-card--c { animation: heroMetricFloat 6.5s ease-in-out 1.6s infinite; }
.hero-metric-card:hover {
  border-color: rgba(135,206,235,.38);
  transform: translateY(-3px);
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.hero-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .7rem;
  border-radius: 100px;
  font-size: .62rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--bone-muted);
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}
.hero-trust-strip svg {
  width: 12px;
  height: 12px;
  color: var(--gold);
}

.hero-stage-accent {
  position: absolute;
  left: -6%;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(135,206,235,.35) 22%, rgba(212,175,55,.25) 50%, rgba(135,206,235,.35) 78%, transparent);
  opacity: .55;
  pointer-events: none;
}
.hero-stage-accent::before,
.hero-stage-accent::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--brand-sky);
  box-shadow: 0 0 14px rgba(135,206,235,.55);
}
.hero-stage-accent::before { top: 18%; }
.hero-stage-accent::after { bottom: 18%; background: var(--gold); box-shadow: 0 0 14px rgba(212,175,55,.45); }

.hero-scroll-cue {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding-bottom: 1.25rem;
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: heroScrollCue 2.4s ease-in-out infinite;
}
.hero-scroll-cue svg { width: 14px; height: 14px; color: inherit; opacity: 1; }

@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes heroMetricFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes heroScrollCue {
  0%, 100% { opacity: .55; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

.hero-copy--scroll,
.hero-stage--scroll {
  will-change: transform, opacity;
  transition: none;
}

.hero-grid--solo {
  grid-template-columns: 1fr;
  max-width: 720px;
  min-height: calc(100vh - var(--announce-h) - var(--header-h) - 48px);
  align-content: center;
  padding-bottom: 4rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-counsel-card,
  .hero-metric-card--a,
  .hero-metric-card--b,
  .hero-metric-card--c,
  .hero-scroll-cue { animation: none; }
}

.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 65% 50% at 70% 12%, rgba(135,206,235,.09), transparent 55%), linear-gradient(180deg, rgba(0,20,40,.4), var(--midnight) 92%); z-index: 1; pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; padding-bottom: 3rem; }
.hero-rating { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; font-size: .82rem; color: var(--text-muted); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .9rem; }
.hero-stars { display: flex; gap: .12rem; }
.hero-stars svg { width: 14px; height: 14px; fill: var(--gold); stroke: none; }
button.hero-float-card { cursor: pointer; font: inherit; color: inherit; border: 1px solid var(--border-brand); }
button.hero-float-card:hover { border-color: var(--brand-sky); box-shadow: 0 0 24px var(--brand-sky-glow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.stat-card { padding: 1rem; background: rgba(0,51,102,.35); border: 1px solid var(--border-brand); border-radius: var(--radius); text-align: center; transition: border-color .3s, transform .3s var(--ease); }
button.stat-card { cursor: pointer; font: inherit; color: inherit; width: 100%; }
button.stat-card:hover { border-color: var(--brand-sky); transform: translateY(-3px); box-shadow: var(--shadow-brand); }
.stat-icon { display: block; width: 20px; height: 20px; margin: 0 auto .4rem; color: var(--brand-sky); }
.stat-card strong { display: block; font-family: var(--font-display); font-size: 1.85rem; color: var(--brand-sky); line-height: 1; margin-bottom: .2rem; }
.stat-card strong::after { content: attr(data-suffix); font-size: 1rem; }
.stat-card span { font-size: .68rem; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; }
.hero-visual { position: relative; overflow: visible; }
.hero-frame { position: relative; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.hero-portrait-slider { position: relative; z-index: 1; aspect-ratio: 4/5; background: var(--navy-deep); border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 0 0 1px var(--border-brand), var(--shadow-lg); }
.hero-portrait-single .hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  display: block;
  filter: grayscale(8%) contrast(1.04);
}
.hero-badge-logo { border-radius: 50%; flex-shrink: 0; }
.hero-portrait-slide { position: absolute; inset: 0; opacity: 0; transform: translateX(14px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.hero-portrait-slide.is-active { opacity: 1; transform: none; z-index: 1; }
.hero-portrait-slide img { filter: grayscale(8%) contrast(1.04); }
.hero-frame::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(4,8,15,.9)); z-index: 2; pointer-events: none; }
.hero-slide-dots { position: absolute; bottom: 5.25rem; left: 50%; transform: translateX(-50%); display: flex; gap: .4rem; z-index: 5; }
.hero-slide-dots button { width: 26px; height: 3px; border: none; border-radius: 100px; background: rgba(255,255,255,.2); cursor: pointer; padding: 0; transition: all .3s; }
.hero-slide-dots button.is-active { background: var(--accent); width: 36px; }
.hero-badge { position: absolute; bottom: 1.25rem; left: 1.25rem; right: 1.25rem; z-index: 6; display: flex; align-items: center; gap: .85rem; padding: .9rem 1.1rem; background: var(--glass); backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: var(--radius); }
.hero-badge svg { width: 26px; height: 26px; color: var(--gold); }
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--bone); }
.hero-badge span { font-size: .68rem; color: var(--text-muted); letter-spacing: .1em; text-transform: uppercase; }
.hero-float-card { position: absolute; top: 8%; right: -12px; display: flex; align-items: center; gap: .65rem; padding: .75rem 1rem; background: var(--glass); backdrop-filter: blur(12px); border: 1px solid var(--border-brand); border-radius: var(--radius); box-shadow: var(--shadow-brand); animation: floatCard 4s ease-in-out infinite; z-index: 3; }
.hero-float-card svg { width: 20px; height: 20px; color: var(--gold); }
.hero-float-card strong { display: block; font-size: .78rem; color: var(--bone); }
.hero-float-card span { font-size: .65rem; color: var(--text-muted); }
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* Hero — logo de marca */
.hero-brand-mark {
  position: relative;
  min-height: clamp(300px, 48vh, 440px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-brand-mark::before {
  content: '';
  position: absolute;
  width: min(88%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(135,206,235,.16) 0%, rgba(0,51,102,.08) 42%, transparent 72%);
  filter: blur(2px);
  animation: heroBrandGlow 7s ease-in-out infinite;
}
.hero-brand-mark .brand-logo { position: relative; z-index: 1; animation: heroBrandFloat 7s ease-in-out infinite; }
@keyframes heroBrandFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes heroBrandGlow {
  0%, 100% { opacity: .75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-brand-mark .brand-logo, .hero-brand-mark::before { animation: none; }
}

/* Trust bar — premium editorial */
.trust-bar {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  padding: clamp(1.75rem, 3.5vw, 2.35rem) 0;
}
.trust-bar.section-surface-cream {
  border-top: 1px solid rgba(0, 51, 102, 0.08);
  border-bottom: 1px solid rgba(0, 51, 102, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 12px 40px rgba(0, 26, 51, 0.04);
}
.trust-bar.section-surface-cream::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1240px);
  height: 2px;
  background: var(--cable-gradient);
  background-size: 200% 100%;
  animation: cableFlow 6s linear infinite;
  opacity: 0.55;
  border-radius: 100px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.85rem, 1.8vw, 1.15rem);
}
.trust-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.15rem 1.05rem;
  border-radius: var(--radius-lg);
  text-align: left;
  transition:
    transform .35s var(--ease),
    box-shadow .35s var(--ease),
    border-color .35s,
    background .35s;
}
button.trust-item {
  cursor: pointer;
  border: none;
  background: transparent;
  font: inherit;
  color: inherit;
  width: 100%;
}
.section-surface-cream .trust-item {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 100%);
  border: 1px solid rgba(0, 51, 102, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 28px rgba(0, 26, 51, 0.06);
}
.section-surface-cream .trust-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s;
  box-shadow: 0 0 0 1px rgba(0, 51, 102, 0.14), 0 16px 40px rgba(0, 26, 51, 0.1);
}
.section-surface-cream button.trust-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 51, 102, 0.2);
  background: #fff;
}
.section-surface-cream button.trust-item:hover::after {
  opacity: 1;
}
.section-surface-cream button.trust-item:hover .trust-item-icon {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.18);
}
.section-surface-cream button.trust-item:hover .trust-more {
  gap: .45rem;
  color: var(--text-dark);
}
.trust-item-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--brand-navy) 0%, #004080 100%);
  border: 1px solid rgba(0, 51, 102, 0.2);
  box-shadow: 0 4px 14px rgba(0, 51, 102, 0.22);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.trust-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--brand-sky-light);
  stroke-width: 1.85;
}
.trust-item-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  min-width: 0;
  flex: 1;
}
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--bone);
}
.section-surface-cream .trust-item strong {
  color: var(--text-dark);
}
.trust-item-desc {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  line-height: 1.4;
}
.section-surface-cream .trust-item-desc {
  color: var(--text-on-cream-muted);
}
.trust-more {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  margin-top: .55rem;
  font-size: .66rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-sky);
  transition: gap .25s var(--ease), color .25s;
}
.section-surface-cream .trust-more {
  color: var(--brand-navy);
}
.trust-more svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.25;
  transition: transform .25s var(--ease);
}
button.trust-item:hover .trust-more svg {
  transform: translate(2px, -2px);
}
.reveal-stagger > .trust-item {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.985);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: var(--stagger, 0s);
}
.reveal-stagger > .trust-item.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-stagger > .trust-item { opacity: 1; transform: none; }
  .trust-bar.section-surface-cream::before { animation: none; }
}

/* Ficha del abogado — compact strip + modal dossier */
.counsel-profile {
  position: relative;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  overflow: hidden;
}
.counsel-profile--premium {
  background:
    radial-gradient(ellipse 80% 60% at 12% 0%, rgba(135,206,235,.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 88% 100%, rgba(0,51,102,.35), transparent 60%),
    linear-gradient(180deg, var(--midnight) 0%, var(--navy-deep) 100%);
}
.counsel-profile-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 38%, rgba(212,175,55,.06), transparent 42%),
    radial-gradient(circle at 78% 62%, rgba(135,206,235,.1), transparent 48%);
  pointer-events: none;
}
.counsel-profile-gridline {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image:
    linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
  pointer-events: none;
}
.counsel-profile-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
}
.counsel-profile-head h2 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  letter-spacing: -.02em;
}

/* Compact counsel strip */
.counsel-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.15rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(0,51,102,.42) 0%, rgba(0,20,40,.55) 52%, rgba(0,8,16,.38) 100%);
  box-shadow:
    0 0 0 1px rgba(135,206,235,.14),
    0 20px 56px rgba(0,0,0,.38),
    0 0 80px rgba(0,51,102,.18);
  transition: border-color .35s, box-shadow .35s var(--ease);
}
.counsel-strip:hover {
  box-shadow:
    0 0 0 1px rgba(135,206,235,.28),
    0 24px 64px rgba(0,0,0,.42),
    0 0 100px rgba(135,206,235,.08);
}
.counsel-strip--premium {
  background:
    linear-gradient(135deg, rgba(0,51,102,.48) 0%, rgba(0,20,40,.58) 52%, rgba(0,8,16,.42) 100%);
}
.counsel-strip-thumb {
  position: relative;
  flex-shrink: 0;
  width: clamp(88px, 11vw, 112px);
}
.counsel-strip-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(135,206,235,.08) 0%, transparent 38%, rgba(0,8,16,.22) 100%);
  box-shadow: inset 0 0 24px rgba(0,0,0,.18);
}
.counsel-strip-thumb img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 24%;
  display: block;
  filter: contrast(1.04) saturate(.94);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.14),
    0 0 0 3px rgba(0,51,102,.45),
    0 12px 32px rgba(0,0,0,.4);
}
.counsel-strip-live {
  position: absolute;
  bottom: -.35rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .6rem;
  border-radius: 100px;
  background: rgba(0,20,40,.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(135,206,235,.28);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bone-muted);
  font-weight: 600;
  white-space: nowrap;
}
.counsel-strip-main {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-width: 0;
}
.counsel-strip-main h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: var(--bone);
  line-height: var(--leading-tight);
  letter-spacing: -.02em;
}
.counsel-strip-bio {
  font-size: .86rem;
  color: var(--bone-muted);
  line-height: 1.55;
  max-width: 52ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.counsel-strip-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.1rem;
  margin-top: .25rem;
}
.counsel-strip-metrics span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}
.counsel-strip-metrics svg {
  width: 14px;
  height: 14px;
  color: var(--brand-sky);
  opacity: .85;
}
.counsel-strip-metrics strong {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--brand-sky);
  font-weight: 700;
}
.counsel-strip-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .85rem;
  flex-shrink: 0;
}
.counsel-strip-firm {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.counsel-strip-cta {
  white-space: nowrap;
}

.counsel-role {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-sky);
  font-weight: 600;
}
.counsel-signature-logo {
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}
.counsel-signature-firm {
  display: block;
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bone);
  font-weight: 700;
}
.counsel-signature-meta {
  display: block;
  font-size: .62rem;
  color: var(--text-muted);
  letter-spacing: .06em;
  margin-top: .1rem;
}
.counsel-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52,211,153,.65);
  animation: counselStatusPulse 2.4s ease-in-out infinite;
}
@keyframes counselStatusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .65; transform: scale(.88); }
}

/* Shared counsel dossier elements (modal) */
.counsel-signature {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  background: rgba(0,51,102,.32);
  border: 1px solid rgba(255,255,255,.08);
  width: fit-content;
}
.counsel-signature--modal { margin-bottom: .5rem; }
.counsel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: .15rem 0;
}
.counsel-metrics--premium .counsel-metric {
  position: relative;
  padding: 1rem .7rem .85rem;
  text-align: center;
  background: rgba(0,51,102,.38);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius);
  transition: border-color .3s;
}
.counsel-metrics--modal { margin: .75rem 0 1rem; }
.counsel-metrics--premium .counsel-metric svg {
  width: 16px;
  height: 16px;
  color: var(--brand-sky);
  margin: 0 auto .35rem;
  opacity: .85;
}
.counsel-metric--accent {
  background: linear-gradient(160deg, rgba(135,206,235,.12), rgba(0,51,102,.38));
  border-color: rgba(135,206,235,.35);
}
.counsel-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--brand-sky);
  line-height: 1;
  margin-bottom: .3rem;
}
.counsel-metric span {
  font-size: .6rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.counsel-practice-label {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: .55rem;
}
.counsel-practice--modal { margin-bottom: 1rem; }
.counsel-practice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.counsel-practice-tags span {
  padding: .4rem .75rem;
  border-radius: 100px;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bone-muted);
  background: rgba(0,51,102,.45);
  border: 1px solid rgba(135,206,235,.18);
}
.counsel-quote {
  position: relative;
  padding: 1.25rem 1.35rem 1.15rem;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(212,175,55,.08), rgba(135,206,235,.04));
  border-radius: 0 var(--radius) var(--radius) 0;
}
.counsel-quote--modal { margin-top: 1rem; }
.counsel-quote-icon {
  position: absolute;
  top: .85rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  color: rgba(212,175,55,.25);
}
.counsel-quote p {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  color: var(--bone);
  line-height: 1.65;
  max-width: 48ch;
}
.counsel-quote cite {
  display: block;
  margin-top: .65rem;
  font-size: .72rem;
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (prefers-reduced-motion: reduce) {
  .counsel-status-dot { animation: none; }
}

/* Philosophy — home feature + standalone page */
.philosophy-feature {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--brand-navy) 45%, var(--midnight) 100%);
  border-top: 1px solid var(--border-brand);
  border-bottom: 1px solid var(--border-brand);
}
.philosophy-feature.section-surface-cream {
  background: linear-gradient(180deg, var(--section-cream-muted) 0%, var(--section-cream) 55%, #f7f3ed 100%);
  border-top: 1px solid rgba(0, 51, 102, 0.1);
  border-bottom: 1px solid rgba(0, 51, 102, 0.1);
}
.philosophy-feature.section-surface-cream .philosophy-feature-glow {
  background: radial-gradient(circle, rgba(0, 51, 102, 0.06), transparent 70%);
}
.philosophy-feature.section-surface-cream .philosophy-feature-lead {
  color: var(--text-on-cream-muted);
}
.philosophy-feature.section-surface-cream .philosophy-pillars--home .philosophy-pillar {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 51, 102, 0.12);
  box-shadow: 0 4px 20px rgba(0, 26, 51, 0.06);
}
.philosophy-feature.section-surface-cream .philosophy-pillars--home .philosophy-pillar:hover {
  border-color: rgba(0, 51, 102, 0.22);
  box-shadow: 0 12px 32px rgba(0, 26, 51, 0.1);
}
.philosophy-feature.section-surface-cream .philosophy-pillar h3 {
  color: var(--text-dark);
}
.philosophy-feature.section-surface-cream .philosophy-pillar p {
  color: var(--text-on-cream-muted);
}
.philosophy-feature.section-surface-cream .philosophy-pillar-num {
  color: var(--accent-on-cream);
}
.philosophy-feature.section-surface-cream .philosophy-inline-quote {
  background: rgba(255, 255, 255, 0.65);
  border-left-color: var(--brand-navy);
}
.philosophy-feature.section-surface-cream .philosophy-inline-quote p {
  color: var(--text-dark);
}
.philosophy-feature-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 90vw);
  height: 500px;
  background: radial-gradient(circle, rgba(135, 206, 235, .14), transparent 70%);
  pointer-events: none;
}
.philosophy-feature-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}
.philosophy-feature-head h2 { margin-bottom: .75rem; }
.philosophy-feature-lead {
  font-size: 1.02rem;
  color: var(--bone-muted);
  line-height: 1.75;
}
.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.philosophy-pillars--home .philosophy-pillar {
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.philosophy-pillars--home .philosophy-pillar:hover {
  border-color: var(--border-brand);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 20, 40, .4);
}
.philosophy-pillar-num {
  display: block;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--brand-sky);
  margin-bottom: .75rem;
}
.philosophy-pillar-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(0, 51, 102, .9), rgba(135, 206, 235, .2));
  border: 1px solid var(--border-brand);
  margin-bottom: 1rem;
}
.philosophy-pillar-icon svg { width: 22px; height: 22px; color: var(--brand-sky-light); }
.philosophy-pillar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--bone);
}
.philosophy-pillar p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.philosophy-feature-footer {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}
.philosophy-inline-quote {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--brand-sky);
  background: rgba(0, 51, 102, .35);
  border-radius: 0 var(--radius) var(--radius) 0;
  text-align: left;
}
.philosophy-inline-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--bone);
  line-height: 1.4;
}
.philosophy-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
.reveal-stagger > .philosophy-pillar {
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(0.985);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: var(--stagger, 0s);
}
.reveal-stagger > .philosophy-pillar.is-visible { opacity: 1; transform: none; }

/* Philosophy standalone page */
.philosophy-page { padding-top: var(--header-h); }
.philosophy-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.philosophy-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(135, 206, 235, .12), transparent 60%),
    linear-gradient(180deg, var(--brand-navy), var(--midnight));
}
.philosophy-hero-inner { position: relative; text-align: center; max-width: 44rem; margin: 0 auto; }
.philosophy-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: .5rem 0 1rem;
  color: var(--bone);
}
.philosophy-hero-lead {
  font-size: 1.08rem;
  color: var(--bone-muted);
  line-height: 1.75;
}
.philosophy-quote-block {
  position: relative;
  max-width: 38rem;
  margin: 0 auto;
  padding: 2rem 2rem 2rem 2.5rem;
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-xl);
  background: rgba(0, 51, 102, .4);
  box-shadow: 0 24px 60px rgba(0, 15, 35, .45);
}
.philosophy-quote-mark {
  position: absolute;
  top: .5rem;
  left: 1rem;
  font-size: 4rem;
  line-height: 1;
  font-weight: 800;
  color: var(--brand-sky);
  opacity: .35;
}
.philosophy-quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--bone);
  line-height: 1.35;
  margin-bottom: 1rem;
}
.philosophy-quote-block footer {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-sky);
}
.philosophy-pillars-section .philosophy-pillar {
  padding: 2rem 1.75rem;
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.philosophy-commit-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-brand);
  background: linear-gradient(135deg, rgba(0, 51, 102, .5), rgba(0, 20, 40, .8));
}
.philosophy-commit-copy h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin-bottom: 1.25rem; }
.philosophy-commit-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.philosophy-commit-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--bone-muted);
}
.philosophy-commit-list svg { width: 18px; height: 18px; color: var(--brand-sky); flex-shrink: 0; }
.philosophy-commit-aside {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
}
.philosophy-commit-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  box-shadow: 0 0 32px var(--brand-sky-glow);
}
.philosophy-commit-aside p { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.philosophy-commit-tag {
  display: inline-block;
  margin-top: .5rem;
  font-size: .72rem;
  color: var(--brand-sky-light);
}
.philosophy-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.section-split-copy h2,
.contact-intro h2 { font-family: var(--font-display); }
.eyebrow-dark { color: var(--brand-sky); }

/* Catalog (ecommerce) */
.catalog-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.filter-btn { padding: .55rem 1.15rem; font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .04em; border-radius: 100px; border: 1px solid var(--border); background: transparent; color: #96aec0; cursor: pointer; transition: all .3s var(--ease); }
.filter-btn:hover { border-color: var(--border-gold); color: var(--bone); }
.filter-btn.is-active { background: var(--gold-dim); border-color: var(--gold); color: var(--gold-light); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card { display: flex; flex-direction: column; background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .4s var(--ease); opacity: 1; transform: scale(1); }
.service-card.is-hidden { display: none; }
.service-card:hover { border-color: var(--border-gold); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-featured { border-color: var(--border-brand); background: linear-gradient(160deg, rgba(0,51,102,.45), rgba(135,206,235,.06)); box-shadow: var(--shadow-brand); }
.service-card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; flex-shrink: 0; }
.service-card-media .img-wrap { position: absolute; inset: 0; }
.service-card-media img { filter: grayscale(22%) brightness(0.78); }
.service-card:hover .service-card-media img { transform: scale(1.06); filter: grayscale(0) brightness(.9); }
.service-chip { position: absolute; top: .75rem; left: .75rem; display: inline-flex; align-items: center; gap: .3rem; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 100px; background: rgba(4,8,15,.75); border: 1px solid var(--border); color: var(--bone); backdrop-filter: blur(8px); }
.service-chip svg { width: 11px; height: 11px; }
.service-card-body h3 { display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: 1.15rem; }
.h3-icon { width: 18px; height: 18px; color: var(--brand-sky); flex-shrink: 0; }
.service-actions { display: flex; gap: .5rem; margin-top: .35rem; }
.service-actions .btn-card { flex: 1; justify-content: center; }
.service-chip-hot { background: rgba(0,51,102,.75); border-color: var(--brand-sky); color: var(--brand-sky-light); }
.service-card-body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; gap: .5rem; }
.service-card-body p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.service-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 .5rem; }
.service-meta span { display: inline-flex; align-items: center; gap: .3rem; font-size: .68rem; color: var(--text-muted); padding: .25rem .55rem; background: rgba(255,255,255,.03); border-radius: 6px; }
.service-meta svg { width: 12px; height: 12px; color: var(--gold); }

/* Method journey */
.method { position: relative; overflow: hidden; }
.method-head {
  max-width: 640px; margin: 0 auto 2.5rem; text-align: center;
}
.method-head-copy h2 { font-family: var(--font-display); margin-bottom: .65rem; }
.method-head-copy p { font-size: .95rem; color: var(--text-muted); line-height: 1.7; max-width: 520px; }
.method-head-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.method-stat {
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
  padding: 1rem .65rem; border-radius: var(--radius-lg);
  background: rgba(0,51,102,.35); border: 1px solid var(--border-brand);
}
.method-stat svg { width: 18px; height: 18px; color: var(--brand-sky); margin-bottom: .15rem; }
.method-stat strong { font-family: var(--font-display); font-size: 1rem; color: var(--bone); }
.method-stat span { font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }

.method-journey { position: relative; }
.method-rail {
  position: relative; height: 4px; margin: 0 8% 2rem;
  background: rgba(255,255,255,.06); border-radius: 100px; overflow: visible;
}
.method-rail-line { position: absolute; inset: 0; border-radius: inherit; }
.method-rail-fill {
  position: absolute; top: 0; left: 0; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-sky), var(--brand-white));
  border-radius: inherit; transition: width .55s var(--ease);
  box-shadow: 0 0 16px var(--brand-sky-glow);
}
.method-rail-nodes {
  position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center;
  transform: translateY(-50%); top: 50%; padding: 0;
}
.method-rail-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy-deep); border: 2px solid var(--border);
  transition: all .4s var(--ease); flex-shrink: 0;
}
.method-rail-dot.is-done { background: var(--brand-navy); border-color: var(--brand-sky); box-shadow: 0 0 10px var(--brand-sky-glow); }
.method-rail-dot.is-active { background: var(--brand-white); border-color: var(--brand-sky); transform: scale(1.25); box-shadow: 0 0 18px var(--brand-sky-glow); }

.method-steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem;
  margin-bottom: 1.75rem; position: relative; z-index: 1;
}
.method-step-btn {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: .75rem;
  padding: 1.15rem .85rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: rgba(255,255,255,.02);
  cursor: pointer; font: inherit; color: inherit; text-align: center;
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s, background .35s;
}
.method-step-btn:hover { border-color: var(--border-brand); transform: translateY(-3px); }
.method-step.is-active .method-step-btn {
  border-color: var(--brand-sky); background: linear-gradient(160deg, rgba(0,51,102,.5), rgba(135,206,235,.08));
  box-shadow: var(--shadow-brand); transform: translateY(-4px);
}
.method-step.is-done .method-step-btn { border-color: rgba(135,206,235,.25); opacity: .88; }
.method-node {
  position: relative; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--gold-dim); border: 1px solid var(--border-gold);
  transition: all .35s var(--ease);
}
.method-step.is-active .method-node { background: rgba(0,51,102,.6); border-color: var(--brand-sky); box-shadow: 0 0 20px var(--brand-sky-glow); }
.method-node-num {
  position: absolute; top: -8px; right: -8px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .6rem; font-weight: 700; font-family: var(--font-display);
  background: var(--brand-navy); border: 1px solid var(--border-brand); color: var(--brand-sky);
}
.method-step.is-active .method-node-num { background: var(--brand-white); color: var(--brand-navy); border-color: var(--brand-white); }
.method-node-icon svg { width: 24px; height: 24px; color: var(--brand-sky); }
.method-step-text strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--bone); margin-bottom: .15rem; }
.method-step-text span { font-size: .72rem; color: var(--text-muted); line-height: 1.4; }

.method-panel {
  border: 1px solid var(--border-brand); border-radius: var(--radius-xl);
  background: linear-gradient(155deg, rgba(0,51,102,.42), rgba(0,20,40,.75));
  box-shadow: var(--shadow-lg); overflow: hidden;
  transition: opacity .35s var(--ease);
}
.method-panel.is-switching { animation: methodPanelIn .45s var(--ease); }
@keyframes methodPanelIn {
  from { opacity: .6; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.method-panel-grid {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 0;
  border-bottom: 1px solid var(--border);
}
.method-panel-intro {
  padding: 2rem 2rem 1.75rem;
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,.15);
}
.method-panel-phase {
  display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-sky); margin-bottom: 1rem;
}
.method-panel-head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.method-panel-icon {
  display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 14px; background: var(--gold-dim); border: 1px solid var(--border-gold);
}
.method-panel-icon svg { width: 26px; height: 26px; color: var(--brand-sky); }
.method-panel-head h3 { font-family: var(--font-display); font-size: 1.65rem; color: var(--bone); margin-bottom: .2rem; }
.method-panel-tagline { font-size: .82rem; font-weight: 600; color: var(--brand-sky-light); letter-spacing: .03em; }
.method-panel-lead { font-size: .9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.1rem; }
.method-panel-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.method-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .68rem; font-weight: 600; padding: .35rem .7rem; border-radius: 100px;
  background: rgba(135,206,235,.1); border: 1px solid var(--border-brand); color: var(--brand-sky-light);
}
.method-tag svg { width: 11px; height: 11px; color: var(--brand-sky); }

.method-panel-body { padding: 2rem 1.75rem 1.5rem; display: flex; flex-direction: column; }
.method-panel-cards { list-style: none; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.method-card {
  display: flex; gap: .85rem; padding: 1rem 1.1rem;
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .3s; animation: modalBlockIn .4s var(--ease) both;
}
.method-card:hover { border-color: var(--border-brand); }
.method-card-icon {
  display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px; background: rgba(0,51,102,.45); border: 1px solid var(--border-brand);
}
.method-card-icon svg { width: 18px; height: 18px; color: var(--brand-sky); }
.method-card h4 { font-size: .88rem; color: var(--bone); margin-bottom: .25rem; }
.method-card p { font-size: .8rem; color: var(--text-muted); line-height: 1.55; }

.method-panel-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px dashed var(--border);
}
.method-panel-dots { display: flex; gap: .4rem; }
.method-dot {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%;
  background: rgba(255,255,255,.2); cursor: pointer; transition: all .3s;
}
.method-dot.is-active { background: var(--brand-sky); transform: scale(1.35); box-shadow: 0 0 8px var(--brand-sky-glow); }

.method-panel-footer {
  display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center;
  padding: 1.25rem 2rem; background: rgba(0,0,0,.2);
}
.method-panel-footer .btn-primary { flex: 1; min-width: 220px; justify-content: center; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review-card { padding: 1.75rem; background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all .35s var(--ease); cursor: pointer; text-align: left; }
.review-card:hover { border-color: var(--border-gold); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.review-quote-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--gold-dim); border: 1px solid var(--border-gold); margin-bottom: .75rem; }
.review-quote-icon svg { width: 18px; height: 18px; color: var(--gold); }
.review-stars { display: flex; gap: .15rem; color: var(--gold); margin-bottom: .85rem; }
.review-stars svg { width: 14px; height: 14px; fill: var(--gold); stroke: none; }
.review-more { display: flex; align-items: center; gap: .35rem; font-size: .72rem; font-style: normal; font-weight: 600; color: var(--brand-sky); margin-top: 1rem; letter-spacing: .03em; }
.review-more svg { width: 14px; height: 14px; }
.review-card > p { font-family: var(--font-sans); font-size: 1rem; font-weight: 500; line-height: 1.65; color: var(--bone-muted); margin-bottom: 1.25rem; }
.review-card footer strong { display: block; font-size: .82rem; color: var(--bone); margin-bottom: .15rem; }
.review-card footer span { font-size: .72rem; color: var(--text-muted); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.price-card { position: relative; padding: 2rem 1.75rem; background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: var(--radius-xl); display: flex; flex-direction: column; transition: all .35s var(--ease); }
.price-card:hover { border-color: var(--border-gold); }
.price-card-featured { border-color: var(--brand-sky); background: linear-gradient(160deg, rgba(0,51,102,.5), rgba(135,206,235,.08)); box-shadow: 0 0 0 1px var(--border-brand), var(--shadow-brand); transform: scale(1.02); }
.price-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .85rem; border-radius: 100px; background: var(--brand-white); color: var(--brand-navy); }
.price-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--gold-dim); border: 1px solid var(--border-gold); margin-bottom: .85rem; }
.price-icon svg { width: 20px; height: 20px; color: var(--gold); }
.price-card .btn-info { margin-bottom: .5rem; }
.price-label { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.price-card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: .35rem; }
.price-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.25rem; flex: 1; }
.price-features { list-style: none; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .55rem; }
.price-features li { display: flex; align-items: center; gap: .5rem; font-size: .84rem; color: var(--text); }
.price-features svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }

/* ===== IMAGE LOADING ===== */
.img-wrap { position: relative; overflow: hidden; background: var(--navy-deep); }
.img-wrap--static { border-radius: inherit; height: 100%; }
.img-skeleton {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, rgba(255,255,255,.02) 0%, rgba(135,206,235,.1) 45%, rgba(255,255,255,.02) 90%);
  background-size: 220% 100%;
  animation: imgShimmer 1.5s ease-in-out infinite;
}
@keyframes imgShimmer { 0%{background-position:120% 0} 100%{background-position:-120% 0} }
.img-wrap img { opacity: 0; transition: opacity .55s var(--ease), transform .65s var(--ease), filter .4s var(--ease); }
.img-wrap.is-loaded img { opacity: 1; }
.img-wrap.is-loaded .img-skeleton { opacity: 0; transition: opacity .45s; }
.img-wrap.is-error .img-skeleton { animation: none; background: rgba(0,51,102,.45); }

/* ===== PARALLAX ===== */
[data-parallax] { will-change: transform; backface-visibility: hidden; }
[data-parallax-section] .container {
  will-change: transform;
  backface-visibility: hidden;
}
.hero-bg-slide { will-change: transform; }

/* ===== CASOS DE ÉXITO (editorial) ===== */
.cases {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--navy-deep) 0%, #000810 100%);
  border-top: 1px solid var(--border-brand);
}
.cases-parallax {
  position: absolute; inset: -15% 0; pointer-events: none; z-index: 0;
}
.cases-parallax--back {
  background:
    radial-gradient(ellipse 55% 45% at 15% 30%, rgba(0,51,102,.55), transparent 60%),
    radial-gradient(ellipse 40% 35% at 85% 70%, rgba(135,206,235,.12), transparent 55%);
}
.cases-parallax--glow {
  background: radial-gradient(ellipse 50% 30% at 50% 0%, rgba(135,206,235,.08), transparent 70%);
}
.cases .container { position: relative; z-index: 1; }
.cases-head {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: end;
  margin-bottom: 2.75rem; text-align: left;
}
.cases-head h2 { font-family: var(--font-display); margin-bottom: .6rem; }
.cases-head p { font-size: .92rem; color: var(--text-muted); line-height: 1.7; max-width: 520px; }
.cases-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.cases-metric {
  padding: 1rem .75rem; text-align: center; border-radius: var(--radius-lg);
  background: rgba(0,51,102,.4); border: 1px solid var(--border-brand);
}
.cases-metric strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--brand-sky); line-height: 1; margin-bottom: .25rem; }
.cases-metric span { font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }

.cases-dossiers { display: flex; flex-direction: column; gap: 1.75rem; }
.case-dossier {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
  border: 1px solid var(--border-brand); border-radius: var(--radius-xl);
  overflow: hidden; background: rgba(0,20,40,.55);
  box-shadow: var(--shadow-lg);
}
.case-dossier--lead { border-color: rgba(135,206,235,.45); }
.case-dossier-visual { position: relative; min-height: 320px; overflow: hidden; }
.case-dossier-visual .img-wrap { position: absolute; inset: 0; }
.case-dossier-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%) brightness(.7); transition: filter .6s var(--ease), transform 8s var(--ease); }
.case-dossier:hover .case-dossier-visual img { filter: grayscale(0) brightness(.88); transform: scale(1.04); }
.case-dossier-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .8rem; border-radius: 100px;
  font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(0,20,40,.82); border: 1px solid var(--border-brand); color: var(--brand-sky-light);
  backdrop-filter: blur(8px);
}
.case-dossier-badge svg { width: 13px; height: 13px; }
.case-dossier-stat {
  position: absolute; bottom: 1rem; right: 1rem; z-index: 2;
  text-align: right; padding: .75rem 1rem; border-radius: var(--radius);
  background: rgba(0,51,102,.88); border: 1px solid var(--border-brand);
  backdrop-filter: blur(10px);
}
.case-dossier-stat-val { display: block; font-family: var(--font-display); font-size: 1.75rem; color: var(--bone); line-height: 1; }
.case-dossier-stat-lbl { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-sky); }

.case-dossier-body {
  padding: 2rem 2rem 1.75rem; display: flex; flex-direction: column;
  border-left: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(0,51,102,.25), rgba(0,0,0,.2));
}
.case-dossier--lead .case-dossier-body { background: linear-gradient(160deg, rgba(0,51,102,.38), rgba(0,0,0,.15)); }
.case-dossier-id {
  font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-sky); margin-bottom: .5rem;
}
.case-dossier-body h3 { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-bottom: .65rem; color: var(--bone); }
.case-dossier-lead { font-size: .88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.1rem; flex: 1; }
.case-dossier-timeline {
  list-style: none; display: flex; flex-direction: column; gap: .45rem;
  margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--border);
}
.case-dossier-timeline li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--bone-muted);
}
.case-dossier-timeline svg { width: 14px; height: 14px; color: var(--brand-sky); flex-shrink: 0; }
.case-dossier .btn-info { align-self: flex-start; }
.case-dossier:nth-child(even) .case-dossier-visual { order: 2; }
.case-dossier:nth-child(even) .case-dossier-body {
  order: 1; border-left: none; border-right: 1px solid var(--border);
}
.philosophy-visual .img-wrap { height: 100%; width: 100%; }

/* ===== CONTACTO + MAPA UNIFICADO ===== */
.contact-footer-hub {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 55%, #000810 100%);
  border-top: 1px solid var(--border-brand);
}
.contact-footer-hub.section-surface-cream {
  background: linear-gradient(180deg, var(--section-cream) 0%, var(--section-cream-muted) 100%);
  border-top: 1px solid rgba(0, 51, 102, 0.1);
}
.contact-footer-hub.section-surface-cream .contact-hub-ambient {
  background: radial-gradient(ellipse 55% 40% at 80% 0%, rgba(0, 51, 102, 0.05), transparent 65%);
}
.contact-footer-hub.section-surface-cream .contact-hub-lead {
  color: var(--text-on-cream-muted);
}
.contact-footer-hub.section-surface-cream .contact-hub-form-panel {
  box-shadow: 0 20px 48px rgba(0, 26, 51, 0.14);
}
.contact-footer-hub.section-surface-cream .contact-hub-side {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 51, 102, 0.12);
  box-shadow: 0 12px 36px rgba(0, 26, 51, 0.08);
}
.contact-footer-hub.section-surface-cream .contact-hub-side .contact-pro-channels li {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 51, 102, 0.12);
}
.contact-footer-hub.section-surface-cream .contact-hub-side .contact-pro-channels li:hover {
  background: #fff;
  border-color: rgba(0, 51, 102, 0.22);
  box-shadow: 0 6px 18px rgba(0, 26, 51, 0.07);
}
.contact-footer-hub.section-surface-cream .contact-hub-side .channel-icon {
  background: rgba(0, 51, 102, 0.08);
  border-color: rgba(0, 51, 102, 0.14);
}
.contact-footer-hub.section-surface-cream .contact-hub-side .channel-icon svg {
  color: var(--brand-navy);
}
.contact-footer-hub.section-surface-cream .contact-hub-side .contact-pro-channels strong {
  color: var(--text-on-cream-muted);
}
.contact-footer-hub.section-surface-cream .contact-hub-side .contact-pro-channels a,
.contact-footer-hub.section-surface-cream .contact-hub-side .contact-pro-channels span {
  color: var(--text-dark);
}
.contact-footer-hub.section-surface-cream .contact-hub-side .contact-pro-channels a:hover {
  color: var(--brand-navy);
}
.contact-footer-hub.section-surface-cream .contact-pro-alt,
.contact-footer-hub.section-surface-cream .contact-map-jump {
  color: var(--brand-navy);
  border-color: rgba(0, 51, 102, 0.16);
  background: rgba(255, 255, 255, 0.78);
}
.contact-footer-hub.section-surface-cream .contact-pro-alt:hover,
.contact-footer-hub.section-surface-cream .contact-map-jump:hover {
  color: var(--text-dark);
  border-color: rgba(0, 51, 102, 0.28);
  background: #fff;
}
.contact-hub {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.contact-hub-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 40% at 80% 0%, rgba(135, 206, 235, .1), transparent 65%);
}
.contact-hub-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}
.contact-hub-head h2 { margin-bottom: .65rem; }
.contact-hub-lead {
  font-size: 1rem;
  color: var(--bone-muted);
  line-height: 1.7;
}
.contact-hub-shell {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 1.25rem;
  align-items: stretch;
}
.contact-hub-form-panel {
  padding: 1.75rem 1.85rem 1.85rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, #002b52 0%, #001428 52%, #000d1a 100%);
  border: 1px solid rgba(135, 206, 235, 0.28);
  box-shadow: 0 24px 60px rgba(0, 15, 35, .5), 0 0 0 1px rgba(135, 206, 235, .06);
}
.contact-hub-form-panel .contact-form-progress-meta {
  color: var(--bone-muted);
}
.contact-hub-form-panel .contact-form-progress-meta #contact-progress-pct {
  color: var(--brand-sky-light);
  font-variant-numeric: tabular-nums;
}
.contact-hub-form-panel .contact-form-progress-bar {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
}
.contact-hub-form-panel .form-field--float input,
.contact-hub-form-panel .form-field--float textarea {
  background: #001a33;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: var(--bone);
  transition: border-color .25s, box-shadow .25s;
}
.contact-hub-form-panel .form-field--float input:focus,
.contact-hub-form-panel .form-field--float textarea:focus {
  outline: none;
  border-color: var(--brand-sky);
  box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.2);
}
.contact-hub-form-panel .form-field--float .form-field-label {
  color: #a8bdd0;
}
.contact-hub-form-panel .form-field--float.is-focused .form-field-label,
.contact-hub-form-panel .form-field--float.has-value .form-field-label {
  color: var(--brand-sky-light);
}
.contact-hub-form-panel .form-field-counter {
  color: #8ba3b8;
}
.contact-hub-form-panel .form-field--float.has-value .form-field-counter {
  color: var(--brand-sky-light);
}
.contact-hub-form-panel .contact-area-label {
  color: var(--bone-muted);
}
.contact-hub-form-panel .contact-area-chip {
  background: rgba(0, 26, 51, 0.72);
  border-color: rgba(255, 255, 255, 0.16);
  color: #a8bdd0;
}
.contact-hub-form-panel .contact-area-chip:hover {
  border-color: rgba(135, 206, 235, 0.45);
  color: var(--bone);
  background: rgba(0, 51, 102, 0.55);
}
.contact-hub-form-panel .contact-pro-consent {
  color: #a8bdd0;
}
.contact-hub-form-panel .contact-pro-consent:has(input:checked) {
  color: var(--bone-muted);
}
.contact-hub-form-panel .contact-submit:disabled {
  opacity: 0.72;
  color: var(--brand-navy);
  background: rgba(255, 255, 255, 0.88);
}
.contact-hub-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--border);
}
.contact-pro-channels { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.contact-pro-channels--compact { flex: 1; }
.contact-pro-channels li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem .95rem;
  background: rgba(0, 51, 102, .25);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s, background .3s;
}
.contact-pro-channels li:hover {
  border-color: var(--border-brand);
  background: rgba(0, 51, 102, .4);
}
.channel-icon {
  display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px; background: var(--brand-sky-dim); border: 1px solid var(--border-brand);
}
.channel-icon svg { width: 17px; height: 17px; color: var(--brand-sky); }
.contact-pro-channels strong {
  display: block; font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: .12rem;
}
.contact-pro-channels a, .contact-pro-channels span { font-size: .86rem; color: var(--bone); }
.contact-pro-channels a:hover { color: var(--brand-sky-light); }
.contact-pro-alt, .contact-map-jump {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 600; color: var(--brand-sky);
  padding: .65rem .85rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
  transition: border-color .25s, color .25s, background .25s;
}
.contact-pro-alt:hover, .contact-map-jump:hover {
  color: var(--bone);
  border-color: var(--border-brand);
  background: rgba(0, 51, 102, .35);
}
.contact-pro-alt svg, .contact-map-jump svg { width: 15px; height: 15px; }

/* Formulario dinámico */
.contact-form-progress { margin-bottom: 1.35rem; }
.contact-form-progress-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: .45rem;
}
.contact-form-progress-bar {
  height: 5px; border-radius: 100px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
}
.contact-form-progress-fill {
  height: 100%; width: 0;
  background: var(--cable-gradient);
  background-size: 200% 100%;
  animation: cableFlow 4s linear infinite;
  transition: width .5s var(--ease);
  box-shadow: 0 0 10px var(--brand-sky-glow);
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-field--float {
  position: relative;
}
.form-field--float .form-field-label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  pointer-events: none;
  transition: top .25s var(--ease), font-size .25s, color .25s, transform .25s;
}
.form-field--float textarea ~ .form-field-label { top: 1rem; transform: none; }
.form-field--float input,
.form-field--float textarea {
  width: 100%;
  padding: 1.15rem 2.25rem 0.55rem 1rem;
}
.form-field--float textarea { padding-top: 1.35rem; min-height: 120px; resize: vertical; }
.form-field--float.is-focused .form-field-label,
.form-field--float.has-value .form-field-label {
  top: .45rem;
  transform: none;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-sky);
}
.form-field--float textarea ~ .form-field-label.form-field-label,
.form-field--float.is-focused textarea ~ .form-field-label,
.form-field--float.has-value textarea ~ .form-field-label {
  top: .5rem;
}
.form-field-status {
  position: absolute;
  right: .85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: 0;
  transition: opacity .25s;
}
.form-field--float.has-value.is-valid .form-field-status::after,
.form-field--float.is-valid .form-field-status::after {
  content: '';
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(74, 222, 128, .15);
  border: 2px solid #4ade80;
  box-shadow: inset 0 0 0 3px transparent;
}
.form-field--float.is-valid .form-field-status { opacity: 1; }
.form-field--float.has-error .form-field-status::after {
  content: '!';
  display: grid; place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: .7rem; font-weight: 800;
  color: #fca5a5;
  background: rgba(239, 68, 68, .15);
  border: 1px solid rgba(239, 68, 68, .4);
}
.form-field--float.has-error .form-field-status { opacity: 1; }
.form-field-counter {
  position: absolute;
  right: .85rem;
  bottom: .55rem;
  font-size: .65rem;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}
.form-field--float.has-value .form-field-counter { color: var(--brand-sky-light); }
.contact-area-field { margin-top: .15rem; }
.contact-area-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .6rem;
}
.contact-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.contact-area-chip {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 600;
  padding: .45rem .8rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  color: var(--text-muted);
  cursor: pointer;
  transition: all .28s var(--ease);
}
.contact-area-chip:hover {
  border-color: var(--border-brand);
  color: var(--bone);
}
.contact-area-chip.is-active {
  border-color: var(--brand-sky);
  background: rgba(0, 51, 102, .55);
  color: var(--brand-sky-light);
  box-shadow: 0 0 16px rgba(135, 206, 235, .15);
}
.contact-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.contact-submit.is-ready:not(:disabled) {
  animation: contactPulse 2.5s ease infinite;
}
@keyframes contactPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(255, 255, 255, .12), var(--shadow-brand); }
  50% { box-shadow: 0 8px 32px var(--brand-sky-glow), var(--shadow-brand); }
}
.contact-submit.is-loading .contact-submit-icon {
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-field.has-error input, .form-field.has-error textarea {
  border-color: rgba(239, 68, 68, .55);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}
.contact-pro-consent {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .78rem; color: var(--text-muted); line-height: 1.55;
  margin-bottom: 1.15rem; cursor: pointer;
  padding: .75rem .85rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.contact-pro-consent:has(input:checked) {
  border-color: var(--border-brand);
  background: rgba(0, 51, 102, .25);
}
.contact-pro-consent.has-error { color: #fca5a5; border-color: rgba(239, 68, 68, .35); }
.contact-pro-consent input { margin-top: .2rem; accent-color: var(--brand-sky); flex-shrink: 0; }
.contact-pro-success {
  text-align: center;
  padding: 2.5rem 1rem;
  animation: stageIn .45s var(--ease);
}
.contact-success-icon {
  width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(74, 222, 128, .12); border: 1px solid rgba(74, 222, 128, .3);
}
.contact-success-icon svg { width: 28px; height: 28px; color: #4ade80; }
.contact-pro-success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .5rem; }
.contact-pro-success p {
  font-size: .9rem; color: var(--text-muted); margin-bottom: 1.25rem;
  max-width: 360px; margin-left: auto; margin-right: auto;
}

/* Mapa footer */
.footer-map-band {
  position: relative;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--brand-sky), var(--brand-white), var(--brand-sky), transparent) 1;
}
.footer-map-frame {
  position: relative;
  height: clamp(300px, 38vw, 420px);
  overflow: hidden;
  background: var(--midnight);
}
.footer-map-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(0, 51, 102, 0.38) 0%,
    rgba(0, 26, 51, 0.52) 45%,
    rgba(0, 13, 26, 0.62) 100%
  );
  mix-blend-mode: color;
}
.footer-map-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(242, 237, 230, 0.06) 0%, transparent 18%);
}
.footer-map-canvas {
  width: 100%;
  height: 100%;
  z-index: 1;
}
.footer-map-canvas.leaflet-container {
  font-family: var(--font-body);
  background: var(--midnight);
  filter: grayscale(100%) brightness(0.38) contrast(1.18) sepia(0.22) hue-rotate(192deg) saturate(0.55);
  transition: filter .6s var(--ease);
}
.footer-map-frame:hover .footer-map-canvas.leaflet-container {
  filter: grayscale(100%) brightness(0.44) contrast(1.14) sepia(0.2) hue-rotate(192deg) saturate(0.62);
}
.footer-map-canvas .leaflet-control-zoom {
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.footer-map-canvas .leaflet-control-zoom a {
  background: rgba(0, 26, 51, 0.92);
  color: var(--brand-sky-light);
  border-color: rgba(135, 206, 235, 0.22);
}
.footer-map-canvas .leaflet-control-zoom a:hover {
  background: rgba(0, 51, 102, 0.95);
  color: var(--bone);
}
.footer-map-canvas .leaflet-control-attribution {
  font-size: 10px;
  background: rgba(0, 20, 40, 0.78);
  color: rgba(197, 217, 232, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.footer-map-canvas .leaflet-control-attribution a {
  color: var(--brand-sky-light);
}
.footer-map-leaflet-pin {
  background: none !important;
  border: none !important;
}
.footer-map-leaflet-pin-inner {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--brand-white);
  border: 3px solid var(--brand-navy);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
  animation: mapPinDrop .8s var(--ease) both;
}
.footer-map-leaflet-pin-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--brand-sky);
}
@keyframes mapPinDrop {
  from { opacity: 0; transform: rotate(-45deg) translateY(-16px) scale(.8); }
  to { opacity: 1; transform: rotate(-45deg) translateY(0) scale(1); }
}
.footer-map-canvas .leaflet-popup-content-wrapper {
  border-radius: 12px;
  background: rgba(0, 26, 51, 0.94);
  border: 1px solid rgba(135, 206, 235, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  color: var(--bone);
}
.footer-map-canvas .leaflet-popup-content {
  margin: 12px 14px;
  font-size: .85rem;
  line-height: 1.45;
  color: var(--bone-muted);
}
.footer-map-canvas .leaflet-popup-content strong {
  color: var(--bone);
}
.footer-map-canvas .leaflet-popup-content a {
  color: var(--brand-sky-light);
  font-weight: 600;
}
.footer-map-canvas .leaflet-popup-tip {
  background: rgba(0, 26, 51, 0.94);
  border: 1px solid rgba(135, 206, 235, 0.18);
}
.footer-map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  background: linear-gradient(105deg, rgba(0, 20, 40, .62) 0%, rgba(0, 20, 40, .22) 42%, transparent 62%);
}
.footer-map-card {
  position: absolute;
  left: clamp(1rem, 4vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2rem);
  max-width: min(360px, 88vw);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(0, 26, 51, .88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-brand);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  pointer-events: auto;
}
.footer-map-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-sky);
  margin-bottom: .4rem;
}
.footer-map-eyebrow svg { width: 13px; height: 13px; }
.footer-map-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin-bottom: .35rem;
}
.footer-map-address {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.footer-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

/* Footer */
.site-footer { background: linear-gradient(180deg, #000810, #000508); }
.site-footer--hub { border-top: none; }
.footer-cta-band { padding: var(--space-5) 0; border-bottom: 1px solid var(--border-brand); background: linear-gradient(135deg, rgba(0,51,102,0.55), rgba(0,20,40,0.9)); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.footer-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bone);
  margin: 0;
}
.footer-main { padding: var(--space-5) 0 var(--space-4); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-4); }
.footer-brand-block { max-width: 300px; }
.footer-tagline { font-size: var(--text-sm); color: var(--text-muted); line-height: var(--leading-relaxed); margin-top: var(--space-3); }
.footer-social { display: flex; gap: var(--space-1); margin-top: var(--space-3); }
.footer-social-link { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); color: var(--gold); transition: all 0.3s var(--ease); }
.footer-social-link:hover { background: var(--gold-dim); border-color: var(--border-gold); }
.footer-social-link svg { width: 18px; height: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a, .footer-contact-item { font-size: var(--text-sm); color: var(--text-muted); transition: color 0.25s; display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-link-gold { font-size: var(--text-sm) !important; color: var(--gold) !important; margin-top: var(--space-1); font-weight: 500; }
.footer-link-gold:hover { color: var(--gold-light) !important; }
.footer-bottom { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); }
.footer-bottom p { font-size: var(--text-xs); color: var(--text-muted); }
.footer-legal { max-width: 28rem; text-align: right; opacity: 0.85; }

/* Sticky CTA */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 950; transform: translateY(100%); transition: transform .45s var(--ease); background: rgba(0,26,51,.94); backdrop-filter: blur(20px); border-top: 1px solid var(--border-brand); }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(92%, 1240px); margin: 0 auto; padding: .75rem 0; min-height: var(--sticky-h); }
.sticky-cta-text strong { display: block; font-size: .88rem; color: var(--bone); }
.sticky-cta-text span { font-size: .72rem; color: var(--text-muted); }
.sticky-cta-actions { display: flex; gap: .5rem; }

/* Float dock — asesor IA + WhatsApp apilados a la derecha */
.float-dock {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  z-index: 960;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.float-dock > * { pointer-events: auto; }
body.sticky-visible .float-dock { bottom: calc(var(--sticky-h) + .65rem); }

/* Float WA — círculo verde (humano + guía IA) */
.float-wa {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--text-dark);
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(37, 211, 102, .35);
  transition: transform .3s var(--ease), background .3s;
  border: 2px solid rgba(0, 26, 51, 0.1);
  cursor: pointer;
  padding: 0;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.float-wa::after {
  content: 'Guía IA + WA';
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: .35rem .65rem;
  border-radius: 8px;
  background: rgba(0, 20, 40, .92);
  border: 1px solid rgba(37, 211, 102, .35);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.float-wa:hover::after { opacity: 1; }
.float-wa svg { width: 24px; height: 24px; }
.float-wa:hover { transform: scale(1.08) translateY(-3px); background: var(--wa-hover); color: #fff; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.992);
  transition:
    opacity .65s cubic-bezier(0.22, 1, 0.36, 1),
    transform .65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}
main > section:not(.hero) .reveal {
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}
.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  .reveal {
    transform: translate3d(0, 32px, 0) scale(0.982);
    filter: blur(6px);
    transition:
      opacity .88s var(--ease),
      transform .88s var(--ease),
      filter .88s var(--ease);
  }
  .reveal.visible {
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

/* Guide — spotlight */
.guide-spotlight {
  position: relative;
  overflow: hidden;
  background: var(--midnight);
  border-top: 1px solid var(--border);
}
.guide-spotlight.section {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(5rem, 10vw, 7rem);
}
.guide-ambient { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.guide-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
}
.guide-glow--a {
  width: min(520px, 70vw);
  height: 520px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(135, 206, 235, .22), transparent 70%);
}
.guide-glow--b {
  width: 380px;
  height: 380px;
  bottom: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(0, 51, 102, .65), transparent 70%);
}
.guide-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}
.guide-head-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  margin-bottom: 1.25rem;
}
.guide-live-badge,
.guide-head-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem .85rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
}
.guide-live-badge { color: #86efac; border-color: rgba(74, 222, 128, .25); }
.guide-head-pill { color: var(--brand-sky-light); border-color: var(--border-brand); }
.guide-head-pill svg { width: 13px; height: 13px; }
.guide-head h2 { max-width: none; margin-left: auto; margin-right: auto; }
.guide-head-lead {
  font-size: 1.05rem;
  color: var(--bone-muted);
  line-height: 1.75;
  margin: 0 auto 1.5rem;
  max-width: 38rem;
}
.guide-head-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
}
.guide-head-features li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: .5rem .9rem;
  border-radius: 100px;
  background: rgba(0, 51, 102, .35);
  border: 1px solid var(--border);
}
.guide-head-features svg { width: 15px; height: 15px; color: var(--brand-sky); }
.guide-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 560px;
  background: rgba(0, 26, 51, .72);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(135, 206, 235, .08),
    0 32px 80px -20px rgba(0, 0, 0, .75),
    0 0 60px rgba(135, 206, 235, .06);
}
.guide-sidebar {
  padding: 1.65rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 51, 102, .15));
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.guide-assistant { display: flex; align-items: center; gap: .75rem; }
.assistant-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.assistant-avatar svg { width: 18px; height: 18px; color: var(--gold); }
.guide-assistant strong { display: block; font-size: .85rem; color: var(--bone); }
.assistant-status { display: flex; align-items: center; gap: .35rem; font-size: .68rem; color: #4ade80; }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.guide-progress-label { display: flex; justify-content: space-between; font-size: .65rem; font-weight: 700; color: var(--text-muted); margin-bottom: .5rem; letter-spacing: .1em; text-transform: uppercase; }
.guide-progress-bar { height: 5px; background: rgba(255,255,255,.06); border-radius: 100px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
.guide-progress-fill {
  height: 100%;
  width: 0;
  background: var(--cable-gradient);
  background-size: 200% 100%;
  animation: cableFlow 3s linear infinite;
  transition: width .65s var(--ease);
  box-shadow: 0 0 12px var(--brand-sky-glow);
}
.guide-trail { list-style: none; display: flex; flex-direction: column; gap: .4rem; margin-top: auto; }
.guide-trail li { font-size: .75rem; color: var(--text-muted); padding: .45rem .65rem; border-radius: 8px; display: flex; align-items: flex-start; gap: .45rem; border: 1px solid transparent; animation: trailIn .35s var(--ease); }
.guide-trail li.active { background: var(--gold-dim); border-color: var(--border-gold); color: var(--bone); }
.guide-trail li svg { width: 13px; height: 13px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
@keyframes trailIn { from{opacity:0;transform:translateX(-6px)} to{opacity:1;transform:none} }
.guide-main {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  min-width: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.02), transparent 55%);
}
.guide-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 1.25rem;
  max-height: 240px;
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0;
  width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--border-brand) transparent;
}
.guide-bubble {
  max-width: 88%;
  padding: .8rem 1rem;
  border-radius: 14px;
  font-size: .9rem;
  line-height: 1.55;
  animation: bubbleIn .4s var(--ease);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
@keyframes bubbleIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
.guide-bubble-ai { align-self: flex-start; background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--bone); border-bottom-left-radius: 3px; }
.guide-bubble-user { align-self: flex-end; background: var(--gold-dim); border: 1px solid var(--border-gold); color: var(--bone); border-bottom-right-radius: 3px; font-weight: 500; }
.typing-dots { display: flex; gap: 4px; padding: 3px 0; }
.typing-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: typingBounce 1.2s ease infinite; }
.typing-dots span:nth-child(2){animation-delay:.12s} .typing-dots span:nth-child(3){animation-delay:.24s}
@keyframes typingBounce { 0%,60%,100%{transform:none;opacity:.4} 30%{transform:translateY(-4px);opacity:1} }
.guide-stage { animation: stageIn .45s var(--ease); }
@keyframes stageIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }
.guide-question {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin-bottom: 1.15rem;
}
.guide-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.guide-option {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.1rem 1.15rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  color: var(--bone);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease), box-shadow .3s;
}
.guide-option:hover {
  border-color: var(--border-brand);
  background: rgba(0, 51, 102, .4);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 20, 40, .35);
}
.guide-option.selected {
  border-color: var(--brand-sky);
  background: rgba(0, 51, 102, .5);
  box-shadow: 0 0 0 1px rgba(135, 206, 235, .2);
}
.guide-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(0, 51, 102, .8), rgba(135, 206, 235, .15));
  border: 1px solid var(--border-brand);
  flex-shrink: 0;
}
.guide-option-icon svg { width: 18px; height: 18px; color: var(--brand-sky-light); }
.guide-option-text strong { display: block; font-size: .88rem; margin-bottom: .15rem; }
.guide-option-text span { font-size: .76rem; color: var(--text-muted); line-height: 1.4; }
.guide-option-wide { grid-column: span 2; }
.guide-result { text-align: center; padding: .5rem 0 0; animation: stageIn .5s var(--ease); }
.result-badge { display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 100px; margin-bottom: 1rem; }
.result-badge.urgent { background: rgba(239,68,68,.12); color: #fca5a5; border: 1px solid rgba(239,68,68,.28); }
.result-badge.normal { background: var(--gold-dim); color: var(--gold-light); border: 1px solid var(--border-gold); }
.result-badge.calm { background: rgba(74,222,128,.08); color: #86efac; border: 1px solid rgba(74,222,128,.22); }
.result-icon-wrap { width: 52px; height: 52px; margin: 0 auto .85rem; border-radius: 14px; display: grid; place-items: center; background: var(--gold-dim); border: 1px solid var(--border-gold); }
.result-icon-wrap svg { width: 24px; height: 24px; color: var(--gold); }
.guide-result h3 { font-size: 1.6rem; margin-bottom: .65rem; }
.result-empathy {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gold-light);
  max-width: 480px;
  margin: 0 auto .85rem;
}
.result-summary { color: var(--text-muted); font-size: .9rem; max-width: 500px; margin: 0 auto 1.25rem; line-height: 1.65; }
.result-steps { list-style: none; text-align: left; max-width: 400px; margin: 0 auto 1.5rem; display: flex; flex-direction: column; gap: .5rem; counter-reset: step; }
.result-steps li { font-size: .84rem; padding: .55rem .75rem; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 8px; display: flex; gap: .5rem; }
.result-steps li::before { counter-increment: step; content: counter(step); font-family: var(--font-display); color: var(--gold); font-weight: 600; min-width: 1rem; }
.result-actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }

/* Responsive */
@media (max-width: 1024px) {
  .cable-rail { display: none; }
  .qa-grid { grid-template-columns: repeat(4, 1fr); gap: .55rem; }
  .hero-grid, .philosophy-grid, .section-split { grid-template-columns: 1fr; }
  .philosophy-pillars { grid-template-columns: 1fr; }
  .philosophy-commit-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 100%; margin: 0 auto; }
  .hero-grid--split {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding-bottom: 2rem;
    width: min(92%, 1240px);
  }
  .hero-grid--split .hero-copy { padding-right: 0; }
  .hero-grid--split .hero-copy h1 { max-width: none; }
  .hero-stage { min-height: auto; justify-content: center; padding-left: 0; }
  .hero-stage-grid { width: 100%; margin: 0 auto; max-width: 520px; }
  .hero-stage-accent { display: none; }
  .hero-actions-row { grid-template-columns: 1fr; }
  .hero-scroll-cue { display: none; }
  .counsel-strip {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .counsel-strip-aside {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: .5rem;
    border-top: 1px solid rgba(135,206,235,.1);
  }
  .counsel-metrics, .counsel-metrics--premium { grid-template-columns: repeat(3, 1fr); }
  .hero-float-card { right: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid, .reviews-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-head { grid-template-columns: 1fr; }
  .case-dossier { grid-template-columns: 1fr; }
  .case-dossier-visual { min-height: 240px; }
  .case-dossier-body { border-left: none !important; border-right: none !important; border-top: 1px solid var(--border); }
  .case-dossier:nth-child(even) .case-dossier-visual { order: 0; }
  .method-panel-grid { grid-template-columns: 1fr; }
  .method-panel-intro { border-right: none; border-bottom: 1px solid var(--border); }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .method-rail { margin: 0 4% 1.5rem; }
  .guide-shell { grid-template-columns: 1fr; min-height: auto; }
  .guide-main { min-height: auto; padding: 1.35rem; }
  .guide-head-features { flex-direction: column; align-items: center; }
  .guide-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .guide-progress-wrap { width: 100%; }
  .guide-trail {
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    margin-top: 0;
    gap: .35rem;
  }
  .contact-hub-shell { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .footer-map-overlay {
    background: linear-gradient(180deg, rgba(0, 20, 40, .5) 0%, rgba(0, 20, 40, .88) 55%, rgba(0, 20, 40, .95) 100%);
  }
  .footer-map-card {
    left: 1rem; right: 1rem; bottom: 1rem; max-width: none;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta-inner { justify-content: center; text-align: center; }
}
@media (max-width: 768px) {
  .counsel-strip {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  .counsel-strip-thumb { margin: 0 auto; }
  .counsel-strip-main { align-items: center; }
  .counsel-strip-bio { -webkit-line-clamp: 3; max-width: none; }
  .counsel-strip-metrics { justify-content: center; }
  .counsel-strip-aside {
    flex-direction: column;
    align-items: center;
    border-top: none;
    padding-top: 0;
  }
  .counsel-strip-cta { width: 100%; justify-content: center; }
  .counsel-metrics, .counsel-metrics--premium { grid-template-columns: 1fr; }
  .modal-footer-actions { flex-direction: column; }
  .modal-footer-actions .btn { width: 100%; }
  .brand-logo-copy--compact { display: none; }
  .hero-brand-seal { display: none; }
  .qa-grid { grid-template-columns: repeat(2, 1fr); }
  .scroll-hint { display: none; }
  .nav-desktop, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .trust-grid, .catalog-grid, .reviews-grid, .pricing-grid, .method-steps { grid-template-columns: 1fr; }
  .cases-metrics { grid-template-columns: 1fr; }
  .method-rail { display: none; }
  .method-step-btn { flex-direction: row; text-align: left; padding: 1rem; }
  .method-step-text { text-align: left; }
  .method-panel-footer { flex-direction: column; }
  .method-panel-footer .btn { width: 100%; }
  .price-card-featured { transform: none; }
  .guide-options { grid-template-columns: 1fr; }
  .guide-option-wide { grid-column: span 1; }
  /* Guía IA — layout móvil vertical (sin forzar landscape) */
  .guide-spotlight.section {
    padding: clamp(2.75rem, 7vw, 4rem) 0 calc(clamp(3.5rem, 8vw, 5rem) + env(safe-area-inset-bottom, 0px));
  }
  .guide-spotlight .container {
    width: min(94%, 1240px);
  }
  .guide-spotlight .cable-border {
    overflow: hidden;
    max-width: 100%;
    border-radius: var(--radius-lg);
  }
  .guide-head {
    margin-bottom: 1.5rem;
    padding: 0 .15rem;
  }
  .guide-head h2 {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
    line-height: 1.15;
  }
  .guide-head-lead {
    font-size: .92rem;
    line-height: 1.65;
    margin-bottom: 1rem;
  }
  .guide-head-features {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin: 0 -.15rem;
    padding: 0 .15rem .35rem;
    scrollbar-width: none;
  }
  .guide-head-features::-webkit-scrollbar { display: none; }
  .guide-head-features li {
    flex-shrink: 0;
    font-size: .72rem;
    padding: .45rem .7rem;
  }
  .guide-shell {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 48px -16px rgba(0, 0, 0, .65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .guide-sidebar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1rem 1.1rem;
  }
  .guide-assistant {
    width: 100%;
  }
  .guide-progress-wrap {
    width: 100%;
    flex: 1 1 auto;
  }
  .guide-trail {
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    max-height: none;
    gap: .35rem;
  }
  .guide-trail li {
    font-size: .7rem;
    padding: .4rem .55rem;
  }
  .guide-main {
    min-height: auto;
    padding: 1rem 1rem 1.25rem;
    gap: .75rem;
  }
  .guide-chat {
    max-height: min(44vh, 280px);
    min-height: 88px;
    margin-bottom: .85rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .guide-bubble {
    max-width: 100%;
    font-size: .84rem;
    line-height: 1.58;
    padding: .7rem .85rem;
  }
  .guide-bubble-ai {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .guide-bubble-user {
    max-width: 92%;
    align-self: flex-end;
  }
  .guide-question {
    font-size: 1.08rem;
    margin-bottom: .85rem;
    line-height: 1.35;
  }
  .guide-option {
    width: 100%;
    min-height: 3.25rem;
    padding: .9rem .95rem;
    gap: .7rem;
  }
  .guide-option-text strong {
    font-size: .84rem;
  }
  .guide-option-text span {
    font-size: .72rem;
  }
  .guide-result {
    padding: .25rem 0 0;
    text-align: left;
  }
  .guide-result h3 {
    font-size: 1.25rem;
    text-align: left;
  }
  .result-empathy,
  .result-summary {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }
  .result-steps {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .result-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .result-actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .result-icon-wrap {
    margin-left: 0;
    margin-right: auto;
  }
  .result-badge {
    margin-left: 0;
    margin-right: auto;
  }
  /* Reserva — mismo patrón móvil */
  .reserva-sidebar {
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
    padding: 1rem;
  }
  .reserva-progress-ring {
    margin: 0 auto;
  }
  .reserva-steps-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    margin-top: 0;
    gap: .35rem;
  }
  .reserva-steps-nav li {
    min-width: 0;
    width: 100%;
  }
  .reserva-steps-nav .step-text {
    display: inline;
    font-size: .72rem;
  }
  .reserva-main {
    padding: 1rem 1rem 1.25rem;
  }
  .reserva-chat-wrap {
    max-height: min(36vh, 200px);
    -webkit-overflow-scrolling: touch;
  }
  .reserva-form-actions .btn,
  .reserva-result-actions .btn {
    width: 100%;
  }
  :root { --sticky-h: 118px; }
  body.sticky-visible main {
    padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
  }
  .sticky-cta-inner { flex-direction: column; text-align: center; padding: .65rem 0; }
  .sticky-cta-actions { width: 100%; }
  .sticky-cta-actions .btn { flex: 1; }
  .sticky-cta.is-hidden-in-guide { transform: translateY(100%); }
  body.guia-in-view .float-dock {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.92);
  }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand-block { max-width: none; margin: 0 auto; }
  .footer-brand { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-contact-col .footer-contact-item { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; max-width: none; }
  .contact-hub-form-panel { padding: 1.35rem; }
  h1 { max-width: none; }
  .reserva-hero-grid { grid-template-columns: 1fr; }
  .reserva-hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
  .reserva-app { grid-template-columns: 1fr; min-height: auto; }
  .reserva-sidebar {
    flex-direction: column;
    align-items: stretch;
    border-right: none;
    border-bottom: 1px solid var(--border);
    gap: .85rem;
  }
  .reserva-progress-ring { margin: 0 auto; }
  .reserva-steps-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    margin-top: 0;
    gap: .35rem;
  }
  .reserva-steps-nav li { flex: none; min-width: 0; width: 100%; }
  .reserva-steps-nav .step-text { display: inline; font-size: .72rem; }
  .reserva-header-phone { display: inline-flex; }
  .reserva-hero-stats { grid-template-columns: 1fr; }
  .reserva-form .form-grid { grid-template-columns: 1fr; }
  .reserva-form-actions { flex-direction: column; }
  .reserva-form-actions .btn { width: 100%; }
  .reserva-trust-chip { flex: 1 1 calc(50% - .25rem); justify-content: center; }
}

/* ===== DESTELLOS (brand tones) ===== */
.sparkles { position: fixed; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.sparkle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--brand-white);
  opacity: 0;
  animation: sparkleTwinkle 4s ease-in-out infinite;
  box-shadow: 0 0 6px 1px rgba(255,255,255,.5);
}
.sparkle--sky { background: var(--brand-sky); box-shadow: 0 0 8px 2px var(--brand-sky-glow); }
.sparkle--lg { width: 3px; height: 3px; }
@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0; transform: scale(.5); }
  45% { opacity: .85; transform: scale(1); }
  55% { opacity: .5; transform: scale(.8); }
}

.btn-shimmer { position: relative; overflow: hidden; }
.btn-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(135,206,235,.45) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: btnShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShimmer {
  0%, 70%, 100% { transform: translateX(-120%); }
  85% { transform: translateX(120%); }
}

/* ===== PÁGINA RESERVA ===== */
.reserva-page { padding-top: var(--header-h); }
.reserva-header-actions { display: flex; align-items: center; gap: .5rem; }
.reserva-header-phone { display: none; }
.reserva-hero { position: relative; padding: 3.5rem 0 2.5rem; overflow: hidden; }
.reserva-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(135,206,235,.1), transparent 55%),
    linear-gradient(180deg, rgba(0,51,102,.25), transparent 70%);
  pointer-events: none;
}
.reserva-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.reserva-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin: 1.5rem 0 1.25rem; }
.reserva-stat {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  padding: .85rem .5rem; border-radius: var(--radius);
  background: rgba(0,51,102,.35); border: 1px solid var(--border-brand);
  cursor: pointer; font: inherit; color: inherit; transition: all .3s var(--ease);
}
.reserva-stat:hover { border-color: var(--brand-sky); transform: translateY(-2px); box-shadow: var(--shadow-brand); }
.reserva-stat > svg { width: 18px; height: 18px; color: var(--brand-sky); }
.reserva-stat strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--bone); }
.reserva-stat span { font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.reserva-benefits { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.reserva-benefits li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--text-muted); }
.reserva-benefits svg { width: 16px; height: 16px; color: var(--brand-sky); flex-shrink: 0; }
.reserva-hero-visual {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/5; max-height: 440px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-brand);
}
.reserva-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; filter: grayscale(6%) contrast(1.03); }
.reserva-hero-badge {
  position: absolute; bottom: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .85rem; border-radius: 100px;
  background: rgba(0,51,102,.88); border: 1px solid var(--border-brand);
  font-size: .68rem; font-weight: 600; color: var(--brand-sky-light);
  backdrop-filter: blur(8px);
}
.reserva-hero-badge svg { width: 14px; height: 14px; color: var(--brand-sky); }
.reserva-hero-float {
  position: absolute; top: 1rem; right: 1rem;
  display: flex; align-items: center; gap: .6rem;
  padding: .65rem .9rem; border-radius: var(--radius);
  background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--border-brand); box-shadow: var(--shadow-brand);
}
.reserva-hero-float svg { width: 20px; height: 20px; color: var(--brand-sky); flex-shrink: 0; }
.reserva-hero-float strong { display: block; font-size: .78rem; color: var(--bone); }
.reserva-hero-float span { font-size: .65rem; color: var(--text-muted); }
.reserva-trust { padding: 0 0 2rem; }
.reserva-trust-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.reserva-trust-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1rem; border-radius: 100px;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  border: 1px solid var(--border); background: rgba(255,255,255,.03);
  color: var(--text-muted); cursor: pointer; transition: all .3s var(--ease);
}
.reserva-trust-chip:hover { border-color: var(--border-brand); color: var(--bone); background: rgba(135,206,235,.08); }
.reserva-trust-chip svg { width: 14px; height: 14px; color: var(--brand-sky); }
.reserva-flow-head { text-align: center; max-width: 560px; margin: 0 auto 2rem; }
.reserva-flow-head h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: .5rem; }
.reserva-flow-head p { font-size: .92rem; color: var(--text-muted); }
.reserva-app {
  display: grid; grid-template-columns: 280px 1fr;
  min-height: 580px;
  background: var(--glass); backdrop-filter: blur(25px);
  border: 1px solid var(--border-brand); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.reserva-sidebar { padding: 1.5rem; background: rgba(0,0,0,.28); border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.reserva-progress-ring { position: relative; width: 80px; height: 80px; margin: 1rem auto .5rem; }
.reserva-progress-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.reserva-progress-ring .ring-bg { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 5; }
.reserva-progress-ring .ring-fill {
  fill: none; stroke: var(--brand-sky); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 213.6; stroke-dashoffset: 213.6; transition: stroke-dashoffset .6s var(--ease);
}
.reserva-progress-ring .ring-label {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: .78rem; font-weight: 700; color: var(--brand-sky);
}
.reserva-main { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 1rem; min-height: 0; }
.reserva-chat-wrap {
  max-height: 200px; overflow-y: auto; padding-right: .25rem;
  border-bottom: 1px solid var(--border); margin-bottom: .25rem;
}
.reserva-chat-wrap .guide-chat { max-height: none; }
.reserva-stage.is-entering, .reserva-form.is-entering, .reserva-result.is-entering {
  animation: stageIn .45s var(--ease);
}
.reserva-steps-nav { list-style: none; margin-top: auto; display: flex; flex-direction: column; gap: .3rem; }
.reserva-steps-nav li {
  display: grid; grid-template-columns: 22px 14px 1fr; align-items: center; gap: .45rem;
  font-size: .7rem; color: var(--text-muted);
  padding: .4rem .55rem; border-radius: 8px;
  border: 1px solid transparent; transition: all .3s;
}
.reserva-steps-nav .step-marker {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font-size: .62rem; font-weight: 700; background: rgba(255,255,255,.05);
  border: 1px solid var(--border); color: var(--text-muted);
}
.reserva-steps-nav li svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .7; }
.reserva-steps-nav li.is-active { background: var(--brand-sky-dim); border-color: var(--border-brand); color: var(--bone); }
.reserva-steps-nav li.is-active .step-marker { background: var(--brand-navy); border-color: var(--brand-sky); color: var(--brand-sky); }
.reserva-steps-nav li.is-active svg { color: var(--brand-sky); opacity: 1; }
.reserva-steps-nav li.is-done { color: var(--brand-sky-light); }
.reserva-steps-nav li.is-done .step-marker { background: rgba(135,206,235,.15); border-color: var(--border-brand); color: var(--brand-sky); }
.reserva-steps-nav li.is-done .step-marker svg { width: 11px; height: 11px; }
.reserva-form-head { margin-bottom: 1rem; }
.reserva-form-head .guide-question { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.reserva-form-head .guide-question svg { width: 20px; height: 20px; color: var(--brand-sky); }
.reserva-form-hint { font-size: .82rem; color: var(--text-muted); line-height: 1.55; }
.reserva-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.reserva-form .form-field span { display: flex; align-items: center; gap: .35rem; }
.reserva-form .form-field span svg { width: 13px; height: 13px; color: var(--brand-sky); opacity: .85; }
.form-error {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; color: #fca5a5; margin-bottom: .75rem;
  padding: .55rem .75rem; border-radius: 8px;
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25);
}
.form-error svg { width: 16px; height: 16px; flex-shrink: 0; }
.reserva-form-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.reserva-form-actions .reserva-submit { flex: 1; min-width: 200px; justify-content: center; }
.reserva-result { text-align: center; }
.reserva-result-head { margin-bottom: 1.25rem; }
.reserva-plan {
  list-style: none; text-align: left; max-width: 480px; margin: 0 auto 1.25rem;
  display: flex; flex-direction: column; gap: .55rem;
}
.reserva-plan li {
  display: grid; grid-template-columns: 28px 32px 1fr; align-items: center; gap: .65rem;
  padding: .7rem .85rem; background: rgba(255,255,255,.03);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .84rem; color: var(--text-muted); animation: modalBlockIn .4s var(--ease) both;
}
.reserva-plan li:nth-child(2) { animation-delay: .06s; }
.reserva-plan li:nth-child(3) { animation-delay: .12s; }
.reserva-plan-num { font-family: var(--font-display); font-size: .72rem; color: var(--brand-sky); font-weight: 600; }
.reserva-plan-icon {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
  background: var(--brand-sky-dim); border: 1px solid var(--border-brand);
}
.reserva-plan-icon svg { width: 15px; height: 15px; color: var(--brand-sky); }
.reserva-summary-card { max-width: 480px; text-align: left; }
.reserva-summary-card h4 { display: flex; align-items: center; gap: .4rem; }
.reserva-summary-card h4 svg { width: 14px; height: 14px; }
.reserva-summary-rows { display: flex; flex-direction: column; gap: .45rem; }
.reserva-summary-rows p {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .86rem; color: var(--text-muted); margin: 0;
}
.reserva-summary-rows p svg { width: 15px; height: 15px; color: var(--brand-sky); flex-shrink: 0; margin-top: 2px; }
.reserva-summary-detail span { line-height: 1.5; }
.reserva-flow .guide-option { animation: modalBlockIn .35s var(--ease) both; }
.form-field { display: flex; flex-direction: column; gap: .35rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field span { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-sans); font-size: .92rem;
  padding: .75rem 1rem; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(0,20,40,.5);
  color: var(--bone); transition: border-color .25s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand-sky);
  box-shadow: 0 0 0 3px var(--brand-sky-dim);
}
.reserva-summary-card {
  text-align: left; max-width: 400px; margin: 0 auto 1.25rem;
  padding: 1rem 1.25rem; border-radius: var(--radius);
  background: rgba(0,51,102,.35); border: 1px solid var(--border-brand);
}
.reserva-summary-card h4 { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-sky); margin-bottom: .5rem; }
.reserva-summary-card p { font-size: .88rem; color: var(--text-muted); margin-bottom: .35rem; }
.reserva-meta { font-size: .75rem !important; color: var(--brand-sky-light) !important; }

/* ===== INFO BUTTONS ===== */
.btn-info {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .55rem 1rem; font-size: .78rem; font-weight: 600; letter-spacing: .03em;
  border-radius: 100px; border: 1px solid var(--border-brand);
  background: rgba(135,206,235,.08); color: var(--brand-sky-light);
  cursor: pointer; transition: all .3s var(--ease); text-decoration: none;
}
.btn-info:hover { background: rgba(135,206,235,.18); border-color: var(--brand-sky); color: var(--bone); transform: translateY(-1px); }
.btn-info svg { width: 14px; height: 14px; }
.philosophy-copy .btn-info { margin-top: 1.25rem; }

/* ===== INFO MODAL ===== */
body.modal-open { overflow: hidden; }
.info-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem; pointer-events: none; opacity: 0;
  transition: opacity .35s var(--ease);
}
.info-modal.is-open { pointer-events: auto; opacity: 1; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,8,18,.78); backdrop-filter: blur(10px);
}
.modal-panel {
  position: relative; width: min(560px, 100%); max-height: min(90vh, 780px);
  display: flex; flex-direction: column;
  background: linear-gradient(165deg, rgba(0,34,68,.97), rgba(0,20,40,.99));
  border: 1px solid var(--border-brand); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(135,206,235,.12);
  transform: translateY(24px) scale(.97);
  transition: transform .4s var(--ease), width .35s var(--ease);
  overflow: hidden;
}
.modal-panel--rich { width: min(640px, 100%); }
.modal-panel--dossier {
  width: min(720px, 100%);
  max-height: min(92vh, 860px);
}
.modal-header--dossier {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.35rem;
  align-items: center;
  padding-top: 1.5rem;
}
.modal-header--dossier .modal-icon-wrap { display: none; }
.modal-dossier-portrait {
  width: clamp(96px, 16vw, 128px);
  flex-shrink: 0;
}
.modal-dossier-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  object-position: center 24%;
  display: block;
  filter: contrast(1.04) saturate(.94);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.14),
    0 0 0 3px rgba(0,51,102,.42),
    0 14px 36px rgba(0,0,0,.38);
}
.modal-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.modal-footer-actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 180px);
  justify-content: center;
}
.modal-hero { position: relative; height: 180px; flex-shrink: 0; overflow: hidden; border-bottom: 1px solid var(--border); }
.modal-hero-wrap { position: absolute; inset: 0; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75) saturate(.9); }
.modal-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 30%, rgba(0,20,40,.85));
}
.modal-intro {
  font-size: .9rem; color: var(--bone-muted); line-height: 1.75;
  margin-bottom: 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.modal-steps {
  list-style: none; display: flex; flex-direction: column; gap: .4rem;
  margin-top: 1rem; padding: 1rem; border-radius: var(--radius);
  background: rgba(0,51,102,.3); border: 1px solid var(--border-brand);
}
.modal-steps li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; color: var(--brand-sky-light);
}
.modal-steps svg { width: 14px; height: 14px; color: var(--brand-sky); flex-shrink: 0; }
.info-modal.is-open .modal-panel { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(255,255,255,.04);
  color: var(--bone); cursor: pointer; display: grid; place-items: center;
  transition: border-color .25s, background .25s;
}
.modal-close:hover { border-color: var(--brand-sky); background: rgba(135,206,235,.12); }
.modal-close svg { width: 18px; height: 18px; }
.modal-header {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.75rem 1.75rem 1rem; border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(0,51,102,.4), transparent);
}
.modal-icon-wrap {
  display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 14px; background: var(--gold-dim); border: 1px solid var(--border-gold);
}
.modal-icon-wrap svg { width: 26px; height: 26px; color: var(--brand-sky); }
.modal-header h2 { font-family: var(--font-display); font-size: 1.45rem; color: var(--bone); margin-bottom: .2rem; }
.modal-tagline { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-sky); }
.modal-body { padding: 1.25rem 1.75rem; overflow-y: auto; flex: 1; }
.modal-blocks { display: flex; flex-direction: column; gap: .85rem; }
.modal-block {
  display: flex; gap: .85rem; padding: 1rem 1.1rem;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: var(--radius); transition: border-color .3s;
  animation: modalBlockIn .45s var(--ease) both;
}
.modal-block:nth-child(2) { animation-delay: .06s; }
.modal-block:nth-child(3) { animation-delay: .12s; }
.modal-block:hover { border-color: var(--border-brand); }
@keyframes modalBlockIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: none; }
}
.modal-block-icon {
  display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px; background: rgba(0,51,102,.5); border: 1px solid var(--border-brand);
}
.modal-block-icon svg { width: 18px; height: 18px; color: var(--brand-sky); }
.modal-block h4 { font-size: .92rem; color: var(--bone); margin-bottom: .3rem; }
.modal-block p { font-size: .84rem; color: var(--text-muted); line-height: 1.65; }
.modal-facts {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem;
  padding-top: 1rem; border-top: 1px dashed var(--border);
}
.modal-fact {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  padding: .4rem .75rem; border-radius: 100px;
  background: rgba(135,206,235,.1); border: 1px solid var(--border-brand); color: var(--brand-sky-light);
}
.modal-fact svg { width: 12px; height: 12px; color: var(--brand-sky); }
.modal-footer { padding: 1rem 1.75rem 1.5rem; border-top: 1px solid var(--border); }
.modal-footer .btn { width: 100%; justify-content: center; }

/* ===== RUTAS — highlight al navegar ===== */
@keyframes routePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(135, 206, 235, 0); }
  35% { box-shadow: 0 0 0 6px rgba(135, 206, 235, .35), 0 0 32px rgba(135, 206, 235, .2); }
}
.route-highlight {
  animation: routePulse 1.2s var(--ease) 2;
  outline: 2px solid var(--brand-sky);
  outline-offset: 4px;
  border-radius: var(--radius);
}

/* ===== SUBPÁGINAS ===== */
.subpage { padding-top: calc(var(--header-h, 72px) + 1rem); }
.subpage-hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(165deg, rgba(0, 51, 102, .55) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.subpage-hero--urgent {
  background: linear-gradient(165deg, rgba(180, 40, 40, .15) 0%, rgba(0, 51, 102, .4) 50%, transparent 100%);
}
.subpage-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--bone);
  margin: .5rem 0 1rem;
}
.subpage-hero .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 52ch;
}
.subpage-nav { display: flex; gap: 1.25rem; }
.subpage-nav a {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .25s;
}
.subpage-nav a:hover { color: var(--brand-sky); }
.subpage-content { max-width: 720px; }
.subpage-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--bone);
  margin: 2rem 0 .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.subpage-content h2 svg { width: 22px; height: 22px; color: var(--brand-sky); }
.subpage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin: 1rem 0;
}
.subpage-list li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
  line-height: 1.65;
}
.subpage-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-sky);
}
.subpage-list.ordered { counter-reset: step; }
.subpage-list.ordered li { counter-increment: step; padding-left: 2rem; }
.subpage-list.ordered li::before {
  content: counter(step);
  width: 1.35rem;
  height: 1.35rem;
  top: .15em;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--brand-navy);
  background: var(--brand-sky);
  border-radius: 50%;
}
.subpage-info {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(0, 51, 102, .25);
  border: 1px solid var(--border-brand);
}
.subpage-info h2 { margin-top: 0; }
.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.legal-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bone);
  margin-bottom: 1rem;
}
.legal-content h2 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
  color: var(--brand-sky-light);
}
.legal-content p, .legal-content li {
  color: var(--text-muted);
  line-height: 1.75;
}
.legal-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.legal-block:last-of-type { border-bottom: none; }

/* ===== CHAT ASESOR IA — izquierda, estilo distinto a WhatsApp ===== */
.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;
}

.legal-chat {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.legal-chat > * { pointer-events: auto; }

.legal-chat-launcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .9rem .65rem .65rem;
  border-radius: 16px 16px 6px 16px;
  border: 1px solid var(--border-brand);
  background: linear-gradient(145deg, rgba(0, 51, 102, .98) 0%, rgba(0, 20, 40, .96) 100%);
  color: var(--bone);
  box-shadow:
    0 14px 40px rgba(0, 15, 35, .55),
    0 0 0 1px rgba(135, 206, 235, .14),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, opacity .25s, visibility .25s;
  max-width: min(240px, 78vw);
  text-align: left;
  overflow: hidden;
}
.legal-chat-launcher::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cable-gradient);
  background-size: 200% 100%;
  animation: cableFlow 4s linear infinite;
}
.legal-chat-launcher-glow {
  position: absolute;
  inset: -30% auto auto -20%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(135, 206, 235, .22), transparent 70%);
  pointer-events: none;
}
.legal-chat-launcher:hover {
  transform: translateY(-3px);
  border-color: var(--brand-sky);
  box-shadow:
    0 18px 48px rgba(0, 51, 102, .55),
    0 0 28px rgba(135, 206, 235, .18);
}
.legal-chat.is-open .legal-chat-launcher {
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px) scale(.96);
  pointer-events: none;
}
.legal-chat-launcher-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-navy), #002244);
  border: 1px solid rgba(135, 206, 235, .35);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.legal-chat-launcher-icon svg { width: 22px; height: 22px; color: var(--brand-sky-light); }
.legal-chat-launcher-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .12rem;
  line-height: 1.15;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.legal-chat-ia-badge {
  display: inline-flex;
  align-items: center;
  padding: .12rem .45rem;
  border-radius: 6px;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-navy);
  background: linear-gradient(135deg, var(--brand-sky-light), var(--brand-sky));
  box-shadow: 0 0 12px rgba(135, 206, 235, .35);
}
.legal-chat-launcher-copy strong {
  font-size: .8rem;
  letter-spacing: -.01em;
  color: var(--bone);
}
.legal-chat-launcher-copy span:last-child {
  font-size: .62rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.legal-chat-launcher-pulse {
  position: absolute;
  top: 10px;
  left: 42px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-sky);
  box-shadow: 0 0 0 0 rgba(135, 206, 235, .55);
  animation: legalChatPulse 2.4s ease infinite;
  z-index: 2;
}
@keyframes legalChatPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(135, 206, 235, .5); }
  50% { box-shadow: 0 0 0 7px rgba(135, 206, 235, 0); }
}

.legal-chat-panel {
  position: fixed;
  left: auto;
  right: 1rem;
  bottom: 1rem;
  width: min(400px, calc(100vw - 2rem));
  max-height: min(640px, calc(100vh - 6rem));
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-brand);
  background: linear-gradient(165deg, rgba(0, 28, 54, .98) 0%, rgba(0, 14, 28, .99) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(135, 206, 235, .1);
  overflow: hidden;
  transform: translateX(10px) translateY(12px) scale(.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
  transform-origin: right bottom;
}
.legal-chat.is-open .legal-chat-panel {
  transform: translateX(0) translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.legal-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, .2);
}
.legal-chat-header-brand { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.legal-chat-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-navy);
  border: 1px solid var(--border-brand);
  flex-shrink: 0;
}
.legal-chat-header-avatar img { width: 24px; height: 24px; }
.legal-chat-header h2 { font-size: .92rem; line-height: 1.2; margin: 0; }
.legal-chat-header p { font-size: .68rem; color: #4ade80; margin: 0; }
.legal-chat-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  color: var(--bone);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.legal-chat-close:hover { background: rgba(255, 255, 255, .08); border-color: var(--border-brand); }
.legal-chat-close svg { width: 18px; height: 18px; }

.legal-chat-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  padding: .55rem .85rem;
  font-size: .66rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: rgba(135, 206, 235, .06);
  border-bottom: 1px solid rgba(135, 206, 235, .12);
}
.legal-chat-disclaimer svg { width: 13px; height: 13px; color: var(--brand-sky); flex-shrink: 0; margin-top: 1px; }

.legal-chat-messages {
  flex: 1;
  min-height: 200px;
  max-height: min(360px, 42vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding: .85rem .85rem .5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.legal-chat-msg { display: flex; gap: .55rem; animation: bubbleIn .35s var(--ease); }
.legal-chat-msg--user { justify-content: flex-end; }
.legal-chat-msg--user .legal-chat-msg-body {
  max-width: 88%;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-bottom-right-radius: 4px;
}
.legal-chat-msg--ai .legal-chat-msg-body {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.legal-chat-msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-navy);
  border: 1px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
}
.legal-chat-msg-avatar img { width: 18px; height: 18px; }
.legal-chat-msg-body {
  padding: .65rem .8rem;
  border-radius: 14px;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--bone);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.legal-chat-msg-body p { margin: 0 0 .55rem; }
.legal-chat-msg-body p:last-child { margin-bottom: 0; }
.legal-chat-msg-body a { color: var(--brand-sky-light); text-decoration: underline; text-underline-offset: 2px; }
.legal-chat-muted { font-size: .74rem !important; color: var(--text-muted) !important; }
.legal-chat-list {
  margin: .35rem 0 .55rem;
  padding-left: 1rem;
  font-size: .78rem;
  color: var(--bone-muted);
}
.legal-chat-list li { margin-bottom: .35rem; }

.legal-chat-empathy {
  font-size: .78rem !important;
  color: var(--brand-sky-light) !important;
  border-left: 2px solid rgba(135, 206, 235, .45);
  padding-left: .65rem;
  margin-bottom: .55rem !important;
}

.legal-chat-route {
  background: rgba(0, 51, 102, .35);
  border: 1px solid rgba(135, 206, 235, .18);
  border-radius: 10px;
  padding: .65rem .75rem;
  margin: .55rem 0;
  font-size: .78rem;
}

.legal-chat-route > strong {
  display: block;
  font-size: .8rem;
  color: var(--bone);
  margin-bottom: .35rem;
}

.legal-chat-route-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .15rem .45rem;
  border-radius: 4px;
  margin-bottom: .4rem;
}

.legal-chat-route-badge--urgent {
  background: rgba(220, 38, 38, .2);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, .35);
}

.legal-chat-steps {
  margin: .45rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: chat-step;
}

.legal-chat-steps li {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin-bottom: .4rem;
  font-size: .74rem;
  color: var(--bone-muted);
  line-height: 1.45;
}

.legal-chat-steps li span {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: rgba(135, 206, 235, .15);
  color: var(--brand-sky-light);
  font-size: .62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .1rem;
}

.legal-chat-clarify {
  font-size: .76rem !important;
  background: rgba(255, 255, 255, .04);
  border-radius: 8px;
  padding: .5rem .65rem;
}

.legal-chat-signoff {
  font-size: .74rem !important;
  font-style: italic;
  color: var(--bone-muted) !important;
  margin-top: .35rem !important;
}

.legal-chat-chip--urgent {
  border-color: rgba(248, 113, 113, .35);
  color: #fecaca;
}

.legal-chat-chip--urgent:hover {
  background: rgba(220, 38, 38, .12);
  border-color: rgba(248, 113, 113, .5);
}

.legal-chat-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .65rem;
}
.legal-chat-cta .btn { font-size: .72rem; padding: .45rem .65rem; }

.legal-chat-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: .4rem;
  padding: 0 .75rem .55rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.legal-chat-chips::-webkit-scrollbar { display: none; }
.legal-chat-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .7rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  color: var(--bone-muted);
  font-size: .7rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  white-space: nowrap;
}
.legal-chat-chip:hover {
  border-color: var(--border-brand);
  color: var(--bone);
  background: rgba(135, 206, 235, .08);
}
.legal-chat-chip svg { width: 13px; height: 13px; color: var(--brand-sky); }

.legal-chat-form {
  display: flex;
  gap: .45rem;
  padding: .7rem .75rem .8rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, .22);
}
.legal-chat-form input {
  flex: 1;
  min-width: 0;
  padding: .7rem .85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  color: var(--bone);
  font-size: .84rem;
}
.legal-chat-form input::placeholder { color: var(--text-muted); }
.legal-chat-form input:focus {
  outline: none;
  border-color: var(--border-brand);
  box-shadow: 0 0 0 2px rgba(135, 206, 235, .15);
}
.legal-chat-send {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-brand);
  background: var(--brand-navy);
  color: var(--brand-sky-light);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s, background .2s;
  flex-shrink: 0;
}
.legal-chat-send:hover { transform: scale(1.04); background: #004080; }
.legal-chat-send:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.legal-chat-send svg { width: 18px; height: 18px; }

body.legal-chat-open { overflow: hidden; }

@media (max-width: 768px) {
  .float-dock {
    right: .65rem;
    bottom: 1rem;
    gap: 0.45rem;
  }
  .legal-chat-launcher {
    max-width: min(200px, calc(100vw - 4.5rem));
    padding: .55rem .7rem .55rem .55rem;
    gap: .55rem;
  }
  .legal-chat-launcher-copy span:last-child {
    font-size: .58rem;
  }
  .float-wa::after { display: none; }
  .legal-chat-panel {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: min(88vh, 720px);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    transform-origin: center bottom;
  }
  .legal-chat.is-open .legal-chat-panel {
    transform: translateX(0) translateY(0) scale(1);
  }
  .legal-chat-messages { max-height: min(48vh, 380px); }
  body.sticky-visible .float-dock { bottom: 0; }
  body.sticky-visible.legal-chat-open .sticky-cta { transform: translateY(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .legal-chat-launcher-pulse { animation: none; }
  .legal-chat-panel { transition: none; }
}

/* ── WhatsApp guía IA ── */
.float-wa-ia {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 .2rem;
  border-radius: 6px;
  background: #003366;
  color: #87ceeb;
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .04em;
  display: grid;
  place-items: center;
  border: 1.5px solid #25d366;
  pointer-events: none;
}

.wa-guide {
  position: fixed;
  inset: 0;
  z-index: 950;
  pointer-events: none;
}
.wa-guide > * { pointer-events: auto; }

.wa-guide-panel {
  position: fixed;
  right: 1rem;
  bottom: 5.5rem;
  width: min(100vw - 1.25rem, 390px);
  max-height: min(78vh, 640px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #0b141a;
  border: 1px solid rgba(37, 211, 102, .2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.98);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.wa-guide.is-open .wa-guide-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-guide-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem .75rem;
  background: linear-gradient(180deg, #1f2c34 0%, #128c7e 100%);
  color: #e9edef;
}
.wa-guide-back {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #e9edef;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.wa-guide-back:hover { background: rgba(255, 255, 255, .08); }
.wa-guide-back svg { width: 20px; height: 20px; }
.wa-guide-header-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex: 1;
  min-width: 0;
}
.wa-guide-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .25);
  flex-shrink: 0;
}
.wa-guide-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wa-guide-header h2 {
  margin: 0;
  font-size: .92rem;
  line-height: 1.2;
  color: #fff;
}
.wa-guide-header p {
  margin: 0;
  font-size: .68rem;
  color: rgba(233, 237, 239, .75);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.wa-guide-online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 6px #25d366;
}
.wa-guide-ia-badge {
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: .2rem .4rem;
  border-radius: 6px;
  background: rgba(0, 51, 102, .85);
  color: #87ceeb;
  border: 1px solid rgba(135, 206, 235, .35);
}

.wa-guide-disclaimer {
  display: flex;
  gap: .45rem;
  align-items: flex-start;
  padding: .45rem .7rem;
  font-size: .66rem;
  color: #8696a0;
  background: #111b21;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.wa-guide-disclaimer svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; color: #25d366; }

.wa-guide-messages {
  flex: 1;
  overflow-y: auto;
  padding: .75rem .65rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(18, 140, 126, .06), transparent 40%),
    #0b141a;
  max-height: min(46vh, 360px);
}

.wa-guide-msg { display: flex; animation: bubbleIn .3s var(--ease); }
.wa-guide-msg--user { justify-content: flex-end; }
.wa-guide-msg--bot { justify-content: flex-start; }
.wa-guide-msg-body {
  position: relative;
  max-width: 88%;
  padding: .55rem .7rem .65rem;
  border-radius: 10px;
  font-size: .78rem;
  line-height: 1.5;
  color: #e9edef;
}
.wa-guide-msg--user .wa-guide-msg-body {
  background: #005c4b;
  border-bottom-right-radius: 3px;
}
.wa-guide-msg--bot .wa-guide-msg-body {
  background: #1f2c34;
  border-bottom-left-radius: 3px;
}
.wa-guide-msg-body p { margin: 0 0 .45rem; }
.wa-guide-msg-body p:last-child { margin-bottom: 0; }
.wa-guide-time {
  display: block;
  text-align: right;
  font-size: .58rem;
  color: rgba(233, 237, 239, .45);
  margin-top: .2rem;
}
.wa-guide-muted { font-size: .7rem !important; color: #8696a0 !important; }
.wa-guide-preview {
  font-size: .72rem !important;
  background: rgba(0, 0, 0, .25);
  border-radius: 8px;
  padding: .5rem .6rem;
  border-left: 2px solid #25d366;
  color: #aebac1 !important;
}

.wa-guide-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: .35rem;
  padding: 0 .6rem .45rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.wa-guide-chip {
  flex-shrink: 0;
  padding: .38rem .65rem;
  border-radius: 100px;
  border: 1px solid rgba(134, 150, 160, .35);
  background: rgba(31, 44, 52, .9);
  color: #d1d7db;
  font-size: .68rem;
  font-weight: 600;
  cursor: pointer;
}
.wa-guide-chip:hover { border-color: #25d366; color: #fff; }
.wa-guide-chip--primary {
  background: #25d366;
  border-color: #25d366;
  color: #041a12;
}
.wa-guide-chip--primary:hover { background: #1fb855; color: #041a12; }
.wa-guide-chip--urgent { border-color: rgba(248, 113, 113, .45); color: #fecaca; }

.wa-guide-form {
  display: flex;
  gap: .4rem;
  padding: .55rem .6rem .7rem;
  background: #1f2c34;
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.wa-guide-form input {
  flex: 1;
  min-width: 0;
  padding: .65rem .8rem;
  border-radius: 24px;
  border: none;
  background: #2a3942;
  color: #e9edef;
  font-size: .8rem;
}
.wa-guide-form input::placeholder { color: #8696a0; }
.wa-guide-form input:focus { outline: 2px solid rgba(37, 211, 102, .35); }
.wa-guide-send {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #25d366;
  color: #041a12;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.wa-guide-send:disabled { opacity: .45; cursor: not-allowed; }
.wa-guide-send svg { width: 18px; height: 18px; }

body.wa-guide-open { overflow: hidden; }
body.sticky-visible .wa-guide-panel { bottom: calc(var(--sticky-h) + .75rem); }

@media (max-width: 640px) {
  .wa-guide-panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
  }
  .wa-guide-messages { max-height: min(52vh, 420px); }
  body.sticky-visible .float-dock { bottom: 0; }
  body.sticky-visible .wa-guide-panel { bottom: 0; }
}
