/* ================================================
   BRITISH WEATHER SERVICE — Global Stylesheet
   ================================================ */

:root {
  --bws-navy:       #002366;
  --bws-blue:       #0050AA;
  --bws-blue-light: #1a6db5;
  --bws-sky:        #87CEEB;
  --bws-red:        #CC0000;
  --bws-orange:     #E8560F;

  --warn-red:    #CC0000;
  --warn-amber:  #E67600;
  --warn-yellow: #d4a017;
  --warn-green:  #006400;
  --warn-blue:   #0066CC;

  --bg-primary: #eef2f7;
  --bg-card:    #FFFFFF;
  --text-dark:  #1A1A2E;
  --text-muted: #5a6a7e;
  --text-light: #FFFFFF;
  --border:     #d0d9e5;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.12);

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 36px;
  --sp-xxl: 56px;

  --transition: 0.18s ease;
}

*, *::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-dark);
  line-height: 1.6;
  min-height: 100vh;
}

/* ================================================
   HEADER / NAV
   ================================================ */

.bws-header {
  background: var(--bws-navy);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.bws-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: inherit;
}

.bws-logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, #0050AA 0%, #87CEEB 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 2px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.bws-logo-text h1 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.15;
}

.bws-logo-text span {
  font-size: 0.7rem;
  opacity: 0.75;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
}

.header-clock {
  text-align: right;
  font-size: 0.8rem;
  opacity: 0.8;
}

.header-clock .clock-time {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-mono);
  display: block;
}

.header-nav {
  display: flex;
  padding: 0 20px;
  background: var(--bws-blue);
  overflow-x: auto;
  scrollbar-width: none;
}

.header-nav::-webkit-scrollbar { display: none; }

