/* ============================================================
   SANAGIRI V2 — MAIN STYLES
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--cream-border); border-radius: 99px; }

/* ── TOP TICKER ── */
.ticker-bar {
  background: var(--stone);
  color: var(--saffron-glow);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
}
.ticker-inner {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  padding-left: 100%;
}
.ticker-inner span { opacity: .6; margin: 0 8px; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250,246,239,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-border);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--s4);
  height: 66px;
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-emblem {
  width: 40px; height: 40px;
  background: var(--stone);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-emblem svg { width: 22px; height: 22px; }
.logo-wordmark { line-height: 1.1; }
.logo-en {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--stone);
  letter-spacing: -.01em;
}
.logo-ta {
  font-family: var(--font-tamil);
  font-size: 12px;
  color: var(--saffron);
  letter-spacing: .02em;
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.nav-link {
  padding: 6px 13px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mid);
  transition: all var(--ease);
  white-space: nowrap;
}
.nav-link:hover { color: var(--stone); background: var(--cream-deep); }
.nav-link.active { color: var(--saffron); background: rgba(212,130,10,.08); }

.header-right { display: flex; align-items: center; gap: var(--s1); flex-shrink: 0; }

.lang-btn {
  padding: 6px 14px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--cream-border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--stone);
  transition: all var(--ease);
  font-family: var(--font-tamil);
}
.lang-btn:hover { border-color: var(--saffron); color: var(--saffron); }

.menu-btn {
  display: none;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  color: var(--stone);
  font-size: 20px;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--stone);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(28,26,23,.85) 40%, rgba(28,26,23,.3) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: var(--s6) var(--s4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  align-items: center;
  width: 100%;
}
.hero-content { color: var(--white); }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--saffron-glow);
  margin-bottom: var(--s2);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1.5px;
  background: var(--saffron-glow);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.02em;
  margin-bottom: var(--s2);
}
.hero-title em {
  font-style: italic;
  color: var(--saffron-glow);
}
.hero-tamil {
  font-family: var(--font-tamil);
  font-size: clamp(22px, 3vw, 38px);
  color: rgba(255,255,255,.55);
  margin-bottom: var(--s3);
  display: block;
}
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: var(--s4);
}
.hero-actions { display: flex; gap: var(--s2); flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
  align-self: center;
}
.hero-stat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: var(--s3);
  backdrop-filter: blur(8px);
  transition: all var(--ease);
}
.hero-stat-card:hover { background: rgba(255,255,255,.11); }
.hero-stat-icon { font-size: 28px; margin-bottom: 8px; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--saffron-glow);
  line-height: 1;
  display: block;
}
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--ease);
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  letter-spacing: .01em;
}
.btn-gold {
  background: var(--saffron);
  color: var(--white);
}
.btn-gold:hover { background: var(--saffron-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,130,10,.35); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline-white:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }
.btn-stone { background: var(--stone); color: var(--white); }
.btn-stone:hover { background: var(--stone-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--cream-border);
  color: var(--text-mid);
}
.btn-outline:hover { border-color: var(--stone); color: var(--stone); }
.btn-lotus { background: var(--lotus); color: var(--white); }
.btn-lotus:hover { background: var(--lotus-lt); transform: translateY(-1px); }
.btn-sm { padding: 7px 16px; font-size: 13px; border-radius: var(--r-sm); }
.btn-danger-soft { background: rgba(198,40,40,.1); color: var(--error); border: 1px solid rgba(198,40,40,.2); }
.btn-danger-soft:hover { background: rgba(198,40,40,.18); }

/* ── SECTION LAYOUT ── */
.section { padding: var(--s6) var(--s4); }
.section-cream { background: var(--cream); }
.section-deep { background: var(--cream-deep); }
.section-dark { background: var(--stone); color: var(--white); }
.container { max-width: 1320px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: var(--s2);
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 1.5px;
  background: var(--saffron);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--stone);
  margin-bottom: var(--s2);
}
.section-dark .section-title { color: var(--white); }
.section-sub {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 520px;
  line-height: 1.75;
}
.section-dark .section-sub { color: rgba(255,255,255,.55); }
.section-header { margin-bottom: var(--s5); }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-bottom: var(--s5);
}

