/* ──────────────────────────────────────────────────────────────────────────
   SAINT — pages.css
   Brutalismo editorial · monocromo · streetwear premium
   Coherente con styles.css del home (Bebas Neue + DM Sans)
   ────────────────────────────────────────────────────────────────────────── */

/* ── HERO COMÚN ─────────────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  background: #060606;
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,0.08), transparent 35%),
    radial-gradient(circle at 88% 80%, rgba(255,255,255,0.04), transparent 30%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .07;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 20px 96px;
}
.page-hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.page-hero-meta .dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .4; transform: scale(.8); }
  50%      { opacity: 1;  transform: scale(1.2); }
}
.page-hero-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.page-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 9.5vw, 152px);
  line-height: .85;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  max-width: 1300px;
}
.page-hero-title .accent {
  color: #fff;
  display: inline-block;
  margin-left: .04em;
}
.page-hero-sub {
  margin-top: 28px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.62);
}
.page-hero-rule {
  margin-top: 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.4), rgba(255,255,255,.05));
}
.page-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.page-hero-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: .9;
  color: #fff;
}
.page-hero-stat-label {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* ── UTILITY NAV (header de las páginas) ────────────────────────────────── */
.utility-nav-link {
  color: #71717a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}
.utility-nav-link:hover,
.utility-nav-link.is-active {
  color: #000;
  border-color: #000;
}

/* ── SECCIÓN GENÉRICA ───────────────────────────────────────────────────── */
.page-section {
  padding: 96px 0;
  background: #f6f5f2;
  position: relative;
}
.page-section-dark {
  background: #060606;
  color: #fff;
}
.page-section-rule {
  height: 1px;
  background: rgba(0,0,0,.08);
  margin: 96px 0;
}
.page-section-dark .page-section-rule {
  background: rgba(255,255,255,.08);
}

/* ── BLOQUE DE TÍTULO DE SECCIÓN ────────────────────────────────────────── */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-bottom: 32px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.page-section-dark .section-head {
  border-bottom-color: rgba(255,255,255,.1);
}
@media (min-width: 768px) {
  .section-head {
    grid-template-columns: 200px 1fr;
    gap: 48px;
    align-items: end;
  }
}
.section-head-index {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: .9;
  color: rgba(0,0,0,.18);
}
.page-section-dark .section-head-index {
  color: rgba(255,255,255,.22);
}
.section-head-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: .92;
  text-transform: uppercase;
  margin: 0;
}
.section-head-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 8px;
}

/* ── ANCHOR LIST (sticky en políticas) ──────────────────────────────────── */
.anchor-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #e7e5e4;
}
.anchor-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 4px;
  border-bottom: 1px solid #e7e5e4;
  text-decoration: none;
  color: #111827;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2em;
  transition: padding .25s ease, color .25s ease;
}
.anchor-link:hover {
  padding-left: 14px;
  color: #000;
  background: linear-gradient(90deg, rgba(0,0,0,.04), transparent);
}
.anchor-link .arrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  transition: transform .25s ease;
}
.anchor-link:hover .arrow { transform: translateX(4px); }
.anchor-list-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #71717a;
  padding-bottom: 18px;
}
.anchor-list-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: .95;
  text-transform: uppercase;
  margin: 0 0 28px;
}

/* ── POLICY BLOCKS ──────────────────────────────────────────────────────── */
.policy-block {
  scroll-margin-top: 140px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.page-section-dark .policy-block {
  border-bottom-color: rgba(255,255,255,.1);
}
.policy-block:first-of-type { padding-top: 0; }
.policy-block:last-of-type  { border-bottom: none; }
.policy-block-header {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 16px;
}
.policy-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  line-height: .9;
  color: rgba(0,0,0,.32);
  flex-shrink: 0;
  min-width: 44px;
}
.page-section-dark .policy-num {
  color: rgba(255,255,255,.32);
}
.policy-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #a1a1aa;
}
.policy-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: .95;
  text-transform: uppercase;
  margin: 0 0 18px;
  letter-spacing: -.005em;
}
.policy-copy {
  font-size: 15px;
  line-height: 1.85;
  color: #44403c;
  max-width: 60ch;
  margin: 0 0 14px;
}
.page-section-dark .policy-copy {
  color: rgba(255,255,255,.7);
}
.policy-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
}
.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #44403c;
}
.page-section-dark .policy-list li {
  color: rgba(255,255,255,.72);
}
.policy-list li::before {
  content: "→";
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  color: rgba(0,0,0,.4);
  flex-shrink: 0;
  margin-top: 2px;
}
.page-section-dark .policy-list li::before {
  color: rgba(255,255,255,.4);
}

