/* Bioforce Services – kogu lehe ühine stiil (tume, rohelise ja oranži helkuriga) */
:root {
  --bg: #06120C;
  --bg-2: #0A1E14;
  --bg-warm: #1A120C;
  --text: #EAF3EE;
  --muted: #B9CCC2;
  --muted-2: #A9BDB2;
  --line: rgba(255,255,255,0.10);
  --glass: rgba(255,255,255,0.04);
  --glass-line: rgba(255,255,255,0.09);
  --green: #2E8242;
  --green-2: #4FC36E;
  --green-3: #7FD99A;
  --orange: #ED701E;
  --orange-2: #F7A55E;
  --ink-on-orange: #160A02;
  --max: 1200px;
  --head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
a { color: var(--green-3); }
a:hover { color: #fff; }
img, svg { display: block; max-width: 100%; }
.container { width: min(100% - 48px, var(--max)); margin: 0 auto; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -0.025em; line-height: 1.12; }
.page { position: relative; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.glow.g1 { left: -260px; top: 900px; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(46,130,66,0.26), rgba(46,130,66,0) 70%); }
.glow.g2 { right: -300px; top: 2000px; width: 1000px; height: 1000px; background: radial-gradient(closest-side, rgba(237,112,30,0.18), rgba(237,112,30,0) 70%); }
.glow.g3 { left: 20%; top: 3300px; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(46,130,66,0.18), rgba(46,130,66,0) 70%); }

/* ── Päis ── */
.site-header { position: relative; z-index: 20; }
.site-header.over { position: absolute; top: 0; left: 0; right: 0; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; flex-wrap: wrap; }
.brand { display: block; background: #fff; padding: 10px 18px; border-radius: 999px; }
.brand img { height: 20px; width: auto; }
.menu { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.menu a { color: #E3EEE8; text-decoration: none; font-weight: 600; font-size: 0.94rem; }
.menu a:hover { color: var(--orange-2); }
.menu a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--orange); }
.menu .pill { color: #fff; padding: 9px 17px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); }
.menu .pill:hover { border-color: var(--orange); color: #fff; }
.langs { display: flex; gap: 2px; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; padding: 3px; }
.langs a { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; padding: 4px 9px; border-radius: 999px; color: #C9D8D0; text-decoration: none; }
.langs a[aria-current="true"] { background: #fff; color: #06120C; }
.langs a:hover { color: #fff; }
.langs a[aria-current="true"]:hover { color: #06120C; }

/* ── Nupud ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s; }
.btn-primary { background: var(--orange); color: var(--ink-on-orange); box-shadow: 0 8px 30px rgba(237,112,30,0.40); }
.btn-primary:hover { background: #F5832F; color: var(--ink-on-orange); transform: translateY(-1px); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); background: transparent; }
.btn-ghost:hover { border-color: var(--orange); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.link-arrow { font-weight: 700; text-decoration: none; }

/* ── Avalehe hero fotoga ── */
.hero-photo { position: relative; min-height: 780px; overflow: hidden; z-index: 1; }
.hero-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-photo .shade-x { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,18,12,0.94) 0%, rgba(6,18,12,0.80) 36%, rgba(6,18,12,0.40) 68%, rgba(6,18,12,0.30) 100%); }
.hero-photo .shade-y { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,18,12,0.72) 0%, rgba(6,18,12,0) 20%, rgba(6,18,12,0) 62%, var(--bg) 100%); }
.waves { position: absolute; left: 0; width: 100%; pointer-events: none; }
.hero-photo .waves { top: 330px; height: 420px; }
.waves .flow { animation: drift 14s ease-in-out infinite alternate; transform-origin: center; }
@keyframes drift { from { transform: translateX(-2%); } to { transform: translateX(2%); } }
.hero-photo .content { position: relative; padding-top: 200px; }
.hero-photo h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.03; letter-spacing: -0.035em; font-weight: 800; max-width: 13em; margin-bottom: 22px; }
.hero-photo h1 em, .grad { font-style: normal; background: linear-gradient(90deg, var(--orange-2), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-photo .lead { font-size: 1.2rem; color: #C9D8D0; max-width: 34em; margin-bottom: 34px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: flex; flex-wrap: wrap; margin-top: 96px; border-top: 1px solid rgba(255,255,255,0.16); }
.stats > div { flex: 1 1 200px; padding: 24px 16px 36px 0; }
.stats strong { display: block; font-family: var(--head); font-size: 2.5rem; font-weight: 800; line-height: 1.1; color: var(--orange); }
.stats span { color: #C9D8D0; }

/* ── Sisulehtede hero ── */
.page-hero { position: relative; padding: 56px 0 48px; overflow: hidden; z-index: 1; }
.page-hero .waves { top: 40px; height: 360px; opacity: 0.55; }
.page-hero .container { position: relative; }
.crumbs { font-size: 0.88rem; color: var(--muted-2); margin-bottom: 18px; }
.crumbs a { color: var(--muted-2); }
.crumbs a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; max-width: 20ch; margin-bottom: 18px; }
.page-hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; margin-bottom: 28px; }
.sublinks { list-style: none; display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 0.92rem; margin-top: 20px; }
.sublinks a { color: var(--muted-2); }
.facts { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 34px; color: var(--muted-2); font-size: 0.94rem; }
.facts strong { display: block; color: var(--orange); font-family: var(--head); font-size: 1.7rem; line-height: 1.2; }
.lifecycle { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--glass-line); border-radius: 24px; overflow: hidden; list-style: none; counter-reset: step; background: var(--glass); }
.lifecycle li { counter-increment: step; padding: 22px 22px 24px; }
.lifecycle li + li { border-left: 1px solid var(--glass-line); }
.lifecycle li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(79,195,110,0.15); color: var(--green-3); font-weight: 800; font-size: 0.9rem; margin-bottom: 12px; }
.lifecycle li:last-child { background: rgba(237,112,30,0.10); }
.lifecycle li:last-child::before { background: var(--orange); color: var(--ink-on-orange); }
.lifecycle strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.lifecycle p { font-size: 0.9rem; color: var(--muted-2); line-height: 1.5; }

/* ── Sektsioonid ── */
.section { position: relative; z-index: 1; padding-top: 104px; }
.section-last { padding-bottom: 88px; }
.section h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: 12px; max-width: 22em; }
.section .intro { color: var(--muted); font-size: 1.12rem; max-width: 44em; margin-bottom: 32px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.head-row .intro { margin-bottom: 0; }

/* kaks valdkonda */
.duo { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.duo > .frame { flex: 1 1 460px; min-width: 0; border-radius: 30px; padding: 1.5px; }
.frame.green { background: linear-gradient(160deg, rgba(79,195,110,0.85), rgba(79,195,110,0.05) 60%); box-shadow: 0 0 50px rgba(46,130,66,0.22); }
.frame.orange { background: linear-gradient(200deg, rgba(237,112,30,0.85), rgba(237,112,30,0.05) 60%); box-shadow: 0 0 50px rgba(237,112,30,0.18); }
.frame > .inner { border-radius: 29px; padding: 36px; height: 100%; }
.frame.green > .inner { background: var(--bg-2); }
.frame.orange > .inner { background: var(--bg-warm); }
.frame h3 { font-size: 1.5rem; margin: 16px 0 8px; }
.frame p { color: var(--muted); margin-bottom: 18px; }
.dots { list-style: none; display: grid; gap: 8px; margin-bottom: 24px; }
.dots li { padding-left: 22px; position: relative; }
.dots li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 8px rgba(79,195,110,0.8); }
.orange .dots li::before { background: var(--orange); box-shadow: 0 0 8px rgba(237,112,30,0.8); }
.frame.green .link-arrow { color: var(--green-3); }
.frame.orange .link-arrow { color: var(--orange-2); }
.icon-g { filter: drop-shadow(0 0 6px rgba(79,195,110,0.8)); }
.icon-o { filter: drop-shadow(0 0 6px rgba(237,112,30,0.8)); }

/* teenused */
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.svc > div { padding: 24px; border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-line); transition: border-color 0.2s, background 0.2s; }
.svc > div:hover { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.06); }
.svc h3 { font-family: inherit; letter-spacing: -0.01em; font-size: 1.1rem; margin: 14px 0 6px; }
.svc p { color: var(--muted-2); font-size: 0.95rem; }

/* tooteplaadid avalehel */
.ptiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.ptiles a { display: block; border-radius: 22px; overflow: hidden; background: var(--glass); border: 1px solid var(--glass-line); text-decoration: none; color: var(--text); transition: border-color 0.2s, transform 0.2s; }
.ptiles a:hover { border-color: var(--orange); transform: translateY(-2px); color: #fff; }
.ptiles img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.ptiles span { display: block; padding: 12px 16px; font-weight: 700; }

/* miks meie */
.why3 { display: flex; flex-wrap: wrap; gap: 0 40px; }
.why3 > div { flex: 1 1 280px; border-top: 2px solid var(--orange); padding: 20px 0; }
.why3 .num { font-family: var(--head); color: var(--orange); font-weight: 800; font-size: 0.95rem; }
.why3 h3 { font-family: inherit; letter-spacing: -0.01em; font-size: 1.25rem; margin: 8px 0 6px; }
.why3 p { color: var(--muted-2); }

/* FOKA */
.foka { border-radius: 30px; border: 1px solid rgba(127,217,154,0.28); background: rgba(46,130,66,0.10); padding: 40px; display: flex; gap: 40px; flex-wrap: wrap; }
.foka > div { flex: 1 1 340px; min-width: 0; }
.foka .badge { display: inline-block; font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: #fff; padding: 12px 20px; border-radius: 14px; background: var(--green); box-shadow: 0 0 30px rgba(79,195,110,0.45); margin-bottom: 20px; }
.foka h2 { font-size: 2rem; }
.foka p { color: var(--muted); }
.foka h3 { font-family: inherit; letter-spacing: -0.01em; font-size: 1.12rem; margin-bottom: 14px; }
.checks { list-style: none; display: grid; gap: 10px; color: #D3E2DA; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ''; position: absolute; left: 2px; top: 0.35em; width: 12px; height: 7px; border-left: 2.5px solid var(--green-2); border-bottom: 2.5px solid var(--green-2); transform: rotate(-45deg); }

/* KKK */
.faq-list { max-width: 820px; }
.faq-list details { border-bottom: 1px solid rgba(255,255,255,0.12); padding: 18px 0; }
.faq-list summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--orange); font-size: 1.5rem; line-height: 1; transition: transform 0.2s; flex-shrink: 0; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin-top: 10px; color: var(--muted); max-width: 70ch; }

/* kontaktiplokk */
.cta { position: relative; overflow: hidden; border-radius: 36px; background: linear-gradient(120deg, #C9501A 0%, #A63E0D 55%, #5E1D06 100%); padding: 52px 48px; box-shadow: 0 30px 80px rgba(237,112,30,0.30); }
.cta .waves { inset: 0; height: 100%; opacity: 0.3; }
.cta .row-end { position: relative; display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
.cta .row-end > div:first-child { flex: 1 1 460px; min-width: 0; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.cta p { color: #fff; font-size: 1.12rem; margin-bottom: 26px; }
.cta .btn-white { background: #fff; color: #7A2608; }
.cta .btn-white:hover { color: #7A2608; }
.cta .btn-line { color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }
.cta .btn-line:hover { color: #fff; border-color: #fff; }
.cta .meta { color: #fff; line-height: 1.9; }

/* ── Tootelehed ── */
.catnav { position: relative; z-index: 1; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.catnav ul { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
.catnav a { display: inline-block; text-decoration: none; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--glass-line); color: #D3E2DA; font-weight: 600; font-size: 0.9rem; }
.catnav a:hover { border-color: var(--orange); color: #fff; }
.catnav a[aria-current="page"] { background: #fff; border-color: #fff; color: var(--bg); }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 36px; }
.toolbar > span { font-size: 0.92rem; color: var(--muted-2); margin-right: 4px; }
.toolbar button { font: inherit; font-size: 0.9rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--glass-line); background: transparent; color: #D3E2DA; cursor: pointer; }
.toolbar button:hover { border-color: var(--orange); }
.toolbar button[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--bg); }
.group { position: relative; z-index: 1; padding-top: 48px; scroll-margin-top: 20px; }
.group-head { margin-bottom: 24px; }
.group-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: 4px; }
.group-head p { color: var(--muted); max-width: 70ch; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.product { display: flex; flex-direction: column; border: 1px solid var(--glass-line); border-radius: 22px; overflow: hidden; background: var(--glass); scroll-margin-top: 20px; transition: border-color 0.2s; }
.product:hover { border-color: rgba(255,255,255,0.22); }
.product:target { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(237,112,30,0.3); }
.product-visual { aspect-ratio: 3 / 2; background: #fff; padding: 6px; }
.product-visual img { width: 100%; height: 100%; object-fit: contain; }
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.product-type { font-size: 0.84rem; color: var(--green-3); font-weight: 600; }
.product h3 { font-family: inherit; font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.25; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag { font-size: 0.74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,0.06); color: #C9D8D0; border: 1px solid rgba(255,255,255,0.14); white-space: nowrap; }
.tag-plug { background: rgba(79,195,110,0.12); border-color: rgba(79,195,110,0.4); color: var(--green-3); }
.tag-remote { background: rgba(120,170,230,0.12); border-color: rgba(120,170,230,0.4); color: #A9CBF2; }
.tag-css { background: rgba(237,112,30,0.12); border-color: rgba(237,112,30,0.45); color: var(--orange-2); }
.tag-new { background: var(--orange); border-color: var(--orange); color: var(--ink-on-orange); }
.product-body > p { color: var(--muted); font-size: 0.94rem; margin-bottom: 14px; }
.specs { list-style: none; margin-bottom: 18px; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.87rem; }
.specs li span:first-child { color: var(--muted-2); flex-shrink: 0; }
.specs li span:last-child { font-weight: 600; text-align: right; }
.product .btn { margin-top: auto; align-self: flex-start; }
.products.single { grid-template-columns: 1fr; }
.products.single .product { flex-direction: row; }
.products.single .product-visual { flex: 1.15; aspect-ratio: auto; min-height: 320px; padding: 20px; }
.products.single .product-body { flex: 1; padding: 28px 30px; }
.note { font-size: 0.9rem; color: var(--muted-2); background: var(--glass); border-left: 3px solid var(--green-2); padding: 12px 16px; border-radius: 0 12px 12px 0; max-width: 80ch; margin-top: 36px; }

/* energiamärgis */
.energy { display: inline-flex; align-items: center; flex-shrink: 0; font-weight: 800; line-height: 1; }
.energy .scale { background: #fff; color: #1f2937; font-size: 0.6rem; font-weight: 700; padding: 4px 5px; border: 1px solid #1f2937; border-right: 0; display: flex; flex-direction: column; align-items: center; height: 32px; justify-content: center; }
.energy .scale b { font-size: 0.66rem; }
.energy .cls { color: #fff; font-size: 1.2rem; height: 32px; padding: 0 13px 0 8px; display: flex; align-items: center; clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 0 100%); text-shadow: 0 1px 1px rgba(0,0,0,0.35); }
.energy[data-c="C"] .cls, .energy[data-c="D"] .cls { color: #1f2937; text-shadow: none; }

/* ülevaatelehe plaadid */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; border: 1px solid var(--glass-line); border-radius: 22px; overflow: hidden; background: var(--glass); text-decoration: none; color: var(--text); transition: border-color 0.15s, transform 0.15s; }
.tile:hover { border-color: var(--orange); transform: translateY(-2px); color: var(--text); }
.tile-img { aspect-ratio: 3 / 2; background: #fff; padding: 6px; }
.tile-img img { width: 100%; height: 100%; object-fit: contain; }
.tile-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tile-body h3 { font-family: inherit; font-size: 1.18rem; letter-spacing: -0.01em; margin-bottom: 4px; }
.tile-body p { color: var(--muted); font-size: 0.93rem; margin-bottom: 14px; }
.tile-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.tile-count { color: var(--green-3); font-weight: 600; }
.tile-go { color: var(--orange-2); font-weight: 700; }

/* agregaat sees / väline */
.explain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.explain > div { border: 1px solid var(--glass-line); border-radius: 22px; padding: 24px; background: var(--glass); }
.explain h3 { font-family: inherit; letter-spacing: -0.01em; font-size: 1.1rem; margin: 12px 0 6px; }
.explain p { color: var(--muted); font-size: 0.94rem; margin-bottom: 10px; }
.explain ul { list-style: none; font-size: 0.92rem; display: grid; gap: 6px; }
.explain li { padding-left: 18px; position: relative; }
.explain li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); }
.explain li.minus::before { background: rgba(255,255,255,0.3); }
.explain a { color: var(--orange-2); font-weight: 600; }

/* Coolbox ja Cool Stream System */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { counter-increment: s; border-top: 2px solid var(--orange); padding-top: 14px; }
.steps li::before { content: counter(s) '.'; font-weight: 800; color: var(--orange); margin-right: 6px; }
.steps p { color: var(--muted-2); font-size: 0.93rem; margin-top: 4px; }
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.modules > div { border: 1px solid var(--glass-line); border-radius: 18px; padding: 20px; background: var(--glass); }
.modules h3 { font-family: inherit; letter-spacing: -0.01em; font-size: 1.02rem; margin-bottom: 8px; }
.modules dl { display: grid; gap: 2px; font-size: 0.9rem; }
.modules dt { color: var(--muted-2); }
.modules dd { font-weight: 600; margin-bottom: 6px; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.figure { border: 1px solid var(--glass-line); border-radius: 22px; padding: 20px; background: var(--glass); }

/* tootelehe "miks meilt" */
.pwhy { border-radius: 30px; border: 1px solid var(--glass-line); background: var(--glass); padding: 44px 40px; }
.pwhy > p { color: var(--muted); max-width: 64ch; margin-bottom: 30px; }
.pwhy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pwhy-grid div { border-top: 2px solid var(--orange); padding-top: 16px; }
.pwhy-grid h3 { font-family: inherit; letter-spacing: -0.01em; font-size: 1.08rem; margin-bottom: 6px; }
.pwhy-grid p { color: var(--muted-2); font-size: 0.94rem; }

/* ── Päringuvorm ── */
.inquiry { position: relative; z-index: 1; padding: 104px 0 88px; scroll-margin-top: 10px; }
.inquiry-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.inquiry h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.inquiry-intro p { color: var(--muted); margin-bottom: 18px; }
.inquiry-intro dl { display: grid; gap: 10px; margin-top: 24px; }
.inquiry-intro dt { font-size: 0.84rem; color: var(--muted-2); }
.inquiry-intro dd { font-weight: 700; }
.inquiry-intro dd a { color: #fff; text-decoration: none; }
.inquiry-intro dd a:hover { color: var(--orange-2); }
form.card { border-radius: 26px; padding: 30px; background: var(--bg-2); border: 1px solid rgba(127,217,154,0.25); box-shadow: 0 0 50px rgba(46,130,66,0.15); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--muted-2); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; font: inherit; font-size: 0.97rem; color: #fff; background: rgba(255,255,255,0.05); }
.field select option, .field select optgroup { color: #111; background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #8FA59A; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(79,195,110,0.2); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #E5534B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: 0.84rem; color: var(--muted-2); margin: 4px 0 18px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 0.95rem; display: none; }
.form-status.ok { display: block; background: rgba(79,195,110,0.15); color: #BFE8CB; }
.form-status.err { display: block; background: rgba(229,83,75,0.15); color: #F5B7B2; }
button[type="submit"][disabled] { opacity: 0.6; cursor: progress; }

/* ── Jalus ── */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 44px 0 30px; color: var(--muted-2); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--muted-2); text-decoration: none; }
.site-footer a:hover { color: var(--orange-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.linklike { background: none; border: 0; font: inherit; color: var(--muted-2); cursor: pointer; padding: 0; }
.linklike:hover { color: var(--orange-2); }

/* ── Küpsised ── */
#cookie-banner { display: none; position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 980px; margin: 0 auto; z-index: 9999; background: #0F241A; border: 1px solid rgba(127,217,154,0.3); border-radius: 18px; padding: 16px 20px; align-items: center; justify-content: space-between; gap: 16px 20px; flex-wrap: wrap; font-size: 0.9rem; color: #D3E2DA; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
#cookie-banner p { flex: 1 1 320px; }
#cookie-banner .linklike { color: var(--green-3); text-decoration: underline; }
.ck-btns { display: flex; gap: 10px; flex-wrap: wrap; }
#cookie-modal { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.7); align-items: center; justify-content: center; padding: 16px; }
#cookie-modal.open { display: flex; }
#cookie-modal .box { background: #0F241A; border: 1px solid rgba(127,217,154,0.3); border-radius: 20px; padding: 28px; max-width: 500px; width: 100%; }
#cookie-modal h3 { font-size: 1.25rem; margin-bottom: 6px; }
#cookie-modal .box > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.c-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.c-row strong { display: block; font-size: 0.92rem; }
.c-row span.d { font-size: 0.8rem; color: var(--muted-2); }
.always { font-size: 0.74rem; color: var(--green-3); font-weight: 700; background: rgba(79,195,110,0.12); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.toggle { position: relative; display: inline-block; width: 42px; height: 22px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; inset: 0; background: rgba(255,255,255,0.2); border-radius: 22px; cursor: pointer; transition: background 0.2s; }
.slider::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: transform 0.2s; }
.toggle input:checked + .slider { background: var(--green); }
.toggle input:checked + .slider::before { transform: translateX(20px); }
.toggle input:focus-visible + .slider { outline: 3px solid var(--orange); outline-offset: 2px; }
.modal-btns { display: flex; gap: 10px; margin-top: 20px; justify-content: flex-end; flex-wrap: wrap; }

/* ── Mobiil ── */
@media (max-width: 1020px) {
  .modules, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .lifecycle { grid-template-columns: 1fr 1fr; }
  .lifecycle li:nth-child(3) { border-left: 0; }
  .lifecycle li:nth-child(n+3) { border-top: 1px solid var(--glass-line); }
  .inquiry-grid, .explain, .split, .pwhy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--max)); }
  .site-header .bar { padding: 14px 0; }
  .menu { order: 3; width: 100%; gap: 16px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  .menu::-webkit-scrollbar { display: none; }
  .menu a { white-space: nowrap; font-size: 0.9rem; }
  .hero-photo { min-height: 0; }
  .hero-photo .content { padding-top: 200px; }
  .brand { padding: 8px 12px; }
  .brand img { height: 15px; }
  .langs a { font-size: 0.72rem; padding: 3px 7px; }
  .hero-photo .waves { top: 360px; }
  .stats { margin-top: 56px; }
  .stats > div { flex: 1 1 140px; padding: 18px 12px 24px 0; }
  .stats strong { font-size: 2rem; }
  .section { padding-top: 72px; }
  .products.single .product { flex-direction: column; }
  .products.single .product-visual { aspect-ratio: 3 / 2; min-height: 0; padding: 6px; }
  .products.single .product-body { padding: 18px 20px 22px; }
  .frame > .inner, .foka, .pwhy { padding: 26px; }
  .cta { padding: 34px 26px; border-radius: 28px; }
  .catnav ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .catnav ul::-webkit-scrollbar { display: none; }
  .catnav li { flex-shrink: 0; }
}
@media (max-width: 600px) {
  .lifecycle, .modules, .steps, .footer-grid { grid-template-columns: 1fr; }
  .lifecycle li + li { border-left: 0; border-top: 1px solid var(--glass-line); }
  .row { grid-template-columns: 1fr; }
  form.card { padding: 22px; }
  .actions .btn { width: 100%; }
}
