*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #1f3a5f;
  --primary-d:  #142840;
  --primary-lt: #eaf1f8;
  --accent:     #c1642f;
  --accent-bg:  #fdf3ec;
  --accent-bd:  #eec39d;
  --head:       #16202c;
  --body:       #3f4b5c;
  --muted:      #737f8c;
  --border:     #e2e6ea;
  --bg:         #ffffff;
  --bg-off:     #f7f8fa;
  --bg-stone:   #f4f0ea;
  --radius:     12px;
  --card:       #ffffff;
  --shadow:     0 2px 8px rgba(20,40,60,.08), 0 10px 24px rgba(20,40,60,.06);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1rem;
}

/* ── LAYOUT ── */
.cw        { max-width: 740px;  margin: 0 auto; padding: 0 1.5rem; }
.cw-wide   { max-width: 900px;  margin: 0 auto; padding: 0 1.5rem; }
.cw-narrow { max-width: 560px;  margin: 0 auto; padding: 0 1.5rem; }

/* ── AD BANNER ── */
.promo-strip {
  background: var(--accent-bg);
  border-bottom: 1px solid var(--accent-bd);
  padding: .5rem 1.5rem;
  text-align: center;
  font-size: .75rem;
  color: #7a3a1a;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ── SITE HEADER ── */
.top-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: .9rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 200;
}
.top-bar-row {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-mark {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -.02em;
}
.brand-mark span { color: var(--accent); }
.sponsor-tag {
  font-size: .68rem;
  background: var(--accent-bg);
  border: 1px solid var(--accent-bd);
  color: #7a3a1a;
  padding: .18rem .6rem;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── ANCHOR NAV ── */
.quick-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  position: sticky;
  top: 53px;
  z-index: 199;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.quick-nav::-webkit-scrollbar { display: none; }
.quick-nav-row {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.quick-nav-row a {
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: .75rem 1rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.quick-nav-row a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.quick-nav-cta {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  padding: .35rem .9rem;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
  border-bottom: none;
}
.quick-nav-cta:hover { background: var(--primary-d); border-bottom-color: transparent; }

/* ── INTRO / HERO ── */
.intro {
  padding: 3.5rem 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.intro-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 380px;
  gap: 3.25rem;
  align-items: center;
}
.intro-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: 1rem;
}
.intro h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--head);
  letter-spacing: -.025em;
  margin-bottom: .9rem;
}
.intro-meta {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.intro-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.5rem;
}
.intro-list li {
  font-size: .9rem;
  color: var(--body);
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}
.intro-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}
.intro-links {
  font-size: .8rem;
  color: var(--muted);
}
.intro-links a { color: var(--primary); text-decoration: none; font-weight: 500; }

/* ── LEAD CARD (form) ── */
.lead-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.lead-card h2  { font-size: 1rem; font-weight: 700; color: var(--head); margin-bottom: .3rem; }
.lead-card > p { font-size: .83rem; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.5; }

.field-block { margin-bottom: .85rem; }
.field-block label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--head);
  margin-bottom: .3rem;
}
.field-block input,
.field-block select {
  width: 100%;
  padding: .55rem .8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .88rem;
  color: var(--head);
  background: var(--bg);
  font-family: inherit;
  transition: border-color .15s;
}
.field-block input:focus,
.field-block select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31,58,95,.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }

.consent-block { margin-bottom: .85rem; }
.consent-label {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: .74rem;
  color: var(--muted);
  line-height: 1.5;
}
.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: .15rem;
  width: 14px;
  height: 14px;
  accent-color: var(--primary);
  cursor: pointer;
}
.consent-label a { color: var(--primary); }
.field-alert { font-size: .72rem; color: #d1453b; margin-top: .25rem; display: none; }

.btn-primary {
  width: 100%;
  padding: .75rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.btn-primary:hover { background: var(--primary-d); }

.trust-badges {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: .75rem;
  justify-content: center;
}
.trust-badges span {
  font-size: .68rem;
  color: var(--muted);
  background: var(--bg-off);
  border: 1px solid var(--border);
  padding: .15rem .5rem;
  border-radius: 4px;
}

/* ── CONFIRM ── */
.confirm-box {
  display: none;
  background: var(--primary-lt);
  border: 1px solid #c9dcee;
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.confirm-box h3 { color: var(--primary-d); font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.confirm-box p  { color: var(--body); font-size: .85rem; line-height: 1.5; }
.confirm-list   { list-style: none; margin-top: .75rem; display: flex; flex-direction: column; gap: .3rem; max-width: 260px; margin-left: auto; margin-right: auto; }
.confirm-list li { font-size: .78rem; color: var(--body); display: flex; align-items: flex-start; gap: .4rem; text-align: left; }
.confirm-list li::before { content: "·"; color: var(--primary); font-weight: 700; flex-shrink: 0; margin-top: .05rem; }

/* ── CONTENT BLOCKS ── */
.block { padding: 3rem 1.5rem; border-bottom: 1px solid var(--border); }
.block:last-of-type { border-bottom: none; }
.block-alt { background: var(--bg-off); }

.block-tag {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
  display: block;
  margin-bottom: .6rem;
}
.block-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--head);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.block-lead {
  font-size: .95rem;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 660px;
}

/* ── 3 TIPS ── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 1.25rem;
}
.tip-item { display: flex; gap: .75rem; align-items: flex-start; }
.tip-num {
  width: 28px; height: 28px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .8rem;
  flex-shrink: 0;
  margin-top: .05rem;
}
.tip-item p { font-size: .88rem; color: var(--body); line-height: 1.6; }

/* ── INLINE ILLUSTRATION ── */
.content-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
  margin: 1.75rem 0;
}
.content-img-cap {
  font-size: .75rem;
  color: var(--muted);
  text-align: center;
  margin-top: -.75rem;
  margin-bottom: 1.75rem;
  font-style: italic;
}

/* ── HIGHLIGHT QUOTE ── */
.highlight-quote {
  border-left: 3px solid var(--primary);
  padding: .85rem 1.25rem;
  margin: 1.75rem 0;
  background: var(--primary-lt);
  border-radius: 0 6px 6px 0;
  font-size: .95rem;
  font-style: italic;
  color: var(--head);
  line-height: 1.65;
}

/* ── FLOW STEPS ── */
.flow-steps { display: flex; flex-direction: column; gap: 1.25rem; margin: 1.5rem 0; }
.flow-step  { display: flex; gap: 1rem; align-items: flex-start; }
.flow-num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-lt);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.flow-body h3 { font-size: .95rem; font-weight: 700; color: var(--head); margin-bottom: .25rem; }
.flow-body p  { font-size: .88rem; color: var(--body); line-height: 1.6; margin: 0; }
.flow-tag     { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: .25rem; }

/* ── FEATURE LIST ── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.feature-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: .92rem; color: var(--body); line-height: 1.65; }
.feature-list li::before { content: "✓"; color: var(--primary); font-weight: 700; flex-shrink: 0; margin-top: .1rem; }

/* ── ADVICE CARDS ── */
.advice-list { display: flex; flex-direction: column; gap: .85rem; margin-top: 1.25rem; }
.advice-item { border-left: 2px solid var(--border); padding: .6rem 1rem; }
.advice-item h3 { font-size: .9rem; font-weight: 700; color: var(--head); margin-bottom: .25rem; }
.advice-item p  { font-size: .85rem; color: var(--body); line-height: 1.6; margin: 0; }

/* ── QA (FAQ) ── */
.qa-list { display: flex; flex-direction: column; gap: .5rem; }
.qa-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qa-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .95rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--head);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
}
.qa-q::-webkit-details-marker { display: none; }
.qa-q::after { content: "+"; font-size: 1.25rem; font-weight: 300; color: var(--primary); flex-shrink: 0; transition: transform .2s; }
details[open] .qa-q::after { transform: rotate(45deg); }
.qa-a { padding: 0 1.25rem .95rem; font-size: .87rem; color: var(--body); line-height: 1.7; }
.qa-a a { color: var(--primary); }

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--primary);
  padding: 2.75rem 1.5rem;
  text-align: center;
}
.cta-strip h2 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 800; color: #fff; margin-bottom: .6rem; letter-spacing: -.02em; }
.cta-strip p  { font-size: .9rem; color: rgba(255,255,255,.8); margin-bottom: 1.25rem; }
.btn-onlight {
  display: inline-block;
  padding: .75rem 1.75rem;
  background: #fff;
  color: var(--primary);
  border-radius: 6px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: opacity .15s;
}
.btn-onlight:hover { opacity: .9; }

