/* ==========================================================
   SAG · Capa de estilo "Apple" (se carga después de style.css)
   Sistema: DESIGN.md "Apple" (getdesign.md/apple/design-md), adaptado a SAG.
   Reglas: fotografía primero · mosaicos a ancho completo que alternan claro/oscuro ·
   un solo azul de acción · sin degradados decorativos · sin sombras en la interfaz ·
   titulares 600 con tracking negativo · cuerpo a 17 px · botones en píldora.
   Marca SAG conservada: azul marino como lienzo oscuro y dorado solo para reconocimientos.
   ========================================================== */
@font-face {
  font-family: "Inter Var";
  src: url("../assets/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Acento único (Action Blue) */
  --cy: #2997ff;        /* sobre fondos oscuros */
  --cy-l: #6cb7ff;      /* textos de acento sobre oscuro */
  --cy-d: #0066cc;      /* textos de acento sobre claro */
  --blue: #0071e3;      /* relleno de botones */
  --blue-h: #0077ed;
  /* Superficies */
  --bone: #f5f5f7;      /* "Parchment" */
  --bone-2: #e8e8ed;
  --n950: #050f20;      /* lienzo oscuro de marca (en lugar del gris carbón) */
  --n900: #0a1a33;
  --n800: #0d2140;
  /* Texto */
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --on-dark: #c9d1dc;
  --lt: rgba(0, 0, 0, .1);
  --dk: rgba(255, 255, 255, .14);
  --hair: #e0e0e0;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter Var", Inter, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --sec: clamp(72px, 9vw, 120px);
  --head-h: 48px;
  --r: 18px;
}

html { scroll-padding-top: 56px; }
body { font-family: var(--font); font-size: 1.0625rem; line-height: 1.5; letter-spacing: -.012em; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---- Se elimina el adorno: telón, cursor, progreso, auras, grano, líneas, red, marquesina ---- */
.curtain, .anim .curtain { display: none !important; }
.ring, .progress, .grain, .hero__aura, .hero__lines, .hero__net, .scroll, .mq { display: none !important; }
.skip { background: var(--blue); color: #fff; }

/* ---------- Navegación global (44–48 px, translúcida) ---------- */
.head { border-bottom: 0; }
.head.is-solid { background: rgba(5, 15, 32, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-color: transparent; }
.head__in { gap: 28px; }
.head__logo img { width: 62px; }
.nav { gap: 26px; }
.nav a { color: rgba(245, 245, 247, .82); font-size: .8125rem; font-weight: 400; letter-spacing: -.01em; padding: 0; }
.nav a::after { display: none; }
.nav a:hover { color: #fff; }
.head__cta.btn--line { background: var(--blue); border: 0; color: #fff; padding: 7px 15px; font-size: .8125rem; font-weight: 400; }
.head__cta.btn--line:hover { background: var(--blue-h); color: #fff; }
.burger { border-color: rgba(255, 255, 255, .28); }

/* ---------- Botones: píldora azul y píldora secundaria ---------- */
.btn { padding: 12px 24px; font-size: 1.0625rem; font-weight: 400; letter-spacing: -.01em; overflow: visible; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.btn::before { display: none; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--blue); color: #fff; box-shadow: none; }
.btn--solid:hover { background: var(--blue-h); }
.btn--ghost, .btn--line { background: transparent; border: 1px solid var(--cy); color: var(--cy); }
.btn--ghost:hover, .btn--line:hover { background: rgba(41, 151, 255, .12); color: var(--cy); border-color: var(--cy); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn--dark:hover { background: #333; color: #fff; }
.btn--sm { padding: 8px 16px; font-size: .875rem; }

/* ---------- Tipografía: Apple tight ---------- */
.lbl { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; text-transform: none; font-stretch: 100%; gap: 0; }
.lbl::before { display: none; }
.lbl--cy, .lbl--gold { color: var(--cy-l); }
.lbl--d { color: var(--cy-d); }
.h2 { margin-top: 10px; font-size: clamp(2.25rem, 5.2vw, 4rem); line-height: 1.07; font-weight: 600; letter-spacing: -.035em; max-width: 20ch; color: var(--ink); }
.h2 b { font-weight: 600; }
.h2--lt { color: #fff; }
.lead { margin-top: 20px; font-size: clamp(1.1875rem, 1.6vw, 1.5rem); line-height: 1.4; font-weight: 400; letter-spacing: -.016em; color: var(--muted); max-width: 44ch; }
.lead em { color: var(--ink); font-weight: 600; }
.lead--lt { color: var(--on-dark); }
.lead--lt em { color: #fff; }

.sec { padding-block: var(--sec); }
.sec--bone { background: var(--bone); }
.sec--white { background: #fff; }
.sec--dark { background: var(--n900); }
.sec--contact { background: var(--n950); }
.sec__head { text-align: center; margin-bottom: clamp(40px, 5vw, 72px); }
.sec__head .h2, .sec__head .lead { margin-inline: auto; }
.sec__head--row { text-align: left; }
.sec__head--row .h2 { margin-inline: 0; }

/* ---------- Hero: mosaico oscuro centrado ---------- */
.hero { min-height: 100svh; padding-top: calc(var(--head-h) + 40px); background: var(--n950); }
.hero__veil { background: rgba(5, 15, 32, .6); }
.hero__bg ~ .hero__net { display: none; }
.hero__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding-bottom: clamp(40px, 5vw, 72px); }
.hero__vis { display: none; }
.hero__copy { display: flex; flex-direction: column; align-items: center; max-width: 920px; }
.hero__title { font-size: clamp(2.7rem, 6.2vw, 5rem); line-height: 1.05; font-weight: 600; letter-spacing: -.04em; margin: 12px 0 20px; }
.ln--b > span { background: none; -webkit-background-clip: initial; background-clip: initial; color: rgba(255, 255, 255, .6); font-weight: 600; letter-spacing: -.04em; }
.hero__lead { font-size: clamp(1.1875rem, 1.8vw, 1.5rem); line-height: 1.4; letter-spacing: -.016em; color: #e5e8ee; max-width: 36em; font-weight: 400; }
.hero__cta { justify-content: center; margin-top: 32px; gap: 16px; }
.hero__stats dl { border-top: 1px solid rgba(255, 255, 255, .22); }
.hero__stats dl > div { text-align: center; padding: 26px 16px 30px; margin-right: 0; }
.hero__stats dt { font-size: .8125rem; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--cy-l); font-stretch: 100%; }
.hero__stats dd { font-weight: 600; letter-spacing: -.035em; }
.hero__stats .dd--sm { font-weight: 600; }
.hero__stats p { color: #d6dbe4; font-size: .9375rem; }

/* ---------- Reconocimientos ---------- */
.six { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--ink); font-weight: 600; letter-spacing: -.07em; }
.tick li::before { background: #d2d2d7; height: 2px; }
.tick li::after { background: #b8964f; height: 2px; }
.tick i { font-weight: 600; letter-spacing: 0; }
.award { border-radius: var(--r); background: var(--n900); border: 1px solid rgba(212, 178, 106, .4); }
.award::before { display: none; }
.award:hover { transform: none; box-shadow: none; }
.award__seal, .award__logo { box-shadow: none; }
.award__logo { border-radius: 10px; }
.award h3 { background: none; -webkit-background-clip: initial; background-clip: initial; color: #ecd8a4; font-weight: 600; letter-spacing: -.03em; }
.award__list li { font-weight: 600; letter-spacing: -.015em; }

/* ---------- Banner "SAG en cifras" (mosaico oscuro) ---------- */
.stats { background: #000d1f; color: #fff; padding-block: clamp(80px, 10vw, 140px); }
.stats::before { display: none; }
.stats__h { font-size: clamp(2.9rem, 7.4vw, 6rem); line-height: 1.04; font-weight: 600; letter-spacing: -.04em; max-width: 16ch; margin-inline: auto; text-align: center; }
.stats .wrap > .lbl, .stats .wrap > p.lbl { display: block; text-align: center; }
.stats__grid { border-top: 1px solid rgba(255, 255, 255, .2); text-align: center; }
.stats__i { padding-inline: clamp(16px, 2vw, 32px); }
.stats__i p { margin-inline: auto; }
.stats__n { justify-content: center; background: none; -webkit-background-clip: initial; background-clip: initial; color: #fff; font-weight: 600; letter-spacing: -.06em; font-size: clamp(4rem, 9.4vw, 7.6rem); }
.stats__i dt { font-weight: 600; letter-spacing: -.02em; }

/* ---------- Ventajas ---------- */
.adv__img { border-radius: var(--r); border: 0; }
.row::before { display: none; }
.row:hover { padding-left: 0; }
.row:hover h3 { color: inherit; }
.row__n { color: var(--cy-l); font-weight: 600; letter-spacing: 0; }
.row h3 { font-weight: 600; letter-spacing: -.03em; font-size: clamp(1.35rem, 2.1vw, 1.85rem); }
.row__t { font-size: .75rem; letter-spacing: 0; text-transform: none; font-weight: 600; font-stretch: 100%; padding: 6px 12px; }
.row__fig { font-weight: 600; letter-spacing: -.05em; color: #fff; }

/* ---------- Servicios y artículos: tarjetas claras con filete ---------- */
.tab { background: #fff; border-color: var(--hair); font-size: .9375rem; font-weight: 400; letter-spacing: -.01em; padding: 10px 18px; }
.tab:hover { border-color: #bdbdc2; transform: none; }
.tab.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.svc__c, .post__a { border-radius: var(--r); background: var(--bone); border: 1px solid transparent; }
.svc__c::before { display: none; }
.svc__c:hover, .post__a:hover { transform: none; box-shadow: none; background: #ededf0; border-color: transparent; }
.svc__n { letter-spacing: 0; font-weight: 600; color: var(--cy-d); }
.svc__cat, .post__meta { letter-spacing: 0; text-transform: none; font-size: .8125rem; font-weight: 600; }
.svc__c h3, .post h3 { font-weight: 600; letter-spacing: -.025em; }
.svc__tags li, .post__meta em, .mem__tags em { font-size: .75rem; letter-spacing: 0; text-transform: none; background: rgba(0, 102, 204, .08); color: var(--cy-d); font-weight: 600; }
.reach { border-radius: var(--r); background: var(--n900); }
.reach__h { font-size: .875rem; letter-spacing: 0; text-transform: none; font-weight: 600; font-stretch: 100%; }
.chips li { font-size: .9375rem; border-color: rgba(255, 255, 255, .22); }
.chips li:hover { background: rgba(41, 151, 255, .16); border-color: var(--cy); color: #fff; }
.reach__v { font-weight: 400; letter-spacing: -.02em; }
.li p { letter-spacing: 0; text-transform: none; font-size: .875rem; font-weight: 600; font-stretch: 100%; }

/* ---------- Equipo ---------- */
.founder { border-radius: var(--r); background: var(--n900); box-shadow: none; }
.founder__ph::after { display: none; }
.founder h3 { font-weight: 600; letter-spacing: -.035em; }
.founder__role { font-weight: 400; color: var(--cy-l); }
.founder__badge { letter-spacing: 0; text-transform: none; font-size: .8125rem; font-weight: 600; }
.cred li { letter-spacing: 0; text-transform: none; font-size: .875rem; font-weight: 600; }
.link { color: var(--cy-l); }
.mem__btn { border-radius: var(--r); border-color: var(--hair); background: #fff; }
.mem__btn:hover { transform: none; box-shadow: none; border-color: #bdbdc2; }
.mem__ph img { filter: none; transform: none; }
.mem__btn:hover .mem__ph img, .mem__btn:focus-visible .mem__ph img { filter: none; transform: scale(1.03); }
.mem__meta b { font-weight: 600; letter-spacing: -.02em; }
.mem__plus { background: rgba(255, 255, 255, .72); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mem__btn:hover .mem__plus { background: var(--blue); color: #fff; transform: none; }
.sen__c { border-radius: var(--r); border-color: var(--hair); }
.sen__c:hover { transform: none; box-shadow: none; border-color: #bdbdc2; }
.sen__ph { border-radius: 12px; }
.sen__ph img { filter: none; }
.sen__c:hover .sen__ph img { filter: none; transform: scale(1.03); }
.seniors__t { font-weight: 600; letter-spacing: -.03em; }
.prof { border-radius: var(--r); }
.prof__x:hover { background: var(--blue); transform: none; } .prof__x:hover svg { stroke: #fff; }
.prof h3 { font-weight: 600; letter-spacing: -.035em; }

/* ---------- Método ---------- */
.step { border: 0; border-radius: var(--r); background: rgba(255, 255, 255, .05); }
.step.on { background: rgba(255, 255, 255, .09); border-color: transparent; }
.step.on::before { border-color: var(--cy); background: var(--cy); box-shadow: none; }
.step__n { letter-spacing: 0; font-weight: 600; font-size: .875rem; }
.step h3 { font-weight: 600; letter-spacing: -.03em; }
.steps__rail i { background: var(--cy); box-shadow: none; }

/* ---------- Banda fotográfica ---------- */
.band__shade { background: rgba(5, 15, 32, .52); }
.band__quote { font-weight: 600; letter-spacing: -.04em; }
.band__stats dt { letter-spacing: 0; text-transform: none; font-size: .9375rem; font-weight: 600; font-stretch: 100%; color: var(--cy-l); }
.band__stats dd { font-weight: 600; letter-spacing: -.045em; }

/* ---------- Contacto ---------- */
.form { background: rgba(255, 255, 255, .06); border: 0; border-radius: var(--r); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.form__srv legend { letter-spacing: 0; text-transform: none; font-size: .9375rem; font-weight: 600; font-stretch: 100%; color: var(--cy-l); }
.pill span { font-size: .9375rem; font-weight: 400; border-color: rgba(255, 255, 255, .28); }
.pill:hover span { border-color: var(--cy); }
.pill input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 600; }
.pill input:focus-visible + span { outline-color: var(--cy); }
.fld input:focus, .fld textarea:focus { border-color: var(--cy); }
.chk input:checked { background: var(--blue); border-color: var(--blue); }
.chk input:checked::after { border-color: #fff; }
.chk a, .aviso a { color: var(--cy-l); }
.aviso { border-left-color: var(--cy); border-radius: 0 12px 12px 0; }

/* ---------- Pie claro ---------- */
.foot { background: var(--bone); color: #515154; border-top: 1px solid var(--hair); font-size: .8125rem; }
.foot nav a:hover { color: var(--ink); }
.foot img { filter: invert(1) brightness(.2); }
.foot__ia { color: var(--muted); }

/* ---------- Asistente ---------- */
.chat__gate .btn { font-size: 1rem; }

/* ---------- Documentos legales ---------- */
.legal-page { background: #fff; }
.legal__body h1 { font-weight: 600; letter-spacing: -.035em; }
.legal__toc { border-radius: var(--r); border-color: var(--hair); background: var(--bone); }
.legal__toc a, .legal__body a, .legal__sha a { color: var(--cy-d); }
.legal__body th { background: var(--ink); letter-spacing: 0; text-transform: none; font-size: .875rem; }
.legal__body table { border-radius: 12px; border: 1px solid var(--hair); }

/* ---------- Móvil ---------- */
@media (max-width: 860px) {
  .hero__title { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  .nav { gap: 18px; }
}

/* ---------- Ajustes tras revisión visual ---------- */
.tabs { justify-content: center; }
.sec__head--row .lead { margin-inline: 0; }
.chan li span { letter-spacing: 0; text-transform: none; font-size: .9375rem; font-weight: 400; font-stretch: 100%; color: var(--cy-l); }

/* ---------- Menos adorno, más foto: sin destello diagonal; zoom lento más sutil ---------- */
.ph--hero::before, .ph--band::before, .adv__img .ph::before { display: none; }
@keyframes kb { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.08) translate3d(-.8%, -.6%, 0); } }
