:root {
  --bg: #050706;
  --bg-alt: #08100c;
  --surface: #0c1611;
  --surface-2: #112019;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #f3f6f4;
  --muted: #a4b0aa;
  --dim: #6e7a74;
  /* Green for icons, links and labels on black; the darker brand green fills buttons under white text. */
  --accent: #2fa866;
  --accent-hover: #3fbf7a;
  --accent-soft: rgba(47, 168, 102, .12);
  --brand: #136c40;
  --brand-hover: #17804a;
  --on-brand: #ffffff;
  --ok: #5fd39a;
  --radius: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Manrope', 'Inter', system-ui, sans-serif;
  --gutter: 24px;
  /* Clear glass for the few framed panels: mostly see-through, with a soft edge and top highlight. */
  --glass: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015) 60%);
  --glass-blur: blur(18px) saturate(150%);
  --glass-edge: rgba(255, 255, 255, .1);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 60px -32px rgba(0, 0, 0, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
::selection { background: var(--brand); color: var(--on-brand); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.icon {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--brand); color: var(--on-brand); padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-primary:hover .icon { transform: translateX(2px); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 15px; }
.text-link .icon { width: 17px; height: 17px; color: var(--accent); transition: transform .2s; }
.text-link:hover { color: var(--accent); }
.text-link:hover .icon { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 6, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo svg { width: 30px; height: 29px; color: var(--text); }
.logo span { font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: -.04em; line-height: 1; }
.logo b { font-weight: 500; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; margin-left: 12px; }
.nav > a, .nav-trigger { position: relative; white-space: nowrap; font-size: 15px; color: var(--muted); font-weight: 500; transition: color .2s; }
.nav > a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--text); }
.nav > a[aria-current="page"], .nav-group.current .nav-trigger { color: var(--text); }
.nav > a[aria-current="page"]::after, .nav-group.current .nav-trigger::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-group { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; cursor: pointer; line-height: inherit; }
.nav-trigger .icon { width: 15px; height: 15px; stroke-width: 2; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-group.current .nav-trigger::after { right: 20px; }
.nav-label { display: none; }
/* Invisible bridge so the pointer can cross the gap between trigger and panel. */
.nav-dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-dropdown {
  position: absolute; top: calc(100% + 18px); left: -20px; z-index: 60; width: min(600px, calc(100vw - 2 * var(--gutter)));
  padding: 10px; border-radius: var(--radius); border: 1px solid var(--glass-edge);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 60%), var(--surface);
  box-shadow: var(--glass-shadow), 0 30px 70px -20px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
}
.nav-group.open .nav-dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.nav-dropdown-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav-dropdown-list a { display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 14px; border-radius: 10px; border: 1px solid transparent; transition: background-color .2s, border-color .2s; }
.nav-dropdown-list a:hover { background: rgba(255, 255, 255, .04); }
.nav-dropdown-list a[aria-current="page"] { background: var(--accent-soft); border-color: rgba(47, 168, 102, .25); }
.nav-dropdown-list strong { display: block; font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; color: var(--text); transition: color .2s; }
.nav-dropdown-list a:hover strong, .nav-dropdown-list a[aria-current="page"] strong { color: var(--accent); }
.nav-dropdown-list small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.nav-dropdown-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--glass-edge); color: var(--accent); flex-shrink: 0; }
.nav-dropdown-icon .icon { width: 19px; height: 19px; }
.nav-dropdown-all { display: flex; align-items: center; gap: 8px; margin: 6px 4px 2px; padding: 14px 10px 8px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
.nav-dropdown-all .icon { width: 16px; height: 16px; color: var(--accent); transition: transform .2s; }
.nav-dropdown-all:hover { color: var(--accent); }
.nav-dropdown-all:hover .icon { transform: translateX(3px); }
.nav-mobile-only { display: none; }
.header-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.header-phone .icon { width: 17px; height: 17px; color: var(--accent); }
.header-phone:hover { color: var(--accent); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 10px; background: none; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Typographic primitives */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; color: var(--text); }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; margin-top: 14px; text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.015em; }
.lead { font-size: 18px; color: var(--muted); margin-top: 16px; max-width: 620px; }
.lead a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.lead a:hover { text-decoration-color: var(--accent); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 78% 30%, rgba(47, 168, 102, .09), transparent 60%),
    radial-gradient(700px 500px at 10% 0%, rgba(40, 120, 80, .07), transparent 60%);
}
.hero-ridges { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 420px; z-index: -1; fill: none; stroke-width: 1; }
.hero-ridges path { stroke: rgba(255, 255, 255, .05); }
.hero-ridges path:first-child { stroke: rgba(47, 168, 102, .14); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; padding-bottom: 72px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.04; margin-top: 20px; text-wrap: balance; }
.hero-lead { font-size: 19px; line-height: 1.6; color: var(--muted); margin-top: 22px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--dim); }