/* ── ENTITY BLOCK ── */
.entity-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.entity-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.entity-table td { padding: .45rem .6rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.entity-table td:first-child { color: var(--muted); font-weight: 500; white-space: nowrap; width: 42%; }
.entity-table td:last-child { color: var(--head); font-weight: 600; }

/* ── LEGAL NOTE BOX ── */
.legal-note {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 1.5rem;
}
.legal-note strong { color: var(--body); }

/* ── FOOTER ── */
.bottom-bar {
  background: #16202c;
  color: rgba(255,255,255,.55);
  padding: 2.25rem 1.5rem 1.5rem;
  font-size: .8rem;
}
.bottom-bar-row { max-width: 900px; margin: 0 auto; }
.bottom-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.bottom-brand .brand-mark { color: #fff; font-size: 1rem; display: block; margin-bottom: .6rem; }
.bottom-brand p { font-size: .78rem; line-height: 1.65; color: rgba(255,255,255,.5); }
.bottom-col h4 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.8);
  margin-bottom: .65rem;
}
.bottom-col ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.bottom-col a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .78rem; }
.bottom-col a:hover { color: #fff; }
.bottom-copy { text-align: center; font-size: .72rem; color: rgba(255,255,255,.35); }
.bottom-legal {
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  line-height: 1.65;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ── CONSENT BAR (cookies) ── */
#consent-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1c2733;
  color: #d7dce2;
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 999;
  font-size: .82rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
#consent-bar a { color: #f0a878; }
.consent-actions { display: flex; gap: .5rem; }
.consent-btn { padding: .4rem .9rem; border-radius: 5px; border: none; cursor: pointer; font-size: .8rem; font-weight: 600; font-family: inherit; }
.consent-accept { background: var(--primary); color: #fff; }
.consent-reject { background: #3a4552; color: #d7dce2; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .intro-grid     { grid-template-columns: 1fr; }
  .lead-card      { order: -1; }
  .tips-grid      { grid-template-columns: 1fr; }
  .entity-wrap    { grid-template-columns: 1fr; }
  .bottom-top     { grid-template-columns: 1fr; }
  .field-row      { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .quick-nav-row a { padding: .65rem .7rem; font-size: .72rem; }
}

/* ===== LEGAL / STORY / REACH PAGES ===== */
.doc-page, .story-page, .reach-page { padding: 4rem 1.25rem; }
.doc-page h1, .story-page h1, .reach-page h1 { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; color: var(--head); margin-bottom: .5rem; letter-spacing:-.02em; }
.doc-page .page-meta, .story-page .page-lead + .page-meta, .reach-page .page-meta { font-size:.85rem; color:var(--muted); margin-bottom:2.5rem; }
.reach-page .page-meta { margin-bottom:2rem; }
.doc-page h2, .story-page h2 { font-size:1.15rem; font-weight:700; color:var(--head); margin:2rem 0 .75rem; }
.doc-page p, .doc-page li, .story-page p, .story-page li, .reach-page p, .reach-page li { font-size:.95rem; line-height:1.75; color:var(--body); margin-bottom:.75rem; }
.doc-page ul, .story-page ul { padding-left:1.25rem; margin-bottom:.75rem; }
.doc-page a, .story-page a, .reach-page a { color:var(--primary); }
.doc-page strong, .story-page strong { color:var(--head); }

/* facts-table (aviso-legal, quienes-somos) */
.facts-table { width:100%; border-collapse:collapse; font-size:.92rem; margin:1rem 0 1.5rem; }
.facts-table td { padding:.55rem .75rem; border-bottom:1px solid var(--border); vertical-align:top; }
.facts-table td:first-child { color:var(--muted); font-weight:600; white-space:nowrap; width:38%; }
.facts-table td:last-child { color:var(--head); }

/* privacy-table (cookies) */
.privacy-table { width:100%; border-collapse:collapse; font-size:.88rem; margin:1rem 0 1.5rem; }
.privacy-table th { background:var(--bg-stone); padding:.65rem .9rem; text-align:left; font-weight:600; color:var(--head); border:1px solid var(--border); }
.privacy-table td { padding:.55rem .9rem; border:1px solid var(--border); vertical-align:top; color:var(--body); }
.privacy-table tr:nth-child(even) td { background:var(--bg-off); }

/* story-page specific */
.story-page .page-lead { font-size:1.05rem; line-height:1.75; color:var(--body); margin-bottom:2rem; }
.story-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; margin:1.5rem 0; }
.story-card { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:1.5rem; }
.story-card h3 { font-size:1rem; font-weight:700; color:var(--head); margin-bottom:.5rem; }
.story-card p  { font-size:.88rem; color:var(--body); line-height:1.6; margin:0; }
@media(max-width:600px){ .story-grid { grid-template-columns:1fr; } }

/* reach-page specific */
.reach-card { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:2rem; box-shadow:var(--shadow); margin-bottom:1.5rem; }
.reach-card h2 { font-size:1rem; font-weight:700; color:var(--head); margin-bottom:1rem; }
.reach-card ul { list-style:none; padding:0; }
