/* ==========================================================================
   SLNG — Sri Lanka Next Generation
   Professional stylesheet aligned with the ICANN (icann.org) design language.
   ========================================================================== */

:root {
  /* neutral system — constant across themes */
  --ink:          #1a2a26;
  --ink-soft:     #495a54;
  --ink-mute:     #7d8c86;
  --line:         #e2e8e6;
  --bg:           #ffffff;
  --bg-soft:      #f5f8f7;
  --white:        #ffffff;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow-sm:    0 1px 3px rgba(20, 40, 45, .09);
  --shadow-md:    0 8px 24px rgba(20, 40, 45, .12);
  --shadow-lg:    0 22px 50px rgba(15, 30, 35, .20);
  --maxw:         1200px;
  --font:         'Nunito Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   THEMES — swappable palettes (set via [data-theme] on <html>)
   ========================================================================== */
html[data-theme="bloom"] {                      /* Bloom — hope / future / blooming: fresh green + coral blossom */
  --brand: #12a06a; --brand-dark: #0c774e; --brand-darker: #06412c; --brand-light: #e6f7ef;
  --accent: #ff7a59; --accent-dark: #e85c3a; --accent-2: #ffcf5c;
  --grad-brand: linear-gradient(120deg, #1cc182 0%, #0c774e 55%, #06412c 100%);
  --grad-brand-soft: linear-gradient(120deg, #12a06a, #2fd68f);
  --grad-accent: linear-gradient(120deg, #ffd166, #ff7a59 70%, #ff5e7e);
  --grad-icon: linear-gradient(135deg, #1cc182, #0a5c3c);
  --grad-hero: linear-gradient(120deg, rgba(18,160,106,.90) 0%, rgba(12,119,78,.80) 46%, rgba(6,65,44,.42) 100%);
  --hero-glow: radial-gradient(1150px 560px at 84% -10%, rgba(255,122,89,.34), transparent 58%);
  --grad-page: linear-gradient(120deg, #06412c, #12a06a);
  --page-glow: radial-gradient(820px 400px at 88% -25%, rgba(255,122,89,.40), transparent 60%);
}
html[data-theme="tropical"] {                   /* Tropical — Sri Lankan teal-green + saffron */
  --brand: #0e8574; --brand-dark: #0a5f54; --brand-darker: #063a34; --brand-light: #e2f4ef;
  --accent: #f57c00; --accent-dark: #d96604; --accent-2: #f6b73c;
  --grad-brand: linear-gradient(120deg, #12a08a 0%, #0a5f54 55%, #063a34 100%);
  --grad-brand-soft: linear-gradient(120deg, #0e8574, #16b8a0);
  --grad-accent: linear-gradient(120deg, #ffb838, #f57c00);
  --grad-icon: linear-gradient(135deg, #12a08a, #0a5248);
  --grad-hero: linear-gradient(120deg, rgba(15,152,128,.92) 0%, rgba(10,95,84,.82) 46%, rgba(6,58,52,.42) 100%);
  --hero-glow: radial-gradient(1150px 560px at 84% -10%, rgba(246,183,60,.28), transparent 58%);
  --grad-page: linear-gradient(120deg, #063a34, #0f9880);
  --page-glow: radial-gradient(820px 400px at 88% -25%, rgba(246,183,60,.42), transparent 60%);
}
:root, html[data-theme="ocean"] {               /* Ocean — deep blue + cyan (default) */
  --brand: #0b6bb3; --brand-dark: #084e86; --brand-darker: #05294a; --brand-light: #e6f1fb;
  --accent: #00b4d8; --accent-dark: #0090b0; --accent-2: #48cae4;
  --grad-brand: linear-gradient(120deg, #1183cf 0%, #084e86 55%, #05294a 100%);
  --grad-brand-soft: linear-gradient(120deg, #0b6bb3, #00b4d8);
  --grad-accent: linear-gradient(120deg, #5adbf0, #00b4d8);
  --grad-icon: linear-gradient(135deg, #1183cf, #073f6e);
  --grad-hero: linear-gradient(120deg, rgba(11,107,179,.92) 0%, rgba(8,78,134,.82) 46%, rgba(5,41,74,.42) 100%);
  --hero-glow: radial-gradient(1150px 560px at 84% -10%, rgba(72,202,228,.30), transparent 58%);
  --grad-page: linear-gradient(120deg, #05294a, #0b6bb3);
  --page-glow: radial-gradient(820px 400px at 88% -25%, rgba(72,202,228,.40), transparent 60%);
}
html[data-theme="sunset"] {                     /* Sunset — Sri Lankan maroon + gold */
  --brand: #9a1750; --brand-dark: #6e0f3a; --brand-darker: #430823; --brand-light: #fbe9f0;
  --accent: #f4a300; --accent-dark: #cf8600; --accent-2: #ffc74d;
  --grad-brand: linear-gradient(120deg, #b81d61 0%, #6e0f3a 55%, #430823 100%);
  --grad-brand-soft: linear-gradient(120deg, #9a1750, #c62368);
  --grad-accent: linear-gradient(120deg, #ffcf5c, #f4a300);
  --grad-icon: linear-gradient(135deg, #b81d61, #5c0c30);
  --grad-hero: linear-gradient(120deg, rgba(154,23,80,.92) 0%, rgba(110,15,58,.82) 46%, rgba(67,8,35,.42) 100%);
  --hero-glow: radial-gradient(1150px 560px at 84% -10%, rgba(244,163,0,.30), transparent 58%);
  --grad-page: linear-gradient(120deg, #430823, #9a1750);
  --page-glow: radial-gradient(820px 400px at 88% -25%, rgba(244,163,0,.40), transparent 60%);
}
html[data-theme="forest"] {                     /* Forest — deep green + lime */
  --brand: #1b7a3d; --brand-dark: #125a2b; --brand-darker: #0a3318; --brand-light: #e7f4ea;
  --accent: #7cb518; --accent-dark: #5f8c12; --accent-2: #b5d14a;
  --grad-brand: linear-gradient(120deg, #22984c 0%, #125a2b 55%, #0a3318 100%);
  --grad-brand-soft: linear-gradient(120deg, #1b7a3d, #2fae57);
  --grad-accent: linear-gradient(120deg, #a7d92e, #7cb518);
  --grad-icon: linear-gradient(135deg, #22984c, #0d4320);
  --grad-hero: linear-gradient(120deg, rgba(27,122,61,.92) 0%, rgba(18,90,43,.82) 46%, rgba(10,51,24,.42) 100%);
  --hero-glow: radial-gradient(1150px 560px at 84% -10%, rgba(167,217,46,.28), transparent 58%);
  --grad-page: linear-gradient(120deg, #0a3318, #1b7a3d);
  --page-glow: radial-gradient(820px 400px at 88% -25%, rgba(167,217,46,.40), transparent 60%);
}
html[data-theme="royal"] {                      /* Royal — indigo + amber */
  --brand: #4b3fbe; --brand-dark: #362c92; --brand-darker: #1f1a56; --brand-light: #ecebfa;
  --accent: #f5a524; --accent-dark: #cc8410; --accent-2: #ffc861;
  --grad-brand: linear-gradient(120deg, #5a4de0 0%, #362c92 55%, #1f1a56 100%);
  --grad-brand-soft: linear-gradient(120deg, #4b3fbe, #6f63e6);
  --grad-accent: linear-gradient(120deg, #ffc861, #f5a524);
  --grad-icon: linear-gradient(135deg, #5a4de0, #2a2270);
  --grad-hero: linear-gradient(120deg, rgba(75,63,190,.92) 0%, rgba(54,44,146,.82) 46%, rgba(31,26,86,.42) 100%);
  --hero-glow: radial-gradient(1150px 560px at 84% -10%, rgba(245,165,36,.30), transparent 58%);
  --grad-page: linear-gradient(120deg, #1f1a56, #4b3fbe);
  --page-glow: radial-gradient(820px 400px at 88% -25%, rgba(245,165,36,.40), transparent 60%);
}
html[data-theme="blue"] {                       /* Blue — classic corporate azure + amber */
  --brand: #1763d6; --brand-dark: #0f47a0; --brand-darker: #082a5e; --brand-light: #e8f0fd;
  --accent: #f6a723; --accent-dark: #cf8410; --accent-2: #64a8ff;
  --grad-brand: linear-gradient(120deg, #2a76ee 0%, #0f47a0 55%, #082a5e 100%);
  --grad-brand-soft: linear-gradient(120deg, #1763d6, #3a8bff);
  --grad-accent: linear-gradient(120deg, #ffc24d, #f6a723);
  --grad-icon: linear-gradient(135deg, #2a76ee, #0c3a82);
  --grad-hero: linear-gradient(120deg, rgba(23,99,214,.90) 0%, rgba(15,71,160,.82) 46%, rgba(8,42,94,.42) 100%);
  --hero-glow: radial-gradient(1150px 560px at 84% -10%, rgba(100,168,255,.32), transparent 58%);
  --grad-page: linear-gradient(120deg, #082a5e, #1763d6);
  --page-glow: radial-gradient(820px 400px at 88% -25%, rgba(100,168,255,.40), transparent 60%);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-dark); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { line-height: 1.18; color: var(--ink); margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -.015em; }
h3 { font-size: 1.35rem; font-weight: 700; }

p { margin: 0 0 1.1rem; color: var(--ink-soft); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 44px 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: .7rem;
}

.lead { font-size: 1.3rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .96rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--grad-brand-soft); color: var(--white); box-shadow: 0 4px 14px rgba(14,107,118,.35); }
.btn--primary:hover { filter: brightness(1.08); color: var(--white); box-shadow: 0 8px 22px rgba(14,107,118,.45); }
.btn--accent { background: var(--grad-accent); color: #3a2600; box-shadow: 0 4px 14px rgba(240,168,40,.4); }
.btn--accent:hover { filter: brightness(1.05); color: #3a2600; box-shadow: 0 8px 22px rgba(240,168,40,.5); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: var(--white); color: var(--brand-dark); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: var(--white); }
.btn--sm { padding: .5rem 1rem; font-size: .88rem; }

/* ==========================================================================
   Top utility bar
   ========================================================================== */
.topbar {
  background: var(--brand-darker);
  color: #c6d6e6;
  font-size: .82rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 40px; gap: 16px;
}
.topbar__tag { font-weight: 700; letter-spacing: .03em; color: #e4eef7; }
.topbar__tag span { color: var(--accent); }
.topbar__links { display: flex; gap: 18px; align-items: center; }
.topbar__links a { color: #c6d6e6; }
.topbar__links a:hover { color: #fff; }

/* Theme switcher */
.theme-switch { display: flex; align-items: center; gap: 8px; }
.theme-switch label {
  display: inline-flex; align-items: center; gap: 6px;
  color: #c6d6e6; font-size: .8rem; font-weight: 700;
}
.theme-switch label svg { width: 15px; height: 15px; color: var(--accent-2); }
.theme-select {
  background: rgba(255,255,255,.12); color: #eef6f3;
  border: 1px solid rgba(255,255,255,.3); border-radius: 6px;
  padding: .28rem 1.7rem .28rem .6rem; font-family: inherit; font-size: .8rem; font-weight: 700;
  cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23eef6f3' stroke-width='2.5'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .55rem center;
}
.theme-select:hover { border-color: rgba(255,255,255,.55); }
.theme-select option { color: #111; }

/* Tech FX (watermark) toggle */
.fx-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); color: #eef6f3;
  border: 1px solid rgba(255,255,255,.3); border-radius: 6px;
  padding: .3rem .7rem; font-family: inherit; font-size: .8rem; font-weight: 700; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.fx-toggle:hover { border-color: rgba(255,255,255,.55); }
.fx-toggle svg { width: 15px; height: 15px; }
.fx-toggle .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background .15s ease, box-shadow .15s ease; }
.fx-toggle[aria-pressed="true"] { background: rgba(255,255,255,.2); }
.fx-toggle[aria-pressed="true"] .dot { background: var(--accent-2); box-shadow: 0 0 0 3px rgba(255,255,255,.18); }

@media (max-width: 640px) { .topbar__links a { display: none; } }

/* Tech watermark overlay — scattered, right-biased, only when enabled */
html[data-watermark="on"] .hero {
  background:
    url("../assets/img/tech-watermark.svg") right center / cover no-repeat,
    var(--hero-glow), var(--grad-hero),
    url("../assets/img/hero-photo.jpg") center/cover no-repeat;
}
html[data-watermark="on"] .page-hero {
  background:
    url("../assets/img/tech-watermark.svg") right center / cover no-repeat,
    var(--page-glow), var(--grad-page);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 104px;
}
.brand { display: flex; align-items: center; gap: 1rem; }
.brand__logo {
  width: 168px; height: 168px;
  object-fit: contain;
}
.brand__name { font-weight: 800; font-size: 1.6rem; color: var(--ink); line-height: 1.02; letter-spacing: -.01em; }
.brand__name span { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-mute); letter-spacing: .05em; text-transform: uppercase; margin-top: 4px; }

.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links > li > a {
  display: block;
  padding: .6rem .95rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 700;
  font-size: .95rem;
  position: relative;
}
.nav__links > li > a:hover { color: var(--brand); background: var(--brand-light); }
.nav__links > li > a.active { color: var(--brand); }
.nav__links > li > a.active::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: -2px;
  height: 3px; background: var(--accent); border-radius: 3px;
}
.nav__cta { margin-left: .7rem; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 104px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 14px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: .2s ease;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links > li > a { padding: .85rem 1rem; }
  .nav__links > li > a.active::after { display: none; }
  .nav__cta { margin: .5rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Announcement strip (static — professional)
   ========================================================================== */
.announce {
  background: var(--brand-light);
  border-bottom: 1px solid var(--line);
}
.announce__inner {
  display: flex; align-items: center; gap: 12px;
  padding: .7rem 0; font-size: .92rem; color: var(--brand-dark);
}
.announce__badge {
  flex: none;
  background: var(--brand); color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .28rem .6rem; border-radius: 4px;
}
.announce a { font-weight: 700; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  color: var(--white);
  background:
    var(--hero-glow),
    var(--grad-hero),
    url("../assets/img/hero-photo.jpg") center/cover no-repeat;
  overflow: hidden;
}
.hero::before {                       /* crisp network dot mesh */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1.3px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(125deg, rgba(0,0,0,.9), transparent 55%);
  mask-image: linear-gradient(125deg, rgba(0,0,0,.9), transparent 55%);
  opacity: .6; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: var(--grad-accent); pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; padding: 108px 0 112px; max-width: 780px; }
.hero h1 { color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,.32); }
.hero p { color: rgba(255,255,255,.95); font-size: 1.32rem; max-width: 60ch; text-shadow: 0 1px 10px rgba(0,0,0,.30); }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.28);
  padding: .45rem 1rem; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .05em;
  margin-bottom: 1.5rem;
}
.hero__badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,161,222,.25);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* page hero (inner pages) */
.page-hero {
  color: var(--white);
  background: var(--page-glow), var(--grad-page);
  padding: 74px 0 66px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(120deg, rgba(0,0,0,.8), transparent 60%);
  mask-image: linear-gradient(120deg, rgba(0,0,0,.8), transparent 60%);
  opacity: .5; pointer-events: none;
}
.page-hero > * { position: relative; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: var(--grad-accent);
}
.page-hero h1 { color: var(--white); margin-bottom: .35rem; }
.page-hero p { color: rgba(255,255,255,.88); margin: 0; max-width: 60ch; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.72); margin-bottom: 1rem; letter-spacing: .02em; }
.crumbs a { color: rgba(255,255,255,.92); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: -54px; position: relative; z-index: 3;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat__num { font-size: 2.1rem; font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -.02em; }
.stat__label { font-size: .84rem; color: var(--ink-soft); margin-top: .5rem; font-weight: 600; }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--brand);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card--flat { border-top: 1px solid var(--line); }
.card__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad-icon);
  color: #fff;
  margin-bottom: 1.2rem;
  box-shadow: 0 8px 18px rgba(10,63,70,.28), inset 0 1px 0 rgba(255,255,255,.18);
  position: relative;
}
.card__icon::after {                 /* amber corner accent for richness */
  content: ""; position: absolute; right: -3px; bottom: -3px;
  width: 16px; height: 16px; border-radius: 5px;
  background: var(--grad-accent);
  box-shadow: 0 2px 6px rgba(240,168,40,.5);
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; font-size: 1.05rem; }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { margin: 0; font-size: 1.2rem; }

/* ---------- feature / objective list ---------- */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { position: relative; padding-left: 32px; color: var(--ink-soft); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--accent-dark);
  border-bottom: 2.5px solid var(--accent-dark);
  transform: rotate(-45deg);
}

/* ==========================================================================
   Split / media rows
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split__media--framed { padding: 0; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ==========================================================================
   News list
   ========================================================================== */
.news-item {
  display: grid; grid-template-columns: 160px 1fr; gap: 28px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.news-item:last-child { border-bottom: none; }
.news-item__media img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.news-item__ph {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-sm);
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center;
}
.news-item__ph svg { width: 34px; height: 34px; }
.news-item__date {
  font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-dark);
}
.news-item h3 { margin: .35rem 0 .55rem; }
.news-item p { margin: 0; font-size: .97rem; }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; gap: 16px; } }

/* people cards */
.person {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.person img { width: 88px; height: 88px; border-radius: var(--radius-sm); object-fit: cover; flex: none; }
.person h4 { margin: 0 0 .15rem; font-size: 1.05rem; }
.person .role { font-size: .8rem; color: var(--brand); font-weight: 700; margin-bottom: .45rem; text-transform: uppercase; letter-spacing: .04em; }
.person p { margin: 0; font-size: .9rem; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.gallery a {
  display: block; aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm); background: var(--bg-soft);
  position: relative;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,40,69,.28), transparent 55%);
  opacity: 0; transition: opacity .25s ease;
}
.gallery a:hover img { transform: scale(1.07); }
.gallery a:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(6, 18, 32, .94);
  display: none; align-items: center; justify-content: center; z-index: 1000; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 6px; box-shadow: var(--shadow-lg); }
.lightbox__btn {
  position: absolute;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: #fff; width: 52px; height: 52px; border-radius: 50%;
  font-size: 1.6rem; cursor: pointer; display: grid; place-items: center;
  transition: background .15s ease;
}
.lightbox__btn:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__close { top: 20px; right: 24px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox__prev { left: 10px; } .lightbox__next { right: 10px; }
  .lightbox__btn { width: 44px; height: 44px; }
}

/* ==========================================================================
   Partners — uniform tiles so mixed logo shapes read evenly
   ========================================================================== */
.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.partner-tile {
  display: grid; place-items: center;
  height: 110px; padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.partner-tile:hover { border-color: #cdd9e6; box-shadow: var(--shadow-sm); }
.partner-tile img {
  max-height: 60px; max-width: 100%; width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1); opacity: .65;
  transition: filter .2s ease, opacity .2s ease;
}
.partner-tile:hover img { filter: none; opacity: 1; }
@media (max-width: 560px) { .partners { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Contact
   ========================================================================== */
.info-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
}
.info-card h3 { margin-bottom: .6rem; }
.bank dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.2rem; margin: 0; }
.bank dt { font-weight: 700; color: var(--ink); }
.bank dd { margin: 0; color: var(--ink-soft); }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.form-field input,
.form-field textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; background: var(--bg-soft);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--brand); background: var(--white);
  box-shadow: 0 0 0 3px var(--brand-light);
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(115deg, var(--brand-dark), var(--brand));
  color: var(--white); border-radius: var(--radius); padding: 52px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,161,222,.4), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 54ch; margin: 0 auto 1.7rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--brand-darker); color: #a9bccf; padding: 60px 0 28px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; letter-spacing: .02em; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
.footer-grid a { color: #a9bccf; }
.footer-grid a:hover { color: #fff; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.footer-brand img { width: 46px; height: 46px; border-radius: 10px; background: #fff; padding: 5px; }
.footer-brand strong { color: #fff; font-size: 1.15rem; letter-spacing: -.01em; }
.footer-note { font-size: .92rem; line-height: 1.7; }
.footer-affil {
  display: inline-block; margin-top: 1rem; font-size: .8rem;
  color: #7f95ab; border: 1px solid rgba(255,255,255,.14);
  padding: .35rem .7rem; border-radius: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .85rem; color: #7f95ab;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Timeline
   ========================================================================== */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 8px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--brand), var(--accent));
}
.tl-item { position: relative; padding: 0 0 30px 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px var(--brand-light);
}
.tl-item.accent::before { border-color: var(--accent-dark); box-shadow: 0 0 0 4px rgba(18,165,148,.18); }
.tl-year { font-weight: 800; color: var(--brand); font-size: .95rem; letter-spacing: .02em; }
.tl-item h4 { margin: .1rem 0 .3rem; font-size: 1.08rem; }
.tl-item p { margin: 0; font-size: .95rem; }

/* ==========================================================================
   Quote / testimonial
   ========================================================================== */
.quote {
  position: relative;
  background: var(--grad-brand);
  color: #fff; border-radius: var(--radius);
  padding: 48px 52px; overflow: hidden;
}
.quote::before {
  content: "\201C"; position: absolute; top: -10px; left: 24px;
  font-size: 8rem; line-height: 1; color: rgba(255,255,255,.14); font-family: Georgia, serif;
}
.quote blockquote { margin: 0; font-size: 1.4rem; font-weight: 700; line-height: 1.4; position: relative; letter-spacing: -.01em; }
.quote cite { display: block; margin-top: 1.1rem; font-style: normal; font-weight: 600; color: rgba(255,255,255,.82); font-size: .95rem; }
@media (max-width: 640px) { .quote { padding: 34px 26px; } .quote blockquote { font-size: 1.15rem; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 4px 22px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: #cfe0e0; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-weight: 700; color: var(--ink); font-size: 1.03rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; color: var(--brand); font-weight: 400; transition: transform .2s ease; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); font-size: .97rem; }

/* ==========================================================================
   Contact / info strip
   ========================================================================== */
.infostrip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white);
}
.infostrip > div { padding: 26px; border-right: 1px solid var(--line); display: flex; gap: 14px; align-items: flex-start; }
.infostrip > div:last-child { border-right: none; }
.infostrip .ic { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--grad-icon); color: #fff; display: grid; place-items: center; }
.infostrip .ic svg { width: 22px; height: 22px; }
.infostrip h4 { margin: 0 0 .2rem; font-size: 1rem; }
.infostrip p { margin: 0; font-size: .9rem; }
@media (max-width: 780px) { .infostrip { grid-template-columns: 1fr; } .infostrip > div { border-right: none; border-bottom: 1px solid var(--line); } .infostrip > div:last-child { border-bottom: none; } }

/* ==========================================================================
   Trust & credibility
   ========================================================================== */
.trust-badges { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 1.9rem; }
.trust-badges span { display: inline-flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 700; color: rgba(255,255,255,.92); }
.trust-badges svg { width: 20px; height: 20px; color: var(--accent-2); flex: none; }

.reco { text-align: center; }
.reco__label {
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 26px;
}

.assurance-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.assurance-list li { display: flex; gap: 15px; align-items: flex-start; }
.assurance-list .ic {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  background: var(--grad-icon); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(10,63,70,.25);
}
.assurance-list .ic svg { width: 22px; height: 22px; }
.assurance-list h4 { margin: 0 0 .2rem; font-size: 1.04rem; }
.assurance-list p { margin: 0; font-size: .94rem; }

.seal {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--brand-light); color: var(--brand-dark);
  border: 1px solid #cfe4e2; border-radius: 999px;
  padding: .5rem 1.05rem; font-size: .86rem; font-weight: 700;
}
.seal svg { width: 18px; height: 18px; color: var(--accent-dark); }

/* utils */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }
