/* Nekemte Water & Sewerage - modern, dependency-free design system */
:root {
  --ink: #0b2530;
  --muted: #647d88;
  --brand: #0ea5e9;
  --brand-dark: #0284c7;
  --teal: #0f766e;
  --accent: #14b8a6;
  --bg: #f5fafb;
  --card: #ffffff;
  --line: #dfeaee;
  --shadow: 0 18px 45px rgba(11, 37, 48, .08);
  --shadow-sm: 0 6px 18px rgba(11, 37, 48, .07);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 76px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand-copy strong { display: block; font-size: 15px; letter-spacing: -.02em; line-height: 1.2; }
.brand-copy span { display: block; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #435f6b;
  padding: 9px 12px;
  border-radius: 10px;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: #eaf6fa; color: var(--brand-dark); }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang-switch button {
  border: 0; background: transparent; color: var(--muted);
  font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px;
}
.lang-switch button.active { background: var(--ink); color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; border-radius: 12px; padding: 12px 20px;
  font-size: 14px; font-weight: 700; line-height: 1;
  transition: transform .18s, box-shadow .18s, background .18s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--teal)); color: #fff; box-shadow: 0 10px 24px rgba(14, 165, 233, .28); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(14, 165, 233, .36); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-light { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255, 255, 255, .26); }