.nav-link {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-link.active { color: #fff; border-bottom-color: var(--bws-sky); background: rgba(255,255,255,0.06); }

/* Alert ticker */
.alert-ticker-bar {
  background: linear-gradient(90deg, #B30000, #CC0000);
  color: white;
  padding: 6px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  overflow: hidden;
}

.ticker-label {
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  padding: 2px 8px;
  border-radius: 3px;
  flex-shrink: 0;
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-text {
  display: inline-block;
  animation: ticker-slide 85s linear infinite;
}

@keyframes ticker-slide {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ================================================
   LAYOUT
   ================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-content { padding: var(--sp-xl) 0 var(--sp-xxl); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-lg); }

/* ================================================
   CARDS
   ================================================ */

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.card:hover { box-shadow: var(--shadow-md); }

.card-header {
  padding: 14px var(--sp-lg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafbfc;
}

.card-header h2, .card-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bws-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-body { padding: var(--sp-lg); }

/* ================================================
   HERO
   ================================================ */

.hero {
  background: linear-gradient(135deg, #001a4d 0%, var(--bws-navy) 40%, #0070CC 80%, #4ab8e8 100%);
  color: white;
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 200px 80px at 15% 60%, rgba(255,255,255,0.07) 0%, transparent 100%),
    radial-gradient(ellipse 350px 120px at 70% 30%, rgba(255,255,255,0.05) 0%, transparent 100%),
    radial-gradient(ellipse 200px 90px at 90% 70%, rgba(255,255,255,0.06) 0%, transparent 100%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-headline {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.hero-sub {
  opacity: 0.82;
  margin-bottom: var(--sp-lg);
  font-size: 0.95rem;
}

.search-bar {
  display: flex;
  max-width: 580px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.search-bar input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  font-size: 1rem;
  font-family: var(--font-sans);
  outline: none;
  color: var(--text-dark);
}

.search-bar button {
  padding: 14px 24px;
  background: var(--bws-orange);
  color: white;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.search-bar button:hover { background: #c44a0c; }

.search-suggestions {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  max-width: 580px;
  width: 100%;
  z-index: 100;
  box-shadow: var(--shadow-md);
  max-height: 240px;
  overflow-y: auto;
}

.suggestion-item {
  padding: 10px 18px;
  cursor: pointer;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: #f0f4f8; color: var(--bws-blue); }

/* ================================================
   CURRENT CONDITIONS
   ================================================ */

.conditions-main {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.conditions-icon { font-size: 4.5rem; line-height: 1; }

.conditions-temp {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--bws-navy);
  line-height: 1;
}

.conditions-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.conditions-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-lg);
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--border);
}

.meta-item { display: flex; flex-direction: column; gap: 2px; }

.meta-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ================================================
   FORECAST
   ================================================ */

.forecast-row {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.forecast-row:last-child { border-bottom: none; }

.forecast-day-label {
  width: 90px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.forecast-icon { font-size: 1.6rem; width: 44px; text-align: center; flex-shrink: 0; }

.forecast-desc { flex: 1; font-size: 0.83rem; color: var(--text-muted); }

.forecast-precip {
  font-size: 0.78rem;
  color: #2B7FBF;
  font-weight: 600;
  width: 40px;
  text-align: right;
}

.forecast-temps { display: flex; gap: 8px; align-items: center; }
.temp-hi { font-weight: 700; font-size: 0.95rem; }
.temp-lo { color: var(--text-muted); font-size: 0.85rem; }

/* Hourly */
.hourly-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.hourly-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  background: #f4f7fb;
  border-radius: var(--radius-md);
  min-width: 68px;
  flex-shrink: 0;
  border: 1px solid transparent;
  transition: var(--transition);
}

.hourly-item.now {
  background: #e8f0fc;
  border-color: var(--bws-blue);
}

.hourly-time { font-size: 0.72rem; color: var(--text-muted); }
.hourly-icon { font-size: 1.3rem; }
.hourly-temp { font-weight: 700; font-size: 0.88rem; }
.hourly-precip { font-size: 0.68rem; color: #2B7FBF; }

/* ================================================
   WARNINGS
   ================================================ */

.warning-card {
  border-left: 5px solid;
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  margin-bottom: 10px;
}

.warning-card.red    { border-color: var(--warn-red);    background: #fff5f5; }
.warning-card.amber  { border-color: var(--warn-amber);  background: #fffaf0; }
.warning-card.yellow { border-color: var(--warn-yellow); background: #fffff0; }
.warning-card.blue   { border-color: var(--warn-blue);   background: #f0f6ff; }

.warn-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.warn-badge.red    { background: var(--warn-red);    color: #fff; }
.warn-badge.amber  { background: var(--warn-amber);  color: #fff; }
.warn-badge.yellow { background: var(--warn-yellow); color: #333; }
.warn-badge.blue   { background: var(--warn-blue);   color: #fff; }

.warn-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 3px; }
.warn-areas { font-size: 0.8rem; color: var(--text-muted); }
.warn-time  { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* ================================================
   FEATURE CARDS (index quick links)
   ================================================ */

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 2px solid var(--border);
  transition: all var(--transition);
  display: block;
}

.feature-card:hover {
  border-color: var(--bws-blue);
  box-shadow: 0 6px 24px rgba(0,80,170,0.15);
  transform: translateY(-3px);
}

.feature-card-icon { font-size: 3rem; margin-bottom: var(--sp-md); display: block; }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--bws-navy);
}

.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ================================================
   EAS MAKER
   ================================================ */

.eas-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--sp-lg);
  align-items: start;
}

.form-grid { display: flex; flex-direction: column; gap: var(--sp-md); }

.form-group { display: flex; flex-direction: column; gap: 5px; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--bws-blue);
  box-shadow: 0 0 0 3px rgba(0,80,170,0.12);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); }

/* Area chips */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 160px;
  overflow-y: auto;
  padding: 4px 0;
}

.area-chip {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: #f4f7fb;
  color: var(--text-muted);
  transition: var(--transition);
  user-select: none;
}

.area-chip.selected {
  background: var(--bws-blue);
  border-color: var(--bws-blue);
  color: white;
}

/* EAS Preview */
.eas-preview-wrapper {
  position: relative;
  background: #111;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.eas-preview-bg {
  position: absolute;
  inset: 0;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 4rem;
}

.eas-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
}

.eas-header-stripe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.eas-body-area {
  flex: 1;
  padding: 12px 16px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.eas-alert-headline {
  font-size: clamp(0.7rem, 2vw, 1.05rem);
  font-weight: 700;
  line-height: 1.3;
}

.eas-details-text {
  font-size: clamp(0.55rem, 1.4vw, 0.78rem);
  color: #ccc;
  line-height: 1.5;
}

.eas-issued-by {
  font-size: clamp(0.5rem, 1.2vw, 0.68rem);
  color: #999;
  margin-top: auto;
}

.eas-crawl-bar {
  border-top: 3px solid;
  padding: 6px 0;
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.6);
}

.eas-crawl-inner {
  white-space: nowrap;
  font-size: clamp(0.6rem, 1.6vw, 0.82rem);
  font-weight: 700;
  animation: eas-scroll 65s linear infinite;
  padding-left: 100%;
}

@keyframes eas-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* EAS SAME code display */
.same-code-box {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: var(--radius-sm);
  padding: var(--sp-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #56d364;
  word-break: break-all;
  line-height: 1.8;
}

.same-code-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* Audio controls */
.audio-controls {
  display: flex;
  gap: var(--sp-sm);
  align-items: center;
  flex-wrap: wrap;
}

.audio-progress {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  min-width: 80px;
}

.audio-progress-fill {
  height: 100%;
  background: var(--bws-blue);
  width: 0%;
  transition: width 0.3s linear;
}

.audio-status {
  font-size: 0.78rem;
  color: var(--text-muted);
  min-width: 120px;
}

/* ================================================
   RADAR PAGE
   ================================================ */

#radar-map {
  width: 100%;
  height: 620px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  z-index: 1;
}

.radar-controls {
  display: flex;
  gap: var(--sp-sm);
  align-items: center;
  flex-wrap: wrap;
  padding: 12px var(--sp-lg);
  background: #fafbfc;
  border-top: 1px solid var(--border);
}

.radar-timestamp {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bws-navy);
  min-width: 140px;
}

.radar-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  min-width: 100px;
}

.radar-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--bws-blue);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(0,80,170,0.2);
}

.radar-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.legend-bar {
  height: 12px;
  width: 120px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    rgba(0,100,255,0.7),
    rgba(0,200,100,0.7),
    rgba(255,220,0,0.8),
    rgba(255,100,0,0.9),
    rgba(200,0,0,1)
  );
}

/* ================================================
   BUTTONS
   ================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.btn-primary { background: var(--bws-blue); color: white; border-color: var(--bws-blue); }
.btn-primary:hover { background: var(--bws-navy); border-color: var(--bws-navy); }

.btn-secondary { background: transparent; color: var(--bws-blue); border-color: var(--bws-blue); }
.btn-secondary:hover { background: var(--bws-blue); color: white; }

.btn-danger { background: var(--warn-red); color: white; border-color: var(--warn-red); }
.btn-danger:hover { background: #aa0000; border-color: #aa0000; }

.btn-warning { background: var(--warn-amber); color: white; border-color: var(--warn-amber); }
.btn-warning:hover { background: #c56200; border-color: #c56200; }

.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 13px 30px; font-size: 1rem; }

.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ================================================
   PULSE / LOADING
   ================================================ */

.pulse-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #cc0000;
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 4px solid var(--border);
  border-top-color: var(--bws-blue);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 40px auto;
}

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

/* ================================================
   SECTION TITLES
   ================================================ */

.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--bws-navy);
  margin-bottom: var(--sp-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.3px;
}

.section-title i {
  color: var(--bws-orange);
  font-size: 1.3rem;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--bws-blue), transparent);
  margin-left: 8px;
}

