/* ── N-600K.CO — Sitio en español ─────────────────────────── */

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

:root {
  --ink:   #0f1117;
  --paper: #f5f0e8;
  --gold:  #b8963e;
  --gold-light: #d4af62;
  --muted: #6b6459;
  --rule:  #d0c9bb;
  --seal:  #1a2744;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; }

/* ── NAV ── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(245,240,232,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  gap: 2rem;
}
.nav-logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem; letter-spacing: .04em;
  color: var(--seal); text-decoration: none;
  white-space: nowrap;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex; gap: 2rem; align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: .82rem; letter-spacing: .04em;
  color: var(--seal); text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--seal); text-decoration: none;
  border: 1px solid var(--seal); padding: .45rem 1.1rem;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--seal); color: var(--paper); }

/* ── HERO (homepage) ── */
.hero {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 8rem 4rem 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(184,150,62,.09) 0%, transparent 65%),
    var(--paper);
  position: relative;
}
.hero::before {
  content: 'N-600K';
  position: absolute; top: 50%; left: -1rem;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-family: 'Libre Baskerville', serif;
  font-size: 7rem; font-weight: 700;
  color: rgba(184,150,62,.07);
  letter-spacing: .2em; white-space: nowrap;
  pointer-events: none;
}
.hero-inner {
  max-width: 880px; text-align: center;
  animation: fadeUp .9s ease both;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  padding: .3rem 1.2rem; margin-bottom: 2rem;
}
.hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.18;
  color: var(--seal);
  margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1.05rem; color: var(--muted);
  max-width: 640px; margin: 0 auto 2.8rem;
}
.btn-primary {
  display: inline-block;
  background: var(--seal); color: var(--paper);
  font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  padding: .85rem 2.2rem;
  transition: background .22s, transform .18s;
}
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); }
.hero-stats {
  display: flex; gap: 3rem; justify-content: center;
  margin-top: 4rem; padding-top: 3rem;
  border-top: 1px solid var(--rule);
  animation: fadeUp .9s .3s ease both;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.4rem; font-weight: 700;
  color: var(--seal); display: block;
}
.stat-num span { color: var(--gold); }
.stat-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ── PAGE HEADER (subpages) ── */
.page-header {
  padding: 9rem 4rem 4rem;
  background:
    radial-gradient(ellipse 60% 50% at 30% 60%, rgba(184,150,62,.08) 0%, transparent 65%),
    var(--paper);
  border-bottom: 1px solid var(--rule);
}
.page-header-inner {
  max-width: 900px; margin: 0 auto;
}
.breadcrumb {
  font-size: .78rem; letter-spacing: .1em; color: var(--muted);
  margin-bottom: 1.2rem;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  padding: .3rem 1.2rem; margin-bottom: 1.8rem;
}
.page-header h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.2;
  color: var(--seal);
  margin-bottom: 1.2rem;
}
.page-header .page-lede {
  font-size: 1.1rem; color: var(--muted);
  max-width: 720px;
}

/* ── DIVIDER ── */
.ornament {
  display: flex; align-items: center; gap: 1rem;
  max-width: 200px; margin: 0 auto;
}
.ornament::before, .ornament::after {
  content: ''; flex: 1; height: 1px; background: var(--rule);
}
.ornament-diamond {
  width: 8px; height: 8px; background: var(--gold);
  transform: rotate(45deg); flex-shrink: 0;
}

/* ── SECTIONS ── */
section { padding: 5rem 4rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.content-inner { max-width: 800px; margin: 0 auto; }
.section-label {
  font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .8rem;
}
.section-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--seal); line-height: 1.25; margin-bottom: 1.4rem;
}
.section-body {
  font-size: 1rem; color: var(--muted); max-width: 680px; line-height: 1.75;
}

