/* ============================================================
   CHOIX EXPERT FR — Agrégateur Court
   Dark Editorial Theme
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-primary: #0f0f0f;
  --bg-secondary: #151515;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222;
  --bg-surface: #1e1e1e;
  --bg-elevated: #252525;
  --text-primary: #f0f0f0;
  --text-secondary: #bbb;
  --text-muted: #888;
  --accent: #c8a45c;
  --accent-hover: #d4b472;
  --accent-dim: #a08040;
  --border: #2a2a2a;
  --border-light: #333;
  --border-accent: #c8a45c33;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Courier New', monospace;
  --max-width: 1200px;
  --content-width: 800px;
  --radius: 6px;
  --radius-sm: 4px;
  --radius-lg: 10px;
  --transition: 0.2s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Utility Rows --- */
.utility-row {
  background: var(--bg-secondary);
  padding: 6px 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.utility-row .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-row span {
  display: inline-block;
}

/* --- Age Warning Banner --- */
.age-warning-banner {
  background: #d4534f;
  padding: 14px 0;
  font-size: 0.95rem;
  color: #fff;
  border-bottom: 2px solid #c43d38;
}

.age-warning-banner .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.age-warning-banner p {
  margin-bottom: 0;
  font-weight: 500;
  line-height: 1.5;
}

.age-warning-banner strong {
  font-weight: 700;
}

/* ============================================================
   HEADER — Magazine Masthead + Split Menu
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.masthead {
  padding: 20px 0 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.masthead .site-logo {
  display: inline-block;
}

.masthead .site-logo img {
  height: 56px;
  width: auto;
}

.masthead .tagline {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* --- Navigation --- */
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  position: relative;
}

.main-nav .nav-left,
.main-nav .nav-right {
  display: flex;
  gap: 0;
}

.main-nav .nav-left a,
.main-nav .nav-right a {
  display: block;
  padding: 12px 18px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.main-nav .nav-left a:hover,
.main-nav .nav-right a:hover {
  color: var(--accent);
  background: var(--bg-card);
}

.main-nav .nav-center {
  display: none;
}

/* Burger */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--text-primary);
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: transform var(--transition);
}

/* ============================================================
   HERO — Editorial Magazine
   ============================================================ */
.hero {
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent);
}

.hero h1 {
  font-size: 2.4rem;
  max-width: 700px;
  margin: 0 auto 1.2rem;
  line-height: 1.25;
}

.hero .lead {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 11px 28px;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--accent);
  color: #0f0f0f;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #0f0f0f;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  margin-bottom: 0.25rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 500px;
  margin: 0 auto;
}

/* --- Explanation Section --- */
.explanation-text {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Criteria Grid --- */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.criteria-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}

.criteria-item:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.criteria-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  background: var(--bg-elevated);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.criteria-icon svg {
  width: 20px;
  height: 20px;
}

.criteria-item h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.criteria-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- Cards Grid (1 Column) --- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 520px;
  margin: 0 auto;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.card-logo {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 16px;
}

.card-logo img {
  max-height: 110px;
  max-width: 200px;
  object-fit: contain;
}

.card-anj {
  font-size: 0.68rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-anj .anj-label {
  display: block;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.card h3 {
  font-size: 1.1rem;
  font-family: var(--font-serif);
  margin-bottom: 10px;
  text-align: center;
}

.card-description {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  flex-grow: 1;
}

.card-criteria {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.card-criteria span {
  font-size: 0.7rem;
  padding: 3px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
}

.card .btn {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  transition: all var(--transition);
}

.card .btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200, 164, 92, 0.05);
}

/* --- FAQ --- */
.faq-list {
  max-width: 650px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 16px;
}

.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.7;
}

