/* NamWater corporate website
   Layout and design language adapted from the Pooluxe template (Designesia),
   recoloured to the NamWater brand (logo navy #293680, logo teal #17b095). */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #293680;
  --navy-700: #222d6e;
  --navy-800: #1a2358;
  --navy-900: #111841;
  --teal: #17b095;
  --teal-600: #11937c;
  --teal-50: #e9f7f4;
  --sky: #eef4fb;
  --ink: #0f1a44;
  --body: rgba(15, 26, 68, .74);
  --muted: rgba(15, 26, 68, .55);
  --line: rgba(15, 26, 68, .12);
  --on-dark: rgba(255, 255, 255, .78);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -18px rgba(17, 24, 65, .35);
  --heading: "Manrope", Helvetica, Arial, sans-serif;
  --text: "Inter", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; letter-spacing: -.02em; }
h4 { font-size: 1.1rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-600); }
img { max-width: 100%; display: block; }
.accent { color: var(--teal); display: block; }
.accent-inline { color: var(--teal); }
.lead { font-size: 1.1rem; }
.small-muted { font-size: .875rem; color: var(--muted); }
.container { max-width: 1240px; }

/* Sections */
section { padding: 100px 0; position: relative; }
.section-tight { padding: 70px 0; }
.section-dark { background: var(--navy-900); color: var(--on-dark); }
.section-navy { background: var(--navy); color: var(--on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-light { background: var(--teal-50); }
.section-sky { background: var(--sky); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.subtitle {
  display: inline-block;
  font-family: var(--heading);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(41, 54, 128, .08);
  padding: 4px 14px;
  border-radius: 40px;
  margin-bottom: 18px;
}
.section-dark .subtitle, .section-navy .subtitle, .hero .subtitle, .subheader .subtitle {
  color: #fff; background: rgba(255, 255, 255, .14);
}

/* Buttons */
.btn-main, .btn-line {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--text); font-weight: 700; font-size: .95rem;
  padding: 11px 24px; border-radius: 40px; border: 2px solid transparent;
  transition: background .25s, color .25s, transform .25s, border-color .25s;
  cursor: pointer; line-height: 1.4;
}
.btn-main { background: var(--teal); color: var(--navy-900); }
.btn-main:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.section-light .btn-main:hover, .bg-white .btn-main:hover, body .btn-main.on-light:hover { background: var(--navy); color: #fff; }
.btn-line { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.section-dark .btn-line, .section-navy .btn-line, .hero .btn-line { color: #fff; }
.section-dark .btn-line:hover, .section-navy .btn-line:hover, .hero .btn-line:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { padding: 7px 16px; font-size: .85rem; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Top bar and header */
.topbar {
  background: var(--navy-900); color: var(--on-dark);
  font-size: .82rem; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: var(--on-dark); }
.topbar a:hover { color: #fff; }
.topbar .tb-group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { width: 15px; height: 15px; color: var(--teal); }
.social { display: flex; gap: 8px; }
.social a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; font-size: .7rem; font-weight: 700; }
.social a:hover { background: var(--teal); color: var(--navy-900); }
.social .icon { color: inherit; width: 14px; height: 14px; }

header.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(17, 24, 65, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .3s, box-shadow .3s;
}
header.site-header.scrolled { background: rgba(17, 24, 65, .98); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 82px; }
.logo img { height: 40px; width: auto; }
nav.mainnav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
nav.mainnav li { position: relative; }
nav.mainnav > ul > li > a {
  display: flex; align-items: center; gap: 4px;
  color: #fff; font-weight: 600; font-size: .9rem; padding: 10px 12px; border-radius: 30px; white-space: nowrap;
}
nav.mainnav > ul > li > a:hover, nav.mainnav > ul > li.active > a { color: var(--teal); }
nav.mainnav .caret { width: 12px; height: 12px; opacity: .7; }
nav.mainnav ul ul {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  list-style: none; margin: 0; padding: 10px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s;
}
nav.mainnav li:hover > ul, nav.mainnav li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
nav.mainnav ul ul a { display: block; color: var(--ink); font-size: .88rem; font-weight: 500; padding: 7px 12px; border-radius: 8px; }
nav.mainnav ul ul a:hover { background: var(--teal-50); color: var(--teal-600); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; border: 0; cursor: pointer; }
.icon-btn:hover { background: var(--teal); color: var(--navy-900); }
#menu-btn { display: none; }

.search-panel { display: none; background: var(--navy-800); padding: 18px 0; }
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 10px; }
.search-panel input { flex: 1; border: 0; border-radius: 40px; padding: 12px 22px; font: inherit; }

/* Hero */
.hero {
  position: relative; color: var(--on-dark); overflow: hidden;
  background: var(--navy-900) url(../img/background-1.webp) center/cover no-repeat;
  padding: 120px 0 190px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(17, 24, 65, .97) 0%, rgba(26, 35, 88, .9) 45%, rgba(41, 54, 128, .55) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C 240 10 480 10 720 55 S 1200 115 1440 40 V120 H0Z' fill='%23ffffff'/%3E%3Cpath d='M0 92 C 300 40 560 50 820 82 S 1240 110 1440 70' fill='none' stroke='%2317b095' stroke-width='3' opacity='.85'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero .lead { max-width: 560px; color: var(--on-dark); }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; font-size: .92rem; }
.hero-checks span { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .icon { color: var(--teal); }
.hero-card {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(8px);
}
.hero-card h4 { color: #fff; margin-bottom: 14px; }
.dam-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: .88rem; }
.dam-row .name { width: 110px; color: #fff; font-weight: 600; }
.dam-bar { flex: 1; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.dam-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), #5fd7c2); border-radius: 8px; }
.dam-row .pct { width: 44px; text-align: right; color: #fff; font-weight: 700; }

/* Quick access */
.quick-access { margin-top: -130px; position: relative; z-index: 5; padding: 0 0 40px; }
.qa-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.qa-card {
  background: #fff; border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px; color: var(--ink); font-weight: 700; font-family: var(--heading);
  border: 1px solid var(--line); transition: transform .25s, border-color .25s;
}
.qa-card:hover { transform: translateY(-6px); border-color: var(--teal); color: var(--ink); }
.qa-card .qa-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }
.qa-card small { display: block; font-family: var(--text); font-weight: 500; color: var(--muted); font-size: .8rem; line-height: 1.4; }

/* Stats */
.stats { background: var(--teal-50); padding: 44px 0; }
.stat h3 { font-size: 2.3rem; margin: 0; color: var(--navy); }
.stat p { margin: 0; font-size: .92rem; }

/* Cards */
.card-x {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; height: 100%; transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.card-x:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card-x .subtitle { align-self: flex-start; }
.card-x .card-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.card-x .card-ico .icon { width: 26px; height: 26px; }
.card-x p { font-size: .95rem; }
.card-x .link-arrow { margin-top: auto; }
.card-dark { background: var(--navy-800); border-color: rgba(255, 255, 255, .1); color: var(--on-dark); }
.card-dark h3, .card-dark h4 { color: #fff; }
.card-dark .card-ico { background: var(--teal); color: var(--navy-900); }
.card-dark .link-arrow { color: var(--teal); }

.num-tile { display: flex; gap: 18px; }
.num-tile .n {
  flex: none; width: 54px; height: 54px; border-radius: 12px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-family: var(--heading); font-weight: 600; font-size: 1.5rem;
}
.num-tile h4 { margin-bottom: 6px; }
.num-tile p { font-size: .93rem; margin: 0; }

.img-frame { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.badge-float {
  position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center;
}
.badge-float strong { font-family: var(--heading); font-size: 1.6rem; color: var(--navy); line-height: 1; }
.badge-float span { font-size: .8rem; line-height: 1.3; display: block; }

/* Image panels */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 0% 0%, #3448a8 0%, var(--navy) 40%, var(--navy-900) 100%);
  color: rgba(255, 255, 255, .85); display: grid; place-items: center; text-align: center; min-height: 220px;
}
.ph::before {
  content: ""; position: absolute; inset: auto -10% -30% -10%; height: 70%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 80 10 160 10 220 38 S 340 70 400 30 V100 H0Z' fill='%2317b095' opacity='.35'/%3E%3Cpath d='M0 60 C 90 35 170 40 240 60 S 350 80 400 55 V100 H0Z' fill='%2317b095' opacity='.4'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
}
.ph > div { position: relative; z-index: 1; padding: 20px; }
.ph .icon { width: 44px; height: 44px; margin: 0 auto 8px; color: #fff; stroke-width: 1.4; }
.ph b { display: block; font-family: var(--heading); color: #fff; font-size: 1.05rem; }
.ph small { font-size: .75rem; opacity: .75; letter-spacing: .08em; text-transform: uppercase; }
.ph.teal { background: radial-gradient(120% 90% at 0% 0%, #2ed0b3 0%, var(--teal-600) 45%, var(--navy) 100%); }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.tab-btn {
  border: 0; background: transparent; color: #fff; font: 600 .92rem var(--text);
  padding: 9px 20px; border-radius: 40px; cursor: pointer;
}
.section-light .tab-btn, .bg-white .tab-btn { color: var(--ink); }
.tab-btn:hover { color: var(--teal); }
.tab-btn.active { background: var(--teal); color: var(--navy-900); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .5s ease both; }

/* Units */
.unit-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; }
.unit-card .unit-top { background: var(--navy); color: #fff; padding: 26px; position: relative; overflow: hidden; }
.unit-card .unit-top h3 { color: #fff; margin: 0; }
.unit-card .unit-top small { color: var(--teal); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; }
.unit-card .unit-top::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 22px solid rgba(23, 176, 149, .25); }
.unit-card .unit-body { padding: 24px 26px; flex: 1; display: flex; flex-direction: column; }
.unit-card ul { padding-left: 0; list-style: none; margin: 0 0 16px; font-size: .92rem; }
.unit-card li { display: flex; gap: 8px; padding: 4px 0; }
.unit-card li .icon { color: var(--teal); margin-top: 5px; width: 16px; height: 16px; }

/* Namibia map */
.map-wrap { position: relative; }
.map-wrap svg { width: 100%; height: auto; }
.map-pin { cursor: pointer; }
.map-pin circle.pulse { animation: pulse 2.4s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }

/* Lists and tables */
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { display: flex; gap: 10px; padding: 5px 0; }
.check-list .icon { color: var(--teal); margin-top: 5px; width: 18px; height: 18px; }

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: auto; background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 720px; }
table.data th { text-align: left; background: var(--navy); color: #fff; font-family: var(--heading); font-weight: 600; padding: 14px 18px; white-space: nowrap; }
table.data td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
table.data tr:hover td { background: var(--teal-50); }
.tag { display: inline-block; padding: 2px 10px; border-radius: 30px; font-size: .74rem; font-weight: 700; background: var(--teal-50); color: var(--teal-600); white-space: nowrap; }
.tag.closed { background: #f1f2f6; color: #6b7280; }
.tag.navy { background: rgba(41, 54, 128, .1); color: var(--navy); }
.tag.sample { background: #fff4e0; color: #9a5b00; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.filters input, .filters select, .form-x input, .form-x select, .form-x textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 16px; background: #fff;
}
.filters input { flex: 1; min-width: 220px; }
.form-x label { display: block; font-weight: 600; color: var(--ink); font-size: .88rem; margin-bottom: 6px; }
.form-x input, .form-x select, .form-x textarea { width: 100%; }
.form-x input:focus, .form-x select:focus, .form-x textarea:focus, .filters input:focus, .filters select:focus { outline: 2px solid var(--teal); border-color: transparent; }
.form-note { display: none; margin-top: 14px; padding: 12px 16px; background: var(--teal-50); border-radius: 12px; color: var(--teal-600); font-weight: 600; }
.form-note.show { display: block; }

/* Documents */
.doc { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; height: 100%; transition: border-color .2s, transform .2s; }
.doc:hover { border-color: var(--teal); transform: translateY(-3px); }
.doc .doc-ico { flex: none; width: 48px; height: 56px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; font: 800 .7rem var(--heading); letter-spacing: .05em; position: relative; }
.doc .doc-ico::after { content: ""; position: absolute; top: 0; right: 0; border-width: 0 12px 12px 0; border-style: solid; border-color: #fff #fff var(--teal) var(--teal); }
.doc h4 { font-size: .98rem; margin: 0 0 2px; }
.doc small { color: var(--muted); font-size: .8rem; }
.doc .dl { margin-left: auto; color: var(--teal-600); }

/* News */
.news-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card .ph, .news-card .img-frame { border-radius: 0; min-height: 200px; height: 200px; }
.news-card .nc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-card .meta { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.news-card h4 { font-size: 1.12rem; }
.news-card p { font-size: .92rem; }

/* People */
.person { text-align: center; }
.person .avatar {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); margin-bottom: 14px;
}
.person .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person .avatar .initials { position: absolute; inset: 0; display: grid; place-items: center; font: 800 2.6rem var(--heading); color: rgba(255, 255, 255, .9); }
.person .avatar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--teal); }
.person h4 { margin-bottom: 2px; }
.person p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.4; }

/* Timeline */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--teal), var(--navy)); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item::before { content: ""; position: absolute; left: -29px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--teal); }
.tl-item b { font-family: var(--heading); color: var(--navy); }

/* Accordion */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-family: var(--heading); font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; transition: transform .25s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq details > div { padding: 0 50px 18px 0; font-size: .95rem; }

/* Sub header (inner pages) */
.subheader {
  position: relative; overflow: hidden; color: var(--on-dark); padding: 110px 0 120px;
  background: var(--navy-900) url(../img/background-1.webp) center/cover no-repeat;
}
.subheader::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(17, 24, 65, .97), rgba(41, 54, 128, .78)); }
.subheader::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 360 0 760 0 1080 35 S 1380 60 1440 30 V70 H0Z' fill='%23ffffff'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; }
.subheader .container { position: relative; z-index: 2; }
.subheader h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.subheader p { max-width: 620px; font-size: 1.08rem; }
.crumbs { font-size: .85rem; display: flex; gap: 8px; margin-bottom: 14px; color: var(--on-dark); }
.crumbs a { color: var(--teal); }

/* Side nav on inner pages */
.side-nav { position: sticky; top: 110px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; background: #fff; }
.side-nav a { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.side-nav a:hover, .side-nav a.on { background: var(--teal-50); color: var(--teal-600); }
.side-box { background: var(--navy); color: var(--on-dark); border-radius: var(--radius-lg); padding: 26px; margin-top: 18px; }
.side-box h4 { color: #fff; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--navy) 0%, var(--navy-800) 60%, #0f6f6a 130%); border-radius: var(--radius-lg); padding: 50px; color: var(--on-dark); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(23, 176, 149, .25); }

.notice { display: flex; gap: 14px; background: #fff8ea; border: 1px solid #f3dfb4; color: #6b4a00; border-radius: var(--radius); padding: 14px 18px; font-size: .9rem; }
.notice .icon { color: #c78400; margin-top: 3px; }

/* Footer */
footer.site-footer { background: var(--navy-900); color: var(--on-dark); padding: 80px 0 0; font-size: .93rem; }
footer.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
footer.site-footer a { color: var(--on-dark); }
footer.site-footer a:hover { color: var(--teal); }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { padding: 4px 0; }
.footer-logo { height: 44px; width: auto; margin-bottom: 18px; }
.footer-contact div { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-contact .icon { color: var(--teal); margin-top: 4px; }
.subfooter { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 60px; padding: 22px 0; font-size: .84rem; }
.subfooter .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input { flex: 1; min-width: 0; border: 0; border-radius: 40px; padding: 10px 18px; font: inherit; font-size: .9rem; }

#back-to-top { position: fixed; right: 26px; bottom: 100px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 900; }
#back-to-top.show { opacity: 1; pointer-events: auto; }

/* Chatbot */
.chat-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 1100; height: 60px; padding: 0 22px 0 18px; border-radius: 40px; border: 0;
  background: var(--teal); color: var(--navy-900); font: 700 .95rem var(--text); display: flex; align-items: center; gap: 10px;
  box-shadow: 0 16px 34px -12px rgba(17, 147, 124, .7); cursor: pointer;
}
.chat-fab .icon { width: 26px; height: 26px; }
.chat-panel {
  position: fixed; right: 24px; bottom: 98px; z-index: 1100; width: 370px; max-width: calc(100vw - 32px); height: 540px; max-height: calc(100vh - 130px);
  background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -20px rgba(17, 24, 65, .55); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98); transition: all .25s;
}
.chat-panel.open { opacity: 1; visibility: visible; transform: none; }
.chat-head { background: var(--navy); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-head .av { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; color: var(--navy-900); }
.chat-head b { display: block; font-family: var(--heading); }
.chat-head small { color: var(--on-dark); font-size: .76rem; display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; }
.chat-head button { margin-left: auto; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--sky); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.5; }
.msg.bot { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; }
.msg.user { background: var(--navy); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.msg a { font-weight: 700; color: var(--teal-600); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--teal); background: #fff; color: var(--teal-600); font: 600 .78rem var(--text); padding: 5px 11px; border-radius: 30px; cursor: pointer; }
.chip:hover { background: var(--teal); color: #fff; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; border: 1px solid var(--line); border-radius: 30px; padding: 10px 16px; font: inherit; font-size: .9rem; }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--teal); color: var(--navy-900); cursor: pointer; display: grid; place-items: center; }
.chat-foot { font-size: .7rem; color: var(--muted); text-align: center; padding: 0 12px 10px; }
.typing span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); margin-right: 3px; animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }

.proto-ribbon { background: var(--teal); color: var(--navy-900); text-align: center; font-size: .8rem; font-weight: 600; padding: 6px 12px; }

/* Reveal animation (only once JS has marked the page) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* Responsive */
.nav-close { display: none !important; }
@media (max-width: 1199px) {
  nav.mainnav > ul > li > a { padding: 10px 8px; font-size: .85rem; }
  .qa-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  section { padding: 72px 0; }
  .topbar .hide-md { display: none; }
  header.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-900); }
  #menu-btn { display: grid; }
  .header-actions .btn-main { display: none; }
  nav.mainnav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: var(--navy-900); padding: 90px 20px 30px;
    transform: translateX(100%); transition: transform .3s; overflow-y: auto; z-index: 1001;
  }
  nav.mainnav.open { transform: none; box-shadow: -20px 0 50px rgba(0, 0, 0, .4); }
  nav.mainnav > ul { flex-direction: column; }
  nav.mainnav > ul > li > a { font-size: 1rem; padding: 12px; justify-content: space-between; }
  nav.mainnav ul ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 6px 14px; display: none; }
  nav.mainnav li.sub-open > ul { display: block; }
  nav.mainnav ul ul a { color: var(--on-dark); }
  nav.mainnav ul ul a:hover { background: rgba(255, 255, 255, .06); color: var(--teal); }
  .nav-close { display: grid !important; position: absolute; top: 22px; right: 20px; }
  .hero { padding: 80px 0 170px; }
  .side-nav { position: static; }
}
@media (max-width: 767px) {
  .qa-grid { grid-template-columns: repeat(2, 1fr); }
  .g-5, .gx-5 { --bs-gutter-x: 1.5rem; }
  .topbar .tb-group.right { display: none; }
  .cta-band { padding: 34px 24px; }
  .header-inner { height: 70px; }
  .logo img { height: 32px; }
  .chat-fab span { display: none; }
  .chat-fab { width: 60px; padding: 0; justify-content: center; }
}

/* Photo panels */
.ph.ph-photo { background-size: cover !important; background-position: center !important; }
.ph.ph-photo > * { visibility: hidden; }
.ph.ph-photo::before, .ph.ph-photo::after { display: none; }