.btn-sm { padding: 8px 13px; font-size: 12px; border-radius: 9px; }
.btn-danger { background: #fee2e2; color: #b91c1c; }
.btn:disabled, .btn[disabled] { opacity: .55; pointer-events: none; }

.menu-toggle {
  display: none; margin-left: auto; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 12px; font-size: 18px; line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(20, 184, 166, .32), transparent 65%),
    radial-gradient(700px 420px at 8% 20%, rgba(14, 165, 233, .25), transparent 60%),
    linear-gradient(135deg, #072f3d 0%, #0b4a5c 55%, #0f766e 100%);
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute; inset: auto -10% -120px -10%; height: 260px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.12), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 82px 22px 96px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.25);
  padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; backdrop-filter: blur(8px);
}
.pulse { width: 8px; height: 8px; background: #5eead4; border-radius: 50%; box-shadow: 0 0 0 0 rgba(94,234,212,.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(94,234,212,0); } 100% { box-shadow: 0 0 0 0 rgba(94,234,212,0); } }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.06; margin: 22px 0 18px; letter-spacing: -.035em; font-weight: 800; }
.hero h1 span { background: linear-gradient(90deg, #7dd3fc, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { font-size: 18px; max-width: 620px; color: rgba(255,255,255,.86); margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  position: relative; min-height: 350px;
  display: grid; place-items: center;
}
.hero-visual svg { width: 100%; max-width: 470px; filter: drop-shadow(0 25px 40px rgba(0,0,0,.25)); }
.hero-visual .floating {
  position: absolute; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(12px); border-radius: 14px; padding: 12px 16px; font-size: 12px; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.floating.one { top: 8%; right: 2%; animation: float 5s ease-in-out infinite; }
.floating.two { bottom: 10%; left: 0; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.tint { background: #eef7f9; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.eyebrow { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-head { max-width: 700px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 40px); line-height: 1.15; letter-spacing: -.03em; margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

.quick-strip { margin-top: -38px; position: relative; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 14px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b9e4ef; }
.quick-icon {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px;
  display: grid; place-items: center; background: #e8f8fc; color: var(--brand-dark); font-size: 20px;
}
.quick-card strong { display: block; font-size: 14px; }
.quick-card small { color: var(--muted); font-size: 12px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.card .icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e0f6fd, #def7f1); color: var(--teal); font-size: 24px; margin-bottom: 20px;
}
.card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.02em; }
.card p { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.link-arrow { color: var(--brand-dark); font-weight: 700; font-size: 14px; display: inline-flex; gap: 7px; align-items: center; }
.link-arrow:hover { gap: 12px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.stat {
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(232,248,252,.9));
  border: 1px solid var(--line); border-radius: 18px; padding: 26px; text-align: center;
}
.stat b { display: block; font-size: 34px; letter-spacing: -.03em; color: var(--brand-dark); }
.stat span { color: var(--muted); font-size: 13px; font-weight: 600; }

/* Mission / vision */
.mv-card { position: relative; overflow: hidden; }
.mv-card::before {
  content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px;
  background: radial-gradient(circle, rgba(14,165,233,.14), transparent 70%);
}
.mv-card p { font-size: 16px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; border-radius: 18px; overflow: hidden; min-height: 220px;
  background: linear-gradient(145deg, #d9f2f7, #b9e5e7);
  display: flex; align-items: flex-end; padding: 18px;
  box-shadow: var(--shadow-sm); isolation: isolate;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.75) 0 2px, transparent 3px),
    radial-gradient(circle at 75% 60%, rgba(255,255,255,.55) 0 3px, transparent 4px),
    linear-gradient(120deg, transparent 60%, rgba(15,118,110,.14) 60%);
  background-size: 34px 34px, 52px 52px, 100% 100%;
}
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7,47,61,.82), transparent 65%); }
.tile span { color: #fff; font-weight: 700; font-size: 14px; text-shadow: 0 1px 3px rgba(0,0,0,.3); }
.tile.wide { grid-column: span 2; }

/* Tariffs & news */
.info-list { display: grid; gap: 12px; margin-top: 18px; }
.info-row {
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 14px 16px; background: #f8fcfd; border: 1px solid var(--line); border-radius: 12px;
}
.info-row b { font-size: 14px; }
.info-row span { color: var(--muted); font-size: 13px; }
.news-item { border-left: 3px solid var(--brand); padding-left: 16px; margin-bottom: 22px; }
.news-item time { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.news-item h3 { margin: 5px 0 6px; font-size: 18px; }
.news-item p { color: var(--muted); font-size: 14px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-line { display: flex; gap: 14px; align-items: center; margin: 16px 0; }
.contact-line .icon {
  width: 42px; height: 42px; border-radius: 12px; background: #e8f8fc; color: var(--brand-dark);
  display: grid; place-items: center; font-size: 18px; flex-shrink: 0;
}
.contact-line b { display: block; font-size: 14px; }
.contact-line span { color: var(--muted); font-size: 13px; word-break: break-word; }
.map-card {
  min-height: 260px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(135deg, #dff3f5, #cfe9e6);
  display: grid; place-items: center; text-align: center; padding: 30px; color: #2c6871;
}

/* Footer */
.site-footer { background: #072b38; color: #c4dbe3; padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 16px; }
.site-footer a, .site-footer p { display: block; font-size: 14px; margin: 8px 0; color: #b6d2dc; }
.site-footer a:hover { color: #7dd3fc; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8fb3c0;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand strong { color: #fff; font-size: 15px; display: block; }

/* ---------- Forms / portal / admin ---------- */
.page-hero {
  background: linear-gradient(135deg, #073240, #0f766e);
  color: #fff; padding: 54px 0 74px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -240px;
  border-radius: 50%; background: rgba(255,255,255,.07);
}
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); margin: 12px 0 8px; letter-spacing: -.03em; }
.page-hero p { color: rgba(255,255,255,.8); margin: 0; max-width: 660px; }
.crumb { font-size: 13px; color: #9fd8e5; }
.crumb a:hover { color: #fff; text-decoration: underline; }

.portal-wrap { margin-top: -44px; position: relative; z-index: 2; }
.portal-grid { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.steps { counter-reset: step; }
.step { display: flex; gap: 14px; margin-bottom: 20px; }
.step:last-child { margin-bottom: 0; }
.step .num {
  counter-increment: step; flex: 0 0 34px; height: 34px; border-radius: 10px;
  background: #e8f8fc; color: var(--brand-dark); display: grid; place-items: center; font-weight: 800; font-size: 14px;
}
.step .num::before { content: counter(step); }
.step b { display: block; font-size: 14px; }
.step small { color: var(--muted); font-size: 12px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: #33515d; }
.field label .req { color: #e11d48; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px;
  background: #fff; color: var(--ink); outline: none; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,165,233,.14);
}
.field textarea { min-height: 84px; resize: vertical; }
.field-hint { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }

.dropzone {
  border: 2px dashed #bcdde6; border-radius: 16px; background: #f7fcfd;
  padding: 26px; text-align: center; transition: .2s; cursor: pointer;
}
.dropzone:hover, .dropzone.drag { border-color: var(--brand); background: #eaf8fc; }
.dropzone .cam { font-size: 30px; }
.dropzone b { display: block; margin-top: 6px; font-size: 14px; }
.dropzone small { color: var(--muted); font-size: 12px; }
.preview-wrap { display: none; margin-top: 14px; position: relative; }
.preview-wrap.show { display: block; }
.preview-wrap img { max-height: 260px; width: 100%; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: #eef6f8; }
.preview-wrap button { position: absolute; top: 8px; right: 8px; }

.gps-row { display: flex; gap: 10px; align-items: end; }
.gps-row .field { flex: 1; }

.notice {
  display: none; border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; font-size: 14px;
}
.notice.show { display: block; }
.notice.error { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.notice.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.notice.info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* Admin */
.login-wrap { max-width: 430px; margin: 60px auto; }
.admin-shell { max-width: var(--max); margin: 0 auto; padding: 34px 22px 70px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-top h1 { font-size: 28px; margin: 0; letter-spacing: -.03em; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.admin-stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-sm); }
.admin-stat span { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.admin-stat b { display: block; font-size: 30px; margin-top: 4px; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin-bottom: 18px; }
.filters .field { min-width: 150px; }
.table-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th {
  background: #f4fafb; text-align: left; padding: 13px 16px; font-size: 11px;
  text-transform: uppercase; letter-spacing: .08em; color: #56727d; border-bottom: 1px solid var(--line);
}
tbody td { padding: 13px 16px; border-bottom: 1px solid #eef4f6; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f9fdfd; }
.code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; color: var(--brand-dark); }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: capitalize; }
.pill.pending { background: #fef3c7; color: #92400e; }
.pill.imported { background: #d1fae5; color: #065f46; }
.pill.rejected { background: #fee2e2; color: #991b1b; }
.thumb { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; border: 1px solid var(--line); background: #eef6f8; cursor: zoom-in; }
.empty { padding: 46px; text-align: center; color: var(--muted); }

.modal { position: fixed; inset: 0; background: rgba(4, 28, 38, .66); display: none; place-items: center; z-index: 100; padding: 20px; backdrop-filter: blur(4px); }
.modal.show { display: grid; }
.modal-box { background: #fff; border-radius: 20px; max-width: 680px; width: 100%; max-height: 92vh; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 19px; }
.modal-body { padding: 24px; }
.modal-body img { border-radius: 14px; border: 1px solid var(--line); width: 100%; max-height: 380px; object-fit: contain; background: #eef6f8; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; margin-top: 18px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.modal-foot { padding: 18px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

.spinner { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Editable content blocks */
.small-card { padding: 24px; }
.small-card .icon { width: 44px; height: 44px; font-size: 20px; margin-bottom: 14px; }
.small-card h3 { font-size: 17px; }
.objective-row {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm);
}
.objective-num {
  flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e0f6fd, #def7f1); color: var(--teal); font-weight: 800; font-size: 14px;
}
.objective-row b { display: block; font-size: 15px; margin-bottom: 4px; }
.objective-row p { margin: 0; color: var(--muted); font-size: 14px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.file-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 12px; background: #f9fcfd; margin-bottom: 10px; transition: .18s;
}
.file-row:hover { border-color: var(--brand); background: #eef9fc; transform: translateX(3px); }
.file-icon { font-size: 22px; }
.file-row b { display: block; font-size: 14px; }
.file-row small { color: var(--muted); font-size: 12px; }
.file-download { margin-left: auto; color: var(--brand-dark); font-weight: 800; font-size: 18px; }

/* Admin tabs and CMS forms */
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-tabs button {
  border: 1px solid var(--line); background: #fff; color: #486571; border-radius: 11px;
  padding: 10px 16px; font-size: 13px; font-weight: 700; transition: .18s;
}
.admin-tabs button:hover { border-color: var(--brand); color: var(--brand-dark); }
.admin-tabs button.active { background: linear-gradient(135deg, var(--brand), var(--teal)); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(14,165,233,.25); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.cms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cms-row { border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 12px; background: #f9fcfd; }
.cms-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cms-row-head b { font-size: 13px; }
.cms-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.media-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #f9fcfd; }
.media-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); }
.media-item .grow { flex: 1; min-width: 0; }
.media-item b { display: block; font-size: 13px; word-break: break-word; }
.media-item small { color: var(--muted); font-size: 11px; }
.badge-role { display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #e0f2fe; color: #075985; }
.badge-role.admin { background: #ede9fe; color: #5b21b6; }
.badge-role.viewer { background: #f1f5f9; color: #475569; }

/* Responsive */
@media (max-width: 980px) {
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 14px 22px; box-shadow: var(--shadow-sm); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-visual { min-height: 260px; }
  .quick-grid, .grid-3, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .tile.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .header-inner { height: 66px; }
  .main-nav { top: 66px; }
  .brand-copy span { display: none; }
  .section { padding: 60px 0; }
  .quick-grid, .grid-3, .grid-2, .gallery-grid, .stats, .stat-row, .contact-grid, .form-grid, .portal-grid, .cms-grid { grid-template-columns: 1fr; }
  .tile.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 52px 22px 78px; }
  .floating.one { right: 0; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .table-card { overflow-x: auto; }
  table { min-width: 720px; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .btn { display: none !important; }
  .hero { background: #fff !important; color: #000 !important; }
}