.hero-panel {
  background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge); border-radius: 18px; padding: 22px;
  box-shadow: var(--glass-shadow);
}
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 4px 18px; border-bottom: 1px solid var(--line); }
.panel-head strong { display: block; font-family: var(--display); font-size: 17px; letter-spacing: -.01em; }
.panel-head span { font-size: 13px; color: var(--dim); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(95, 211, 154, .1); color: var(--ok) !important; font-size: 13px; font-weight: 600; white-space: nowrap; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(95, 211, 154, .2); }
.panel-rows li { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.panel-rows li:last-child { border-bottom: 0; }
.panel-rows li > div { flex: 1; min-width: 0; }
.panel-rows strong { display: block; font-size: 15px; font-weight: 600; }
.panel-rows span:not(.panel-icon) { font-size: 13.5px; color: var(--muted); }
.panel-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text); flex-shrink: 0; }
.panel-icon .icon { width: 18px; height: 18px; }
.panel-rows .ok { color: var(--ok); width: 20px; height: 20px; stroke-width: 2.25; }
.tag { font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.panel-foot { margin-top: 6px; padding: 14px 4px 2px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }

.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid var(--line); margin-bottom: 72px; }
.trust-bar li { display: flex; gap: 14px; align-items: flex-start; padding: 24px 0 0; }
.trust-bar .icon { color: var(--accent); margin-top: 2px; }
.trust-bar strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.trust-bar span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }

/* Sections */
.section { padding: 104px 0; }
.section-alt { background: rgba(8, 16, 12, .72); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 52px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; }
.service-card {
  display: flex; flex-direction: column; padding-top: 30px; border-top: 1px solid var(--line-strong);
  transition: border-color .3s;
}
.service-top { display: flex; justify-content: space-between; align-items: center; }
.service-icon, .audience-icon, .guarantee-icon, .contact-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); color: var(--accent); flex-shrink: 0; }
.service-icon .icon, .audience-icon .icon, .guarantee-icon .icon { width: 22px; height: 22px; }
.service-icon { width: 64px; height: 64px; border-radius: 16px; }
.service-icon .icon { width: 32px; height: 32px; stroke-width: 1.6; }
.service-num { font-size: 13px; font-weight: 600; color: var(--dim); letter-spacing: .06em; }
.service-card h3 { font-size: 21px; line-height: 1.25; margin-top: 24px; }
.service-card > p { color: var(--muted); margin-top: 10px; }
.checks { display: grid; gap: 10px; margin: 24px 0 28px; }
.checks li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.5; }
.service-card .checks li { font-size: 15px; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fa866' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.service-card .text-link { margin-top: auto; }

/* Audience */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.audience-card { display: flex; flex-direction: column; align-items: flex-start; }
.audience-card h3 { font-size: 26px; margin-top: 22px; }
.audience-card > p { color: var(--muted); margin-top: 8px; font-size: 17px; }
.audience-card .checks { margin: 26px 0 34px; }
.audience-card .btn { margin-top: auto; }
.audience-photo { display: block; width: 100%; margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; }
.audience-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* Why */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.why-grid .section-head { margin-bottom: 0; position: sticky; top: 120px; }
.why-photo { display: block; margin-top: 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.why-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 40px; }
.principle { padding-top: 24px; border-top: 1px solid var(--line-strong); transition: border-color .3s; }
.principle h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.principle h3::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.principle p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.guarantee { display: flex; align-items: center; gap: 22px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(47, 168, 102, .35); transition: border-color .3s; }
.guarantee > div { flex: 1; }
.guarantee h3 { font-size: 19px; }
.guarantee p { color: var(--muted); margin-top: 4px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.steps::before { content: ''; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line-strong) 40%); }
.steps li { position: relative; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-alt); border: 1px solid var(--line-strong); font-family: var(--display); font-weight: 700; font-size: 16px; }
.steps li:first-child .step-num { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.steps h3 { font-size: 19px; margin-top: 24px; }
.steps p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.review { display: flex; flex-direction: column; padding-top: 28px; border-top: 1px solid var(--line-strong); transition: border-color .3s; }
.stars { display: flex; gap: 3px; color: #ffb547; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { font-size: 17px; line-height: 1.6; margin: 20px 0 26px; color: var(--text); }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; }
.review figcaption strong { font-weight: 600; }
.review figcaption span { font-size: 14px; color: var(--dim); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f6f4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s, background-color .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: rgba(255, 255, 255, .06); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { color: var(--muted); padding: 0 48px 24px 0; }

/* Contact */
.contact { background: radial-gradient(800px 400px at 15% 100%, rgba(47, 168, 102, .07), transparent 60%); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact-list { display: grid; gap: 22px; margin-top: 40px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-icon { width: 46px; height: 46px; }
.contact-list div > span { display: block; font-size: 13.5px; color: var(--dim); }
.contact-list a, .contact-list p { font-size: 17px; font-weight: 600; }
.contact-list a:hover { color: var(--accent); }
.contact-card { padding: 36px; border-radius: 18px; background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }
.contact-form h3 { font-size: 22px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 16px; }
.optional { color: var(--dim); font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 7px; padding: 12px 14px; min-height: 48px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; color: var(--text); font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form select { appearance: none; padding-right: 40px; cursor: pointer;
  background: rgba(255, 255, 255, .03) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4b0aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.contact-form textarea { resize: vertical; min-height: 110px; }
/* The select itself is see-through glass, so its popup list needs a solid colour of its own. */
.contact-form option { background-color: var(--surface); color: var(--text); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--dim); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 168, 102, .18); }
.contact-form .invalid { border-color: #ff7b7b; }
.contact-form .btn { margin-top: 8px; }
.form-note { font-size: 13.5px; color: var(--dim); margin-top: 14px; text-align: center; }
.form-status { font-size: 14.5px; margin-top: 12px; color: var(--ok); text-align: center; }
.form-status.error { color: #ff9a8a; }
.form-status:empty { display: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 65px; margin: 4px 0 8px; }
.contact-form .btn[disabled] { opacity: .7; cursor: progress; }
.contact-form .btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: var(--on-brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: center; padding: 40px 8px; }
.form-success .success-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(95, 211, 154, .12); color: var(--ok); }
.form-success .success-icon .icon { width: 26px; height: 26px; stroke-width: 2.25; }
.form-success h3 { font-size: 22px; margin-top: 20px; outline: none; }
.form-success p { color: var(--muted); margin-top: 10px; }
.form-success a { color: var(--text); font-weight: 600; }

/* Service pages */
.page-hero { position: relative; padding: 40px 0 88px; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 420px at 85% 10%, rgba(47, 168, 102, .08), transparent 60%), radial-gradient(600px 400px at 0% 0%, rgba(40, 120, 80, .06), transparent 60%); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--dim); margin-bottom: 40px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--text); }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; margin-top: 18px; text-wrap: balance; }
.hero-facts { padding: 30px; border-radius: 18px; background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }
.hero-facts h2 { font-size: 19px; margin-top: 20px; }
.hero-facts .checks { margin: 18px 0 0; }
.service-visual { min-width: 0; }
.service-photo { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-strong); }
.service-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.service-visual .hero-facts { position: relative; margin: -42px 18px 0; }
.not-found { position: relative; isolation: isolate; min-height: 560px; }
.not-found .hero-ridges { bottom: 0; }
.included-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.included-item { padding-top: 26px; border-top: 1px solid var(--line-strong); transition: border-color .3s; }
.included-item h3 { font-size: 19px; margin-top: 20px; }
.included-item p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split .section-head { margin-bottom: 0; }
.split .checks { margin: 28px 0 0; }
.highlight-card { padding: 34px; border-radius: 18px; background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }
.highlight-card h3 { font-size: 22px; }
.highlight-card > p { color: var(--muted); margin-top: 10px; }
.highlight-card .checks { margin: 22px 0 0; }
.plan { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); }
.plan h4 { font-family: var(--display); font-size: 17px; font-weight: 700; }
.plan p { color: var(--muted); margin-top: 6px; font-size: 15.5px; }
.highlight-card .note { margin-top: 22px; font-size: 14.5px; color: var(--dim); }
.section-tight { padding: 72px 0; }
.quote-card { max-width: 860px; margin: 0 auto; text-align: center; }
.quote-card blockquote { font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; font-weight: 600; letter-spacing: -.015em; margin-top: 20px; text-wrap: balance; }
.quote-card .stars { justify-content: center; }
.quote-card figcaption { margin-top: 18px; color: var(--muted); }
.quote-card figcaption strong { color: var(--text); font-weight: 600; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; }
.related-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* About page */
.person-card { border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); }
.person-photo { display: grid; place-items: center; aspect-ratio: 4 / 5; padding: 24px; text-align: center; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-card figcaption { padding: 22px 24px 26px; }
.person-card strong { display: block; font-family: var(--display); font-size: 20px; letter-spacing: -.01em; }
.person-card span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--accent); font-weight: 600; }
.person-card p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.story { display: grid; gap: 18px; font-size: 17px; color: var(--muted); max-width: 620px; }
.details-card { margin: 0; border-top: 1px solid var(--line-strong); }
.details-card > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.details-card dt { font-size: 14.5px; color: var(--dim); }
.details-card dd { margin: 0; font-size: 15.5px; color: var(--text); }
.details-card a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.details-card a:hover { text-decoration-color: var(--accent); }

/* Placeholder for a fact the owner still needs to supply; production builds refuse to ship these. */
mark.todo { padding: 1px 6px; border-radius: 5px; border: 1px dashed var(--accent); background: var(--accent-soft); color: var(--accent); font: inherit; font-size: .92em; }
.related-card { display: flex; flex-direction: column; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line-strong); transition: border-color .3s; }
.related-card h3 { font-size: 19px; }
.related-card p { color: var(--muted); font-size: 15.5px; }
.related-card .text-link { margin-top: auto; }
.service-card h3 a:hover { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: rgba(8, 16, 12, .86); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 320px; font-size: 15px; }
.site-footer h4 { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--text); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.site-footer ul a { display: inline-flex; align-items: flex-start; gap: 10px; }
.site-footer ul .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); opacity: .85; }
.site-footer ul a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.footer-bottom a:hover { color: var(--text); }

/* Reveal (only when JS marks the page as ready for motion) */
.motion .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.motion .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .header-phone { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 720px; }
  .hero-panel { max-width: 560px; }
  .trust-bar, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { gap: 56px 48px; }
  .why-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-grid .section-head { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-facts { max-width: 560px; }
  .service-visual .hero-facts { max-width: none; margin: 20px 0 0; }
  .included-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .person-card { max-width: 420px; }
}

