:root {
  --green: #3BAA35;
  --green-dark: #2a7f26;
  --ink: #1d2327;
  --slate: #2f3a40;
  --muted: #5d6970;
  --line: #e2e7ea;
  --bg: #ffffff;
  --bg-alt: #f4f7f5;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-family: Montserrat, sans-serif; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-family: Montserrat, sans-serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: flex-start; color: var(--slate); text-decoration: none; }
.logo { height: 46px; width: auto; }
.nav-links a.active { color: var(--green-dark); font-weight: 700; box-shadow: inset 0 -2px 0 var(--green); padding-bottom: 4px; }
.nav-links a.btn.active-btn { background: var(--green-dark); }

/* Sub-page hero */
.page-hero { background: linear-gradient(135deg, #f1f8ef 0%, #ffffff 60%, #eef3f5 100%); padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 820px; }
.page-hero .lead { margin: 0; }

/* Linked cards on home */
.card-link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; display: block; }
.card-link:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.card-link .more { color: var(--green-dark); font-weight: 600; font-size: .92rem; }

/* CTA band */
.cta-band { background: var(--green-dark); color: #fff; padding: 48px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.cta-band p { margin: 0; opacity: .9; }
.btn.btn-light { background: #fff; color: var(--green-dark) !important; border-color: #fff; }
.btn.btn-light:hover { background: #eaf5e8; border-color: #eaf5e8; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #d7dee2; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.brand .tm { font-size: .75rem; font-weight: 700; color: var(--slate); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--green-dark); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: #fff !important; border: 2px solid var(--green); padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; cursor: pointer; font-size: 1rem; transition: background .2s; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--green-dark) !important; }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-sm { padding: 8px 18px; font-size: .9rem; }

/* Hero */
.hero { background: linear-gradient(135deg, #f1f8ef 0%, #ffffff 55%, #eef3f5 100%); padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--green-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0 0 12px; }
.mark { color: var(--green-dark); white-space: nowrap; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 580px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 36px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-facts li { border-left: 3px solid var(--green); padding-left: 12px; }
.hero-facts strong { display: block; font-size: 1.3rem; font-family: Montserrat, sans-serif; }
.hero-facts span { font-size: .85rem; color: var(--muted); }
.hero-img { margin: 0; text-align: center; }
.hero-img img { max-height: 520px; width: auto; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.18)); }
.hero-img figcaption { font-size: .8rem; color: var(--muted); margin-top: 14px; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 720px; font-size: 1.05rem; margin-bottom: 36px; }
.note { font-size: .82rem; color: var(--muted); }
.disclaimer { font-size: .8rem; color: var(--muted); margin-top: 24px; max-width: 900px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--green); }
.card-icon { font-size: 1.8rem; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card ul { padding-left: 18px; margin: 0; }
.card li { margin: 4px 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step-no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }
#process .steps { margin-bottom: 0; }

.tech-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
.checks, .patents { padding: 0; list-style: none; margin: 0; }
.checks li { padding-left: 28px; position: relative; margin: 8px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.patents li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 8px 0; font-weight: 500; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: var(--slate); color: #fff; font-weight: 600; }
td:first-child { font-weight: 600; }
table.compact th, table.compact td { padding: 9px 12px; font-size: .88rem; }

/* Results */
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.results-grid > *, .contact-grid > *, .tech-grid > *, .hero-grid > * { min-width: 0; }
.panel { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.bars { margin: 20px 0; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 52px; gap: 12px; align-items: center; margin: 14px 0; font-size: .92rem; }
.bar { background: var(--bg-alt); height: 14px; border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #9aa6ac; border-radius: 999px; }
.bar i.hi { background: var(--green); }

/* Applications */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.app { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.app span { font-size: 2rem; }
.app p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.partner { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; background: #fff; }
.partner img { max-height: 56px; width: auto; margin: 0 auto 12px; }
.partner h3 { margin-bottom: 4px; }
.partner p { margin: 0; color: var(--muted); font-size: .88rem; }
.partner-empty { border: 2px dashed var(--line); border-radius: var(--radius); padding: 32px; text-align: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-info { list-style: none; padding: 0; }
.contact-info li { margin: 10px 0; }
.contact-info b { display: inline-block; width: 110px; }
.form { background: #fff; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #cdd5da; border-radius: 8px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green); border-color: transparent; }
.form-status { margin: 0; font-size: .9rem; color: var(--green-dark); }

/* Footer */
.site-footer { background: var(--slate); color: #d7dee2; padding: 48px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 32px; }
.logo-footer { height: 44px; width: auto; margin-bottom: 8px; }
.legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 18px; font-size: .8rem; color: #a9b4ba; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .tech-grid, .results-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .steps, .apps { grid-template-columns: 1fr 1fr; }
  .hero-img img { max-height: 380px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
}
@media (max-width: 560px) {
  .steps, .apps, .hero-facts, .form .row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .bar-row { grid-template-columns: 90px 1fr 46px; }
}

/* ===== Image sections ===== */
.page-hero-img { background-size: cover; background-position: center; color: #fff; padding: 96px 0 80px; border-bottom: 0; }
.page-hero-img .eyebrow { color: #9be38f; }
.page-hero-img .lead { color: rgba(255,255,255,.88); }
.cta-band { background-size: cover; background-position: center; }

.banners-wrap { padding: 56px 0 24px; }
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.title-banner { position: relative; min-height: 320px; border-radius: 18px; overflow: hidden; background-size: cover; background-position: center; color: #fff; text-decoration: none; display: flex; align-items: flex-end; transition: transform .2s; }
.title-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(10,20,15,.88) 100%); }
.title-banner:hover { transform: translateY(-4px); }
.tb-inner { position: relative; padding: 32px; }
.tb-eyebrow { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9be38f; }
.title-banner h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.tb-stat { margin: 0 0 10px; }
.tb-stat strong { font-size: 1.5rem; font-family: Montserrat, sans-serif; color: #9be38f; margin-right: 6px; }
.title-banner .more { font-weight: 600; font-size: .92rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 12px 16px; font-size: .88rem; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
.split-img { margin: 0; }
.split-img img { width: 100%; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.12); }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { margin: 0; background: linear-gradient(180deg, #f4f7f5, #fff); border: 1px solid var(--line); border-radius: 18px; padding: 28px; text-align: center; }
.product img { height: 320px; width: auto; margin: 0 auto 16px; filter: drop-shadow(0 16px 24px rgba(0,0,0,.15)); }
.product b { display: block; font-size: 1.15rem; }
.product span { color: var(--muted); font-size: .9rem; }

.highlights { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.highlights li { background: var(--bg-alt); border-radius: 12px; padding: 16px; border-left: 4px solid var(--green); }
.highlights strong { display: block; font-family: Montserrat, sans-serif; font-size: 1.4rem; color: var(--green-dark); }
.highlights span { font-size: .88rem; color: var(--muted); }

@media (max-width: 900px) {
  .banners, .split, .products { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .title-banner { min-height: 260px; }
  .product img { height: 240px; }
}
@media (max-width: 560px) {
  .gallery, .highlights { grid-template-columns: 1fr; }
}

/* ===== Partner cards ===== */
.partners { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.partner { text-align: left; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.partner-logo { height: 72px; display: flex; align-items: center; margin-bottom: 8px; }
.partner-logo img { max-height: 64px; max-width: 220px; width: auto; margin: 0; }
.partner-logo .partner-badge { display: none; }
.partner-logo.no-logo img { display: none; }
.partner-logo.no-logo .partner-badge { display: inline-flex; }
.partner-badge { align-items: center; justify-content: center; min-width: 120px; height: 60px; padding: 0 18px; border-radius: 12px; background: var(--slate); color: #fff; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; }
.partner-type { align-self: flex-start; background: #eaf5e8; color: var(--green-dark); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }
.partner h3 { font-size: 1.05rem; margin: 4px 0 0; }
.partner h3 a { color: var(--ink); text-decoration: none; }
.partner h3 a:hover { color: var(--green-dark); }
.partner .partner-loc { color: var(--muted); font-size: .88rem; margin: 0; }
.partner .partner-desc { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.55; }
.partner-open { border: 2px dashed #cfd8d3; background: transparent; text-decoration: none; color: inherit; justify-content: center; transition: border-color .2s, background .2s; }
.partner-open:hover { border-color: var(--green); background: #f6fbf5; }
.partner-plus { width: 60px; height: 60px; border-radius: 50%; background: #eaf5e8; color: var(--green-dark); display: grid; place-items: center; font-size: 2rem; font-weight: 300; margin-bottom: 8px; }

/* ===== Partner detail ===== */
.partner-link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.partner-link:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.partner-link .more { color: var(--green-dark); font-weight: 600; font-size: .9rem; margin-top: auto; padding-top: 8px; }
.back-link { color: #9be38f; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.pd-head { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.pd-logo { height: auto; margin: 0; background: #fff; border-radius: 16px; padding: 16px 20px; min-height: 96px; }
.pd-head h1 { margin: 10px 0 6px; font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.pd-head .lead a { color: #cfeec9; }
.pd-about { max-width: 820px; font-size: 1.05rem; color: var(--muted); margin-bottom: 16px; }
.pd-block { margin-top: 56px; }
.pd-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.pd-service { border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 12px; padding: 20px; background: #fff; }
.pd-service h3 { margin: 6px 0; }
.pd-service p { margin: 0; color: var(--muted); font-size: .93rem; }
.pd-date { font-size: .8rem; font-weight: 700; color: var(--green-dark); letter-spacing: .04em; }
.pd-pending, .pd-empty-cell { color: var(--muted); font-style: italic; }
.pd-pending { border: 2px dashed var(--line); border-radius: 12px; padding: 28px; text-align: center; grid-column: 1 / -1; }
td.pd-empty-cell { text-align: center; padding: 28px; font-weight: 400; }
.pd-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd-status { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; background: #eef2f4; color: var(--slate); vertical-align: middle; }
.pd-status-scheduled { background: #fff4d6; color: #8a6200; }
.pd-status-completed, .pd-status-delivered { background: #eaf5e8; color: var(--green-dark); }
.pd-status-in { background: #e5f0fb; color: #1d5fa0; }
.gallery figure.pd-ref { position: relative; }
.pd-ref-tag { position: absolute; top: 12px; left: 12px; background: rgba(29,35,39,.85); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pd-ref-note { margin: -8px 0 16px; }

/* ===== Featured application (home) ===== */
.app-feature { display: block; position: relative; border-radius: 20px; overflow: hidden; background-size: cover; background-position: center; color: #fff; text-decoration: none; margin-bottom: 24px; min-height: 340px; transition: transform .2s, box-shadow .2s; }
.app-feature:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.af-body { padding: 44px 48px; max-width: 720px; }
.af-tag { display: inline-block; background: rgba(155,227,143,.18); border: 1px solid rgba(155,227,143,.5); color: #b9f0ae; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.app-feature h3 { font-family: Montserrat, sans-serif; font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.2; margin: 16px 0 12px; color: #fff; }
.app-feature p { color: rgba(255,255,255,.88); margin: 0 0 20px; font-size: 1.02rem; }
.af-points { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.af-points li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 12px 14px; backdrop-filter: blur(4px); }
.af-points b { display: block; color: #9be38f; font-family: Montserrat, sans-serif; font-size: 1.05rem; }
.af-points span { font-size: .82rem; color: rgba(255,255,255,.85); }
.app-feature .more { font-weight: 600; color: #fff; }
@media (max-width: 900px) { .af-body { padding: 32px 24px; } .af-points { grid-template-columns: 1fr; } }

/* Feature banner: image-matched layout with callouts */
@media (min-width: 901px) {
  .app-feature { aspect-ratio: 1776 / 896; min-height: 0; background-size: 100% 100%, cover, cover; }
}
.af-pins span { position: absolute; }
.af-pin { transform: translate(-7px, -7px); display: flex; align-items: center; gap: 8px; pointer-events: none; }
.af-pin i { width: 14px; height: 14px; border-radius: 50%; background: #9be38f; box-shadow: 0 0 0 4px rgba(155,227,143,.35); animation: afpulse 2.2s infinite; flex: none; }
.af-pin em { font-style: normal; font-size: .76rem; font-weight: 700; letter-spacing: .02em; color: #fff; background: rgba(15,30,22,.78); border: 1px solid rgba(155,227,143,.5); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.af-pin-r { flex-direction: row; }
.af-pin:not(.af-pin-r) { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -7px); }
@keyframes afpulse { 0%,100% { box-shadow: 0 0 0 4px rgba(155,227,143,.35); } 50% { box-shadow: 0 0 0 10px rgba(155,227,143,0); } }
.af-icons { position: absolute; top: 24px; right: 24px; display: flex; gap: 8px; }
.af-icons span { background: rgba(255,255,255,.9); color: var(--ink); font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
@media (max-width: 900px) { .af-pins, .af-icons { display: none; } }

/* Animated bars */
.bar { height: 18px; }
.bars-ready .bar i { transition: width 1.4s cubic-bezier(.22,.61,.36,1); }
.bar i.hi { background: linear-gradient(90deg, #2a7f26, #3BAA35 60%, #6fd063); box-shadow: 0 0 12px rgba(59,170,53,.35); }
.bar-row b { font-variant-numeric: tabular-nums; }

/* ===== Header: large logo (option C) that shrinks on scroll ===== */
.nav { height: 92px; transition: height .25s ease; }
.logo { height: 70px; transition: height .25s ease; }
.brand { align-items: flex-start; gap: 2px; }
.brand .tm { font-size: .8rem; margin-top: 8px; color: #163064; transition: margin-top .25s ease; }
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(22,48,100,.08); background: rgba(255,255,255,.97); }
.site-header.is-scrolled .nav { height: 68px; }
.site-header.is-scrolled .logo { height: 50px; }
.site-header.is-scrolled .brand .tm { margin-top: 4px; }
@media (max-width: 900px) {
  .nav { height: 76px; }
  .logo { height: 54px; }
  .site-header.is-scrolled .nav { height: 62px; }
  .site-header.is-scrolled .logo { height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .nav, .logo, .brand .tm { transition: none; } }

/* ===== Animated hero (home) ===== */
.hero-fx { position: relative; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.lead-short { display: none; }

/* entrance */
.js .reveal { opacity: 0; transform: translateY(18px); animation: heroUp .8s cubic-bezier(.22,.61,.36,1) forwards; animation-delay: calc(var(--d, 0) * 140ms + 120ms); }
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* product: float + glow + bubbles */
.prod-wrap { position: relative; display: inline-block; animation: prodFloat 6s ease-in-out infinite; }
.prod-wrap picture, .prod-wrap img { position: relative; z-index: 1; }
.prod-glow { position: absolute; left: 50%; top: 55%; width: 85%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(111,208,99,.35) 0%, rgba(80,180,230,.18) 45%, transparent 70%); filter: blur(10px); z-index: 0; animation: glowPulse 4s ease-in-out infinite; }
@keyframes prodFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes glowPulse { 0%,100% { opacity: .65; transform: translate(-50%,-50%) scale(.95); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.05); } }

/* bubbles rise inside the water window of the unit (positions are % of the product image) */
.bubbles { position: absolute; left: 22.6%; width: 4%; top: 18%; height: 31%; z-index: 2; overflow: hidden; border-radius: 6px; }
.bubbles i { position: absolute; bottom: -10px; width: 7px; height: 7px; border-radius: 50%; background: rgba(200,240,255,.95); box-shadow: 0 0 6px rgba(140,220,255,.9); animation: bubble 2.6s linear infinite; opacity: 0; }
.bubbles i:nth-child(1) { left: 10%; animation-delay: 0s; }
.bubbles i:nth-child(2) { left: 55%; animation-delay: .35s; width: 5px; height: 5px; }
.bubbles i:nth-child(3) { left: 30%; animation-delay: .7s; }
.bubbles i:nth-child(4) { left: 65%; animation-delay: 1.05s; width: 4px; height: 4px; }
.bubbles i:nth-child(5) { left: 20%; animation-delay: 1.4s; width: 5px; height: 5px; }
.bubbles i:nth-child(6) { left: 50%; animation-delay: 1.75s; }
.bubbles i:nth-child(7) { left: 5%;  animation-delay: 2.1s; width: 4px; height: 4px; }
.bubbles i:nth-child(8) { left: 40%; animation-delay: 2.35s; width: 6px; height: 6px; }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: .9; } 100% { transform: translateY(-260px); opacity: 0; } }
.h2-tag { position: absolute; z-index: 3; left: 4%; top: 6%; font: 700 .78rem/1 Montserrat, sans-serif; color: #163064; background: rgba(255,255,255,.9);
  border: 1px solid rgba(22,48,100,.15); padding: 6px 10px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.08); animation: tagBob 3s ease-in-out infinite; }
@keyframes tagBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* mobile: product first, short copy */
@media (max-width: 900px) {
  .hero { padding: 28px 0 48px; }
  .hero-img { order: -1; margin-bottom: 4px; }
  .hero-img img { max-height: 260px; }
  .hero-img figcaption { display: none; }
  .lead-long { display: none; }
  .lead-short { display: block; }
  .hero-grid { gap: 20px; }
  .hero-cta { margin: 20px 0 24px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-facts li:last-child { grid-column: 1 / -1; }
  .h2-tag { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { animation: none; opacity: 1; transform: none; }
  .prod-wrap, .prod-glow, .bubbles i, .h2-tag { animation: none; }
  .bubbles { display: none; }
}

/* ===== Logo optical alignment + ™ position =====
   Wordmark "HyMix" occupies the lower ~58% of the logo (leaf on top).
   Shift the brand up so the wordmark's centre lines up with the menu text,
   and set ™ at the top line of the final "x". */
.site-header { --lh: 70px; }
.site-header.is-scrolled { --lh: 50px; }
.brand { position: relative; align-items: flex-start; transform: translateY(calc(var(--lh) * -0.16)); transition: transform .25s ease; }
.logo { height: var(--lh); }
.brand .tm { margin-top: calc(var(--lh) * 0.47); margin-left: 1px; font-size: calc(var(--lh) * 0.12 + 3px); line-height: 1; font-weight: 700; color: #163064; transition: margin-top .25s ease, font-size .25s ease; }
.site-header.is-scrolled .brand .tm { margin-top: calc(var(--lh) * 0.47); }
@media (max-width: 900px) {
  .site-header { --lh: 54px; }
  .site-header.is-scrolled { --lh: 44px; }
}
/* breathing room for the leaf after optical shift */
.nav { height: 100px; }
.site-header.is-scrolled .nav { height: 72px; }
.brand { transform: translateY(calc(var(--lh) * -0.14)); }
@media (max-width: 900px) {
  .nav { height: 80px; }
  .site-header.is-scrolled .nav { height: 66px; }
}

/* mobile: bar chart labels */
@media (max-width: 560px) {
  .bar-row { grid-template-columns: 104px 1fr 44px; gap: 8px; font-size: .84rem; }
}

/* ===== Sub navigation (Services / Plans / Service Area) ===== */
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 72px; z-index: 5; }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; }
.subnav a { white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; padding: 8px 16px; border-radius: 999px; }
.subnav a:hover { background: var(--bg-alt); }
.subnav a.active { background: #163064; color: #fff; }

/* ===== Contact ===== */
.mini-steps { list-style: none; counter-reset: ms; padding: 0; margin: 16px 0 24px; display: grid; gap: 14px; }
.mini-steps li { counter-increment: ms; position: relative; padding-left: 44px; }
.mini-steps li::before { content: counter(ms); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.mini-steps b { display: block; }
.mini-steps span { color: var(--muted); font-size: .92rem; }
.info-box { background: var(--bg-alt); border-radius: 12px; padding: 16px 18px; margin-top: 14px; border-left: 4px solid #163064; }
.info-box p { margin: 4px 0 0; color: var(--muted); font-size: .93rem; }
.form-title { margin: 0 0 4px; font-size: 1.2rem; }
.form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.form label.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.form .invalid { border-color: #c0392b !important; background: #fff6f5; }
.form-status.error { color: #c0392b; }
.form-success { text-align: center; padding: 40px 20px; }
.form-success .ok { width: 64px; height: 64px; border-radius: 50%; background: #eaf5e8; color: var(--green-dark); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 12px; }

/* ===== Service area ===== */
.area-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 16px; }
.area-list li { display: flex; gap: 14px; align-items: flex-start; }
.area-list p { margin: 2px 0 0; color: var(--muted); }
.dot { width: 14px; height: 14px; border-radius: 50%; background: #b9cbc2; margin-top: 5px; flex: none; }
.dot-primary { background: var(--green); box-shadow: 0 0 0 5px rgba(59,170,53,.2); }
.area-map svg { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.08); }

/* ===== Plans ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; }
.plan-featured { border: 2px solid #163064; box-shadow: 0 18px 40px rgba(22,48,100,.12); }
.plan-tag { margin: 0 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); }
.plan-featured .plan-tag { color: #163064; }
.plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan-sub { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.plan .checks { flex: 1; }
.plan-meta { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin: 18px 0; }
.plan .btn { text-align: center; }

/* ===== About ===== */
.about-logo { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 48px; display: grid; place-items: center; }
.about-logo img { max-width: 320px; width: 100%; box-shadow: none; border-radius: 0; }
.info-table th { width: 180px; background: var(--bg-alt); color: var(--ink); white-space: nowrap; }
.info-table td { white-space: normal; font-weight: 400 !important; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 860px; }
.faq { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--green-dark); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ===== Legal ===== */
.legal-doc { max-width: 820px; }
.legal-doc h3 { margin-top: 28px; }
.legal-doc p, .legal-doc li { color: #3b464c; }
.legal p a { color: #d7dee2; }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .subnav { top: 66px; }
  .about-logo { padding: 28px; }
  .info-table th { width: 120px; }
}

/* ===== Dropdown menus ===== */
.dd { position: relative; }
.dd-top { display: inline-flex; align-items: center; gap: 4px; }
.caret { font-size: .7rem; transition: transform .2s; }
.dd-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 190px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgba(22,48,100,.14);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 20; }
.dd-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dd-menu li a { display: block; padding: 10px 14px; border-radius: 8px; white-space: nowrap; font-weight: 500; box-shadow: none !important; }
.dd-menu li a:hover { background: var(--bg-alt); color: var(--green-dark); }
.dd-menu li a.active { background: #eaf5e8; color: var(--green-dark); font-weight: 700; padding-bottom: 10px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd:hover .caret { transform: rotate(180deg); }
@media (max-width: 900px) {
  .nav-links { align-items: stretch; text-align: center; max-height: calc(100vh - 80px); overflow-y: auto; }
  .dd { width: 100%; }
  .dd-top { justify-content: center; width: 100%; }
  .caret { display: none; }
  .dd-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: var(--bg-alt); min-width: 0; margin-top: 8px; padding: 4px; }
  .dd:hover .dd-menu { transform: none; }
  .dd-menu li a { font-size: .9rem; color: var(--muted); }
}

/* ===== Home quick links ===== */
.quicklinks { margin-top: -28px; position: relative; z-index: 2; padding-bottom: 8px; }
.ql-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ql { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 20px 20px; text-decoration: none; color: var(--ink);
  box-shadow: 0 10px 28px rgba(22,48,100,.08); display: flex; flex-direction: column; gap: 4px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.ql:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(22,48,100,.14); border-color: var(--green); }
.ql-ico { font-size: 1.5rem; margin-bottom: 4px; }
.ql b { font-size: 1.02rem; color: #163064; }
.ql small { color: var(--muted); font-size: .84rem; line-height: 1.45; padding-right: 18px; }
.ql-go { position: absolute; right: 18px; top: 20px; color: var(--green-dark); font-weight: 700; transition: transform .18s; }
.ql:hover .ql-go { transform: translateX(4px); }
@media (max-width: 900px) { .ql-grid { grid-template-columns: 1fr 1fr; } .quicklinks { margin-top: -16px; } }
@media (max-width: 420px) { .ql { padding: 16px; } .ql small { font-size: .78rem; } }
.footer-sub { font-size: .82rem; color: #a9b4ba; margin-top: -6px; }
