/* ===== SpinFocus — Guía Bariloche — base.css ===== */
/* Design system "Nieve y Bosque" */

:root {
  --color-bg: #F7F9FA;
  --color-surface: #FFFFFF;
  --color-ink: #16232B;
  --color-primary: #1B3A4B;
  --color-accent: #3E6E52;
  --color-accent-alt: #C97B3D;
  --color-border: #DCE3E6;
  --color-muted: #5B6B73;
  --color-winter-tint: #E7EEF2;
  --color-summer-tint: #EFF3E4;

  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-card: 12px;
  --shadow-card: 0 2px 10px rgba(22, 35, 43, 0.08);
  --transition-fast: 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
  }
}

[hidden] { display: none !important; }

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent); text-decoration-thickness: 1.5px; }
a:hover { color: var(--color-primary); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
  margin-top: 0;
}
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.5rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

:focus-visible {
  outline: 3px solid var(--color-accent-alt);
  outline-offset: 2px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== Age gate ===== */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 35, 43, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.age-gate-box {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.age-gate-box h2 { margin-top: 0; }
.age-gate-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ===== Header / Nav ===== */
.site-header {
  background: var(--color-primary);
  color: #fff;
  padding: 1rem 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.site-logo span { color: var(--color-accent-alt); }
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #EAF1F3;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--color-accent-alt);
}
.nav-toggle {
  display: none;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}
.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35rem;
}

/* ===== Main / sections ===== */
main { display: block; }
.section { padding: 2.5rem 0; }
.section-alt { background: var(--color-surface); }

/* ===== Footer ===== */
.site-footer {
  background: var(--color-primary);
  color: #EAF1F3;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}
.site-footer a { color: #CFE0E6; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-grid h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.35rem; }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #C7D5D9;
  line-height: 1.5;
}
.footer-copy {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #9FB4BB;
}

/* ===== Utility ===== */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 600;
}
.badge-18 {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.03em;
}
.placeholder-note {
  font-size: 0.78rem;
  color: var(--color-muted);
  font-style: italic;
  margin-top: 0.25rem;
}
.verify-note {
  font-family: system-ui, monospace;
  font-size: 0.72rem;
  color: var(--color-accent-alt);
  background: #FBF1E6;
  border: 1px dashed var(--color-accent-alt);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  display: inline-block;
}

@media (max-width: 720px) {
  .main-nav ul { gap: 0.4rem 0.75rem; }
  .site-header .container { flex-direction: column; align-items: flex-start; }
}
