:root {
  --navy: #0b2f4d;
  --navy-deep: #071e33;
  --bar: #0a2740;
  --green: #3db54a;
  --green-2: #2e9a3c;
  --lime: #7ad151;
  --ink: #1c2834;
  --muted: #5d6b78;
  --line: rgba(11, 47, 77, .12);
  --paper: #fff;
  --mist: #f4f7fa;
  --max: 1180px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; }

.wrap { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }
.eyebrow { color: var(--green); font-weight: 800; letter-spacing: .16em; font-size: .72rem; text-transform: uppercase; margin-bottom: 10px; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.15; color: var(--navy); letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border-radius: 4px; font-weight: 800;
  border: 0; cursor: pointer; letter-spacing: .04em; text-transform: uppercase;
  font-size: .82rem; transition: .2s ease;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-navy { background: var(--navy); color: #fff; }

/* Top bar */
.topbar {
  background: var(--bar); color: #d7e4ef; font-size: .82rem; padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 14px; }

/* Glass header */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 10px 30px rgba(7,30,51,.08);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), #1aa7ff, var(--green), transparent);
  background-size: 220% 100%; animation: sheen 7s linear infinite;
}
@keyframes sheen { to { background-position: 220% 0; } }

.nav { display: flex; align-items: center; gap: 18px; min-height: 78px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 52px; width: auto; border-radius: 8px; background: #f3efe6; }
.brand b { letter-spacing: .22em; color: var(--navy); font-size: 1.05rem; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 18px; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  background: none; border: 0; cursor: pointer; color: var(--navy);
  font-weight: 800; font-size: .78rem; letter-spacing: .08em; padding: 12px 12px;
  text-transform: uppercase;
}
.nav-item > a[aria-current="page"], .nav-item > a:hover, .nav-item > button:hover { color: var(--green); }
.mega {
  display: none; position: absolute; top: 100%; left: 0; min-width: 280px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(16px);
  border-radius: 12px; box-shadow: 0 18px 40px rgba(7,30,51,.14);
  padding: 10px; border: 1px solid rgba(255,255,255,.8);
}
.nav-item:hover .mega, .nav-item:focus-within .mega { display: grid; animation: drop .18s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(6px); } }
.mega a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--navy); font-weight: 600; font-size: .92rem; }
.mega a:hover { background: var(--mist); color: var(--green); }

.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.5); cursor: pointer;
}
.menu-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--navy); }

.search-panel { display: none; padding: 0 0 16px; }
.search-panel.open { display: block; }
.search-panel input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }

/* Hero slider */
.hero { position: relative; min-height: 78vh; overflow: hidden; color: #fff; isolation: isolate; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-color: #0b2f4d;
  background-size: cover; background-position: center; animation: ken 18s ease-in-out infinite alternate;
}
.slide.active { opacity: 1; z-index: 1; }
@keyframes ken { from { transform: scale(1); } to { transform: scale(1.08); } }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,20,36,.72), rgba(7,20,36,.28) 55%, rgba(7,20,36,.18));
}
.hero-copy { position: relative; z-index: 2; padding: 120px 0 90px; max-width: 720px; }
.hero-copy .chip {
  display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  padding: 8px 14px; border-radius: 999px; margin-bottom: 16px; font-weight: 700;
}
.hero h1, .hero .lede { color: #fff; }
.hero-nav {
  position: absolute; inset: 0; z-index: 3; display: flex; justify-content: space-between;
  align-items: center; pointer-events: none; padding: 0 12px;
}
.hero-nav button {
  pointer-events: auto; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.22); color: #fff; cursor: pointer; backdrop-filter: blur(8px);
}
.dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 8px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.dots button.on { background: var(--lime); }

.section { padding: 78px 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy-deep); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.photo { width: 100%; height: 360px; object-fit: cover; border-radius: 6px; }
.card {
  background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(7,30,51,.05); transition: .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(7,30,51,.12); }
.card img { width: 100%; height: 190px; object-fit: cover; }
.card-body { padding: 20px; }
.card p { color: var(--muted); margin: 0 0 12px; }
.more { color: var(--green); font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }

.num-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.num-item { padding: 42px 28px; color: #fff; min-height: 280px; display: flex; flex-direction: column; justify-content: end;
  background-size: cover; background-position: center; position: relative; isolation: isolate; }
.num-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,36,.2), rgba(7,20,36,.78)); z-index: -1; }
.num-item b { font-size: 2.4rem; color: var(--lime); }
.num-item h3 { color: #fff; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; }
.stat { padding: 18px; }
.stat b { display: block; font-size: 2rem; color: var(--green); }

.page-hero { position: relative; min-height: 42vh; display: grid; place-items: end start; isolation: isolate; color: #fff; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,20,36,.78), rgba(7,20,36,.25)); }
.page-hero .wrap { padding: 110px 0 42px; }
.page-hero h1 { color: #fff; }

.check { display: grid; gap: 10px; }
.check li { padding-left: 26px; position: relative; }
.check li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); position: absolute; left: 0; top: 8px; }

form { display: grid; gap: 12px; }
label { font-weight: 700; color: var(--navy); }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }

.cta { background: linear-gradient(135deg, var(--green-2), var(--navy)); color: #fff; padding: 42px; border-radius: 10px; }
.cta h2, .cta p { color: #fff; }

.footer { background: #071422; color: rgba(255,255,255,.72); padding: 52px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 22px; }
.footer h3 { color: #fff; font-size: .95rem; }
.footer a:hover { color: #fff; }
.legal { margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Compat for the current live pages until full HTML is uploaded */
.btn-primary { background: var(--green); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-mark { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 28px; padding: 18px; }
.hero-mark img { width: min(100%, 420px); height: auto; max-height: 280px; object-fit: contain; border-radius: 18px; background: #efece4; }
.section-paper { background: var(--mist); }
.section-dark { background: var(--navy-deep); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.card-quiet { box-shadow: none; background: var(--mist); }
.card-dark { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); box-shadow: none; }
.num { font-weight: 800; letter-spacing: .16em; color: var(--green); font-size: .8rem; margin-bottom: 8px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.see-grid { grid-template-columns: 1fr 1fr; }
.promise { background: linear-gradient(135deg, var(--green-2), var(--navy)); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 52px); }
.promise h2, .promise p { color: #fff; }
.brand img { height: 52px; width: auto; max-height: 52px; object-fit: contain; }

@media (max-width: 980px) {
  .split, .grid-2, .grid-3, .grid-4, .num-row, .stats, .footer-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav-links, .nav-end .btn { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0;
    background: rgba(255,255,255,.96); padding: 12px 16px 20px; z-index: 90; border-bottom: 1px solid var(--line);
  }
  .mega { position: static; box-shadow: none; }
  .hero-copy { padding: 90px 0 70px; }
}