/* ── FEATURE STRIP ── */
.feature-strip {
  background: var(--stone);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature-item {
  padding: var(--s4) var(--s3);
  border-right: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  transition: background var(--ease);
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: rgba(255,255,255,.04); }
.feature-icon {
  width: 44px; height: 44px;
  background: rgba(212,130,10,.15);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.feature-text-label { font-size: 11px; color: rgba(255,255,255,.4); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.feature-text-val { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--white); }

/* ── ABOUT SPLIT ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--stone);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual-inner { text-align: center; padding: var(--s4); }
.about-visual-icon { font-size: 80px; opacity: .6; }
.about-visual-caption { font-family: var(--font-tamil); font-size: 15px; color: rgba(255,255,255,.4); margin-top: var(--s2); }
.about-content p { font-size: 15px; color: var(--text-mid); line-height: 1.85; margin-bottom: var(--s2); }
.about-pills { display: flex; gap: var(--s1); flex-wrap: wrap; margin-top: var(--s3); }
.pill {
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(212,130,10,.1);
  color: var(--saffron);
  border: 1px solid rgba(212,130,10,.2);
}

/* ── SEARCH ── */
.search-wrap {
  position: relative;
  max-width: 520px;
}
.search-wrap input {
  width: 100%;
  padding: 13px 20px 13px 46px;
  border: 1.5px solid var(--cream-border);
  border-radius: var(--r-full);
  font-size: 14.5px;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color var(--ease);
}
.search-wrap input:focus { border-color: var(--saffron); }
.search-wrap input::placeholder { color: var(--text-soft); }
.search-icon-wrap {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-soft);
  font-size: 17px;
  pointer-events: none;
}

/* ── CAT TABS ── */
.cat-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cat-tab {
  padding: 7px 18px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--cream-border);
  color: var(--text-mid);
  background: var(--white);
  transition: all var(--ease);
}
.cat-tab:hover { border-color: var(--stone); color: var(--stone); }
.cat-tab.active { background: var(--stone); color: var(--white); border-color: var(--stone); }

/* ── CARD GRID ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: var(--s3); }
.cards-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--cream-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,130,10,.25);
}
.card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  position: relative;
  overflow: hidden;
}
.card-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: var(--s3); flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--saffron);
}
.card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--stone);
  line-height: 1.2;
}
.card-desc { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; flex: 1; }
.card-meta { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: 4px; }
.card-meta-item { font-size: 12px; color: var(--text-soft); display: flex; align-items: center; gap: 4px; }
.card-foot {
  padding: var(--s2) var(--s3);
  border-top: 1px solid var(--cream-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s1);
}

/* ── NEWS GRID ── */
.news-featured {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--s3);
  margin-bottom: var(--s3);
}
.news-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--cream-border);
  padding: var(--s3);
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  transition: all var(--ease);
}
.news-card:hover { box-shadow: var(--shadow-md); border-color: rgba(212,130,10,.2); }
.news-card.large { padding: var(--s4); }
.news-date { font-size: 11.5px; font-weight: 600; color: var(--saffron); letter-spacing: .04em; }
.news-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--stone);
  line-height: 1.25;
}
.news-card.large .news-title { font-size: 26px; }
.news-card:not(.large) .news-title { font-size: 17px; }
.news-excerpt { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.news-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(212,130,10,.1);
  color: var(--saffron);
  width: fit-content;
}
.news-secondary { display: flex; flex-direction: column; gap: var(--s2); }

/* ── EMERGENCY ── */
.emergency-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--s2); }
.emergency-card {
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s2);
  text-align: center;
  transition: all var(--ease);
}
.emergency-card:hover { border-color: rgba(184,76,110,.3); box-shadow: 0 4px 20px rgba(184,76,110,.1); transform: translateY(-2px); }
.emergency-icon { font-size: 30px; margin-bottom: 8px; }
.emergency-name { font-size: 13px; font-weight: 600; color: var(--stone); margin-bottom: 4px; }
.emergency-num { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--lotus); display: block; margin: 6px 0; }
.emergency-num a { color: inherit; }