/* Narrow desktops: drop the two links that are also in the footer, so the rest fit on one line. */
@media (min-width: 861px) and (max-width: 1000px) {
  .nav-wide { display: none; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .6);
  }
  .nav.open { display: flex; max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
  .nav > a, .nav-label { padding: 14px 0; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav > a:last-child { border-bottom: 0; }
  .nav > a[aria-current="page"]::after { display: none; }
  .nav-trigger { display: none; }
  .nav-label { display: block; font-weight: 500; border-bottom: 0; padding-bottom: 6px; }
  .nav-dropdown, .nav-group.open .nav-dropdown {
    position: static; width: auto; padding: 0 0 10px 14px; margin-left: 2px; border: 0; border-left: 1px solid var(--line-strong); border-radius: 0;
    background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav-group { border-bottom: 1px solid var(--line); }
  .nav-dropdown::before { display: none; }
  .nav-dropdown-list { grid-template-columns: 1fr; gap: 0; }
  .nav-dropdown-list a { align-items: center; gap: 12px; padding: 9px 10px; }
  .nav-dropdown-list strong { font-family: var(--font); font-size: 15.5px; font-weight: 500; color: var(--muted); }
  .nav-dropdown-list small { display: none; }
  .nav-dropdown-icon { width: 30px; height: 30px; border-radius: 8px; }
  .nav-dropdown-icon .icon { width: 16px; height: 16px; }
  .nav-dropdown-all { margin: 0; padding: 9px 10px; border-top: 0; font-size: 15.5px; font-weight: 500; color: var(--muted); }
  .nav-mobile-only { display: block; color: var(--accent) !important; font-weight: 600; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .header-inner { height: 64px; gap: 12px; }
  .nav { top: 64px; }
  .nav.open { max-height: calc(100dvh - 64px); }
  .logo span { font-size: 21px; }
  .header-actions { gap: 10px; }
  .header-actions .btn-sm { padding: 0 13px; font-size: 13.5px; min-height: 40px; }
  .menu-toggle { width: 40px; height: 40px; }
  .hero { padding-top: 48px; }
  .hero-grid { padding-bottom: 48px; gap: 40px; }
  .hero h1 { font-size: clamp(34px, 9.4vw, 44px); }
  .hero-lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-panel { padding: 16px; }
  .panel-rows li { gap: 12px; padding: 12px 2px; }
  .tag { display: none; }
  .trust-bar { grid-template-columns: 1fr; gap: 0; margin-bottom: 56px; }
  .trust-bar li { padding: 18px 0; }
  .trust-bar li + li { border-top: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .lead { font-size: 17px; }
  .service-grid, .audience-grid, .principles, .review-grid, .steps { grid-template-columns: 1fr; }
  .service-grid, .principles, .review-grid { gap: 44px; }
  .service-icon { width: 56px; height: 56px; border-radius: 14px; }
  .service-icon .icon { width: 28px; height: 28px; }
  .audience-card .btn { width: 100%; }
  .guarantee { flex-direction: column; align-items: flex-start; }
  .guarantee .btn { width: 100%; }
  .faq-list summary { font-size: 16px; }
  .faq-list details p { padding-right: 0; }
  .contact-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 24px 0 64px; }
  .breadcrumb { margin-bottom: 28px; }
  .page-hero h1 { font-size: clamp(32px, 8.6vw, 40px); }
  .included-grid, .related-grid { grid-template-columns: 1fr; }
  .details-card > div { grid-template-columns: 1fr; gap: 2px; }
  .hero-facts, .highlight-card { padding: 24px; }
  .section-tight { padding: 56px 0; }
}

@media (max-width: 380px) {
  .header-actions .btn-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .motion .reveal { opacity: 1; transform: none; }
}

/* The living network (src/life.js) sits behind everything; sections are see-through enough to show it. */
.life { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; animation: life-in 2.4s ease both; }
@keyframes life-in { from { opacity: 0; } }
.life-aura { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: .5; transition: opacity 1.2s ease; }
.life-aura::before, .life-aura::after { content: ''; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(40px); }
.life-aura::before { left: -20vmax; top: -10vmax; background: radial-gradient(circle, rgba(47, 168, 102, .10), transparent 65%); }
.life-aura::after { right: -25vmax; bottom: -25vmax; background: radial-gradient(circle, rgba(30, 110, 70, .09), transparent 65%); }
@media (prefers-reduced-motion: no-preference) {
  .life-aura::before { animation: drift-a 38s ease-in-out infinite alternate; }
  .life-aura::after { animation: drift-b 46s ease-in-out infinite alternate; }
}
@keyframes drift-a { to { transform: translate(55vw, 45vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-50vw, -40vh) scale(.9); } }

/* Living layer: one shared 6s pulse runs through the site. Everything that moves is
   inside the no-preference query, so reduced-motion visitors get a still page. */
.hero-ridges path.pulse-trace, .footer-pulse .pulse-trace { stroke: rgba(47, 168, 102, .16); stroke-linejoin: round; }
.hero-ridges .pulse-glow, .hero-ridges .pulse-beam, .footer-pulse .pulse-glow, .footer-pulse .pulse-beam { display: none; }
.eyebrow::before {
  width: 30px; height: 12px; border-radius: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cpath d='M0 7h9l2-2 2 3 2.5-7 2.5 10 2-4h10' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cpath d='M0 7h9l2-2 2 3 2.5-7 2.5 10 2-4h10' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.site-footer { position: relative; }
.footer-pulse { position: absolute; left: 0; top: -47px; width: 100%; height: 48px; overflow: visible; pointer-events: none; fill: none; }
.footer-pulse path { vector-effect: non-scaling-stroke; stroke-width: 1; }
.glow-card { position: relative; isolation: isolate; }
.glow-card::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .06), transparent 60%); }
.glow-card:hover::before { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  /* Heartbeat traces with a pulse sweeping along them (homepage hero and every footer). */
  .hero-ridges .pulse-glow, .hero-ridges .pulse-beam, .footer-pulse .pulse-glow, .footer-pulse .pulse-beam {
    display: inline; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 90 910; animation: pulse-sweep 6s linear infinite;
  }
  .hero-ridges .pulse-glow { stroke-width: 7; opacity: .12; }
  .hero-ridges .pulse-beam { stroke-width: 1.6; opacity: .75; }
  .footer-pulse .pulse-glow { stroke-width: 6; opacity: .1; }
  .footer-pulse .pulse-beam { stroke-width: 1.5; opacity: .6; }

  /* The hero light breathes slowly. */
  .hero::before, .page-hero::before { animation: breathe 9s ease-in-out infinite; }

  /* Hero panel: checks tick through on load, then "All good" settles in and keeps a steady beat. */
  .panel-rows { position: relative; }
  .panel-rows::after {
    content: ''; position: absolute; inset: 0 -22px; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(47, 168, 102, .07) 50%, transparent) no-repeat;
    background-size: 100% 120px; background-position-y: -120px;
    animation: scan 6s 2.4s ease-in-out infinite;
  }
  .panel-rows .ok { stroke-dasharray: 20; stroke-dashoffset: 20; animation: check-draw .45s ease forwards; animation-delay: calc(.6s + var(--i) * .32s); }
  .panel-rows li:nth-child(2) .ok { --i: 0; }
  .panel-rows li:nth-child(3) .ok { --i: 1; }
  .panel-rows li:nth-child(4) .ok { --i: 2; }
  .panel-rows li:nth-child(5) .ok { --i: 3; }
  .status-pill { animation: settle .5s 1.95s ease both; }
  .status-pill i { animation: lubdub 3s 2.4s ease-out infinite; }

  /* Section labels draw their heartbeat as they come into view, then keep beating: a bright
     pulse with a fading tail crosses the trace every 2s, three beats to each hero sweep. */
  .eyebrow::before {
    background: linear-gradient(90deg, rgba(47, 168, 102, .5) 0 36%, rgba(47, 168, 102, .65) 42%, #7fdcaa 48.5%, #fff 50%, rgba(47, 168, 102, .5) 52% 100%) 100% 0 / 300% 100%;
    animation: eyebrow-draw .9s .2s ease both, eyebrow-beat 2s 1.1s linear infinite;
  }
  .motion .reveal:not(.in) .eyebrow::before { animation: none; clip-path: inset(0 100% 0 0); }

  /* How it works: a pulse travels the line and each step lights up as it passes. */
  @media (min-width: 1081px) {
    .steps::after {
      content: ''; position: absolute; top: 19px; left: 22px; width: 7px; height: 7px; border-radius: 50%;
      background: var(--accent); box-shadow: 0 0 12px 3px rgba(47, 168, 102, .55);
      animation: step-travel 6s linear infinite;
    }
    .step-num { animation: step-light 6s ease-out infinite; }
    .steps li:nth-child(2) .step-num { animation-delay: 1.05s; }
    .steps li:nth-child(3) .step-num { animation-delay: 2.1s; }
    .steps li:nth-child(4) .step-num { animation-delay: 3.15s; }
  }

  /* Off-screen sections rest until they're back in view. */
  .idle, .idle *, .idle::before, .idle::after, .idle *::before, .idle *::after { animation-play-state: paused !important; }
}

@keyframes pulse-sweep { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .72; transform: scale(1.04); } }
@keyframes scan { 0% { background-position-y: -120px; } 45%, 100% { background-position-y: calc(100% + 120px); } }
@keyframes check-draw { to { stroke-dashoffset: 0; } }
@keyframes settle { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes lubdub {
  0% { box-shadow: 0 0 0 0 rgba(95, 211, 154, .55); }
  14% { box-shadow: 0 0 0 6px rgba(95, 211, 154, 0); }
  14.1% { box-shadow: 0 0 0 0 rgba(95, 211, 154, .45); }
  32%, 100% { box-shadow: 0 0 0 8px rgba(95, 211, 154, 0); }
}
@keyframes eyebrow-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes eyebrow-beat { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
@keyframes step-travel { 0% { left: 22px; opacity: 0; } 4% { opacity: 1; } 66% { left: calc(100% - 29px); opacity: 1; } 72%, 100% { left: calc(100% - 29px); opacity: 0; } }
@keyframes step-light {
  0% { box-shadow: 0 0 0 0 rgba(47, 168, 102, .5); border-color: var(--accent); }
  16% { box-shadow: 0 0 0 12px rgba(47, 168, 102, 0); border-color: var(--accent); }
  34%, 100% { box-shadow: 0 0 0 12px rgba(47, 168, 102, 0); }
}
