/* ============================================================
   CENPO — Fresh Water & Fresh Air
   Design system built from official Brand Guidelines (2025)
   ============================================================ */

:root {
  /* Brand palette — from CENPO Brand Guidelines PDF */
  --blue: #0464DD;
  --blue-dark: #0B44A0;
  --blue-light: #88C9FF;
  --navy: #010928;
  --charcoal: #3D3D3D;

  /* Division accents (from content brief, used only as tints/icons —
     logo itself always stays brand blue per guidelines) */
  --water: #0E7C9D;
  --water-light: #E4F3F7;
  --air: #3F9F6B;
  --air-light: #E8F5EE;

  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --border: #E4E8EF;
  --text: #16191F;
  --text-mute: #56606E;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(1, 9, 40, 0.06);
  --shadow-lg: 0 16px 48px rgba(1, 9, 40, 0.12);

  --font-head: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--blue); }
p { margin: 0 0 1em; color: var(--text-mute); }
a { color: var(--blue); text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(4,100,221,0.28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Top bar / nav ---------- */
.topbar {
  background: var(--navy);
  color: #cfd6e6;
  font-size: 0.8rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar a { color: #cfd6e6; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 18px; }
.lang-switch { display: flex; gap: 6px; }
.lang-switch button {
  background: none; border: none; color: #8891a4; font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 600; cursor: pointer; padding: 2px 4px;
}
.lang-switch button.active, .lang-switch button:hover { color: #fff; }

header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand span { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--navy); display: none; }

nav.main-nav { display: flex; align-items: center; gap: 2px; }
nav.main-nav > ul { display: flex; align-items: center; gap: 2px; }
nav.main-nav > ul > li { position: relative; }
nav.main-nav > ul > li > a, nav.main-nav > ul > li > button.nav-top {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
  color: var(--navy); background: none; border: none; cursor: pointer;
}
nav.main-nav > ul > li > a:hover, nav.main-nav > ul > li > button.nav-top:hover,
nav.main-nav > ul > li > a.active { background: var(--bg-alt); color: var(--blue); }
.caret { font-size: 0.6rem; margin-top: 2px; opacity: .6; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 260px; padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .15s ease;
}
nav.main-nav > ul > li:hover .dropdown,
nav.main-nav > ul > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.92rem; font-weight: 500;
}
.dropdown a:hover { background: var(--bg-alt); color: var(--blue); }
.dropdown .dd-group-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-mute); padding: 8px 12px 2px; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #041b4d 55%, var(--blue-dark) 100%);
  color: #fff; padding: 96px 0 110px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(136,201,255,0.35), transparent 70%);
}
.hero::before { width: 640px; height: 640px; top: -220px; right: -160px; }
.hero::after { width: 420px; height: 420px; bottom: -220px; left: -100px; background: radial-gradient(circle, rgba(63,159,107,0.22), transparent 70%); }
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue-light);
  background: rgba(136,201,255,0.12); border: 1px solid rgba(136,201,255,0.3);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p.lead { color: #cfd9ef; font-size: 1.12rem; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--blue-dark));
  color: #fff; padding: 68px 0 64px; position: relative; overflow: hidden;
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: auto; z-index: 1; opacity: 0.5; pointer-events: none; }
.page-hero::after {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(136,201,255,0.28), transparent 70%);
  top: -180px; right: -120px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .kicker { color: var(--blue-light); font-family: var(--font-head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 14px; display:block; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: #cfd9ef; max-width: 640px; font-size: 1.05rem; margin-top: 14px; }
.page-hero.water { background: linear-gradient(135deg, var(--navy), var(--water)); }
.page-hero.air { background: linear-gradient(135deg, var(--navy), var(--air)); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker-sm {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}

/* ---------- Divisions (home) ---------- */
.divisions { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.division-card {
  border-radius: var(--radius); padding: 40px 34px; color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.division-card.water { background: linear-gradient(150deg, var(--water) 0%, #0a5a72 100%); }
.division-card.air { background: linear-gradient(150deg, var(--air) 0%, #2b7850 100%); }
.division-card .icon-badge {
  width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.division-card .icon-badge svg { width: 28px; height: 28px; stroke: #fff; }
.division-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.division-card p { color: rgba(255,255,255,0.86); }
.division-card a.btn { margin-top: 18px; }

/* ---------- Feature grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); height: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(4,100,221,0.18); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--water-light); color: var(--water);
}
.card.air-tone .icon { background: var(--air-light); color: var(--air); }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card ul { margin-top: 6px; }
.card ul li {
  padding-left: 22px; position: relative; margin-bottom: 8px; color: var(--text-mute); font-size: 0.94rem;
}
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
}

/* ---------- Industries strip ---------- */
.industry-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  padding: 10px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  font-weight: 600; font-size: 0.92rem; color: var(--navy);
}

/* ---------- Why us ---------- */
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-item .check {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; margin-top: 2px;
}
.why-item p { margin: 0; color: var(--text); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius); color: #fff; padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.86); margin: 0; }
.cta-band .btn-ghost-light { flex: none; }

/* ---------- Tabs (subsections within a page) ---------- */
.subnav {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 46px;
  border-bottom: 1px solid var(--border); padding-bottom: 0;
}
.subnav a {
  padding: 10px 4px; margin-right: 22px; font-family: var(--font-head); font-weight: 600;
  font-size: 0.92rem; color: var(--text-mute); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.subnav a:hover { color: var(--blue); }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.stat-strip { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 8px; }
.stat-strip .stat b { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--blue); }
.stat-strip .stat span { font-size: 0.85rem; color: var(--text-mute); }

/* ---------- Partner cards ---------- */
.partner-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; background: #fff;
}
.partner-card .tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 0.72rem;
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px;
}
.partner-card.tag-water .tag { background: var(--water-light); color: var(--water); }
.partner-card.tag-air .tag { background: var(--air-light); color: var(--air); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
.contact-info-card {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px;
}
.contact-info-card h3 { color: #fff; }
.contact-info-card .row { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-card .row .ic {
  flex: none; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-card a { color: #fff; }
.contact-info-card p { color: #b9c3d9; margin: 0; }

form.contact-form .field { margin-bottom: 18px; }
form.contact-form label {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px;
}
form.contact-form input, form.contact-form textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  font-family: var(--font-body); font-size: 0.96rem; background: var(--bg-alt);
}
form.contact-form input:focus, form.contact-form textarea:focus { outline: 2px solid var(--blue); background: #fff; }
form.contact-form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--text-mute); margin-top: 10px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy); color: #b9c3d9; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-grid img { height: 26px; margin-bottom: 14px; }
.footer-grid p { color: #8891a4; font-size: 0.92rem; }
.footer-grid h4 { color: #fff; font-size: 0.82rem; margin-bottom: 16px; }
.footer-grid a { color: #b9c3d9; font-size: 0.92rem; display: block; padding: 5px 0; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: #7480997;
}
.footer-bottom, .footer-bottom a { color: #7d879c; }

/* ---------- Breadcrumb / small helpers ---------- */
.notice-banner {
  background: var(--water-light); color: #0a5a72; border: 1px solid rgba(14,124,157,0.18);
  border-radius: var(--radius-sm); padding: 14px 18px; font-size: 0.92rem; margin-bottom: 32px;
}
.notice-banner a { color: var(--water); font-weight: 600; }

.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem;
  font-weight: 700; background: var(--bg-alt); color: var(--text-mute); margin-bottom: 14px;
}
.two-col-list { columns: 2; column-gap: 32px; }
.two-col-list li { break-inside: avoid; margin-bottom: 10px; padding-left: 20px; position: relative; color: var(--text-mute); }
.two-col-list li::before { content: "—"; position: absolute; left: 0; color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .divisions, .grid-2, .split, .contact-wrap, .footer-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .why-list { grid-template-columns: 1fr; }
  nav.main-nav { display: none; }
  .burger { display: block; }
  .footer-grid { gap: 30px; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 80px; }
  section { padding: 60px 0; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .two-col-list { columns: 1; }
}

/* ---------- Toast (language-switch notice) ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px);
  background: var(--navy); color: #fff; padding: 13px 22px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all .25s ease; z-index: 999; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; background: #fff; z-index: 200;
  padding: 24px; overflow-y: auto; display: none;
}
.mobile-nav.open { display: block; }
.mobile-nav .mn-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-nav details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.mobile-nav summary { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.mobile-nav a { display: block; padding: 8px 0; color: var(--text); }
.mobile-nav > a { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; padding: 14px 0; border-bottom: 1px solid var(--border); }
