/* Kasseta brand system (from kasseta.ee): white ground, graphite headings in Sofia Pro, Europa body,
   black 9px-radius buttons, logo red as a small accent, pastel offer cards, photo hero with dark overlay + black contact band.
   Light-only by design: the brand is a white/black identity. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f4f4f4;       /* grey sections */
  --ink: #000000;        /* headings */
  --text: #111318;       /* body text: near-black for contrast */
  --muted: #3f444b;
  --line: #e4e5e7;
  --black: #000000;      /* buttons, contact band */
  --red: #e93423;        /* logo red */
  --graphite: #242424;   /* logo dark */
  --pink: #fff0f0; --mint: #f4fff5; --sky: #eff7ff;  /* offer cards */
  --star: #f6bb06;
  --ok: #1f8a4c;
  --display: "sofia-pro", "Figtree", "Helvetica Neue", Arial, sans-serif;
  --body: "europa", "Figtree", "Helvetica Neue", Arial, sans-serif;
  --radius: 9px;
  --card-radius: 16px;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.65; font-weight: 400; letter-spacing: .1px; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 3px; }
b, strong { color: var(--ink); font-weight: 700; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--bg); padding: 8px 12px; }

.wrap {
  max-width: calc(var(--wrap) + 64px); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 500; line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0; }
