/*
 * Sitio corporativo de Sharing 1st LLC: estilos comunes a todas las paginas
 * (portada, documentos legales, novedades). Colores de la marca.
 * Rediseno del 18 nov 2026: cada seccion de la portada tiene su propia forma
 * (fichas con lineas, mosaico de fotos, bloque oscuro, linea de tiempo,
 * organigrama, indice) en lugar de repetir tarjetas con borde.
 */
/* Tipografia (18 nov 2026): Manrope en todo el sitio, fuente variable con
   licencia SIL OFL 1.1 (assets/fonts/OFL-Manrope.txt). */
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-variable.ttf") format("truetype"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --night: #04364A;
  --night-deep: #022231;
  --ocean: #0097B2;
  --ocean-ink: #00758C;   /* el mismo azul, legible sobre blanco */
  --cyan: #2AD7F4;
  --mist: #F3F7F9;
  --cloud: #D7E3EB;
  --line: #E1E9EE;
  --slate: #4C6170;
  --ink: #0B2430;
  --radius: 16px;
  --font-text: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font-text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "kern"; }
/* Titulos en Manrope, gruesa y un poco apretada. */
img { max-width: 100%; }
a { color: var(--ocean-ink); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Idioma: cada texto existe en ingles y espanol. */
html:not(.lang-es) .es { display: none !important; }
html.lang-es .en { display: none !important; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--night); min-width: 0; flex: 0 0 auto; }
.brand img { width: 36px; height: 36px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-size: 15px; letter-spacing: .1em; font-weight: 800; }
.brand-name small { font-size: 12px; color: var(--slate); font-weight: 600; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav a { position: relative; padding: 8px 12px; color: var(--night); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; border-radius: 8px; }
.site-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--ocean); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:hover { color: var(--ocean-ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.lang { display: flex; border: 1px solid var(--cloud); border-radius: 999px; overflow: hidden; flex: 0 0 auto; }
.lang button { border: 0; background: #fff; color: var(--slate); font-weight: 700; padding: 6px 12px; cursor: pointer; font-size: 13px; font-family: inherit; }
.lang button.on { background: var(--night); color: #fff; }
.lang-link { font-weight: 700; font-size: 14px; text-decoration: none; flex: 0 0 auto; padding: 6px 12px; border: 1px solid var(--cloud); border-radius: 999px; color: var(--night); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--cloud); border-radius: 12px; background: #fff; color: var(--night); cursor: pointer; padding: 8px; flex: 0 0 auto; }
.menu-toggle svg { width: 22px; height: 22px; display: block; }

/* ---------- Botones y etiquetas ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .005em; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: var(--night-deep); }
.btn-primary:hover { background: #5BE2F7; }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--night-deep); }
.btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; }
.btn-ghost:hover { border-color: rgba(255,255,255,.7); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--ocean-ink); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .8; }

/* ---------- Portada: cabecera ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 120px 0 128px; background: var(--night-deep); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--night-deep) 0%, rgba(2,34,49,.93) 34%, rgba(2,34,49,.4) 72%, rgba(2,34,49,.2) 100%), url("/assets/img/hero-network.jpg") right center / cover no-repeat;
  transform-origin: 70% 50%; animation: hero-drift 28s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(42,215,244,.45), transparent); }
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.06) translateX(-1.5%); } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .85fr; gap: 72px; align-items: center; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { font-size: clamp(42px, 6.2vw, 78px); line-height: 1.02; letter-spacing: -.04em; margin: 22px 0 28px; font-weight: 800; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: rgba(255,255,255,.84); max-width: 600px; margin: 0 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card { background: rgba(2,34,49,.55); border: 1px solid rgba(255,255,255,.13); border-radius: 20px; padding: 30px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 80px rgba(0,0,0,.28); animation: card-float 7s ease-in-out infinite alternate; }
@keyframes card-float { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.hero-card h2 { margin: 0 0 20px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62); font-weight: 700; }
.hero-card dl { margin: 0; display: grid; gap: 16px; }
.hero-card dl > div { padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-card dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.hero-card dd { margin: 5px 0 0; font-size: 15.5px; color: #fff; }
.hero-card a { color: #fff; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
/* Fase actual: dos tramos, Fase Inicial y Fase Comercial. */
.phase-track { list-style: none; margin: 12px 0 2px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phase-track li { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.phase-track li::before { content: ""; display: block; height: 3px; border-radius: 3px; margin-bottom: 7px; background: rgba(255,255,255,.16); }
.phase-track li.on { color: #fff; }
.phase-track li.on::before { background: var(--cyan); box-shadow: 0 0 12px rgba(42,215,244,.55); }

/* ---------- Secciones ---------- */
.section { padding: 112px 0; }
.section.tint { background: var(--mist); }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.03em; margin: 16px 0 20px; color: var(--night); font-weight: 800; }
.section-head p { font-size: 18px; line-height: 1.65; color: var(--slate); margin: 0; }

/* Empresa: declaracion a la izquierda, ficha con lineas a la derecha. */
.company { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: start; }
.statement { font-size: clamp(19px, 1.75vw, 22px); line-height: 1.6; letter-spacing: -.01em; color: var(--night); margin: 0 0 26px; font-weight: 500; }
.body-text { font-size: 16.5px; line-height: 1.75; color: var(--slate); margin: 0; }
.facts { margin: 8px 0 0; border-top: 2px solid var(--night); }
.facts div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--slate); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; font-size: 15.5px; color: var(--ink); }

/* Categorias: mosaico de fotos con el texto encima. */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; margin: 0; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--night-deep); box-shadow: 0 14px 30px rgba(4,54,74,.1); }
.tile img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; display: block; transition: transform .7s ease; }
.tile:nth-child(1) img { object-position: 45% center; }
.tile:nth-child(3) img { object-position: 25% center; }
.tile:nth-child(4) img { object-position: 30% center; }
.tile:hover img { transform: scale(1.05); }
/* Texto centrado sobre un recuadro solido (pedido del cliente, 18 nov). */
.tile figcaption { position: relative; flex: 1; padding: 18px 18px 20px; display: grid; gap: 4px; justify-items: center; text-align: center; background: var(--night-deep); color: #fff; }
.tile figcaption b { font-size: 18px; font-weight: 700; letter-spacing: -.005em; }
.tile figcaption > span { font-size: 13.5px; color: rgba(255,255,255,.82); }

/* Modelo de negocio: bloque oscuro, texto del cliente y tres principios numerados. */
.section.dark { background: radial-gradient(900px 420px at 100% 0%, rgba(42,215,244,.12), transparent 60%), var(--night-deep); color: #fff; }
.section.dark h2 { color: #fff; }
.section.dark .eyebrow { color: var(--cyan); }
.model { max-width: 860px; }
.model-main { border-left: 2px solid var(--cyan); padding-left: 32px; }
.model-main h3 { font-size: 20px; margin: 0 0 14px; color: #fff; font-weight: 700; letter-spacing: -.01em; }
.model-main p { margin: 0; font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.8); }
.principles { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.principles li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.principles .num { font-size: 13px; font-weight: 700; color: var(--cyan); letter-spacing: .08em; font-variant-numeric: tabular-nums; padding-top: 3px; }
.principles h3 { margin: 0 0 6px; font-size: 18px; color: #fff; font-weight: 700; }
.principles p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.72); }

/* Fases: linea de tiempo con dos hitos. */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.timeline::before { content: ""; position: absolute; top: 21px; left: 22px; width: calc(50% + 28px); height: 2px; background: linear-gradient(90deg, var(--cyan), var(--cloud)); }
.timeline li { position: relative; }
.timeline .node { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: #fff; border: 2px solid var(--cloud); color: var(--slate); }
.timeline .current .node { background: var(--cyan); border-color: var(--cyan); color: var(--night-deep); box-shadow: 0 0 0 7px rgba(42,215,244,.16); }
.timeline .state { display: block; margin: 26px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.timeline .current .state { color: var(--ocean-ink); }
.timeline h3 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.015em; color: var(--night); font-weight: 700; }
.timeline p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--slate); max-width: 520px; }

/* Marcas: organigrama, la LLC arriba y las cuatro DBAs debajo. */
.org { position: relative; }
.org-parent { position: relative; display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; margin: 0 auto; background: var(--night); color: #fff; border-radius: 14px; padding: 16px 26px 16px 18px; box-shadow: 0 18px 40px rgba(4,54,74,.18); }
.org-parent img { width: 34px; height: 34px; }
.org-parent b { display: block; letter-spacing: .1em; font-size: 15px; font-weight: 800; }
.org-parent span { color: rgba(255,255,255,.72); font-size: 13.5px; }
.org-parent::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 28px; background: #A9BFCC; }
.org-children { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.org-children::before { content: ""; position: absolute; top: -28px; left: calc((100% - 60px) / 8); right: calc((100% - 60px) / 8); height: 1px; background: #A9BFCC; }
.dba { position: relative; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px 22px; }
.dba::before { content: ""; position: absolute; left: 50%; top: -29px; width: 1px; height: 28px; background: #A9BFCC; }
.dba.on { border-color: rgba(0,151,178,.45); box-shadow: inset 0 3px 0 var(--ocean), 0 14px 30px rgba(0,117,140,.08); }
.dba .kind { font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--ocean-ink); }
.dba .domain { margin: 0; font-size: 19px; font-weight: 700; color: var(--night); letter-spacing: -.01em; }
.dba p { flex: 1; margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.dba .state { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.dba .state::before { content: ""; width: 14px; height: 2px; background: currentColor; }
.dba.on .state { color: var(--ocean-ink); }

/* Marco legal: verificaciones a la izquierda, indice completo de documentos a la derecha. */
.legal { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.checks svg { width: 22px; height: 22px; color: var(--ocean); margin-top: 1px; }
.legal-cta { margin: 32px 0 0; }
/* Indice de documentos (portada y /legal/): todos, con su nombre completo, en renglones con linea. */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 2px solid var(--night); }
.doc-list li { border-bottom: 1px solid var(--line); }
.doc-list a { display: grid; grid-template-columns: 30px 1fr 14px; gap: 10px; align-items: baseline; padding: 14px 0; text-decoration: none; color: var(--night); font-size: 14.5px; font-weight: 600; line-height: 1.45; height: 100%; }
.doc-list a::after { content: "→"; color: #A9BFCC; transition: transform .15s ease, color .15s ease; }
.doc-list a:hover { color: var(--ocean-ink); }
.doc-list a:hover::after { color: var(--ocean); transform: translateX(3px); }
.doc-list small { color: var(--ocean-ink); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }

/* Novedades: lista editorial con linea arriba. */
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.news-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-card { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 2px solid var(--night); text-decoration: none; color: var(--ink); height: 100%; }
.news-card small { color: var(--slate); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.news-card b { font-size: 18px; color: var(--night); line-height: 1.3; letter-spacing: -.01em; transition: color .15s ease; }
.news-card .s { color: var(--slate); font-size: 15px; line-height: 1.6; }
.news-card .more { margin-top: auto; padding-top: 6px; color: var(--ocean-ink); font-weight: 700; font-size: 14px; }
.news-card:hover b { color: var(--ocean-ink); }

/* Contacto: franja oscura que enlaza con el pie. */
.contact-band { position: relative; overflow: hidden; color: #fff; padding: 104px 0; background: radial-gradient(700px 360px at 0% 100%, rgba(0,151,178,.28), transparent 60%), radial-gradient(600px 300px at 100% 0%, rgba(42,215,244,.16), transparent 60%), var(--night); }
.contact-band .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.contact-band .eyebrow { color: var(--cyan); }
.contact-band h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.035em; margin: 16px 0 18px; font-weight: 800; }
.contact-band p { margin: 0 0 10px; color: rgba(255,255,255,.72); font-size: 17px; }
.contact-mail { display: inline-block; font-size: clamp(21px, 2.4vw, 30px); font-weight: 700; color: #fff; text-decoration: none; letter-spacing: -.01em; border-bottom: 2px solid var(--cyan); padding-bottom: 4px; transition: color .15s ease; }
.contact-mail:hover { color: var(--cyan); }
.contact-facts { margin: 0; border-top: 1px solid rgba(255,255,255,.2); }
.contact-facts > div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-facts dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.contact-facts dd { margin: 6px 0 0; font-size: 15.5px; color: #fff; }
.contact-links a { display: block; color: #fff; text-decoration: none; padding: 3px 0; }
.contact-links a:hover { color: var(--cyan); }

/* ---------- Paginas interiores (documentos y novedades) ---------- */
.page-hero { background: radial-gradient(800px 360px at 100% 0%, rgba(42,215,244,.14), transparent 60%), linear-gradient(160deg, var(--night) 0%, var(--night-deep) 100%); color: #fff; padding: 52px 0 96px; }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.03em; margin: 14px 0 8px; font-weight: 800; }
.page-hero p { margin: 0; color: rgba(255,255,255,.72); }
.page-hero .crumbs { font-size: 14px; margin-bottom: 16px; color: rgba(255,255,255,.6); }
.page-hero .crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.page-hero .crumbs a:hover { color: #fff; }
.page-body { margin-top: -60px; padding-bottom: 88px; }
.page-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 44px 48px; box-shadow: 0 24px 60px rgba(4,54,74,.08); max-width: 900px; margin: 0 auto; }
.page-card h1 { font-size: 24px; line-height: 1.25; margin: 0 0 6px; color: var(--night); letter-spacing: -.01em; }
.page-card h2 { font-size: 18px; margin: 36px 0 12px; color: var(--night); letter-spacing: -.005em; }
.page-card h3 { font-size: 16px; margin: 26px 0 8px; color: var(--night); }
.page-card p, .page-card li { font-size: 16px; line-height: 1.7; color: #22404D; }
.page-card p { margin: 0 0 14px; }
.notice { background: #FDF4E3; border: 1px solid #F0DCB4; border-radius: 12px; padding: 12px 16px; font-size: 14px; margin: 0 0 24px; }
.doc-number { display: none; }
.doc-sub { color: var(--slate) !important; font-weight: 700; margin: 0 0 4px !important; }
/* La seccion 16 al final de los Terminos y de la Politica de Privacidad. */
.doc-addendum { margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--cloud); }

/* ---------- Pie ---------- */
.site-footer { background: var(--night-deep); color: rgba(255,255,255,.74); padding: 64px 0 28px; font-size: 14px; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.brand-light { color: #fff; }
.brand-light .brand-name small { color: rgba(255,255,255,.6); }
.footer-brand p { margin: 16px 0 0; max-width: 320px; }
.site-footer h4 { margin: 4px 0 14px; color: #fff; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.58); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer button { background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,.86); cursor: pointer; }
.site-footer button:hover { color: var(--cyan); }

/* ---------- Aviso de cookies (Documento 6, Seccion 3.01, y Seccion 16 del Aviso Legal) ---------- */
.site-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 780px; margin: 0 auto; background: #fff; color: var(--night); border: 1px solid var(--cloud); border-radius: 18px; box-shadow: 0 16px 44px rgba(4,54,74,.2); padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; font-size: 14px; line-height: 1.5; }
.site-consent[hidden] { display: none; }
.site-consent p { margin: 0; flex: 1 1 320px; }
.site-consent a { color: var(--ocean-ink); font-weight: 700; }
.site-consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.site-consent button { border: 1px solid var(--cloud); background: #fff; color: var(--night); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; }
.site-consent button.primary { background: var(--night); border-color: var(--night); color: #fff; }
.consent-more { flex: 1 1 100%; font-size: 13px; }
.consent-more summary { cursor: pointer; color: var(--ocean-ink); font-weight: 700; }
.consent-more > div { max-height: 34vh; overflow-y: auto; margin-top: 8px; padding-right: 6px; }
.consent-more p { margin: 0 0 8px; color: #22404D; }

/* ---------- Aparecer al desplazarse (solo con JavaScript; sin el, todo se ve) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
html.js [data-reveal-delay="1"] { transition-delay: .08s; }
html.js [data-reveal-delay="2"] { transition-delay: .16s; }
html.js [data-reveal-delay="3"] { transition-delay: .24s; }

/* ---------- Pantallas medianas y celular ---------- */
/* Con siete enlaces el menu se aprieta entre 1021 y 1180 px. */
@media (min-width: 1021px) and (max-width: 1180px) {
  .site-nav a { padding: 8px 8px; font-size: 13.5px; }
  .site-nav a::after { left: 8px; right: 8px; }
}
@media (max-width: 1020px) {
  .site-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--cloud); padding: 8px 16px 16px; box-shadow: 0 16px 30px rgba(4,54,74,.08); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 10px; font-size: 16px; }
  .site-nav a::after { display: none; }
  .menu-toggle { display: inline-block; }
  .lang, .lang-link { margin-left: auto; }
  .hero::before { background: linear-gradient(180deg, rgba(2,34,49,.93) 0%, rgba(2,34,49,.86) 60%, rgba(2,34,49,.7) 100%), url("/assets/img/hero-network.jpg") 72% center / cover no-repeat; }
  .hero-card { animation: none; }
  .hero .wrap, .company, .model, .legal, .contact-band .wrap { grid-template-columns: 1fr; gap: 48px; }
  .tiles, .org-children { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org-children::before, .dba::before, .org-parent::after { display: none; }
  .org-children { margin-top: 24px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .brand-name small { display: none; }
  .hero { padding: 72px 0 80px; }
  .section, .contact-band { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .tiles { gap: 10px; }
  .tile figcaption { padding: 12px 10px 14px; }
  .tile figcaption b { font-size: 16px; }
  .tile figcaption > span { font-size: 12px; line-height: 1.35; }
  .org-children, .news-grid, .news-grid-2, .doc-list { grid-template-columns: 1fr; }
  .org-parent { width: 100%; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .model-main { padding-left: 22px; }
  .timeline { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { top: 22px; bottom: 0; left: 21px; width: 2px; height: auto; background: linear-gradient(180deg, var(--cyan), var(--cloud)); }
  .timeline li { padding-left: 68px; }
  .timeline .node { position: absolute; left: 0; top: 0; }
  .timeline .state { margin-top: 10px; }
  .page-card { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero-card { animation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .tile img, .doc-list a::after, .site-nav a::after { transition: none; }
}
.nobr { white-space: nowrap; }

/* Marcas: los cuatro dominios numerados, como los mando el cliente. */
.dba-list { list-style: none; margin: 4px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.dba-list li { font-size: 19px; font-weight: 700; color: var(--night); letter-spacing: -.01em; }
.dba-list .n { color: var(--ocean-ink); margin-right: 4px; font-variant-numeric: tabular-nums; }
#brands .section-head { max-width: 920px; }
/* Los cuatro recuadros del mercado con la misma altura aunque el texto ocupe dos renglones. */
.tile figcaption { min-height: 96px; align-content: center; }
@media (max-width: 640px) { .tile figcaption { min-height: 84px; } }

/* Modelo operativo: solo la Fase Comercial (pedido del cliente, 18 nov). */
.phase-block { max-width: 860px; border-left: 2px solid var(--cyan); padding-left: 32px; }
.phase-block h3 { margin: 0 0 14px; font-size: 24px; letter-spacing: -.02em; color: var(--night); font-weight: 800; }
.phase-block p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.75; color: var(--slate); }
.phase-block p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .phase-block { padding-left: 20px; } }

/* Manrope trae una ligadura que dibuja "(c)" como "©" (y "(r)" como "®"): se apagan las
   ligaduras en todo el sitio para que los incisos se vean tal cual (correccion 7 del cliente). */
html, body, button, input, select, textarea { font-variant-ligatures: none; font-feature-settings: "liga" 0, "clig" 0, "calt" 0, "dlig" 0; }