/* Nav icon alignment */
.nav-link i {
  font-size: 0.85rem;
  margin-right: 2px;
}

/* Card header icon tint */
.card-header h3 i,
.card-header h2 i {
  color: var(--bws-orange);
}

/* Feature card FA icons */
.feature-card-icon i {
  font-size: 3rem;
}

/* ================================================
   FOOTER
   ================================================ */

.bws-footer {
  background: var(--bws-navy);
  color: rgba(255,255,255,0.75);
  padding: var(--sp-xxl) 0 var(--sp-lg);
  margin-top: var(--sp-xxl);
}

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

.footer-brand-desc {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-top: var(--sp-sm);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: var(--sp-md);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--sp-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  opacity: 0.55;
  flex-wrap: wrap;
  gap: 8px;
}

/* ================================================
   PAGE HEADER (inner pages)
   ================================================ */

.page-hero {
  background: linear-gradient(135deg, var(--bws-navy), var(--bws-blue));
  color: white;
  padding: 36px 0;
}

.page-hero h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.page-hero p { opacity: 0.8; font-size: 0.95rem; }

/* ================================================
   UTILITIES
   ================================================ */

.text-center { text-align: center; }
.text-right  { text-align: right; }
.d-flex      { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--sp-sm); }
.gap-md { gap: var(--sp-md); }
.w-full { width: 100%; }
.mt-sm  { margin-top: var(--sp-sm); }
.mt-md  { margin-top: var(--sp-md); }
.mt-lg  { margin-top: var(--sp-lg); }
.mb-sm  { margin-bottom: var(--sp-sm); }
.mb-md  { margin-bottom: var(--sp-md); }
.mb-lg  { margin-bottom: var(--sp-lg); }

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

@media (max-width: 1100px) {
  .eas-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-headline { font-size: 1.5rem; }
  .container { padding: 0 16px; }
  .header-top { padding: 8px 16px; }
  #radar-map { height: 380px; }
  .form-row { grid-template-columns: 1fr; }
}