/* --- Pre-footer Info --- */
.pre-footer {
  background: var(--bg-secondary);
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.pre-footer-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.pre-footer-content h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.pre-footer-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

/* --- Footer Resources --- */
.footer-resources {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-resources h3 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.footer-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.footer-resources-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.footer-resources-grid a:hover {
  border-color: var(--border-accent);
}

.footer-resources-grid img {
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
}

/* ============================================================
   FOOTER — Newspaper/Editorial
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 2px solid var(--border);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-bottom .disclaimer {
  color: var(--accent-dim);
  font-weight: 600;
  font-size: 0.78rem;
}

/* ============================================================
   AGE GATE
   ============================================================ */
.age-gate-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.age-gate-overlay.active {
  display: flex;
}

.age-gate-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.age-gate-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.age-gate-modal p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.age-gate-actions .btn {
  min-width: 120px;
}

.btn-accept {
  background: var(--accent);
  color: #0f0f0f;
  border: none;
}

.btn-accept:hover {
  background: var(--accent-hover);
  color: #0f0f0f;
}

.btn-decline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-decline:hover {
  border-color: #c0392b;
  color: #c0392b;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 20px;
  z-index: 9998;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

.cookie-banner.active {
  display: block;
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  flex: 1;
  min-width: 250px;
}

.cookie-banner p a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-actions .btn {
  font-size: 0.78rem;
  padding: 8px 18px;
}

.btn-cookie-accept {
  background: var(--accent);
  color: #0f0f0f;
  border: none;
}

.btn-cookie-accept:hover {
  background: var(--accent-hover);
  color: #0f0f0f;
}

.btn-cookie-decline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-cookie-decline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   INTERNAL PAGES
   ============================================================ */
.page-hero {
  padding: 50px 0 30px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.page-hero h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.page-content {
  padding-bottom: 60px;
}

.page-content h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  font-family: var(--font-sans);
}

.page-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.page-content ul, 
.page-content ol {
  margin: 0 0 1rem 1.5rem;
  color: var(--text-secondary);
}

.page-content ul li,
.page-content ol li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.page-content ul {
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.page-content strong {
  color: var(--text-primary);
}

.page-content a {
  color: var(--accent);
  text-decoration: underline;
}

/* --- Intermediary Page --- */
.intermediary-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  text-align: center;
  padding: 40px 20px;
}

.intermediary-content {
  max-width: 500px;
}

.intermediary-content h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.intermediary-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.intermediary-content .loader {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 20px 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.intermediary-content .btn {
  margin-top: 20px;
}

/* ============================================================
   CLOUDFLARE TURNSTILE
   ============================================================ */
#cf-challenge {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: opacity 0.4s ease;
}

#cf-challenge.dismissed {
  opacity: 0;
  pointer-events: none;
}

#cf-challenge .cf-card {
  width: 100%;
  max-width: 480px;
  padding: 24px;
  text-align: center;
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(20, 20, 20, 0.85);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

#cf-challenge .cf-widget-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

#cf-challenge .cf-ts-container {
  display: flex;
  justify-content: center;
  min-height: 72px;
}

/* Accéder button */
#cf-challenge .cf-access-btn {
  width: 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  height: 48px;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border: none;
  cursor: default;
  transition: all 0.2s ease;
  padding: 0;
  text-decoration: none;
}

#cf-challenge .cf-access-btn.active {
  background: linear-gradient(180deg, #ffec3c 0%, #e39800 100%);
  box-shadow: 3px 3px 0 0 #fff;
  cursor: pointer;
  color: #000;
}

#cf-challenge .cf-access-btn.active:hover {
  background: linear-gradient(180deg, #fff04d 0%, #d49100 100%);
}

/* Turnstile spinner animation */
@keyframes cf-ts-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 200;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--bg-card);
  z-index: 201;
  transition: right 0.3s ease;
  padding: 60px 24px 24px;
  overflow-y: auto;
  border-left: 1px solid var(--border);
}

.mobile-menu-drawer.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.mobile-menu-drawer ul li {
  margin-bottom: 4px;
}

.mobile-menu-drawer ul li a {
  display: block;
  padding: 12px 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.mobile-menu-drawer ul li a:hover {
  background: var(--bg-surface);
  color: var(--accent);
}

/* ============================================================
   THANK YOU / MERCI PAGE
   ============================================================ */
.thank-you-section {
  text-align: center;
  padding: 40px 0 60px;
}

.thank-you-section .thank-you-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
}

.thank-you-section .thank-you-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .criteria-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-resources-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  
  .utility-row span:last-child {
    display: none;
  }
  
  .masthead {
    padding: 14px 0 12px;
  }
  
  .masthead .site-logo img {
    height: 44px;
  }
  
  .main-nav .nav-left,
  .main-nav .nav-right {
    display: none;
  }
  
  .burger-btn {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .main-nav {
    justify-content: flex-start;
    padding: 8px 0;
  }
  
  .hero {
    padding: 40px 0 35px;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .hero .lead {
    font-size: 0.9rem;
  }
  
  .section {
    padding: 35px 0;
  }
  
  .criteria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }

  .age-gate-modal {
    padding: 28px 20px;
  }

  .age-gate-actions {
    flex-direction: column;
  }

  .age-gate-actions .btn {
    width: 100%;
  }

  .page-hero h1 {
    font-size: 1.4rem;
  }
}

/* Small Mobile */
@media (max-width: 430px) {
  .criteria-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop cards - 1 column centered */
@media (min-width: 769px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

/* Desktop criteria 3+2 */
@media (min-width: 769px) {
  .criteria-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .criteria-grid .criteria-item:nth-child(4) {
    grid-column: 2;
  }
  
  .criteria-grid .criteria-item:nth-child(5) {
    grid-column: 3;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  .age-gate-overlay,
  .cookie-banner,
  .burger-btn,
  .mobile-menu-overlay,
  .mobile-menu-drawer {
    display: none !important;
  }
  
  body {
    background: #fff;
    color: #000;
  }
}
