/* =========================================================
   Ecotech Solar and Security Inc. — Landing Page Styles
   Edit brand colors in :root below.
   ========================================================= */
:root {
  --navy: #0b1f33;          /* primary dark (security / trust) */
  --navy-2: #12304d;
  --green: #14a37f;         /* eco green */
  --green-dark: #0e7c61;
  --sun: #f5b301;           /* solar accent */
  --sun-dark: #d99a00;
  --ink: #16212e;
  --muted: #5b6b7c;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-soft: #f4f8f7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 31, 51, .08);
  --shadow-lg: 0 20px 50px rgba(11, 31, 51, .16);
  --container: 1200px;
  --nav-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s; font-family: inherit; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-sm { padding: .5em 1em; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--sun); color: var(--navy); box-shadow: 0 8px 20px rgba(245, 179, 1, .35); }
.btn-primary:hover { background: var(--sun-dark); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--green); color: var(--green-dark); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost-dark { border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c9d6e3; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info svg { color: var(--sun); }
.topbar a:hover { color: #fff; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social svg { width: 16px; height: 16px; }

/* ---------- Navbar ---------- */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.navbar.scrolled { box-shadow: 0 6px 24px rgba(11,31,51,.08); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; }
.logo-mark svg { width: 30px; height: 30px; }
.logo-text { font-weight: 800; font-size: 1.3rem; color: var(--navy); line-height: 1; display: flex; flex-direction: column; }
.logo-text small { font-size: .68rem; font-weight: 600; color: var(--green-dark); letter-spacing: .04em; margin-top: 3px; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text small { color: var(--sun); }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: .95rem; }
.nav-links a:not(.btn) { position: relative; color: var(--ink); }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--green); transition: width .25s; }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green-dark); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(560px, calc(100vh - var(--nav-h) - 40px), 860px); min-height: clamp(560px, calc(100svh - var(--nav-h) - 40px), 860px);
  display: flex; align-items: center; color: #fff; padding: 80px 0 110px;
  /* hero.png is used when present; the gradient shows until then */
  background: url("../images/hero.png") center / cover no-repeat, linear-gradient(135deg, #0b1f33 0%, #12304d 45%, #0e7c61 100%);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,51,.88) 0%, rgba(11,31,51,.6) 50%, rgba(11,31,51,.2) 100%); }
.hero-content { position: relative; max-width: var(--container); }
.hero-content > * { max-width: 700px; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(245,179,1,.15); border: 1px solid rgba(245,179,1,.5); color: var(--sun); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); margin-bottom: 20px; }
.accent { color: var(--sun); }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.18rem); color: #d6e1ec; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; gap: 36px; flex-wrap: wrap; }
.hero-badges li { color: #c9d6e3; font-size: .9rem; display: flex; flex-direction: column; }
.hero-badges strong { color: #fff; font-size: 1.8rem; font-weight: 800; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Brands ---------- */
.brands { border-bottom: 1px solid var(--line); padding: 28px 0; }
.brands-title { text-align: center; color: var(--muted); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-tag { display: inline-block; color: var(--green-dark); background: rgba(20,163,127,.1); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.section-tag.light { color: var(--sun); background: rgba(245,179,1,.14); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img, .about-media .img-fallback { border-radius: var(--radius); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.about-badge { position: absolute; right: -20px; bottom: -24px; background: var(--sun); color: var(--navy); padding: 20px 24px; border-radius: var(--radius); display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); }
.about-badge strong { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.about-badge span { font-weight: 700; font-size: .85rem; line-height: 1.3; }
.about-copy p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; font-weight: 600; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: .75rem; display: grid; place-items: center; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mv-card { background: var(--bg-soft); border-left: 4px solid var(--green); padding: 18px 20px; border-radius: var(--radius-sm); }
.mv-card h4 { margin-bottom: 6px; color: var(--navy); }
.mv-card p { margin: 0; font-size: .92rem; }

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { background: #fff; padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--green), var(--sun)); transition: width .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { width: 100%; }
.service-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(20,163,127,.1); color: var(--green-dark); }
.service-card[data-cat="security"] .service-icon { background: rgba(11,31,51,.08); color: var(--navy); }
.service-card[data-cat="both"] .service-icon { background: rgba(245,179,1,.15); color: var(--sun-dark); }
.service-icon svg { width: 28px; height: 28px; }
.service-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.link-arrow { font-weight: 700; color: var(--green-dark); font-size: .9rem; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- Products ---------- */
.filter-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tab { font-family: inherit; font-weight: 700; font-size: .9rem; padding: .6em 1.3em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: .2s; }
.tab:hover { border-color: var(--green); color: var(--green-dark); }
.tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, opacity .3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card.hidden { display: none; }
.product-img { position: relative; aspect-ratio: 4/3; background: var(--bg-soft); overflow: hidden; }
.product-img img, .product-img .img-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.pill { position: absolute; top: 12px; left: 12px; background: var(--sun); color: var(--navy); font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .75rem; font-weight: 700; color: var(--green-dark); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.product-body h3 { font-size: 1.05rem; }
.product-body p { color: var(--muted); font-size: .9rem; flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.price { font-weight: 800; color: var(--navy); font-size: .9rem; }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--green-dark) 100%); color: #fff; padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num, .stat-plus { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; }
.stat-plus { color: var(--sun); margin-left: 2px; }
.stat p { color: #c9d6e3; margin: 4px 0 0; font-weight: 600; }

/* ---------- Carousel ---------- */
.carousel { max-width: 1100px; margin: 0 auto; }
.carousel-viewport { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--navy); touch-action: pan-y; }
.carousel-track { display: flex; transition: transform .6s cubic-bezier(.65,.05,.36,1); }
.slide { position: relative; min-width: 100%; aspect-ratio: 16/9; }
.slide img, .slide .img-fallback { width: 100%; height: 100%; object-fit: cover; }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 32px 28px; background: linear-gradient(0deg, rgba(11,31,51,.92), rgba(11,31,51,0)); color: #fff; }
.slide-caption .tag { display: inline-block; background: var(--sun); color: var(--navy); font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.slide-caption .tag.security { background: #fff; }
.slide-caption h3 { font-size: clamp(1.1rem, 2.2vw, 1.6rem); margin-bottom: 4px; }
.slide-caption p { margin: 0; color: #d6e1ec; font-size: .95rem; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: background .2s, transform .2s; z-index: 2; }
.carousel-btn svg { width: 26px; height: 26px; }
.carousel-btn:hover { background: var(--sun); transform: translateY(-50%) scale(1.06); }
.carousel-btn.prev { left: 18px; }
.carousel-btn.next { right: 18px; }
.carousel-pause { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(11,31,51,.6); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.carousel-pause .i-play { display: none; }
.carousel-pause.paused .i-play { display: block; }
.carousel-pause.paused .i-pause { display: none; }
.carousel-thumbs { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; margin-top: 16px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 16/10; background: var(--bg-soft); opacity: .55; transition: opacity .2s, border-color .2s, transform .2s; }
.thumb:hover { opacity: .9; }
.thumb.active { opacity: 1; border-color: var(--sun); transform: translateY(-2px); }
.thumb img, .thumb .img-fallback { width: 100%; height: 100%; object-fit: cover; font-size: .6rem; }

/* ---------- Image fallback (shown until real images are added) ---------- */
.img-fallback { display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(45deg, #1a3a5a 0 14px, #17344f 14px 28px); color: rgba(255,255,255,.75); font-weight: 700; font-size: .9rem; padding: 8px; }
.product-img .img-fallback { background: repeating-linear-gradient(45deg, #eef3f2 0 14px, #e6eeec 14px 28px); color: var(--muted); }

/* ---------- Process ---------- */
.process-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process-grid li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--bg-soft); }
.process-grid li:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -22px; width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 4px, transparent 4px 8px); }
.step { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--sun); font-weight: 800; margin-bottom: 18px; }
.process-grid p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Calculator ---------- */
.calculator { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.calculator::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(245,179,1,.28), transparent 70%); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.calc-copy p { color: #c9d6e3; }
.calc-copy .note { font-size: .82rem; color: #8ea3b8; }
.calc-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); }
.calc-card label { font-weight: 700; display: block; margin-bottom: 10px; }
.calc-input-wrap { display: flex; align-items: center; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 0 14px; margin-bottom: 16px; transition: border-color .2s; }
.calc-input-wrap:focus-within { border-color: var(--green); }
.currency { font-weight: 800; color: var(--muted); }
.calc-input-wrap input { border: 0; outline: 0; font: inherit; font-size: 1.4rem; font-weight: 800; padding: 12px 10px; width: 100%; color: var(--navy); }
input[type="range"] { width: 100%; accent-color: var(--green); margin-bottom: 22px; }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.calc-results div { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px 16px; }
.calc-results span { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.calc-results strong { font-size: 1.25rem; color: var(--green-dark); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-item { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.why-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.why-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; }
.why-item p { color: var(--muted); margin: 0; font-size: .94rem; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-soft); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { margin: 0; background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stars { color: var(--sun); letter-spacing: 2px; margin-bottom: 14px; }
.testi-card blockquote { margin: 0 0 22px; color: var(--ink); flex: 1; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--sun); display: grid; place-items: center; font-weight: 800; }
.testi-card figcaption strong { display: block; }
.testi-card figcaption span { font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-size: 1.2rem; color: var(--green-dark); transition: transform .3s; }
.faq-item[open] summary::after { content: "−"; background: var(--green); color: #fff; }
.faq-item p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--sun) 0%, #ffcf3d 100%); padding: 56px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; color: var(--navy); }
.cta-inner h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 6px; }
.cta-inner p { margin: 0; font-weight: 600; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info > p { color: var(--muted); }
.info-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(20,163,127,.1); color: var(--green-dark); display: grid; place-items: center; flex-shrink: 0; }
.info-icon svg { width: 22px; height: 22px; }
.info-list strong { display: block; }
.info-list span { color: var(--muted); font-size: .94rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.contact-form.card, .contact-box { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.contact-form h3 { font-size: 1.4rem; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .95rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(20,163,127,.12); }
.field.invalid input { border-color: #d64545; }
.consent { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.consent input { accent-color: var(--green); width: 18px; height: 18px; }
.form-status { margin: 14px 0 0; font-weight: 600; text-align: center; min-height: 1.4em; }
.form-status.ok { color: var(--green-dark); }
.form-status.err { color: #d64545; }

/* ---------- Footer ---------- */
.footer { background: #071523; color: #a9b9c9; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { margin-top: 18px; font-size: .94rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .94rem; }
.footer a:hover { color: var(--sun); }
.newsletter { margin-top: 12px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter .form-status { text-align: left; font-size: .85rem; margin-top: 8px; }
.newsletter input { flex: 1; min-width: 0; font: inherit; padding: 10px 14px; border-radius: 999px; border: 1px solid #23384d; background: #0d2135; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #16293c; padding: 22px 20px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Floating buttons ---------- */
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(20,163,127,.5); } 50% { box-shadow: 0 0 0 14px rgba(20,163,127,0); } }
.back-top { position: fixed; right: 30px; bottom: 92px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; z-index: 90; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top svg { width: 24px; height: 24px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid, .products-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 20px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: calc(var(--nav-h)); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 10px 20px 24px; box-shadow: var(--shadow-lg); transform: translateY(-120%); visibility: hidden; transition: transform .35s, visibility .35s; max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 16px; }
  .about-grid, .calc-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { right: 16px; }
  .services-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid li::after { display: none; }
  .why-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .carousel-thumbs { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .topbar-social { display: none; }
  .topbar-info { gap: 14px; justify-content: center; width: 100%; }
  .hero { padding: 60px 0 100px; }
  .hero-overlay { background: rgba(11,31,51,.78); }
  .hero-actions .btn { width: 100%; }
  .hero-badges { gap: 24px; }
  .services-grid, .products-grid, .why-grid, .testi-grid, .process-grid, .mv-grid, .form-row, .calc-results { grid-template-columns: 1fr; }
  .slide { aspect-ratio: 4/3; }
  .slide-caption { padding: 40px 18px 18px; }
  .slide-caption p { display: none; }
  .carousel-btn { width: 40px; height: 40px; }
  .carousel-btn.prev { left: 10px; } .carousel-btn.next { right: 10px; }
  .contact-form.card, .contact-box { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   FEATURE COMPONENTS (multi-page site)
   ========================================================= */
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.center { text-align: center; }
.soft { background: var(--bg-soft); }
.narrow { max-width: 860px; }
.u { text-decoration: underline; text-underline-offset: 3px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; grid-column: 1 / -1; }
.empty-state { text-align: center; padding: 120px 20px; }
.mobile-only { display: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.center-cta { text-align: center; margin-top: 40px; }
.btn-outline-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-outline-light:hover { border-color: var(--sun); color: var(--sun); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; margin-top: 10px; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.tag { display: inline-block; background: var(--sun); color: var(--navy); font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.tag.security { background: var(--navy); color: #fff; }
.tag.ghost { background: var(--bg-soft); color: var(--muted); }
.tag.ghost.light { background: rgba(255,255,255,.18); color: #fff; }
.slide-caption .tag.security { background: #fff; color: var(--navy); }

/* ---------- Promo bar ---------- */
.promo-bar { background: linear-gradient(90deg, var(--green-dark), var(--green)); color: #fff; font-size: .88rem; }
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; position: relative; padding-right: 50px; }
.promo-inner p { margin: 0; text-align: center; }
.promo-inner a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo-tag { background: var(--sun); color: var(--navy); font-weight: 800; font-size: .7rem; padding: 2px 8px; border-radius: 4px; margin-right: 6px; letter-spacing: .05em; }
.promo-close { position: absolute; right: 16px; background: none; border: 0; color: #fff; cursor: pointer; width: 30px; height: 30px; display: grid; place-items: center; opacity: .8; }
.promo-close:hover { opacity: 1; }

/* ---------- Top bar extras ---------- */
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-right > a { font-weight: 600; }
.lang-switch { background: transparent; color: #fff; border: 1px solid #2a4560; border-radius: 6px; font: inherit; font-size: .8rem; padding: 2px 6px; cursor: pointer; }
.lang-switch option { color: var(--ink); }
.logo-img { height: 48px; width: auto; }

/* ---------- Logos / brands / clients ---------- */
.logo-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: center; }
.logo-item { height: 56px; display: grid; place-items: center; }
.logo-item img { max-height: 48px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.logo-item img:hover { filter: none; opacity: 1; }
.logo-item .img-fallback { width: 100%; height: 100%; border-radius: 8px; background: transparent; border: 1.5px dashed #cdd6df; color: #9aa8b6; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }
.clients { margin-top: 56px; }

/* ---------- Certifications ---------- */
.certs { margin-top: 80px; }
.certs-title { text-align: center; color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 24px; }
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-weight: 700; font-size: .88rem; }
.cert-img { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; }
.cert-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-img .img-fallback { width: 100%; height: 100%; border-radius: 50%; background: rgba(245,179,1,.15); color: var(--sun-dark); font-size: .6rem; padding: 0; }

/* ---------- Carousel link ---------- */
.slide-link { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--sun); font-size: .92rem; }
.slide-link:hover { text-decoration: underline; }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ba-card { margin: 0; }
.ba { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy); user-select: none; }
.ba .ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before .img-fallback { background: repeating-linear-gradient(45deg, #5a6878 0 14px, #536170 14px 28px); }
.ba .img-fallback { font-size: 1.4rem; letter-spacing: .2em; }
.ba-label { position: absolute; top: 14px; background: rgba(11,31,51,.75); color: #fff; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; pointer-events: none; }
.ba-label.l { left: 14px; } .ba-label.r { right: 14px; background: var(--sun); color: var(--navy); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.ba-handle span::before { content: "◀ ▶"; position: absolute; inset: 0; display: grid; place-items: center; font-size: .7rem; color: var(--navy); letter-spacing: -1px; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-card figcaption { margin-top: 14px; }
.ba-card figcaption strong { display: block; }
.ba-card figcaption span { color: var(--muted); font-size: .92rem; }

/* ---------- Videos ---------- */
.videos { background: var(--navy); color: #fff; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card h3 { margin-top: 14px; font-size: 1rem; }
.video-thumb, .video-frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 0; padding: 0; background: #12304d; cursor: pointer; display: block; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-thumb:hover img { transform: scale(1.05); }
.video-thumb.placeholder { cursor: default; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #1a3a5a 0 14px, #17344f 14px 28px); }
.video-thumb.placeholder small { position: absolute; bottom: 12px; color: #8ea3b8; font-size: .78rem; }
.play { position: absolute; top: 50%; left: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%; background: var(--sun); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s; }
.play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 20px solid var(--navy); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video-thumb:hover .play { transform: scale(1.1); }

/* ---------- Calculator tabs & financing ---------- */
.calc-points { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.calc-points li::before { content: "✓ "; color: var(--sun); font-weight: 800; }
.calc-tabs, .contact-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-soft); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.calc-tab, .contact-tab { font: inherit; font-weight: 700; border: 0; background: transparent; padding: 10px; border-radius: 999px; cursor: pointer; color: var(--muted); transition: .2s; }
.calc-tab.active, .contact-tab.active { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(11,31,51,.1); }
.calc-panel { margin-bottom: 14px; }
.calc-results .wide { grid-column: 1 / -1; }
.calc-results .big { font-size: 1.9rem; }
.calc-results .pos { color: var(--green-dark); }
.calc-results .neg { color: #c2410c; }
.fin-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fin-row input[type="range"] { margin: 12px 0 0; }
.fin-note { font-size: .8rem; color: var(--muted); margin: 0 0 6px; }
.select { font: inherit; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.field select, .select { cursor: pointer; }

/* ---------- Warranty ---------- */
.warranty-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.warranty-card { text-align: center; padding: 28px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.warranty-card strong { display: block; font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 10px; }
.warranty-card strong small { font-size: .9rem; color: var(--green-dark); margin-left: 4px; }
.warranty-card h3 { font-size: 1rem; margin-bottom: 4px; }
.warranty-card p { color: var(--muted); font-size: .85rem; margin: 0; }
.warranty-card.highlight { background: var(--navy); border-color: var(--navy); color: #fff; }
.warranty-card.highlight strong { color: var(--sun); }
.warranty-card.highlight strong small { color: #fff; }
.warranty-card.highlight p { color: #c9d6e3; }

/* ---------- Google rating summary ---------- */
.rating-summary { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px; background: #fff; border-radius: 999px; padding: 14px 26px; max-width: 760px; margin: -20px auto 40px; box-shadow: var(--shadow); }
.rating-summary strong { font-size: 1.6rem; }
.rating-summary .stars { margin: 0 6px; }
.g-logo { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; }
.rating-actions { display: flex; gap: 8px; }

/* ---------- Areas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.area-card { display: flex; gap: 14px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); transition: .3s; }
.area-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-4px); }
.area-pin { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: rgba(20,163,127,.1); color: var(--green-dark); display: grid; place-items: center; }
.area-pin svg { width: 22px; height: 22px; }
.area-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.area-card p { color: var(--muted); font-size: .88rem; margin-bottom: 6px; }
.area-count { font-weight: 700; color: var(--green-dark); font-size: .85rem; }
.area-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area-service { padding: 18px; border-radius: var(--radius-sm); background: var(--bg-soft); font-weight: 700; }
.chip-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- Blog cards ---------- */
.blog-latest { background: var(--bg-soft); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.post-img img, .post-img .img-fallback { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.post-meta { font-size: .78rem; font-weight: 700; color: var(--green-dark); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; display: block; }
.post-meta.light { color: var(--sun); }

/* ---------- Contact box / booking / uploads ---------- */
.contact-box .contact-form { margin: 0; }
.booking-note { color: var(--muted); font-size: .92rem; }
.calendly-frame { width: 100%; height: 680px; border: 0; border-radius: var(--radius-sm); }
.file-input { padding: 10px !important; background: var(--bg-soft) !important; border-style: dashed !important; cursor: pointer; }
.hint { display: block; margin-top: 6px; color: var(--muted); font-size: .8rem; }
.consent.invalid { color: #d64545; }
.field.invalid select, .field.invalid textarea { border-color: #d64545; }
.directions { display: inline-block; margin-top: 12px; }

/* ---------- Footer extras ---------- */
.footer-downloads { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.footer-downloads svg { width: 16px; height: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: #10263b; display: grid; place-items: center; transition: background .2s; }
.footer-social a:hover { background: var(--sun); color: var(--navy); }
.footer-social svg { width: 16px; height: 16px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { color: var(--sun); margin-top: 4px; }
.footer h4.mt { margin-top: 26px; }

/* ---------- Floating contact button ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
/* Only the button and the open menu catch clicks; the closed (invisible) menu must not block the back-to-top button */
.fab-toggle, .fab.open .fab-menu { pointer-events: auto; }
.fab-toggle { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--green); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(20,163,127,.45); animation: pulse 2.4s infinite; }
.fab-toggle svg { width: 28px; height: 28px; }
.fab-toggle .i-close, .fab.open .fab-toggle .i-open { display: none; }
.fab.open .fab-toggle .i-close { display: block; }
.fab.open .fab-toggle { animation: none; background: var(--navy); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(20,163,127,.5); } 50% { box-shadow: 0 0 0 14px rgba(20,163,127,0); } }
.fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.fab.open .fab-menu { opacity: 1; visibility: visible; transform: none; }
.fab-item { display: flex; align-items: center; gap: 10px; }
.fab-item span { background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 8px; box-shadow: var(--shadow); }
.fab-item i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); }
.fab-item i svg { width: 24px; height: 24px; }
.fab-item.wa i { background: #25d366; }
.fab-item.viber i { background: #7360f2; }
.fab-item.msgr i { background: #0084ff; }
.fab-item.call i { background: var(--sun); color: var(--navy); }
.back-top { right: 31px; bottom: 96px; z-index: 96; }
.fab.open ~ .back-top { opacity: 0; visibility: hidden; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,14,24,.94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; text-align: center; }
.lb-media img, .lb-media .img-fallback { max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: 10px; }
.lb-media .img-fallback { aspect-ratio: 16/9; width: 100%; }
.lightbox figcaption { color: #c9d6e3; margin-top: 14px; font-weight: 600; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--sun); color: var(--navy); }
.lb-close svg, .lb-nav svg { width: 26px; height: 26px; }
.lb-close { top: 18px; right: 18px; }
.lb-nav.prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Inner page hero + breadcrumb ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--green-dark) 130%); color: #fff; padding: 70px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(245,179,1,.25), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 820px; }
.page-hero p { color: #c9d6e3; max-width: 720px; font-size: 1.08rem; }
.page-hero.small { padding: 56px 0 46px; }
.page-hero .hero-actions { margin: 26px 0 0; }
.breadcrumb { font-size: .85rem; color: #8ea3b8; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--sun); }
.breadcrumb span:last-child { color: #fff; }

/* ---------- Filters ---------- */
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-tabs.left { justify-content: flex-start; margin: 0; }
.filter-right { display: flex; align-items: center; gap: 14px; }
.search { min-width: 260px; }

/* ---------- Project cards ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-img { position: relative; aspect-ratio: 16/10; border: 0; padding: 0; cursor: zoom-in; overflow: hidden; background: var(--navy); display: block; width: 100%; }
.project-img img, .project-img .img-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-img img { transform: scale(1.06); }
.zoom-icon { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--navy); display: grid; place-items: center; font-weight: 800; opacity: 0; transition: opacity .3s; }
.project-card:hover .zoom-icon { opacity: 1; }
.project-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.project-tags { display: flex; gap: 6px; margin-bottom: 10px; }
.project-body p { color: var(--muted); font-size: .9rem; flex: 1; display: flex; gap: 4px; align-items: center; }
.project-map { height: 480px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); z-index: 0; background: #dfe7ec; }
.legend { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; border: 2px solid #fff; box-shadow: 0 0 0 1px #aaa; }
.legend.solar { background: var(--sun); } .legend.security { background: var(--navy); }

/* ---------- Case study ---------- */
.cs-hero { position: relative; min-height: 440px; display: flex; align-items: flex-end; color: #fff; background: var(--navy); }
.cs-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,31,51,.95) 0%, rgba(11,31,51,.4) 70%); }
.cs-hero-content { position: relative; padding-top: 80px; padding-bottom: 48px; }
.cs-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cs-hero p { display: flex; gap: 6px; align-items: center; color: #d6e1ec; }
.cs-grid { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.cs-main h2 { font-size: 1.5rem; margin-top: 34px; }
.cs-main p { color: var(--muted); font-size: 1.04rem; }
.cs-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.cs-results div { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 20px; border-left: 4px solid var(--green); }
.cs-results strong { display: block; font-size: 1.8rem; color: var(--navy); }
.cs-results span { color: var(--muted); font-size: .88rem; font-weight: 600; }
.cs-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cs-gallery button { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; background: var(--navy); }
.cs-gallery img, .cs-gallery .img-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cs-gallery button:hover img { transform: scale(1.06); }
.cs-quote { margin: 40px 0 0; padding: 28px 30px; background: var(--navy); color: #fff; border-radius: var(--radius); font-size: 1.2rem; font-weight: 600; }
.cs-quote cite { display: block; margin-top: 12px; font-size: .9rem; color: var(--sun); font-style: normal; }
.cs-side { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 20px; }
.cs-facts { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cs-facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: .92rem; }
.cs-facts dt { color: var(--muted); font-weight: 600; }
.cs-facts dd { margin: 0; font-weight: 700; }
.cs-cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px; }
.cs-cta p { color: #c9d6e3; }
.cs-pager { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); font-weight: 700; color: var(--green-dark); }

/* ---------- Article ---------- */
.post-article { padding-top: 50px; }
.post-cover, .post-article .img-fallback.post-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin-bottom: 34px; }
.prose { font-size: 1.06rem; color: #2c3a49; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--green-dark); text-decoration: underline; }
.notice { background: #fff8e1; border-left: 4px solid var(--sun); padding: 14px 18px; border-radius: 8px; font-size: .92rem; }
.share { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 36px 0; font-weight: 700; }
.share a { padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); font-size: .88rem; }
.share a:hover { background: var(--green); color: #fff; }
.post-cta { background: var(--bg-soft); border-radius: var(--radius); padding: 30px; text-align: center; }

/* ---------- Careers ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 70px; }
.perk { padding: 22px; border-radius: var(--radius); background: var(--bg-soft); }
.perk strong { display: block; font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.perk span { color: var(--muted); font-size: .9rem; }
.job-list { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.job { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.job[open] { box-shadow: var(--shadow); }
.job summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; }
.job summary::-webkit-details-marker { display: none; }
.job h3 { margin: 0 0 4px; }
.job-meta { color: var(--muted); font-size: .88rem; display: inline-flex; gap: 6px; align-items: center; }
.job-toggle { font-weight: 700; color: var(--green-dark); font-size: .88rem; white-space: nowrap; }
.job[open] .job-toggle { color: var(--muted); }
.job-body { padding: 0 24px 24px; }
.job-body p, .job-body li { color: var(--muted); }

/* ---------- Support ---------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.app-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); transition: .3s; }
.app-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.app-card p { color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1000px; margin: 0 auto; }
.plan { position: relative; background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--sun); box-shadow: var(--shadow-lg); }
.plan .pill { top: -12px; left: 50%; transform: translateX(-50%); }
.plan-price { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.plan-price small { font-size: .85rem; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; flex: 1; }
.plan li::before { content: "✓ "; color: var(--green); font-weight: 800; }

/* ---------- Responsive (features) ---------- */
@media (max-width: 1100px) {
  .warranty-grid { grid-template-columns: repeat(3, 1fr); }
  .areas-grid, .area-services { grid-template-columns: repeat(2, 1fr); }
  .hide-md { display: none !important; }
}
@media (max-width: 960px) {
  .mobile-only { display: block; }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .certs-grid, .perks { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; }
  .video-grid, .post-grid, .project-grid, .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-grid { grid-template-columns: 1fr; }
  .cs-side { position: static; }
  .lightbox { padding: 60px 12px; }
}
@media (max-width: 640px) {
  .promo-inner { font-size: .8rem; padding: 8px 44px 8px 16px; justify-content: flex-start; }
  .promo-inner p { text-align: left; }
  .topbar-right > a { display: none; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .certs-grid, .perks, .warranty-grid, .areas-grid, .area-services, .video-grid, .post-grid, .project-grid, .plan-grid, .fin-row { grid-template-columns: 1fr; }
  .rating-summary { border-radius: var(--radius); flex-direction: column; text-align: center; }
  .filter-bar, .filter-right { flex-direction: column; align-items: stretch; }
  .search { min-width: 0; }
  .project-map { height: 360px; }
  .cs-pager { flex-direction: column; }
  .lb-nav { top: auto !important; bottom: 14px; transform: none !important; }
  .fab { right: 16px; bottom: 16px; }
  .back-top { right: 25px; bottom: 88px; }
}

/* =========================================================
   BEST-PRACTICE ADDITIONS
   ========================================================= */
/* Accessibility: skip link + visible keyboard focus */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--sun); color: var(--navy); font-weight: 800; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 4px; }
main:focus { outline: none; }

/* Spam trap field: hidden from people */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Cookie consent banner */
.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 150; max-width: 440px; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(11,31,51,.25); padding: 20px 22px; border: 1px solid var(--line); animation: slideUp .4s ease; }
.cookie-banner p { font-size: .9rem; margin-bottom: 14px; }
.cookie-banner a { color: var(--green-dark); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-btn:hover { color: var(--sun); }

/* Mobile sticky CTA bar */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 94; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 -6px 20px rgba(11,31,51,.12); }
  .mobile-cta .btn { padding: .75em 1em; }
  .mobile-cta svg { width: 18px; height: 18px; }
  body { padding-bottom: 68px; }
  .fab { bottom: 82px; }
  .back-top { bottom: 152px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 76px; max-width: none; }
}
/* Tawk.to chat has its own bubble, so hide ours to avoid two overlapping buttons */
.has-live-chat .fab { display: none; }

/* Thank-you + 404 pages */
.thanks { padding: clamp(70px, 10vw, 130px) 0; }
.thanks-icon { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; box-shadow: 0 0 0 12px rgba(20,163,127,.15); }
.thanks-icon.nf { background: var(--navy); color: var(--sun); font-size: 1.6rem; box-shadow: 0 0 0 12px rgba(11,31,51,.08); }
.thanks h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.thanks .lead { font-size: 1.1rem; color: var(--muted); }
.thanks-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0; }
.thanks-steps div { background: var(--bg-soft); border-radius: var(--radius); padding: 20px; }
.thanks-steps strong { display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 10px; border-radius: 50%; background: var(--navy); color: var(--sun); }
.thanks-steps span { font-weight: 600; font-size: .92rem; }
.center-row { justify-content: center; }
@media (max-width: 640px) { .thanks-steps { grid-template-columns: 1fr; } }

/* Print: clean output for printed pages */
@media print {
  .topbar, .promo-bar, .navbar, .fab, .back-top, .mobile-cta, .cookie-banner, .footer, .carousel-btn, .carousel-pause, .cta-band { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { padding: 0; }
}

/* =========================================================
   ROUND 3 FEATURES
   ========================================================= */
.sub-title { text-align: center; margin: 56px 0 22px; font-size: 1.3rem; }
.as-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* Promo countdown */
.promo-countdown { display: inline-block; background: rgba(0,0,0,.18); padding: 1px 8px; border-radius: 6px; margin: 0 4px; font-variant-numeric: tabular-nums; }

/* Product cards: image opens details */
button.product-img { border: 0; padding: 0; width: 100%; display: block; cursor: pointer; }
.quick-view { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 10px); background: var(--navy); color: #fff; font-size: .8rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; opacity: 0; transition: .25s; }
.product-card:hover .quick-view, .product-img:focus-visible .quick-view { opacity: 1; transform: translate(-50%, 0); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 210; background: rgba(5,14,24,.7); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .25s; }
.modal.open { opacity: 1; }
.modal-box { position: relative; background: #fff; border-radius: var(--radius); max-width: 960px; width: 100%; max-height: calc(100vh - 40px); overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: translateY(16px); transition: transform .25s; }
.modal.open .modal-box { transform: none; }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.modal-close:hover { background: var(--sun); }
.modal-close svg { width: 22px; height: 22px; }

/* Product details */
.pd { display: grid; grid-template-columns: 1fr 1fr; }
.pd-media { background: var(--bg-soft); padding: 24px; }
.pd-main { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.pd-main img, .pd-main .img-fallback { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.pd-thumbs button { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; }
.pd-thumbs button.active { border-color: var(--sun); }
.pd-thumbs img, .pd-thumbs .img-fallback { width: 100%; height: 100%; object-fit: cover; }
.pd-info { padding: 34px 30px; }
.pd-info h2 { font-size: 1.6rem; padding-right: 40px; }
.pd-price { font-size: 1.2rem; font-weight: 800; color: var(--green-dark); }
.pd-info > p { color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--muted); font-weight: 600; width: 42%; }
.spec-table tr:nth-child(odd) { background: var(--bg-soft); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-actions svg { width: 18px; height: 18px; }

/* Lead magnet popup */
.modal-lm .modal-box { max-width: 760px; }
.lm { display: grid; grid-template-columns: 240px 1fr; }
.lm-art { background: linear-gradient(150deg, var(--navy), var(--green-dark)); display: grid; place-items: center; border-radius: var(--radius) 0 0 var(--radius); }
.lm-art span { width: 140px; height: 180px; background: #fff; border-radius: 6px 12px 12px 6px; box-shadow: -8px 8px 0 var(--sun), 0 20px 40px rgba(0,0,0,.3); display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 1.3rem; color: var(--navy); line-height: 1.1; border-left: 10px solid var(--sun); transform: rotate(-4deg); }
.lm-body { padding: 34px 30px; }
.lm-body h2 { font-size: 1.7rem; padding-right: 30px; }
.lm-body > p { color: var(--muted); }
.lm-done { display: grid; gap: 10px; }
.lm-done svg { width: 18px; height: 18px; }

/* Package comparison table */
.pkg-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; -webkit-overflow-scrolling: touch; }
.pkg-table { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; }
.pkg-table th, .pkg-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: .93rem; }
.pkg-table tbody th, .pkg-table .pkg-corner { text-align: left; color: var(--muted); font-weight: 600; position: sticky; left: 0; background: #fff; z-index: 1; min-width: 170px; }
.pkg-table thead th { vertical-align: bottom; padding-top: 30px; position: relative; }
.pkg-table thead th.popular { padding-top: 40px; }
.pkg-table .pkg-corner { vertical-align: middle; font-size: 1rem; color: var(--navy); font-weight: 800; }
.pkg-tag { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dark); }
.pkg-name { display: block; font-size: 1.15rem; font-weight: 800; color: var(--navy); margin: 4px 0; }
.pkg-price { display: block; font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.pkg-price small { font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.pkg-table .popular { background: rgba(245,179,1,.08); }
.pkg-table thead th.popular { border-top: 4px solid var(--sun); }
.pkg-table thead .pill { top: 8px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.pkg-table tbody td { font-weight: 600; }
.pkg-table tfoot td, .pkg-table tfoot th { border-bottom: 0; padding: 18px 12px; }
.pkg-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 16px; }

/* Environmental impact */
.impact { background: linear-gradient(135deg, #0e7c61 0%, #14a37f 100%); color: #fff; padding: 60px 0; }
.impact-head { text-align: center; margin-bottom: 34px; }
.impact-head .section-tag { background: rgba(255,255,255,.16); color: #fff; }
.impact-head h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.impact-item { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 24px; text-align: center; }
.impact-icon { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.impact-item strong { display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.impact-item span { font-size: .9rem; color: #e1f5ef; }
.live-dot { font-style: normal; font-size: .68rem; font-weight: 800; text-transform: uppercase; background: #fff; color: var(--green-dark); padding: 1px 6px; border-radius: 4px; margin-left: 4px; }
.live-dot::before { content: "● "; color: #e11d48; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.impact-note { text-align: center; font-size: .8rem; color: #c8eee2; margin: 18px 0 0; }

/* Choice cards (wizard + quiz) */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; border-radius: var(--radius-sm); }
.choice-grid.invalid { outline: 2px solid #d64545; outline-offset: 4px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); font-weight: 700; transition: .2s; background: #fff; }
.choice span i { font-style: normal; font-size: 1.3rem; width: 34px; height: 34px; border-radius: 10px; background: var(--bg-soft); display: grid; place-items: center; flex-shrink: 0; }
.choice:hover span { border-color: var(--green); }
.choice input:checked + span { border-color: var(--green); background: rgba(20,163,127,.07); box-shadow: 0 0 0 3px rgba(20,163,127,.12); }
.choice input[type="checkbox"]:checked + span::after { content: "✓"; margin-left: auto; color: var(--green-dark); font-weight: 800; }
.choice input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.choice-grid.small .choice span { min-height: 48px; font-size: .92rem; }

/* Quote wizard */
.wizard fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wizard legend { font-size: 1.25rem; font-weight: 800; margin-bottom: 16px; padding: 0; }
.wizard legend small { font-weight: 600; color: var(--muted); font-size: .85rem; }
.wiz-head { margin-bottom: 20px; }
.wiz-count { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.wiz-progress { height: 6px; background: var(--bg-soft); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.wiz-bar { height: 100%; width: 25%; background: linear-gradient(90deg, var(--green), var(--sun)); border-radius: 999px; transition: width .35s; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.wiz-nav #wizNext, .wiz-nav #wizSubmit, .wiz-nav [data-next], .wiz-nav [data-quote] { margin-left: auto; }

/* Security quiz */
.quiz-section { background: var(--bg-soft); }
.quiz-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.quiz-copy p { color: var(--muted); }
.quiz-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); min-height: 380px; }
.quiz-q { font-size: 1.3rem; margin-bottom: 18px; }
.quiz-card .choice-grid.single { grid-template-columns: 1fr; }
.quiz-result h3 { font-size: 1.6rem; margin-bottom: 4px; }
.quiz-result .note { font-size: .85rem; color: var(--muted); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { margin: 0; text-align: center; }
.team-photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); margin-bottom: 16px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo .img-fallback { width: 100%; height: 100%; font-size: 3rem; letter-spacing: .05em; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--sun); }
.team-card strong { display: block; font-size: 1.1rem; }
.team-role { display: block; color: var(--green-dark); font-weight: 700; font-size: .92rem; }
.team-creds { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.team-in { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); margin-top: 10px; color: var(--navy); }
.team-in:hover { background: #0a66c2; color: #fff; }

/* Video testimonials on light background */
.video-grid.light .video-card h3 { color: var(--ink); }

@media (max-width: 960px) {
  .pd, .quiz-grid { grid-template-columns: 1fr; }
  .lm { grid-template-columns: 1fr; }
  .lm-art { display: none; }
  .impact-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .choice-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .impact-item { padding: 16px 10px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .quiz-card { padding: 22px; }
  .pd-info, .lm-body { padding: 26px 20px; }
  .modal { padding: 10px; align-items: end; }
}

/* Testimonial photos */
img.avatar { object-fit: cover; padding: 0; }