/* ── TABLA GUÍA DE TALLES ───────────────────────────────────────────────── */
.size-table-wrap {
  margin-top: 28px;
  border-top: 1px solid rgba(0,0,0,.12);
  border-bottom: 1px solid rgba(0,0,0,.12);
  overflow-x: auto;
}
.page-section-dark .size-table-wrap {
  border-color: rgba(255,255,255,.12);
}
.size-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  min-width: 480px;
}
.size-table thead th {
  text-align: left;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #71717a;
  padding: 18px 16px 14px;
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.size-table tbody td {
  padding: 16px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  color: #18181b;
  font-weight: 500;
}
.page-section-dark .size-table thead th {
  color: rgba(255,255,255,.55);
  border-bottom-color: rgba(255,255,255,.18);
}
.page-section-dark .size-table tbody td {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.08);
}
.size-table tbody tr:last-child td { border-bottom: none; }
.size-table tbody tr:hover td {
  background: rgba(0,0,0,.03);
}
.page-section-dark .size-table tbody tr:hover td {
  background: rgba(255,255,255,.04);
}
.size-table .talle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  line-height: 1;
  color: #000;
}
.page-section-dark .size-table .talle { color: #fff; }

/* ── FAQ (acordeón fuerte) ──────────────────────────────────────────────── */
.faq-list {
  border-top: 1px solid rgba(0,0,0,.12);
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,.12);
  transition: background .25s ease;
}
.faq-item:hover {
  background: rgba(0,0,0,.02);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 26px 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px;
  color: #18181b;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  line-height: 1;
  color: rgba(0,0,0,.28);
  font-weight: 400;
  letter-spacing: 0;
}
.faq-item[open] .faq-num { color: #000; }
.faq-q { line-height: 1.5; }
.faq-toggle {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: #000;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.faq-toggle::before { width: 12px; height: 1px; }
.faq-toggle::after  { width: 1px; height: 12px; }
.faq-item[open] .faq-toggle::after { transform: scaleY(0); }
.faq-answer {
  padding: 0 4px 28px 86px;
  color: #44403c;
  font-size: 15px;
  line-height: 1.85;
  max-width: 70ch;
}
@media (max-width: 640px) {
  .faq-item summary { grid-template-columns: 38px 1fr auto; gap: 12px; padding: 22px 0; }
  .faq-num { font-size: 18px; }
  .faq-answer { padding-left: 50px; padding-right: 0; }
}

/* ── CONTACT METHODS ────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(0,0,0,.12);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-method {
  position: relative;
  padding: 36px 28px 36px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  border-bottom: 1px solid rgba(0,0,0,.12);
  transition: background .25s ease;
}
@media (min-width: 900px) {
  .contact-method {
    padding: 44px 32px;
    border-right: 1px solid rgba(0,0,0,.12);
    border-bottom: none;
  }
  .contact-method:last-child { border-right: none; }
}
.contact-method:hover { background: rgba(0,0,0,.02); }
.contact-method-num {
  position: absolute;
  top: 36px;
  right: 28px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  line-height: .9;
  color: rgba(0,0,0,.18);
}
@media (min-width: 900px) {
  .contact-method-num { right: 32px; top: 44px; }
}
.contact-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #71717a;
}
.contact-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: .95;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -.005em;
}
.contact-value-row {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  word-break: break-word;
  line-height: 1.55;
}
.contact-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.contact-link:hover { border-bottom-color: currentColor; }
.contact-meta {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
  color: #71717a;
  line-height: 1.6;
}

/* ── CHECKLIST PARA CAMBIO ──────────────────────────────────────────────── */
.checklist-card {
  background: #060606;
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  padding: 36px 32px;
  margin-top: 56px;
}
.checklist-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: .95;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.checklist-card-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
}
.checklist li::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255,255,255,.55);
  margin-top: 3px;
  position: relative;
}
.checklist li.done::before {
  background: #fff;
  border-color: #fff;
}
.checklist li.done {
  color: #fff;
}

/* ── CTA STRIP ──────────────────────────────────────────────────────────── */
.cta-strip {
  background: #060606;
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .07;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-strip-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .cta-strip-inner {
    grid-template-columns: 1.4fr auto;
    gap: 48px;
  }
}
.cta-strip-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  line-height: .9;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}
.cta-strip-sub {
  margin-top: 14px;
  color: rgba(255,255,255,.6);
  font-size: 14px;
  max-width: 520px;
  line-height: 1.7;
}
.cta-strip .btn-primary {
  white-space: nowrap;
}

/* ── PROTIPS / FEATURE LIST ─────────────────────────────────────────────── */
.feature-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 900px) {
  .feature-strip { grid-template-columns: repeat(3, 1fr); }
}
.feature-cell {
  padding: 36px 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
@media (min-width: 900px) {
  .feature-cell {
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,.1);
  }
  .feature-cell:last-child { border-right: none; }
}
.feature-cell-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  line-height: 1;
  color: rgba(255,255,255,.4);
}
.feature-cell-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  line-height: .95;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}
.feature-cell-copy {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.62);
  max-width: 38ch;
}

/* ── MOBILE TWEAKS ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .page-hero-inner { padding: 72px 20px 72px; }
  .page-section { padding: 72px 0; }
  .policy-block { padding: 28px 0; }
  .policy-block-header { gap: 12px; }
  .policy-num { font-size: 22px; min-width: 36px; }
}

/* FASE 9C-FIX — páginas institucionales alineadas al home */
.utility-nav-link {
  color: rgba(245,245,244,.48);
}
.utility-nav-link:hover,
.utility-nav-link.is-active {
  color: var(--ink);
  border-color: var(--ink);
}

/* FASE 9C-FIX — quitar mancha negra detrás del menú en páginas internas */
body:not([data-page="home"]) .header-shell nav {
  background: transparent !important;
  box-shadow: none !important;
}


/* FASE 9C-FIX — header institucional inteligente al hacer scroll */
body:not([data-page="home"]) .header-shell {
  transition: transform .28s ease, opacity .28s ease, box-shadow .28s ease;
  will-change: transform;
}

body:not([data-page="home"]) .header-shell.page-header--hidden {
  transform: translateY(-105%);
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  body:not([data-page="home"]) .header-shell {
    transition: none;
  }
}
