/* =========================================================
   DuraScent v3 — style.css (shared by all 6 pages)
   Mobile-first. Brand colours & fonts are in :root below.
   ========================================================= */

:root {
  /* ✏️ BRAND COLOURS — green sampled from the DuraScent logo */
  --green: #7cc242;
  --green-strong: #8fd451;
  --green-soft: rgba(124, 194, 66, 0.12);
  --wa: #25d366;            /* WhatsApp green (floating button) */

  --bg: #0e100f;            /* page background (charcoal) */
  --bg-2: #141816;          /* alternate section background */
  --card: #1a1f1c;
  --card-2: #202622;
  --line: rgba(255, 255, 255, 0.09);
  --text: #ffffff;
  --muted: #b5beb8;
  --muted-2: #8a948e;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1160px;
  --header-h: 64px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* While the Indonesian text is being swapped in (a few ms), hide the page to avoid a flash of English */
html.i18n-wait body { visibility: hidden; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.text-link { color: var(--green); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center;
  transition: transform .15s ease, background .15s ease, border-color .15s ease; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--green); color: #0b0d0c; box-shadow: 0 8px 28px rgba(124, 194, 66, .28); }
.btn-primary:hover { background: var(--green-strong); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: var(--text); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 16, 15, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: var(--header-h); position: relative; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; flex: none; }
.brand-icon { height: 30px; width: auto; }
.brand-word { height: 12px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 8px; }

/* EN | ID language switch */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-switch button {
  font: inherit; font-size: .78rem; font-weight: 800; letter-spacing: .06em; color: var(--muted);
  background: transparent; border: 0; border-radius: 999px; padding: 6px 9px; min-width: 34px; cursor: pointer; line-height: 1;
}
.lang-switch button[aria-pressed="true"] { background: var(--green); color: #0b0d0c; }
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--text); }
.lang-switch .sep { color: var(--muted-2); font-size: .75rem; }

/* WhatsApp button in header: icon-only on phones */
.header-cta { padding: 8px 11px; min-height: 44px; min-width: 44px; justify-content: center; }
.header-cta .label-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hamburger */
.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.18); color: var(--text); cursor: pointer; padding: 0;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

/* Navigation: drop-down panel on phones/tablets */
.main-nav { display: none; }
.main-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  margin: 0; padding: 10px 16px 18px; background: #0e100f; border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(0,0,0,.5);
}
.main-nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.main-nav a { display: block; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 1.02rem; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.main-nav a:hover { color: var(--text); }
.main-nav a[aria-current="page"] { color: var(--green); }
.main-nav .nav-cta { margin-top: 14px; width: 100%; color: #0b0d0c; border-bottom: 0; padding: 12px 22px; display: flex; }

/* ---------- Hero (home) & page hero (inner pages) ---------- */
.hero {
  position: relative; isolation: isolate; padding: 52px 0 44px;
  background: var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,16,15,.80) 0%, rgba(14,16,15,.88) 55%, var(--bg) 100%);
}
/* v3.8: real photo behind the home hero (technician's back, embroidered logo).
   Up to 1099px: photo band at the top, text starts where the dark overlay takes over.
   1100px and up: photo on the right, text column on the solid-dark left. */