/* ── PROSE (subpages) ── */
.prose {
  font-size: 1.02rem; color: #2a2c33; line-height: 1.8;
}
.prose h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.6rem; color: var(--seal);
  margin-top: 2.6rem; margin-bottom: 1rem;
  line-height: 1.3;
}
.prose h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.2rem; color: var(--seal);
  margin-top: 2rem; margin-bottom: .8rem;
}
.prose p { margin-bottom: 1.2rem; color: var(--muted); }
.prose strong { color: var(--seal); font-weight: 600; }
.prose em { color: var(--seal); }
.prose ul, .prose ol { margin: 1.2rem 0 1.5rem 1.8rem; color: var(--muted); }
.prose li { margin-bottom: .6rem; line-height: 1.7; }
.prose a {
  color: var(--seal); text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  transition: color .2s;
}
.prose a:hover { color: var(--gold); }
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: .4rem 1.5rem;
  margin: 1.8rem 0;
  font-style: italic; color: var(--seal);
  background: rgba(184,150,62,.05);
}
.prose .law-ref {
  display: inline-block; margin: .4rem 0;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--seal); border: 1px solid var(--rule);
  padding: .35rem .9rem;
}

.callout {
  border: 1px solid var(--rule);
  background: #fff;
  padding: 1.8rem 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--gold);
}
.callout h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem; color: var(--seal);
  margin-bottom: .8rem;
}
.callout.urgent {
  border-left-color: #b13939;
  background: #fff8f6;
}
.callout.urgent h3 { color: #b13939; }

/* ── OVERVIEW ── */
.overview { background: var(--seal); color: var(--paper); }
.overview .section-label { color: var(--gold-light); }
.overview .section-title { color: var(--paper); }
.overview .section-body { color: rgba(245,240,232,.78); max-width: 100%; }
.overview-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: start;
}
.overview-right p { margin-bottom: 1.1rem; }
.law-ref-light {
  display: inline-block; margin-top: 1.5rem;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-light); border: 1px solid rgba(184,150,62,.35);
  padding: .35rem .9rem;
}

/* ── REQUIREMENTS GRID ── */
.req-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.req-card {
  background: #fff; border: 1px solid var(--rule);
  padding: 2rem 1.8rem;
  transition: box-shadow .25s, transform .2s;
  position: relative;
}
.req-card:hover { box-shadow: 0 8px 32px rgba(15,17,23,.08); transform: translateY(-3px); }
.req-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
}
.req-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 2rem; color: rgba(184,150,62,.25);
  font-weight: 700; display: block; margin-bottom: .5rem;
}
.req-card h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem; color: var(--seal); margin-bottom: .6rem;
}
.req-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ── PROCESS STEPS ── */
.process { background: #faf7f2; }
.process-steps {
  margin-top: 3rem; display: flex; flex-direction: column; gap: 0;
  max-width: 760px;
}
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--rule);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 40px; height: 40px;
  background: var(--seal); color: var(--paper);
  font-family: 'Libre Baskerville', serif; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: .2rem;
}
.step h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.05rem; color: var(--seal); margin-bottom: .4rem;
}
.step p { font-size: .92rem; color: var(--muted); }

/* ── MANDAMUS ── */
.mandamus { background: var(--ink); color: var(--paper); }
.mandamus .section-label { color: var(--gold-light); }
.mandamus .section-title { color: var(--paper); }
.mandamus-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.mandamus-body { font-size: 1rem; color: rgba(245,240,232,.75); line-height: 1.8; }
.mandamus-body p { margin-bottom: 1.1rem; }
.mandamus-callout {
  border: 1px solid rgba(184,150,62,.4);
  padding: 2.2rem 2rem;
  background: rgba(184,150,62,.05);
}
.mandamus-callout h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.2rem; color: var(--gold-light); margin-bottom: 1rem;
}
.mandamus-callout p { font-size: .9rem; color: rgba(245,240,232,.72); line-height: 1.7; margin-bottom: .8rem; }
.mandamus-callout p:last-child { margin-bottom: 0; }