.eyebrow { font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 1.15rem; max-width: 60ch; }
.prose { max-width: 68ch; display: grid; gap: 1em; }
.prose h2 { margin-top: .6em; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.prose ul, .prose ol { margin: 0; padding-left: 1.25em; display: grid; gap: .4em; }
.prose li::marker { color: var(--red); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 700; font-size: .98rem; padding: 13px 24px; border-radius: var(--radius); text-decoration: none; border: 1.5px solid var(--black); cursor: pointer; line-height: 1.2; letter-spacing: .1px; transition: background .15s, color .15s; }
.btn-primary { background: var(--black); color: #fff; }
.btn-primary:hover { background: var(--graphite); color: #fff; }
.btn-ghost { background: transparent; color: var(--black); }
.btn-ghost:hover { background: var(--black); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.on-dark .btn-primary { border-color: #fff; }
.on-dark .btn-ghost { color: #fff; border-color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; color: var(--black); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a:not(.btn), .nav .dd > button { font: inherit; font-size: .98rem; font-weight: 400; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--radius); background: none; border: 0; cursor: pointer; }
.nav > a:not(.btn):hover, .nav .dd > button:hover { color: var(--red); }
.nav a[aria-current="page"] { font-weight: 700; }
.nav .btn { margin-left: 8px; }
.dd { position: relative; }
.dd > button::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dd-menu { position: absolute; top: calc(100% + 10px); left: -12px; width: 340px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .25); display: none; }
.dd.open .dd-menu { display: grid; }
.dd-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.dd-menu a span { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dd-menu a:hover { background: var(--soft); color: var(--ink); }
.hdr-phone { font-weight: 700 !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-toggle { display: none; margin-left: auto; font: inherit; font-weight: 700; background: none; border: 1.5px solid var(--black); color: var(--black); border-radius: var(--radius); padding: 8px 14px; cursor: pointer; }
@media (max-width: 1040px) { .hdr-phone { display: none; } }
@media (max-width: 880px) {
  .hdr { min-height: 56px; gap: 12px; }
  .brand img { height: 34px; }
  .menu-toggle { padding: 5px 12px; font-size: .92rem; border-radius: 8px; }
  .nav { max-height: calc(100vh - 56px); }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px; gap: 2px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a:not(.btn), .nav .dd > button { padding: 12px 8px; text-align: left; width: 100%; }
  .hdr-phone { display: block !important; }
  .dd-menu, .dd.open .dd-menu { display: grid; position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 8px; border-radius: 0; }
  .nav .dd > button { pointer-events: none; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 8px 4px; }
  .nav .dd > button::after { display: none; }
  .dd-menu a { padding: 10px 8px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- hero: photo + overlay, then black contact band ---------- */
.hero { position: relative; color: #fff; background-color: #1b1d22; background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .58) 55%, rgba(0, 0, 0, .3) 100%); }
.hero .wrap { position: relative; padding-block: 88px 80px; }
.hero-text { display: grid; gap: 22px; max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
.hero .lede { color: rgba(255, 255, 255, .9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.socials-ic { display: flex; flex-wrap: wrap; gap: 18px; }
.socials-ic a { color: #fff; opacity: .9; }
.socials-ic a:hover { opacity: 1; color: #fff; }
.socials-ic svg { width: 22px; height: 22px; display: block; fill: currentColor; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 0; list-style: none; color: rgba(255, 255, 255, .85); }
.facts b { color: #fff; font-family: var(--display); font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; margin-right: 6px; }
.band { position: relative; z-index: 2; margin-top: -44px; }
.band-card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--bg); border-radius: var(--card-radius); box-shadow: 0 22px 50px -28px rgba(0, 0, 0, .45); border: 1px solid var(--line); }
.band-item { display: flex; gap: 12px; align-items: flex-start; padding: 20px 22px; font-size: .94rem; line-height: 1.45; min-width: 0; }
.band-item + .band-item { border-left: 1px solid var(--line); }
.band-item .lic { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: #fff0f0; stroke: var(--red); flex: none; }
.band-item b { display: block; color: var(--ink); margin-bottom: 2px; }
.band-item span { color: var(--text); }
.band-item a { color: var(--ink); text-decoration: none; font-weight: 700; }
.band-item a:hover { color: var(--red); }
.hero .wrap { padding-bottom: 124px; }
@media (max-width: 980px) { .band-card { grid-template-columns: repeat(2, minmax(0, 1fr)); } .band-item:nth-child(3) { border-left: 0; } .band-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 880px) { .hero .wrap { padding-block: 56px 96px; } .band { margin-top: -36px; } }
@media (max-width: 520px) { .band-item { padding: 12px; font-size: .84rem; line-height: 1.4; } .band-item .lic { display: none; } .band-item b { font-size: .86rem; } }

/* ---------- sections ---------- */
.section { padding-block: 72px; }
.section:not(.alt) + .section:not(.alt) { padding-top: 0; }
.section.alt { background: var(--soft); }
.sec-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 70ch; }
@media (max-width: 720px) {
  .section { padding-block: 32px; }
  .sec-head { margin-bottom: 18px; gap: 8px; }
  .price-groups.cols, .price-groups { gap: 26px; }
  .ptable th, .ptable td { padding-block: 11px; }
  .pay { margin-top: 18px; }
  .cols, .cols3 { gap: 26px; }
}

/* offers: pastel cards with 3D illustrations (brand pattern) */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.offer { display: grid; justify-items: center; text-align: center; gap: 12px; align-content: start; padding: 28px 24px; border-radius: var(--card-radius); border: 1px solid rgba(0, 0, 0, .04); color: var(--text); text-decoration: none; }
.offer:hover { color: var(--text); border-color: rgba(0, 0, 0, .15); }
.offer .short { display: none; }
.offer:nth-child(1) { background: var(--pink); } .offer:nth-child(2) { background: var(--mint); } .offer:nth-child(3) { background: var(--sky); }
.offer img { width: 128px; height: 128px; object-fit: contain; }
.offer p { max-width: 34ch; }
.offer .btn { margin-top: 6px; }
@media (max-width: 880px) {
  .offers { gap: 10px; }
  .offer { padding: 14px 8px 16px; gap: 6px; }
  .offer img { width: 64px; height: 64px; }
  .offer h3 { font-size: .9rem; line-height: 1.25; }
  .offer .short { display: block; font-size: .78rem; line-height: 1.3; color: var(--muted); }
  .offer p, .offer .btn { display: none; }
}

/* formats: product photos */
.formats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.fmt-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 4px; padding: 14px 14px 18px; border-radius: var(--card-radius); border: 1px solid var(--line); background: var(--bg); text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.fmt-card:hover { border-color: var(--ink); color: var(--text); box-shadow: 0 10px 26px -18px rgba(0, 0, 0, .4); }
.fmt-card img { width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 6px; }
.fmt-card h3 { font-size: 1.12rem; }
.fmt-card .dims { font-size: .86rem; color: var(--muted); }
.fmt-card .price { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 6px; }
.fmt-card .price small { font-family: var(--body); font-weight: 400; font-size: .85rem; color: var(--muted); }
.fmt-card .ic { aspect-ratio: 1; display: grid; place-items: center; color: var(--graphite); margin-bottom: 6px; }
.fmt-card .ic svg { height: 64px; width: auto; }

/* steps (real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; counter-reset: s; padding: 0; margin: 0; list-style: none; }
.steps li { display: grid; gap: 10px; align-content: start; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* prices (brand: rows, price right) */
.price-groups { display: grid; gap: 44px; }
.price-groups.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
@media (max-width: 860px) { .price-groups.cols { grid-template-columns: minmax(0, 1fr); } }
.price-group > h3 { font-size: 1.5rem; margin-bottom: 8px; }
.ptable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ptable th, .ptable td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-block: 8px; }
.ptable td.p { text-align: right; white-space: nowrap; font-weight: 700; color: var(--ink); padding-right: 0; }
.ptable td.p small { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }
.ptable .n { font-weight: 700; color: var(--ink); }
.ptable .n a { text-decoration: none; }
.ptable .n a:hover { text-decoration: underline; }
.ptable .d { display: block; color: var(--muted); font-size: .92rem; }
.table-scroll { overflow-x: auto; }
.pay { margin-top: 28px; display: inline-flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 14px 20px; background: var(--soft); border-radius: 12px; font-size: .95rem; }

/* info columns */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.cols > *, .cols3 > * { min-width: 0; display: grid; gap: 12px; align-content: start; }
@media (max-width: 860px) { .cols, .cols3 { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.note { border-left: 3px solid var(--red); padding: 4px 0 4px 16px; display: grid; gap: 8px; }
.ticklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticklist li { padding-left: 28px; position: relative; }
.ticklist li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.review { display: grid; gap: 10px; align-content: start; margin: 0; padding: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--card-radius); }
.review blockquote { margin: 0; font-size: .98rem; }
.review figcaption { font-weight: 700; color: var(--ink); font-size: .95rem; }
.review figcaption span { color: var(--muted); font-weight: 400; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 1rem; line-height: 1; }
@media (max-width: 1000px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reviews { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq { display: grid; max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-family: var(--display); font-weight: 500; font-size: 1.12rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.6rem; font-weight: 300; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; max-width: 68ch; display: grid; gap: .7em; }

/* form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.form { display: grid; gap: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--card-radius); padding: 32px; }
@media (max-width: 560px) { .form { padding: 22px 16px; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; color: var(--ink); font-size: .95rem; padding: 0; }
.field .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid #d2d3d5; border-radius: var(--radius); padding: 12px 14px; width: 100%; min-width: 0; }
.field input:focus, .field textarea:focus { border-color: var(--black); outline: none; box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
.field textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 7px 14px; border: 1px solid #d2d3d5; border-radius: 999px; font-size: .93rem; color: var(--ink); background: var(--bg); }
.chip input:checked + span { background: var(--black); border-color: var(--black); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-status { font-weight: 700; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #b3261e; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-foot small { color: var(--muted); }
.contact-list { display: grid; gap: 26px; }
.contact-list h3 { font-size: 1.1rem; margin-bottom: 4px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 700; }
.socials a:hover { border-color: var(--black); color: var(--ink); }

/* service pages */
.crumbs { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-hidden] { opacity: .6; }
.svc-hero { padding-block: 48px 64px; background: var(--soft); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
@media (max-width: 880px) { .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.svc-hero .hero-text { max-width: none; }
.ticket { background: var(--bg); border-radius: var(--card-radius); padding: 24px; display: grid; gap: 16px; box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.ticket .top { display: flex; gap: 16px; align-items: center; }
.ticket .top img { width: 96px; height: 96px; object-fit: contain; flex: none; }
.ticket .top .ic { width: 96px; height: 96px; display: grid; place-items: center; color: var(--graphite); flex: none; }
.ticket .top .ic svg { width: 80px; height: auto; }
.ticket .what { font-size: .9rem; color: var(--muted); display: block; }
.ticket .amt { font-family: var(--display); font-weight: 600; font-size: 2.6rem; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.ticket .amt small { font-family: var(--body); font-size: 1rem; font-weight: 400; color: var(--muted); }
.ticket ul { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.ticket ul li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.ticket ul li b { text-align: right; font-variant-numeric: tabular-nums; }
.ticket .btn { width: 100%; }
.svc-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.svc-aside { position: sticky; top: 100px; display: grid; gap: 14px; font-size: .95rem; }
.svc-aside h3 { font-size: 1.05rem; }
.svc-aside ul { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.svc-aside li a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.svc-aside li a span { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc-aside li a:hover { color: var(--red); }
@media (max-width: 960px) { .svc-body { grid-template-columns: minmax(0, 1fr); } .svc-aside { position: static; } }
.figure { margin: 0; display: grid; gap: 8px; }
.figure figcaption { font-size: .88rem; color: var(--muted); }
.scale-wrap { overflow-x: auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--card-radius); padding: 24px; }
.scale-wrap svg { display: block; min-width: 560px; width: 100%; height: auto; color: var(--graphite); }

/* drawn cassette icons */
.ic-b { fill: currentColor; } .ic-w { fill: var(--bg); } .ic-l { fill: #e6e6e6; } .ic-y { fill: var(--red); }

/* articles */
.articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); }
.articles a { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.articles a b { font-family: var(--display); font-size: 1.15rem; font-weight: 500; line-height: 1.3; }
.articles a span { color: var(--muted); font-size: .95rem; }
.articles a:hover b { color: var(--red); }
@media (max-width: 760px) { .articles { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.site-footer { background: var(--black); color: #b9bbbf; padding-block: 64px 32px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.foot-grid h3 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-logo img { height: 36px; width: auto; display: block; margin-bottom: 8px; }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid #222; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #8a8d92; font-size: .88rem; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* mobile action bar */
.actionbar { display: none; }
@media (max-width: 720px) {
  .actionbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--bg); border-top: 1px solid var(--line);
    padding: 7px max(12px, env(safe-area-inset-right, 0px)) calc(7px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
  .actionbar a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 6px; border-radius: var(--radius); font-weight: 700; font-size: .9rem; line-height: 1.2; text-decoration: none; border: 1.5px solid var(--black); color: var(--black); }
  .actionbar svg { width: 16px; height: 16px; flex: none; fill: currentColor; }
  .actionbar a.go { background: var(--black); color: #fff; }
  body { padding-bottom: 60px; }
}

/* ---------- v3 additions ---------- */
.hero { background-image: var(--hero-m); }
@media (min-width: 900px) { .hero { background-image: var(--hero-d); } }
.small { font-size: .9rem; color: var(--muted); }
.lic { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* "!" hint with a photo of the medium */
.tip { position: relative; display: inline-block; vertical-align: 2px; margin-left: 8px; }
.tip-btn { width: 19px; height: 19px; padding: 0; border-radius: 50%; border: 1.5px solid var(--red); background: var(--bg); color: var(--red); font: 800 11px/1 var(--body); cursor: help; display: grid; place-items: center; }
.tip-btn:hover, .tip:focus-within .tip-btn { background: var(--red); color: #fff; }
.tip-pop { display: none; position: absolute; left: -12px; bottom: calc(100% + 10px); width: 200px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .35); padding: 10px 12px 12px; z-index: 30; gap: 4px; text-align: left; font-weight: 400; }
.tip-pop::after { content: ""; position: absolute; left: 16px; bottom: -6px; width: 10px; height: 10px; background: var(--bg); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.tip-pop img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: #fff; }
.tip-pop b { font-size: .95rem; }
.tip-pop small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.tip:hover .tip-pop, .tip:focus-within .tip-pop { display: grid; }
.tip-inline { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--red); color: var(--red); font: 800 11px/1 var(--body); vertical-align: 2px; }
.price-group .eyebrow { display: block; margin-bottom: 4px; }

/* conditions with icons */
.iconlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.iconlist li { display: flex; gap: 14px; align-items: flex-start; }
.iconlist .lic { margin-top: 1px; padding: 7px; width: 38px; height: 38px; border-radius: 10px; background: var(--soft); stroke: var(--red); }
.section.alt .iconlist .lic { background: var(--bg); }
.receive { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.receive > div { background: var(--soft); border-radius: var(--card-radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.section.alt .receive > div { background: var(--bg); }
.receive > div > .lic { width: 30px; height: 30px; stroke: var(--red); }
.receive .small { display: flex; gap: 8px; align-items: flex-start; }
.receive .small .lic { width: 18px; height: 18px; stroke: var(--muted); margin-top: 2px; }
@media (max-width: 560px) { .receive { grid-template-columns: minmax(0, 1fr); } }

/* "Millega me töötame" photo grid, as on the old site */
.mgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.mtile { display: block; background: #fff; border-radius: var(--card-radius); border: 1px solid var(--line); padding: 10px; transition: transform .15s, box-shadow .15s; }
a.mtile:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .45); }
.mtile img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
@media (max-width: 900px) { .mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* why block */
.why { display: grid; gap: 28px; }
.two-col { max-width: none; columns: 2; column-gap: 48px; display: block; }
.two-col p { break-inside: avoid; margin-bottom: 1em; }
@media (max-width: 860px) { .two-col { columns: 1; } }

/* service page photos */
.photo { margin: .4em 0; }
.photo img { display: block; width: 100%; max-height: 460px; object-fit: contain; background: #fff; border-radius: var(--card-radius); border: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery .photo img { max-height: none; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 640px) { .gallery { grid-template-columns: minmax(0, 1fr); } }
.prose .eyebrow { margin-top: 1.2em; margin-bottom: -.6em; }
.prose ol.process { list-style: none; padding: 0; counter-reset: st; gap: 14px; }
.prose ol.process li { counter-increment: st; position: relative; padding: 16px 18px 16px 64px; background: var(--soft); border-radius: 12px; }
.prose ol.process li::before { content: counter(st); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.prose ol.process li p { margin-top: 4px; }
.formats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .formats.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* cassette types page */
.types { display: grid; gap: 28px; }
.type-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.type-item > div { display: grid; gap: .8em; max-width: 72ch; }
.type-item ul { margin: 0; padding-left: 1.2em; display: grid; gap: .3em; }
.type-item h2 a { text-decoration: none; }
.type-item .photo img { max-height: 200px; }
@media (max-width: 720px) { .type-item { grid-template-columns: minmax(0, 1fr); gap: 14px; } .type-item .photo img { max-height: 160px; width: auto; } }

/* green inquiry form */
.form { background: #e8f6ec; border-color: #c4e6cd; }
.form .field input, .form .field textarea, .form .chip span { background: #fff; border-color: #c4e6cd; }
.form .chip input:checked + span { background: var(--black); border-color: var(--black); color: #fff; }
.form .btn-primary { background: #1f8a4c; border-color: #1f8a4c; }
.form .btn-primary:hover { background: #18723e; border-color: #18723e; }

/* ---------- tighter rhythm on phones (kept last so it wins) ---------- */
@media (max-width: 720px) {
  .svc-hero { padding-block: 22px 26px; }
  .site-footer { padding-block: 34px 22px; }
  .foot-bottom { margin-top: 26px; }
  .section.alt + .section.alt { padding-top: 0; }
  .receive { margin-top: 0; }
  .receive > div { padding: 16px; }
  .iconlist { gap: 10px; }
  .faq summary { padding-block: 14px; }
  .reviews { gap: 12px; }
  .mgrid { gap: 8px; }
  .prose { gap: .8em; }
  .contact-grid { gap: 22px; }
  .contact-list { gap: 18px; }
}

/* ---------- language switch + Cyrillic ---------- */
.langs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.langs a { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: var(--ink); padding: 4px 9px; border-radius: 999px; line-height: 1.2; }
.langs a[aria-current] { background: var(--black); color: #fff; }
.langs a:not([aria-current]):hover { background: var(--soft); color: var(--ink); }
@media (max-width: 960px) { .langs { align-self: flex-start; margin: 8px 8px 6px; } }
html[lang="ru"] { --display: "Manrope", "Helvetica Neue", Arial, sans-serif; --body: "Manrope", "Helvetica Neue", Arial, sans-serif; }
html[lang="ru"] body { letter-spacing: 0; font-size: 16.5px; }
html[lang="ru"] h1, html[lang="ru"] h2, html[lang="ru"] h3 { letter-spacing: -.01em; font-weight: 600; }
.article-meta { color: var(--muted); font-size: .9rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose table th, .prose table td { text-align: left; padding: 9px 12px; border: 1px solid var(--line); vertical-align: top; }
.prose table tr:first-child td { background: var(--soft); font-weight: 700; color: var(--ink); }
.table-wrap { overflow-x: auto; }
.articles .t { font-family: var(--display); font-weight: 500; color: var(--ink); font-size: 1.1rem; }
.article-cta { background: #e8f6ec; border: 1px solid #c4e6cd; border-radius: var(--card-radius); padding: 22px; display: grid; gap: 10px; justify-items: start; }

/* language switch in the mobile header */
.langs-m { display: none; }
@media (max-width: 960px) {
  .langs-m { display: inline-flex; margin-left: auto; align-self: center; }
  .langs-m + .menu-toggle { margin-left: 0; }
  .nav .langs { display: none; }
}
.price-stack { display: grid; gap: 28px; align-content: start; }

/* extra services: one row, several columns */
.price-extra { margin-top: 40px; }
.price-extra .ptable, .price-extra tbody { display: block; }
.price-extra tbody { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.price-extra tr { display: grid; grid-template-rows: 1fr auto; border-top: 1px solid var(--line); padding: 16px 0; }
.price-extra td { display: block; border: 0; padding: 0; }
.price-extra td.p { text-align: left; margin-top: 10px; font-size: 1.15rem; }
.price-extra td.p small { display: inline; margin-left: 4px; }
@media (max-width: 1000px) { .price-extra tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .price-extra tbody { grid-template-columns: minmax(0, 1fr); } .price-extra tr { grid-template-rows: auto; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; } .price-extra td.p { margin: 0; text-align: right; } }
