/* =====================================================================
   AQI BOARD PRO — Clean-Air eco theme (light)
   Typography: Sora (display) + Inter (body)
   ===================================================================== */

:root {
  /* surfaces */
  --bg:        #eef4f0;
  --bg-soft:   #f5f9f6;
  --surface:   #ffffff;
  --surface-2: #f2f7f4;
  --line:      #e0ebe4;
  --line-2:    #cfe0d6;

  /* ink */
  --ink:       #0f2018;
  --text:      #223228;
  --muted:     #5a6d63;
  --faint:     #869489;

  /* brand */
  --brand:     #0f9d6b;   /* emerald */
  --brand-d:   #0b7a52;
  --brand-2:   #0ea5e9;   /* sky */
  --accent:    #f97316;   /* amber CTA */
  --accent-d:  #e15c07;
  --violet:    #7c5cff;

  /* AQI bands */
  --aqi-good: #4caf50; --aqi-sat: #a3c853; --aqi-mod: #f5c400;
  --aqi-poor: #ff8a33; --aqi-vpoor: #e23b3b; --aqi-severe: #8e1b3a;

  --radius:    22px;
  --radius-sm: 14px;
  --shadow:    0 24px 50px -24px rgba(15, 45, 32, 0.35);
  --shadow-sm: 0 10px 26px -14px rgba(15, 45, 32, 0.28);
  --ring:      0 0 0 4px rgba(15, 157, 107, 0.15);

  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body:    "Inter", "Segoe UI", system-ui, sans-serif;
  --mono:    ui-monospace, "Cascadia Code", Consolas, monospace;

  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.14; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Ambient background ---------- */
.bg-canvas {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(720px 480px at 8% -6%, rgba(15,157,107,0.12), transparent 60%),
    radial-gradient(680px 520px at 100% 4%, rgba(14,165,233,0.12), transparent 58%),
    radial-gradient(560px 480px at 50% 116%, rgba(249,115,22,0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.blob { position: fixed; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: 0.5; pointer-events: none; }
.blob-1 { width: 320px; height: 320px; top: -60px; left: -60px; background: rgba(15,157,107,0.30); animation: drift 16s ease-in-out infinite; }
.blob-2 { width: 300px; height: 300px; top: 20%; right: -80px; background: rgba(14,165,233,0.26); animation: drift 20s ease-in-out infinite reverse; }
@keyframes drift { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(30px,40px);} }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
section { padding: 72px 0; position: relative; }
/* Consistent vertical rhythm: any section following another never doubles its
   top padding against the previous section's bottom padding. This removes the
   uneven gaps caused by mixed padding-top:0 overrides. */
section + section { padding-top: 0; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-d); background: rgba(15,157,107,0.10);
  padding: 7px 15px; border-radius: 999px; border: 1px solid rgba(15,157,107,0.18); margin-bottom: 18px;
}
.section-title { font-size: clamp(1.7rem, 4vw, 2.7rem); margin-bottom: 14px; }
.section-lead { color: var(--muted); max-width: 660px; font-size: 1.08rem; margin-bottom: 34px; }
.text-grad { background: linear-gradient(100deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(245,249,246,0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand small { display: block; font-size: 0.64rem; font-weight: 500; color: var(--faint); letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--body); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 9px 14px; border-radius: 10px; font-size: 0.93rem; font-weight: 500; color: var(--muted); transition: .2s; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.active { color: var(--brand-d); font-weight: 600; }
.nav-cta { margin-left: 8px; padding: 10px 18px !important; border-radius: 999px !important; background: var(--accent) !important; color: #fff !important; font-weight: 600 !important; box-shadow: var(--shadow-sm); }
.nav-cta:hover { background: var(--accent-d) !important; }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--line); color: var(--ink); width: 46px; height: 42px; border-radius: 12px; font-size: 1.3rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 0.97rem; cursor: pointer; border: 1px solid transparent; transition: transform .18s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-d)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--accent-d); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-d); }
.btn-wa { background: #25d366; color: #063d1e; }
.btn-lg { padding: 16px 32px; font-size: 1.04rem; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); margin-bottom: 20px; }
.hero .lead { font-size: 1.16rem; color: var(--muted); margin-bottom: 30px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 0.84rem; font-weight: 500; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }
.pill b { color: var(--brand-d); font-family: var(--display); }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 10px; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.hero-float .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--aqi-good); box-shadow: 0 0 8px var(--aqi-good); animation: pulse 1.4s infinite; }
.hero-float.f1 { top: 18px; left: -18px; animation: floaty 5s ease-in-out infinite; }
.hero-float.f2 { bottom: 26px; right: -14px; animation: floaty 6s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ---------- Live LED board ---------- */
.led-board { background: linear-gradient(160deg, #0f2f24, #0a231b); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }
.led-screen { background: #061711; border-radius: 14px; padding: 20px; font-family: var(--mono); border: 1px solid rgba(18,185,129,0.25); }
.led-title { font-size: 0.72rem; letter-spacing: 0.1em; color: #57e6b3; text-transform: uppercase; text-align: center; margin-bottom: 14px; }
.led-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 22px; }
.led-row { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 6px; }
.led-row .lbl { color: #6f9e8b; font-size: 0.74rem; }
.led-row .val { font-weight: 700; font-size: 1.02rem; color: #eafff6; }
.led-aqi { margin-top: 16px; border-radius: 12px; padding: 14px; text-align: center; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.led-aqi .num { font-size: 2.6rem; font-weight: 800; line-height: 1; font-family: var(--display); }
.led-aqi .status { font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
.led-updated { text-align: center; font-size: 0.68rem; color: #6f9e8b; margin-top: 10px; }
.led-live { display: inline-flex; align-items: center; gap: 6px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqi-good); box-shadow: 0 0 8px var(--aqi-good); animation: pulse 1.4s infinite; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: linear-gradient(135deg, rgba(15,157,107,0.14), rgba(14,165,233,0.12)); border: 1px solid var(--line); margin-bottom: 16px; }
.card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .step-no { position: absolute; top: 14px; right: 20px; font-family: var(--display); font-size: 2.6rem; font-weight: 800; color: rgba(15,157,107,0.10); }
.card-tint { background: linear-gradient(160deg, #ffffff, var(--surface-2)); }

/* image frame */
.imgframe { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.imgframe img { width: 100%; display: block; }
.imgcap { padding: 12px 18px; font-size: 0.86rem; color: var(--muted); border-top: 1px solid var(--line); }

/* feature rows */
.feature-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: none; }
.feature-row .fr-icon { flex: 0 0 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); font-size: 1.2rem; font-family: var(--display); font-weight: 700; color: var(--brand-d); }
.feature-row h4 { font-size: 1.04rem; margin-bottom: 2px; }
.feature-row p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Counters ---------- */
.counters { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.counter { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.counter .num { font-family: var(--display); font-size: 2.4rem; font-weight: 800; color: var(--brand-d); line-height: 1; }
.counter .lbl { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
th { background: var(--surface-2); font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface-2); }
td .unit { color: var(--brand-d); font-family: var(--mono); font-size: 0.86rem; }
.badge-opt { font-size: 0.66rem; padding: 2px 8px; border-radius: 999px; background: rgba(124,92,255,0.12); border: 1px solid rgba(124,92,255,0.3); color: var(--violet); font-weight: 600; }

/* ---------- AQI scale ---------- */
.aqi-scale { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.aqi-chip { border-radius: 14px; padding: 16px 12px; color: #08130c; font-weight: 700; box-shadow: var(--shadow-sm); }
.aqi-chip .rng { font-size: 0.72rem; opacity: 0.85; display: block; font-family: var(--mono); }
.aqi-chip .lab { font-size: 1rem; font-family: var(--display); }

/* ---------- Flow ---------- */
.flow { display: flex; align-items: stretch; flex-wrap: wrap; gap: 4px; }
.flow-node { flex: 1; min-width: 150px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; box-shadow: var(--shadow-sm); }
.flow-node .fn-ico { font-size: 1.7rem; margin-bottom: 6px; }
.flow-node h4 { font-size: 0.98rem; }
.flow-node p { font-size: 0.8rem; color: var(--faint); }
.flow-arrow { display: grid; place-items: center; color: var(--brand); font-size: 1.5rem; padding: 0 4px; }

/* ---------- Note / callout ---------- */
.note { border-left: 4px solid var(--brand); background: rgba(15,157,107,0.07); padding: 16px 20px; border-radius: 0 14px 14px 0; color: var(--muted); font-size: 0.96rem; }
.note strong { color: var(--ink); }
.note.warn { border-color: var(--accent); background: rgba(249,115,22,0.08); }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab-btn { font-family: var(--display); font-weight: 600; font-size: 0.92rem; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); cursor: pointer; transition: .2s; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; } }

/* ---------- Accordion (FAQ) ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:last-child { border-bottom: none; }
.acc-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 24px; font-family: var(--display); font-weight: 600; font-size: 1.04rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acc-q .chev { transition: transform .3s; color: var(--brand); font-size: 1.2rem; }
.acc-item.open .acc-q .chev { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-a p { padding: 0 24px 20px; color: var(--muted); font-size: 0.97rem; }

/* ---------- Document download cards ---------- */
.doc-card { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: .25s; }
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.doc-ico { flex: 0 0 54px; height: 66px; border-radius: 10px; background: linear-gradient(160deg,#fdecec,#fbd7d7); display: grid; place-items: center; color: #c0392b; font-family: var(--display); font-weight: 800; font-size: 0.72rem; border: 1px solid #f3c4c4; position: relative; }
.doc-ico::after { content: "PDF"; }
.doc-body { flex: 1; }
.doc-body h3 { font-size: 1.06rem; margin-bottom: 4px; }
.doc-body p { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }
.doc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.doc-actions .btn { padding: 9px 18px; font-size: 0.86rem; }
.doc-meta { font-size: 0.76rem; color: var(--faint); margin-top: 8px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand), var(--brand-2)); border-radius: 28px; padding: 52px; text-align: center; color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.12); top: -120px; right: -80px; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 580px; margin: 0 auto 26px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-band .btn-ghost { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.24); color: #fff; }

/* ---------- Page hero ---------- */
.page-hero { padding: 60px 0 26px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 660px; }
.breadcrumb { font-size: 0.82rem; color: var(--faint); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--brand-d); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.contact-line { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: none; }
.contact-line .ci { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: linear-gradient(135deg, rgba(15,157,107,0.16), rgba(14,165,233,0.14)); border: 1px solid var(--line); }
.contact-line small { color: var(--faint); display: block; font-size: 0.78rem; }
.contact-line strong { font-size: 1.12rem; color: var(--ink); font-family: var(--display); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink); font-family: inherit; font-size: 0.96rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); background: #fff; }
.form-note { font-size: 0.82rem; color: var(--faint); margin-top: 10px; }
.form-status { margin-top: 12px; font-size: 0.94rem; font-weight: 600; }

/* ---------- Floating WhatsApp ---------- */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #063d1e; font-family: var(--display); font-weight: 700; padding: 13px 20px; border-radius: 999px; box-shadow: 0 16px 32px -10px rgba(37,211,102,0.7); transition: transform .2s; }
.fab-wa:hover { transform: translateY(-3px) scale(1.03); }
.fab-wa .wa-ico { font-size: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 52px 0 26px; margin-top: 0; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 40px; margin-bottom: 32px; align-items: start; }
.footer-grid h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin-bottom: 14px; }
.footer-grid > div > a { color: var(--muted); font-size: 0.92rem; display: block; margin-bottom: 9px; }
.footer-grid > div > a:hover { color: var(--brand-d); }
.footer-tagline { color: var(--muted); font-size: 0.92rem; max-width: 330px; margin: 14px 0 0; }

/* compact contact block */
.footer-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.site-footer .footer-contact a { display: inline-flex; align-items: center; gap: 11px; margin: 0; color: var(--ink); }
.site-footer .footer-contact a:hover .fc-txt { color: var(--brand-d); }
.footer-contact .fc-ico { flex: 0 0 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 0.95rem; background: linear-gradient(135deg, rgba(15,157,107,0.15), rgba(14,165,233,0.12)); border: 1px solid var(--line); }
.footer-contact .fc-txt { display: flex; flex-direction: column; line-height: 1.25; font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.footer-contact .fc-txt small { font-family: var(--body); font-weight: 400; font-size: 0.72rem; color: var(--faint); }
.site-footer .footer-wa { display: inline-flex; width: auto; margin-top: 18px; padding: 11px 22px; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.84rem; color: var(--faint); }

/* ---------- Real-photo helpers ---------- */
.imgframe.tall img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* photo gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gcard { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; }
.gcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gcard:hover img { transform: scale(1.08); }
.gcard .gcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; color: #fff; font-family: var(--display); font-weight: 600; font-size: 0.98rem; background: linear-gradient(transparent, rgba(6,22,14,0.85)); }
.gcard .gtag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.92); color: var(--brand-d); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }

/* full-bleed photo band with overlay text */
.media-band { position: relative; border-radius: 28px; overflow: hidden; min-height: 360px; display: flex; align-items: center; box-shadow: var(--shadow); }
.media-band .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-band .mb-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,32,22,0.92), rgba(6,32,22,0.45) 70%, rgba(6,32,22,0.25)); }
.media-band .mb-content { position: relative; padding: 48px; max-width: 640px; color: #fff; }
.media-band .mb-content h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: 12px; }
.media-band .mb-content p { color: rgba(255,255,255,0.92); margin-bottom: 22px; }
.media-band .section-tag { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.3); color: #d7ffee; }

/* photo page-hero header strip */
.photo-strip { position: relative; border-radius: 24px; overflow: hidden; margin-top: 8px; box-shadow: var(--shadow-sm); max-height: 240px; }
.photo-strip img { width: 100%; height: 240px; object-fit: cover; }
.photo-strip .ps-badge { position: absolute; bottom: 14px; left: 16px; background: rgba(6,22,14,0.72); color: #fff; padding: 8px 15px; border-radius: 999px; font-size: 0.82rem; font-family: var(--display); font-weight: 600; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .media-band .mb-content { padding: 34px; }
}
@media (max-width: 680px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 34px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; background: rgba(245,249,246,0.98); border-bottom: 1px solid var(--line); padding: 14px 18px; gap: 4px; transform: translateY(-140%); transition: transform .3s; backdrop-filter: blur(14px); }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .aqi-scale { grid-template-columns: repeat(2, 1fr); }
  .led-rows { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .hero { padding: 44px 0 40px; }
  .page-hero { padding: 36px 0 20px; }
  .cta-band { padding: 32px 20px; }
  .hero-float { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .media-band { min-height: 0; }
  .media-band .mb-content { padding: 26px; }
  .photo-strip img { height: 180px; }
  .photo-strip { max-height: 180px; }
  .counters { gap: 12px; }
  .counter { padding: 20px 16px; }
}

/* Extra-small phones — keep everything inside the viewport */
@media (max-width: 460px) {
  .container { padding-inline: 16px; }
  .brand small { display: none; }
  .brand span { font-size: 1rem; }
  .counters { grid-template-columns: 1fr; }
  .aqi-scale { grid-template-columns: 1fr; }
  .btn, .btn-lg { padding: 12px 20px; font-size: 0.95rem; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  h1, .hero h1 { font-size: 2rem; }
  .led-aqi .num { font-size: 2.2rem; }
}