/* ── ATTORNEY ── */
.attorney-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.attorney-badge {
  background: var(--seal);
  padding: 3.5rem 3rem;
  color: var(--paper); text-align: center;
}
.badge-title {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1.2rem; display: block;
}
.badge-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.9rem; line-height: 1.25; margin-bottom: .5rem;
}
.badge-sub {
  font-size: .85rem; color: rgba(245,240,232,.6);
  margin-bottom: 2rem;
}
.badge-divider { width: 40px; height: 1px; background: var(--gold); margin: 0 auto 2rem; }
.badge-stat { margin-bottom: 1.2rem; }
.badge-stat-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.6rem; color: var(--gold-light); display: block; line-height: 1;
}
.badge-stat-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(245,240,232,.55); }
.attorney-text h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.6rem; color: var(--seal); margin-bottom: 1rem;
}
.attorney-text p { font-size: .98rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.75; }
.attorney-links { margin-top: 2rem; display: flex; flex-direction: column; gap: .6rem; }
.attorney-link {
  font-size: .88rem; color: var(--seal); text-decoration: none;
  display: flex; align-items: center; gap: .5rem;
  border-bottom: 1px solid var(--rule); padding-bottom: .6rem;
  transition: color .2s;
}
.attorney-link:hover { color: var(--gold); }
.attorney-link svg { flex-shrink: 0; }

/* ── RELATED PAGES ── */
.related { background: #faf7f2; padding: 5rem 4rem; border-top: 1px solid var(--rule); }
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem; margin-top: 2.5rem;
}
.related-card {
  background: #fff; border: 1px solid var(--rule);
  padding: 1.6rem 1.5rem;
  text-decoration: none; color: var(--seal);
  display: block;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15,17,23,.06);
  border-color: var(--gold);
}
.related-card-label {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .5rem; display: block;
}
.related-card h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem; color: var(--seal); line-height: 1.35;
}

/* ── CTA FOOTER ── */
.cta-section {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  text-align: center; padding: 5rem 4rem;
}
.cta-section .section-title { margin-bottom: .8rem; }
.cta-section .section-body { margin: 0 auto 2.5rem; }
.cta-email {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.4rem; color: var(--seal);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: .2rem;
  transition: color .2s;
}
.cta-email:hover { color: var(--gold); }

/* ── SITE FOOTER ── */
footer.site-footer {
  background: var(--ink); color: rgba(245,240,232,.62);
  padding: 4rem 3rem 1.8rem;
  font-size: .9rem;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245,240,232,.1);
}
.footer-col h4 {
  font-family: 'Libre Baskerville', serif;
  font-size: .92rem; color: var(--gold-light);
  margin-bottom: 1rem; letter-spacing: .04em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .55rem; line-height: 1.45; }
.footer-col a {
  color: rgba(245,240,232,.62); text-decoration: none;
  font-size: .82rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-brand {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.05rem; color: var(--paper);
  margin-bottom: .8rem;
}
.footer-brand span { color: var(--gold); }
.footer-tag {
  font-size: .82rem; color: rgba(245,240,232,.55);
  line-height: 1.6; margin-bottom: 1rem;
}
.footer-mainsite {
  display: inline-block;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-light); border: 1px solid rgba(184,150,62,.4);
  padding: .4rem 1rem; text-decoration: none;
  margin-top: .5rem;
  transition: background .2s, color .2s;
}
.footer-mainsite:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 1.8rem;
  text-align: center;
}
.footer-bottom p {
  font-size: .8rem; color: rgba(245,240,232,.4);
  letter-spacing: .04em;
}
.footer-bottom .disclaimer {
  font-size: .72rem; color: rgba(245,240,232,.28);
  margin-top: .8rem;
  max-width: 760px; margin-left: auto; margin-right: auto;
  line-height: 1.6;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  nav.site-nav { padding: 1rem 1.5rem; gap: 1rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: .76rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  nav.site-nav { padding: .9rem 1rem; flex-wrap: wrap; }
  .nav-links { display: none; }
  section { padding: 4rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero::before { display: none; }
  .hero-stats { gap: 1.8rem; }
  .page-header { padding: 7rem 1.5rem 3rem; }
  .overview-grid,
  .mandamus-inner,
  .attorney-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .req-grid { grid-template-columns: 1fr; }
  .related { padding: 4rem 1.5rem; }
  .cta-section { padding: 4rem 1.5rem; }
  footer.site-footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
}