/* ── GOVT TABLE ── */
.govt-table-wrap {
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.govt-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.govt-table th {
  background: var(--stone);
  color: rgba(255,255,255,.75);
  padding: 13px 18px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.govt-table td { padding: 14px 18px; border-bottom: 1px solid var(--cream-border); color: var(--text); vertical-align: middle; }
.govt-table tr:last-child td { border-bottom: none; }
.govt-table tr:hover td { background: var(--cream); }

/* ── MAP ── */
.map-wrap { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--cream-border); height: 400px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── FOOTER ── */
.site-footer { background: var(--stone); color: rgba(255,255,255,.6); padding: var(--s5) var(--s4) var(--s3); }
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s5);
  padding-bottom: var(--s4);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: var(--s4);
}
.footer-brand-name { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.footer-brand-ta { font-family: var(--font-tamil); font-size: 13px; color: var(--saffron-glow); margin-bottom: var(--s2); }
.footer-brand-desc { font-size: 13.5px; line-height: 1.75; }
.footer-col h4 { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: var(--s2); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.5); transition: color var(--ease); }
.footer-links a:hover { color: var(--saffron-glow); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: var(--s1);
}
.footer-bottom a { color: var(--saffron-glow); }

/* ── MOBILE NAV ── */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 300px; height: 100vh;
  background: var(--white);
  z-index: 500;
  transform: translateX(-100%);
  transition: transform var(--ease-slow);
  padding: var(--s4) var(--s3);
  overflow-y: auto;
  border-right: 1px solid var(--cream-border);
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; margin-top: var(--s4); }
.drawer-nav a {
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  display: flex; align-items: center; gap: 10px;
  transition: all var(--ease);
}
.drawer-nav a:hover { background: var(--cream-deep); color: var(--stone); }
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(28,26,23,.45);
  z-index: 499;
  display: none;
  backdrop-filter: blur(2px);
}
.drawer-overlay.open { display: block; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(28,26,23,.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s3);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
  backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(16px);
  transition: transform var(--ease);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-head {
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--cream-border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--stone); }
.modal-close { font-size: 20px; color: var(--text-soft); transition: color var(--ease); }
.modal-close:hover { color: var(--stone); }
.modal-body { padding: var(--s4); }

/* ── FORM FIELDS ── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; color: var(--text-mid); letter-spacing: .05em; text-transform: uppercase; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--cream-border);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--saffron); }
.field textarea { resize: vertical; }
.fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }

/* ── TOAST ── */
#toast-wrap {
  position: fixed;
  bottom: var(--s4); right: var(--s4);
  z-index: 2000;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--stone);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: toastIn .3s ease forwards;
  pointer-events: all;
  max-width: 320px;
}
.toast.success { border-left: 3px solid #4CAF50; }
.toast.error   { border-left: 3px solid var(--error); }
.toast.info    { border-left: 3px solid var(--saffron); }
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── STATES ── */
.loading-state { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 60px 20px; color: var(--text-soft); font-size: 14px; grid-column: 1/-1; }
.spinner { width: 22px; height: 22px; border: 2.5px solid var(--cream-border); border-top-color: var(--saffron); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { text-align: center; padding: 60px 20px; grid-column: 1/-1; }
.empty-icon { font-size: 44px; margin-bottom: var(--s2); }
.empty-title { font-family: var(--font-display); font-size: 22px; color: var(--stone); margin-bottom: 6px; }
.empty-sub { font-size: 14px; color: var(--text-soft); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s4); }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .about-split { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .feature-item:nth-child(2) { border-right: none; }
  .news-featured { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--s3); }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-btn { display: flex; }
  .header-inner { padding: 0 var(--s3); }
  .section { padding: var(--s5) var(--s3); }
  .hero { min-height: 75vh; }
  .hero-inner { padding: var(--s5) var(--s3); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .emergency-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  #toast-wrap { left: var(--s3); right: var(--s3); bottom: var(--s3); }
  .fields-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: var(--s1); }
  .hero-title { font-size: 42px; }
  .emergency-grid { grid-template-columns: 1fr 1fr; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
}