.hero-bg { position: absolute; z-index: -2; top: 0; left: 0; width: 100%; height: var(--hero-ph); object-fit: cover; object-position: 44% 30%; }
.page-hero {
  padding: 52px 0 40px; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 85% 0%, rgba(124,194,66,.20) 0%, rgba(124,194,66,0) 55%), var(--bg);
}
.page-hero h1 { font-size: clamp(1.9rem, 6.6vw, 3.1rem); font-weight: 800; max-width: 22ch; }
.page-hero p.lead { color: #dfe5e1; font-size: 1.06rem; max-width: 62ch; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green); border-radius: 2px; }
.hero h1 { font-size: clamp(2rem, 7.6vw, 3.5rem); font-weight: 800; max-width: 18ch; }
.accent { color: var(--green); }
.hero-sub { color: #dfe5e1; font-size: 1.06rem; max-width: 58ch; margin-bottom: 26px; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.hero-note { color: var(--muted); font-size: .9rem; margin: 0 0 30px; }
.hero-note strong { color: var(--text); }
.stats { display: grid; grid-template-columns: 1fr; gap: 10px; list-style: none; padding: 0; margin: 0; }
.stats li { background: rgba(26, 31, 28, .8); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; display: flex; flex-direction: column; }
.stats strong { font-size: 1.3rem; color: var(--green); line-height: 1.15; }
.stats span { color: var(--muted); font-size: .85rem; line-height: 1.35; margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 32px; }
.section-head h2, .split h2 { font-size: clamp(1.6rem, 5.4vw, 2.4rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.02rem; margin: 0; }
/* v3.12: About > "Terima Wangi!" highlighted box (brand-green accent card) */
.section-head.ms-highlight { max-width: none; background: linear-gradient(135deg, rgba(124,194,66,.18) 0%, rgba(124,194,66,.06) 60%), var(--card); border: 1px solid rgba(124,194,66,.45); border-left: 5px solid var(--green); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); }
.section-head.ms-highlight h2 { max-width: 30ch; }
.section-head.ms-highlight p { color: #e7f3dc; max-width: 62ch; margin-top: 10px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.split { display: grid; gap: 28px; align-items: center; }
.split p { color: var(--muted); }
.split p strong { color: var(--text); }
.photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.badge {
  position: absolute; left: 10px; bottom: 10px; font-size: .72rem; font-weight: 700;
  background: rgba(0,0,0,.66); padding: 3px 10px; border-radius: 999px; color: #eee; letter-spacing: .02em;
}
.more-link { margin-top: 22px; }
/* v3.7 real photos */
.photo figcaption { padding: 10px 14px 12px; font-size: .88rem; color: var(--muted); }
.visit-photos { display: grid; gap: 14px; margin-top: 22px; }
.visit-photos .photo img { aspect-ratio: 4 / 3; }
.gallery-grid.real, .gallery-grid.team, .gallery-grid.hvac { grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery-grid.real img, .gallery-grid.team img { aspect-ratio: 4 / 5; }
.gallery-grid.real .wide, .gallery-grid.team .wide { grid-column: span 2; }
.gallery-grid.real .wide img, .gallery-grid.team .wide img { aspect-ratio: 8 / 5; }
.gallery-grid.real figcaption, .gallery-grid.team figcaption, .gallery-grid.hvac figcaption { padding: 10px 12px 12px; font-size: .84rem; }
.gallery-grid.real figcaption strong, .gallery-grid.team figcaption strong, .gallery-grid.hvac figcaption strong { font-size: .94rem; }
/* v3.9 HVAC group: two tall portraits + one landscape. Mobile: 2 portraits side by side, landscape full width.
   Desktop (>=900px): one row, columns 1fr 1fr 2fr, landscape height matched to the portraits. */
/* v3.9 Events: video loop + two stills. Mobile: video full width (4/5), stills side by side (9/16).
   Desktop (>=900px): three equal columns at 3/4. */
.gallery-grid.events { grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery-grid.events li { display: flex; }
.gallery-grid.events figure { flex: 1; width: 100%; }
.gallery-grid.events img, .gallery-grid.events video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #111; }
.gallery-grid.events .wide { grid-column: span 2; }
.gallery-grid.events .wide video { aspect-ratio: 4 / 5; object-position: 50% 45%; cursor: pointer; }
.gallery-grid.events video:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.gallery-grid.events figcaption { padding: 10px 12px 12px; font-size: .84rem; }
.gallery-grid.events figcaption strong { font-size: .94rem; }
/* v3.10 installation clips: landscape row (16:9) + square row (1:1). Mobile: landscapes full width, squares 2-up;
   600px+: 3 landscapes and 4 squares per row. */
.video-block { margin-top: 36px; }
.video-block h3 { margin: 0 0 6px; font-size: 1.2rem; }
.video-block > p { margin: 0 0 16px; color: var(--muted); }
.gallery-grid.videos { gap: 10px; }
.gallery-grid.videos.land { grid-template-columns: 1fr; margin-bottom: 10px; }
.gallery-grid.videos.sq { grid-template-columns: 1fr 1fr; }
.gallery-grid.videos li { display: flex; }
.gallery-grid.videos figure { flex: 1; width: 100%; }
.gallery-grid.videos video { display: block; width: 100%; height: auto; object-fit: cover; background: #111; cursor: pointer; }
.gallery-grid.videos.land video { aspect-ratio: 16 / 9; }
.gallery-grid.videos.sq video { aspect-ratio: 1 / 1; }
.gallery-grid.videos video:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.gallery-grid.videos figcaption { padding: 10px 12px 12px; font-size: .84rem; }
.gallery-grid.videos figcaption strong { font-size: .94rem; }
.gallery-grid.hvac li { display: flex; }
.gallery-grid.hvac figure { flex: 1; width: 100%; }
.gallery-grid.hvac img { aspect-ratio: 9 / 16; }
.gallery-grid.hvac .wide { grid-column: span 2; }
.gallery-grid.hvac .wide img { aspect-ratio: 4 / 3; }

/* ---------- Cards (generic) ---------- */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cards li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.cards svg { width: 34px; height: 34px; color: var(--green); margin-bottom: 12px; }
.cards h3 { font-size: 1.06rem; margin-bottom: 6px; }
.cards p { color: var(--muted); font-size: .93rem; margin: 0; }
.cards .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green); color: #0b0d0c; font-weight: 800; margin-bottom: 12px; }

/* ---------- Comparison ---------- */
.compare { display: grid; gap: 16px; }
.compare-card { border-radius: var(--radius); padding: 24px 22px; border: 1px solid var(--line); background: var(--card); }
.compare-card h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.compare-card .tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.compare-card.diy .tag { background: rgba(255,255,255,.08); color: var(--muted); }
.compare-card.ds { background: linear-gradient(160deg, #1f2a1c 0%, var(--card) 70%); border-color: rgba(124,194,66,.45); box-shadow: var(--shadow); }
.compare-card.ds .tag { background: var(--green); color: #0b0d0c; }
.checklist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checklist li > span { color: #dfe5e1; }
.checklist li small { display: block; color: var(--muted-2); font-size: .85rem; }
.ico { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.ico svg { width: 14px; height: 14px; }
.ico-x { background: rgba(255, 99, 99, .14); color: #ff7b7b; }
.ico-ok { background: var(--green-soft); color: var(--green); }
.callout {
  margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px dashed rgba(124,194,66,.5); background: var(--green-soft); color: #e7f3dc; font-size: .95rem;
}
.callout strong { color: var(--green); }
.callout a { color: var(--green); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px 74px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; color: #0b0d0c; background: var(--green);
}
.step h3 { font-size: 1.08rem; margin-bottom: 4px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Ongoing monthly service note (unnumbered, right after the steps) */
.ongoing { margin-top: 14px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; background: var(--green-soft); border: 1px dashed rgba(124,194,66,.55); border-radius: var(--radius); padding: 20px; }
.ongoing svg { width: 30px; height: 30px; color: var(--green); margin-top: 2px; }
.ongoing h3 { font-size: 1.08rem; margin-bottom: 4px; }
.ongoing p { color: #dfe5e1; margin: 0; font-size: .95rem; }

/* ---------- v3.5: primary CTA, What's included, research note, contact form ---------- */
.page-hero-cta { margin: 22px 0 0; }
.promise { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-weight: 700; color: var(--green); font-size: .95rem; }
.promise span[aria-hidden] { color: var(--muted-2); }
.promise-strip { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.promise-strip li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(124,194,66,.45); background: var(--green-soft); color: #eef3ef; font-weight: 700; font-size: .95rem; }
.promise-strip svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.inc-short { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.inc-short h3 { font-size: 1.05rem; margin-bottom: 12px; }
.inc-short ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.inc-short li { display: flex; gap: 10px; align-items: flex-start; color: #dfe5e1; font-size: .95rem; }
.inc-short-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.inc-short-foot .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.seg .seg-cta { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(124,194,66,.5); color: var(--green); font-weight: 700; font-size: .9rem; text-decoration: none; }
.seg .seg-cta:hover, .seg .seg-cta:focus-visible { background: var(--green); color: #0b0d0c; }
.seg .seg-cta svg { width: 18px; height: 18px; flex: none; margin: 0; color: currentColor; }
.res-note { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; max-width: 62ch; color: #dfe5e1; font-weight: 600; font-size: .95rem; }
.res-note svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
.form-wrap { display: grid; gap: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.form-intro p { color: #dfe5e1; }
.form-intro .promise { margin-top: 10px; color: var(--green); }
.wa-form { display: grid; gap: 14px; }
.wa-form .field { display: grid; gap: 6px; min-width: 0; }
.wa-form label { font-weight: 700; font-size: .92rem; color: var(--text); }
.wa-form .opt { font-weight: 400; color: var(--muted-2); font-size: .85rem; }
.wa-form input, .wa-form select { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); background: #0e100f; color: var(--text); font: inherit; font-size: 1rem; }
.wa-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, #9aa59e 50%), linear-gradient(135deg, #9aa59e 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.wa-form input:focus, .wa-form select:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.wa-form [aria-invalid="true"] { border-color: #e57373; }
.wa-form ::placeholder { color: #7d8781; }
.form-submit { width: 100%; }
.form-note { color: var(--muted-2); font-size: .85rem; margin: 0; }
.form-msg { margin: 0; padding: 10px 14px; border-radius: 10px; font-size: .92rem; }
.form-err { background: rgba(229,115,115,.12); border: 1px solid rgba(229,115,115,.45); color: #f3c4c4; }
.form-ok { background: var(--green-soft); border: 1px solid rgba(124,194,66,.45); color: #dfe5e1; }
.form-ok a { color: var(--green); font-weight: 700; }
a.tap { display: inline-block; padding: 10px 2px; }
.footer-links a { min-height: 44px; }

/* ---------- Included list ---------- */
.included { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.included li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; color: #dfe5e1; }
.included small { display: block; color: var(--muted-2); font-size: .85rem; }

/* ---------- Segments ---------- */
.segments { display: grid; grid-template-columns: 1fr; gap: 12px; list-style: none; padding: 0; margin: 0; }
.seg { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 18px; display: flex; flex-direction: column; }
.seg svg { width: 34px; height: 34px; color: var(--green); margin-bottom: 10px; }
.seg h3 { font-size: 1.04rem; margin-bottom: 4px; }
.seg p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.45; }
.seg .zone { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: #dfe5e1; font-size: .86rem; }
.seg .zone span:first-child { display: block; color: var(--green); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }

/* ---------- Scent selection ---------- */
p.scent-big, .split p.scent-big { font-size: clamp(3.6rem, 16vw, 6rem); font-weight: 800; line-height: 1; color: var(--green); margin-bottom: 6px; }
.points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.points li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: #dfe5e1; }

/* ---------- Cold-air technology ---------- */
.tech-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tech-points li { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.tech-points strong { color: var(--green); font-size: 1.02rem; }
.tech-points span { color: var(--muted); font-size: .9rem; line-height: 1.45; }

/* ---------- Research ---------- */
.research { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.research > li { flex: 1 1 100%; }
.research li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; }
.research .r-year { color: var(--green); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.research h3 { font-size: 1.05rem; margin-bottom: 6px; }
.research p { color: var(--muted); font-size: .92rem; }
.cite-ref { color: var(--green); text-decoration: none; font-weight: 800; letter-spacing: 0; margin-left: 4px; white-space: nowrap; }
.cite-ref:hover, .cite-ref:focus-visible { text-decoration: underline; }
/* Sources list under the study cards */
.sources { margin-top: 22px; padding: 22px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 90px; }
.sources h3 { font-size: 1.05rem; margin-bottom: 4px; }
.sources > p { color: var(--muted); font-size: .86rem; margin: 0 0 12px; }
.source-list { margin: 0; padding-left: 1.6em; display: grid; gap: 10px; }
.source-list li { color: var(--muted-2); font-size: .84rem; line-height: 1.55; word-break: break-word; scroll-margin-top: 90px; }
.source-list li::marker { color: var(--green); font-weight: 800; }
.source-list li:target { color: #dfe5e1; }
.source-list cite { font-style: normal; color: #cfd6d1; }
.source-list cite em { font-style: italic; }
.source-list a.doi { color: var(--green); text-decoration: none; }
.source-list a.doi:hover, .source-list a.doi:focus-visible { text-decoration: underline; }
.seg .seg-note { margin: 10px 0 14px; font-size: .8rem; color: var(--muted-2); }
.seg .seg-note a { color: var(--green); text-decoration: none; white-space: nowrap; }
.seg .seg-note a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-group { max-width: 840px; margin: 0 auto 36px; }
.faq-group h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.faq-group h2::before { content: ""; width: 22px; height: 2px; background: var(--green); border-radius: 2px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq details[open] { border-color: rgba(124,194,66,.4); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 18px; position: relative; font-weight: 700; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); font-size: 1.2rem; font-weight: 600; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 18px 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer a { color: var(--green); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 14px; list-style: none; padding: 0; margin: 0; }
.gallery-grid figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.gallery-grid .media { position: relative; }
.gallery-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery-grid figcaption { padding: 14px 16px 16px; font-size: .92rem; color: var(--muted); }
.gallery-grid figcaption strong { display: block; color: var(--text); font-size: 1rem; margin-bottom: 2px; }
.note { color: var(--muted-2); font-size: .85rem; margin-top: 14px; }

/* ---------- Prepare checklist ---------- */
.prep { display: grid; gap: 18px; background: var(--card); border: 1px solid rgba(124,194,66,.35); border-radius: var(--radius); padding: 24px 20px; }
.prep h2 { font-size: clamp(1.4rem, 4.6vw, 1.9rem); font-weight: 800; margin-bottom: 8px; }
.prep-copy p { color: var(--muted); margin: 0; font-size: .97rem; }
.prep-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.prep-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: center; color: #dfe5e1; font-size: .97rem; }
.prep-list small { color: var(--muted-2); }
.prep-btn { justify-self: stretch; }

/* ---------- Contact ---------- */
.contact-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-cards a { display: flex; gap: 14px; align-items: flex-start; height: 100%; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color .15s ease; }
.contact-cards a:hover { border-color: rgba(124,194,66,.55); }
.contact-cards svg { width: 26px; height: 26px; color: var(--green); flex: none; margin-top: 2px; }
.contact-cards .k { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.contact-cards .v { display: block; font-weight: 700; font-size: 1.04rem; word-break: break-word; }
.contact-cards .d { display: block; color: var(--muted); font-size: .88rem; }
.offices { display: grid; gap: 12px; }
.offices > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.offices h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.offices address, .offices p { font-style: normal; color: #dfe5e1; margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 60px 0; }
.final-box {
  position: relative; overflow: hidden; text-align: center; border-radius: 24px; padding: 44px 22px;
  background: radial-gradient(ellipse at 50% 0%, rgba(124,194,66,.28) 0%, rgba(124,194,66,0) 60%), var(--card);
  border: 1px solid rgba(124,194,66,.35);
}
.final-box img { width: 54px; margin: 0 auto 16px; }
.final-box h2 { font-size: clamp(1.6rem, 5.6vw, 2.5rem); font-weight: 800; max-width: 22ch; margin-left: auto; margin-right: auto; }
.final-box p { color: var(--muted); max-width: 54ch; margin: 0 auto 24px; }
.final-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; max-width: 420px; margin: 0 auto; }
.final-mail { margin: 18px auto 0 !important; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .95rem; flex-wrap: wrap; }
.final-mail svg { width: 18px; height: 18px; color: var(--green); }
.final-mail a { color: var(--green); text-decoration: none; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 110px; background: #0a0c0b; color: var(--muted); font-size: .93rem; }
.footer-grid { display: grid; gap: 28px; }
.footer-logo { width: 180px; margin-bottom: 12px; }
.site-footer h3 { color: var(--text); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; }
.footer-links svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted-2); display: flex; flex-direction: column; gap: 6px; }

/* ---------- Floating WhatsApp (phones only) ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 6px rgba(37, 211, 102, .18);
}
.wa-float svg { width: 30px; height: 30px; }

/* =========================================================
   Larger screens
   ========================================================= */
@media (max-width: 379px) {
  .header-inner, .header-actions { gap: 6px; }
  .brand-word { height: 11px; }
  .lang-switch button { padding: 6px 8px; min-width: 32px; }
}
@media (max-width: 359px) {
  .brand-word { display: none; }
}
@media (min-width: 600px) {
  .inc-short ul { grid-template-columns: 1fr 1fr; }
  .form-submit { width: auto; justify-self: start; }
  .container { padding: 0 24px; }
  .main-nav.is-open { padding: 10px 24px 20px; }
  .brand-icon { height: 34px; }
  .brand-word { height: 15px; }
  .header-actions { gap: 10px; }
  .header-cta { padding: 8px 14px; }
  .header-cta .label-long { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .segments { grid-template-columns: 1fr 1fr; }
  .research { gap: 14px; }
  .research > li { flex: 0 1 calc((100% - 14px) / 2); }
  .final-actions { flex-direction: row; justify-content: center; max-width: none; }
  .cards.c2, .cards.c3, .cards.c4 { grid-template-columns: 1fr 1fr; }
  .tech-points { grid-template-columns: 1fr 1fr; }
  .included { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .visit-photos { grid-template-columns: 1fr 1fr; gap: 16px; }
  .gallery-grid.real, .gallery-grid.team, .gallery-grid.hvac, .gallery-grid.events, .gallery-grid.videos { gap: 14px; }
  .gallery-grid.videos.land { grid-template-columns: repeat(3, 1fr); margin-bottom: 14px; }
  .gallery-grid.videos.sq { grid-template-columns: repeat(3, 1fr); }
  .video-block { margin-top: 44px; }
  .gallery-grid.events figcaption { padding: 14px 16px 16px; font-size: .92rem; }
  .gallery-grid.real figcaption, .gallery-grid.team figcaption, .gallery-grid.hvac figcaption { padding: 14px 16px 16px; font-size: .92rem; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .offices { grid-template-columns: 1fr 1fr; }
  .prep-btn { justify-self: start; }
}
@media (min-width: 900px) {
  .form-wrap { grid-template-columns: 1fr 1.25fr; align-items: start; padding: 32px; gap: 36px; }
  .wa-form { grid-template-columns: 1fr 1fr; }
  .wa-form .field:nth-of-type(5), .wa-form .form-msg, .wa-form .form-submit, .wa-form .form-note { grid-column: 1 / -1; }
  .inc-short ul { grid-template-columns: repeat(3, 1fr); }
  .container { padding: 0 32px; }
  :root { --header-h: 72px; }
  .hero { padding: 104px 0 86px; }
  .page-hero { padding: 84px 0 64px; }
  .section { padding: 92px 0; }
  .split { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .split.rev > :first-child { order: 2; }
  .compare { grid-template-columns: 1fr 1fr; gap: 22px; }
  .compare-card { padding: 30px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 74px 22px 24px; }
  .step::before { top: 22px; left: 22px; }
  .cards.c3 { grid-template-columns: repeat(3, 1fr); }
  .cards.c4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .segments { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .seg { padding: 24px 22px; }
  .included { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .research { gap: 16px; }
  .research > li { flex: 0 1 calc((100% - 48px) / 4); }
  .sources { padding: 26px 28px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .gallery-grid.real { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .gallery-grid.team { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .gallery-grid.hvac { grid-template-columns: 1fr 1fr 2fr; gap: 16px; }
  .gallery-grid.events { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gallery-grid.videos { gap: 16px; }
  .gallery-grid.videos.land { margin-bottom: 16px; }
  .gallery-grid.videos figcaption { padding: 14px 16px 16px; font-size: .92rem; }
  .gallery-grid.events .wide { grid-column: auto; }
  .gallery-grid.events img, .gallery-grid.events .wide video { aspect-ratio: 3 / 4; }
  .gallery-grid.hvac .wide { grid-column: auto; }
  .gallery-grid.hvac .wide img { aspect-ratio: 9 / 8; }   /* 2fr column = 2 x portrait width, so 9/8 matches 9/16 height */
  .prep { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 32px; }
  .prep-btn { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; gap: 20px; }
  .site-footer { padding-bottom: 40px; }
  .wa-float { display: none; }
  .final-box { padding: 64px 40px; }
}
/* Full desktop navigation */
@media (min-width: 1100px) {
  .hero-bg { left: auto; right: 0; width: 64%; height: 100%; object-position: 12% 32%; }
  .hero::before { background: linear-gradient(90deg, rgba(14,16,15,1) 0%, rgba(14,16,15,.96) 38%, rgba(14,16,15,.62) 60%, rgba(14,16,15,.22) 100%), linear-gradient(180deg, rgba(14,16,15,0) 70%, var(--bg) 100%); }
  .menu-toggle { display: none; }
  .main-nav, .main-nav.is-open { display: block; position: static; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
  .main-nav ul { display: flex; gap: 26px; }
  .main-nav a { padding: 6px 0; border: 0; font-size: .94rem; border-bottom: 2px solid transparent; }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--green); }
  .main-nav .nav-cta { display: none; }
}

@media (max-width: 1099px) {
  .hero { --hero-ph: clamp(230px, 60vw, 400px); padding-top: calc(var(--hero-ph) - 60px); }
  .hero::before { background: linear-gradient(180deg, rgba(14,16,15,.25) 0%, rgba(14,16,15,.30) calc(var(--hero-ph) * .5), rgba(14,16,15,.86) calc(var(--hero-ph) - 50px), var(--bg) var(--hero-ph), var(--bg) 100%); }
}
@media (min-width: 1600px) {
  .hero-bg { width: 56%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- v3.13: Articles (index cards + article pages) ---------- */
.art-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.art-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s ease; }
.art-card:hover, .art-card:focus-within { border-color: rgba(124,194,66,.55); }
.art-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.art-text { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.art-meta { color: var(--green); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; }
.art-title { font-size: 1.16rem; line-height: 1.3; margin: 0 0 8px; }
.art-title a { color: var(--text); text-decoration: none; }
.art-title a::after { content: ""; position: absolute; inset: 0; }   /* whole card is clickable */
.art-title a:focus-visible { outline: none; }
.art-card:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.art-teaser { color: var(--muted); font-size: .95rem; margin: 0 0 14px; }
.art-more { margin-top: auto; font-size: .92rem; }
.art-wrap { max-width: 800px; }
.art-hero h1 { max-width: none; font-size: clamp(1.8rem, 6vw, 2.7rem); }
.art-hero .eyebrow a { color: inherit; text-decoration: none; }
.art-hero .eyebrow a:hover { text-decoration: underline; }
.art-hero .art-meta { margin: 18px 0 0; }
.art-hero .art-meta span { color: var(--muted); }
.art-photo { margin: 28px 0 8px; }
.art-photo img { aspect-ratio: 16 / 9; }
.prose { padding: 8px 0 4px; }
.prose h2 { font-size: clamp(1.35rem, 4.4vw, 1.75rem); font-weight: 800; margin: 38px 0 12px; }
.prose h3 { font-size: 1.08rem; margin: 22px 0 6px; color: var(--green); }
.prose p, .prose li { color: #dfe5e1; font-size: 1.04rem; line-height: 1.7; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 1.3em; display: grid; gap: 8px; }
.prose li::marker { color: var(--green); }
.prose a:not(.cite-ref) { color: var(--green); }
.article .sources h2 { font-size: 1.05rem; margin-bottom: 4px; }
.art-back { margin: 26px 0 50px; }
@media (min-width: 600px) {
  .art-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 900px) {
  .art-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
/* 7 menu items: tighten the gap until there is room */
@media (min-width: 1100px) and (max-width: 1279px) {
  .main-nav ul { gap: 18px; }
}
/* v3.13: articles empty state + template markers */
.art-empty { max-width: 640px; margin: 0 auto; text-align: center; padding: 40px 24px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--card); }
.art-empty img { width: 40px; height: auto; margin: 0 auto 16px; opacity: .9; }
.art-empty h2 { font-size: clamp(1.3rem, 4vw, 1.7rem); margin: 0 0 10px; }
.art-empty p { color: var(--muted); margin: 0 0 14px; }
.art-empty-links { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; margin: 0 !important; }
.tpl-banner { background: #3a2f0b; border-bottom: 1px solid #8a6d1a; color: #f3e3b0; font-size: .9rem; padding: 10px 0; }
.tpl-banner strong, .tpl-badge { display: inline-block; background: #e8b931; color: #1a1406; font-weight: 800; letter-spacing: .08em; border-radius: 4px; padding: 1px 7px; margin-right: 8px; font-size: .75rem; }
/* ---- articles v3.14: neutral image placeholder (replace with real photos later) ---- */
.art-ph { width: 100%; aspect-ratio: 16 / 10; background: url("assets/img/logo-icon.svg") center / 40px auto no-repeat, radial-gradient(120% 90% at 50% 40%, rgba(124,194,66,.10), rgba(124,194,66,0) 60%), linear-gradient(160deg, var(--card-2), var(--bg-2)); opacity: .95; }
.art-photo .art-ph { aspect-ratio: 16 / 9; background-size: 56px auto, auto, auto; }
.art-media .art-ph { border-bottom: 1px solid var(--line); }
.art-photo img, .art-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.art-media img { border-bottom: 1px solid var(--line); }
.prose-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
.prose-table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose-table th, .prose-table td { text-align: left; vertical-align: top; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.prose-table tbody tr:last-child th, .prose-table tbody tr:last-child td { border-bottom: 0; }
.prose-table thead th { color: var(--text); font-size: .85rem; }
.prose-table thead th:last-child, .prose-table td:last-child { color: #e7f3dc; background: rgba(124,194,66,.07); }
.prose-table tbody th { color: #dfe5e1; width: 28%; }
.prose-table td { color: var(--muted); }
@media (max-width: 599px) { .prose-table table { font-size: .84rem; } .prose-table th, .prose-table td { padding: 9px 8px; } }
.prose ol { margin: 0 0 16px; padding-left: 1.4em; display: grid; gap: 8px; }
.prose ol li::marker { color: var(--green); font-weight: 800; }
.prose .art-note { color: var(--muted); font-size: .95rem; border-left: 3px solid var(--green); padding-left: 12px; margin-top: 26px; }
/* ---- end v3.14 ---- */

/* v3.11 tap-to-play gallery videos: play icon over paused clips (class added by i18n.js) */
.gallery-grid .media.tap-video { cursor: pointer; }
.gallery-grid .media.tap-video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%; background: rgba(10,12,11,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%23fff'/%3E%3C/svg%3E") 55% 50% / 26px no-repeat;
  border: 1.5px solid rgba(255,255,255,.75); box-shadow: 0 2px 10px rgba(0,0,0,.35); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.gallery-grid .media.tap-video:hover::after { transform: scale(1.06); }
.gallery-grid .media.tap-video.is-playing::after { opacity: 0; transform: scale(.9); }
@media (prefers-reduced-motion: reduce) { .gallery-grid .media.tap-video::after { transition: none; } }
