/* ========================================
   GetDetox - Styles
   ======================================== */

:root {
  --color-primary: #1a3a4a;
  --color-primary-light: #245266;
  --color-accent: #5a8a7a;
  --color-accent-light: #7aaa9a;
  --color-warm: #c4a882;
  --color-warm-light: #dbc4a8;
  --color-bg: #faf8f5;
  --color-bg-alt: #f0ede8;
  --color-surface: #ffffff;
  --color-text: #2c2c2c;
  --color-text-light: #5a5a5a;
  --color-text-muted: #8a8a8a;
  --color-border: #e2ddd6;
  --color-dark-bg: #1a2a32;
  --color-dark-text: #e8e4df;

  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Source Serif 4', Georgia, serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

/* ---- Reset & Base ---- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ---- Navigation ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--color-border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
}

.nav-logo span {
  font-weight: 600;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-light);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary);
  color: var(--color-bg) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--color-primary-light) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  background: linear-gradient(160deg, #1a3a4a 0%, #1e4a5a 30%, #2a5a5a 60%, #3a6a5a 100%);
  overflow: hidden;
}

.hero.hero-image {
  background: url('images/hero-bg.jpg') center/cover no-repeat;
}

.hero.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26, 58, 74, 0.82) 0%, rgba(30, 74, 90, 0.75) 40%, rgba(42, 90, 90, 0.7) 100%);
  z-index: 0;
}

.hero.hero-image .hero-content,
.hero.hero-image .hero-scroll {
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(90, 138, 122, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(196, 168, 130, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(26, 58, 74, 0.4) 0%, transparent 60%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.hero-content {
  position: relative;
  max-width: 680px;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-sm);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.hero-scroll span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #ffffff;
  color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ---- Sections ---- */

.section {
  padding: var(--space-2xl) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: var(--color-dark-bg);
  color: var(--color-dark-text);
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.section-dark .section-tag {
  color: var(--color-accent-light);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.section-dark .section-header h2 {
  color: #ffffff;
}

/* Photo background headers on subpages */
.section-hero,
.section-hero * {
  color: #ffffff;
}

.section-hero .section-tag {
  color: var(--color-accent-light) !important;
}

.section-hero h1,
.section-hero .section-header h1,
.section-hero .section-header h2 {
  color: #ffffff !important;
  font-family: var(--font-display);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.section-hero p,
.section-hero .lead,
.section-hero .content-block .lead,
.section-hero .content-block p {
  color: rgba(255, 255, 255, 0.75) !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.section-hero .breadcrumb,
.section-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ---- Content Blocks ---- */

.content-block {
  margin-bottom: var(--space-xl);
}

.content-block h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.content-block p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  max-width: 72ch;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text) !important;
}

/* ---- Two Column ---- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.col-text p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

/* ---- Info Card ---- */

.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.6;
}

.info-note {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-text-muted);
}

/* ---- Timeline ---- */

.timeline {
  margin-bottom: var(--space-xl);
}

.timeline h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.timeline-item {
  position: relative;
  padding: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.timeline-phase {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.timeline-time {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.timeline-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.timeline-item p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ---- Cards ---- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.card-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md) var(--space-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Severity card accents */
.card-mild { border-top: 3px solid var(--color-accent-light); }
.card-moderate { border-top: 3px solid var(--color-warm); }
.card-severe { border-top: 3px solid #b56a5a; }

/* ---- Callout ---- */

.callout {
  background: var(--color-surface);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  margin-top: var(--space-lg);
}

.callout p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ---- Warning Banner ---- */

.warning-banner {
  background: linear-gradient(135deg, #3a1a1a, #4a2a2a);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: #f0d0c0;
}

.warning-banner h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: #f5d5c5;
  margin-bottom: var(--space-xs);
}

.warning-banner p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #d0b0a0;
}

/* ---- Styled List ---- */

.styled-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-light);
}

.styled-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 1px;
  background: var(--color-accent);
}

/* ---- Help Section ---- */

.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.help-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: var(--space-md);
}

.help-content p {
  color: rgba(232, 228, 223, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
}

.help-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.help-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.help-card h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-xs);
}

.help-phone {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: var(--space-xs);
  transition: color var(--transition);
}

.help-phone:hover {
  color: var(--color-accent-light);
}

.help-action {
  font-size: 1.2rem;
  color: #ffffff !important;
  margin-bottom: var(--space-xs) !important;
}

.help-card > p:last-child {
  font-size: 0.85rem;
  color: rgba(232, 228, 223, 0.5);
}

/* ---- Footer ---- */

.footer {
  background: #141e24;
  padding: var(--space-xl) 0 var(--space-lg);
  color: rgba(232, 228, 223, 0.5);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.footer-brand .nav-logo span {
  color: rgba(232, 228, 223, 0.8);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 228, 223, 0.3);
  margin-bottom: var(--space-xs);
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(232, 228, 223, 0.5);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: rgba(232, 228, 223, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* ---- Image Break Sections ---- */

.image-break {
  position: relative;
  height: 360px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.image-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 42, 50, 0.3), rgba(26, 42, 50, 0.15));
}

.image-break.image-break-sm {
  height: 240px;
}

.image-break-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: var(--space-md);
}

.image-break-content blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: #ffffff;
  max-width: 640px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

/* Section with background image */
.section-image {
  position: relative;
  background-size: cover;
  background-position: center;
}

.section-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 248, 245, 0.92);
}

.section-image > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 680px) {
  .image-break {
    height: 240px;
    background-attachment: scroll;
  }
  .image-break.image-break-sm {
    height: 180px;
  }
}

/* ---- Subpage Header ---- */

.page-header {
  padding: 10rem 0 var(--space-xl);
  background: linear-gradient(160deg, #1a3a4a 0%, #1e4a5a 30%, #2a5a5a 60%, #3a6a5a 100%);
  position: relative;
  overflow: hidden;
}

.page-header.page-header-image {
  background-size: cover;
  background-position: center;
}

.page-header.page-header-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26, 58, 74, 0.85) 0%, rgba(30, 74, 90, 0.78) 40%, rgba(42, 90, 90, 0.72) 100%);
}

.page-header.page-header-image .container {
  position: relative;
  z-index: 1;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(90, 138, 122, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(196, 168, 130, 0.15) 0%, transparent 50%);
}

.page-header .container {
  position: relative;
}

.page-header .breadcrumb {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-sm);
}

.page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.page-header .breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb span {
  margin: 0 0.4rem;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
  max-width: 720px;
}

.page-header .page-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin-top: var(--space-md);
}

/* ---- Internal Links ---- */

.content-link {
  color: var(--color-accent);
  font-weight: 500;
  transition: color var(--transition);
}

.content-link:hover {
  color: var(--color-accent-light);
}

/* ---- Cookie Banner ---- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-dark-bg);
  color: var(--color-dark-text);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  max-width: 680px;
  color: rgba(232, 228, 223, 0.7);
}

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

.cookie-banner button {
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  padding: 0.5rem 1.4rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}

.cookie-banner button:hover {
  background: var(--color-accent-light);
}

@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md);
    text-align: center;
  }
}

/* ---- Animations ---- */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.three-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .help-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    gap: 0;
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    font-size: 1rem;
  }

  .nav-links a:last-child {
    border-bottom: none;
    margin-top: var(--space-xs);
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid.two-col,
  .card-grid.three-col {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 90vh;
    padding: 7rem var(--space-md) var(--space-xl);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
  }

  /* Subpage headers on mobile */
  .section-hero h1,
  .page-header h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .section-hero .lead,
  .page-header .page-intro {
    font-size: 0.95rem;
  }

  /* Section spacing on mobile */
  .section {
    padding: var(--space-xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-lg);
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .content-block h3 {
    font-size: 1.25rem;
  }

  /* Cards - better touch targets and spacing */
  .card {
    padding: var(--space-md);
  }

  .timeline-item {
    padding: var(--space-md);
  }

  /* Help section on mobile */
  .help-phone {
    font-size: 1.5rem;
  }

  .help-content h2 {
    font-size: 1.8rem;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links a {
    padding: 0.3rem 0;
    font-size: 0.95rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* Callout and warning on mobile */
  .callout {
    padding: var(--space-md);
  }

  .warning-banner {
    padding: var(--space-md);
  }

  /* Info card on mobile */
  .info-card {
    padding: var(--space-md);
  }

  /* Image breaks on mobile */
  .image-break-content blockquote {
    font-size: 1.2rem;
    padding: 0 var(--space-sm);
  }

  /* Styled lists - more tap space */
  .check-list li,
  .styled-list li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }
}
