/* Kisgépi földmunka látványterv: one stylesheet for all 32 views.
   build.py links it from every design page. Two token sets switch the look:
   html[data-dir="a"] = dark earth, near the kertujitok.hu layout language (Outfit + Plus Jakarta Sans).
the 23 Oct kit treatment with an ochre accent (Barlow Condensed + DM Sans). {
   Layout rules that differ per direction sit next to the shared rule they change. */

html[data-dir="a"] {
  --bg: #1d1b18; --bg-alt: #24201b; --surface: #2c2722; --surface-2: #352f29; --line: rgba(242,236,227,.11);
  --text: #d8d0c4; --text-soft: #a99f92; --heading: #f6f1e9;
  --accent: #e5a832; --accent-strong: #f1bb4d; --on-accent: #1d1b18; --accent-text: #ebb54a; --accent-tint: rgba(229,168,50,.14);
  --paper: #e7e1d7; --paper-2: #ddd5c8; --paper-text: #2b2620; --paper-soft: #5e554a; --paper-accent: #7f5205; --paper-line: #cfc5b6;
  --band: #2a231c; --band-text: #e6ddd0; --footer: #141311; --top: #141311; --header: rgba(29,27,24,.96); --header-text: #ece5da;
  --card: #2c2722; --card-text: #d8d0c4; --input: #1d1b18; --input-line: rgba(242,236,227,.18); --input-text: #f6f1e9;
  --font-h: "Outfit", system-ui, sans-serif; --font-b: "Plus Jakarta Sans", system-ui, sans-serif;
  --h-weight: 700; --h1: 62px; --h1-inner: 54px; --h2: 40px; --h3: 22px; --h-lh: 1.08; --h-track: -.015em;
  --radius: 12px; --radius-lg: 18px; --btn-radius: 10px; --shadow: 0 18px 50px rgba(0,0,0,.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font-b); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2 { text-wrap: balance; }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: var(--h-weight); color: var(--heading); line-height: var(--h-lh); letter-spacing: var(--h-track); margin: 0; }
.wrap { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.ph { font-size: 1.15em; line-height: 1; vertical-align: -.14em; }

/* Top bar and header */
.topbar { background: var(--top); color: var(--text-soft); font-size: 13px; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; gap: 26px; align-items: center; min-height: 40px; }
.topbar .tb-right { margin-left: auto; display: flex; gap: 24px; }
.topbar a, .topbar span { display: inline-flex; gap: 7px; align-items: center; }
.topbar .ph { color: var(--accent-text); }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 34px; min-height: 78px; }
.logo img { height: 46px; width: auto; }
html[data-dir="a"] .logo-light { display: block; }
html[data-dir="a"] .logo-dark { display: none; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav > li { position: relative; }
.nav > li > a { display: inline-flex; align-items: center; gap: 5px; padding: 10px 12px; font-size: 15px; font-weight: 600; color: var(--header-text); border-radius: 8px; }
.nav > li > a:hover, .nav > li > a[aria-current="page"] { color: var(--accent-text); }
.nav .dd { position: absolute; top: 100%; left: 0; min-width: 250px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: none; }
.nav li:hover > .dd, .nav li:focus-within > .dd { display: grid; }
.nav .dd a { padding: 9px 12px; border-radius: 6px; font-size: 14px; color: var(--text); display: flex; gap: 10px; align-items: center; }
.nav .dd a .ph { color: var(--accent-text); }
.nav .dd a:hover { background: var(--accent-tint); color: var(--heading); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: var(--btn-radius); font: 700 15px/1 var(--font-b); border: 1.5px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-strong); }
.btn-line { border-color: color-mix(in srgb, var(--heading) 35%, transparent); color: var(--heading); background: transparent; }
.btn-line:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-dark { background: var(--paper-text); color: var(--paper); }

/* Eyebrows and section heads: A = centred pill (kertujitok.hu), B = left line label (23 Oct kit). */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--font-b); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
html[data-dir="a"] .eyebrow { background: var(--accent-tint); padding: 8px 14px; border-radius: 999px; }
.sec { padding: 96px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-head { max-width: 760px; margin: 0 0 48px; }
html[data-dir="a"] .sec-head { margin: 0 auto 52px; text-align: center; }
.sec-head h2 { font-size: var(--h2); margin: 16px 0 14px; }
.sec-head p { color: var(--text-soft); font-size: 17px; margin: 0; }
html[data-dir="a"] .sec-head p { max-width: 640px; margin: 0 auto; }
.paper { background: var(--paper); color: var(--paper-soft); }
.paper h2, .paper h3, .paper h4 { color: var(--paper-text); }
.paper .eyebrow { color: var(--paper-accent); }
html[data-dir="a"] .paper .eyebrow { background: rgba(127,82,5,.1); }
.paper .sec-head p { color: var(--paper-soft); }

/* Hero (homepage, service, machine pages). Same markup, two compositions. */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: var(--h1); margin: 20px 0 22px; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero-lead { font-size: 18px; line-height: 1.65; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; font-weight: 500; }
.hero-points li { display: inline-flex; gap: 8px; align-items: center; }
.hero-points .ph { color: var(--accent-text); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-soft); margin-bottom: 18px; }
.crumbs a:hover { color: var(--accent-text); }
.spec-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.spec-chips li { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border-radius: var(--radius); background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); min-width: 130px; }
.spec-chips b { font: var(--h-weight) 24px/1.05 var(--font-h); color: var(--heading); }
.spec-chips span { font-size: 12px; color: var(--text-soft); }

html[data-dir="a"] .hero { background: var(--bg); padding: 92px 0 96px; min-height: 700px; }
html[data-dir="a"] .hero-media { position: absolute; inset: 0; }
html[data-dir="a"] .hero-media img { width: 100%; height: 100%; object-fit: cover; }
html[data-dir="a"] .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,17,.94) 0%, rgba(20,19,17,.84) 42%, rgba(20,19,17,.55) 100%), linear-gradient(0deg, rgba(20,19,17,.7), transparent 40%); }
html[data-dir="a"] .hero-grid { grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); grid-template-areas: "copy form"; }
html[data-dir="a"] .hero-copy { grid-area: copy; position: relative; }
html[data-dir="a"] .hero-form { grid-area: form; position: relative; }
html[data-dir="a"] .hero-lead, html[data-dir="a"] .hero-points { color: #e3dacd; }
html[data-dir="a"] .hero .crumbs { color: #c8bdaf; }
html[data-dir="a"] .hero-form .form-card { background: rgba(29,27,24,.9); backdrop-filter: blur(6px); }


/* Request form card */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 30px; margin-bottom: 6px; }
.form-card .fc-sub { font-size: 14px; color: var(--text-soft); margin-bottom: 20px; }
.form-card .fc-phone { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-soft); }
.form-card .fc-phone a { font: var(--h-weight) 22px/1 var(--font-h); color: var(--heading); }
.form-card .fc-phone .ph { font-size: 22px; color: var(--accent-text); }
.svc-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.svc-picks label { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--input-line); border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--heading); cursor: pointer; background: var(--input); }
.svc-picks input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.svc-picks .ph { color: var(--accent-text); font-size: 18px; }
.svc-picks label:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 600; color: var(--heading); }
.field input, .field select, .field textarea { width: 100%; font: 400 15px/1.4 var(--font-b); color: var(--input-text); background: var(--input); border: 1px solid var(--input-line); border-radius: 8px; padding: 12px 14px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card .btn { width: 100%; margin-top: 4px; }
.form-legal { font-size: 12px; color: var(--text-soft); margin: 10px 0 0; }
.form-legal a { text-decoration: underline; }
.form-demo-note { margin: 12px 0 0; padding: 12px 14px; border-radius: 8px; background: var(--accent-tint); color: var(--heading); font-size: 13.5px; }
.form-demo-note[hidden] { display: none; }

html[data-dir="a"] .hero-form .fc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
html[data-dir="a"] .hero-form .fc-fields .btn { grid-column: 1 / -1; }
html[data-dir="a"] .form-card .fc-phone { margin: 0 0 18px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 10px; background: var(--accent-tint); }

/* Facts strip: real numbers from the site copy, styled like the kertujitok.hu stat row. */
.facts { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 40px 26px; display: grid; gap: 6px; justify-items: start; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
html[data-dir="a"] .facts li { justify-items: center; text-align: center; }
.facts .ph { font-size: 30px; color: var(--accent-text); margin-bottom: 6px; }
.facts b { font: var(--h-weight) 44px/1 var(--font-h); color: var(--heading); }
.facts span { font-size: 13px; color: var(--text-soft); letter-spacing: .04em; }
html[data-dir="a"] .facts span { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 600; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, border-color .25s; }
.svc-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.svc-card .img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.svc-card .img img { width: 100%; height: 100%; object-fit: cover; }
.svc-card .tag { position: absolute; left: 14px; top: 14px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.svc-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-card h3 { font-size: var(--h3); display: flex; gap: 10px; align-items: center; }
.svc-card h3 .ph { color: var(--accent-text); }
.svc-card p { font-size: 14.5px; color: var(--text-soft); margin: 0; }
.svc-card .more { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 700; color: var(--accent-text); display: inline-flex; gap: 8px; align-items: center; }

/* Split feature (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius-lg); }
.split-media .badge { position: absolute; left: -18px; bottom: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: 290px; }
.split-media .badge .ph { font-size: 30px; color: var(--accent-text); }
.split-media .badge b { display: block; font: var(--h-weight) 22px/1.1 var(--font-h); color: var(--heading); }
.split-media .badge small { font-size: 12px; color: var(--text-soft); }
.split h2 { font-size: var(--h2); margin: 16px 0 20px; }
.split p { font-size: 16.5px; }
.ticks { display: grid; gap: 12px; margin: 22px 0 30px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.ticks .ph { color: var(--accent-text); font-size: 20px; margin-top: 2px; flex: none; }
.paper .ticks .ph { color: var(--paper-accent); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 28px 30px; }
html[data-dir="a"] .step { text-align: center; }
.step .num { position: absolute; top: -22px; left: 28px; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 700 20px/1 var(--font-h); }
html[data-dir="a"] .step .num { left: 50%; transform: translateX(-50%); }
.step .ph { font-size: 30px; color: var(--accent-text); margin-bottom: 14px; display: inline-block; }
.step h3 { font-size: var(--h3); margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--text-soft); margin: 0; }

/* Audience cards */
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.aud { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; }
.paper .aud { background: var(--paper-2); border-color: var(--paper-line); }
.aud .ph { font-size: 32px; color: var(--accent-text); display: block; margin-bottom: 18px; }
.paper .aud .ph { color: var(--paper-accent); }
.aud h3 { font-size: var(--h3); margin-bottom: 10px; }
.aud p { font-size: 14.5px; margin: 0; }

/* Photo grids and gallery */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); }
.photo-grid figure.tall { grid-row: span 2; aspect-ratio: auto; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-grid figure:hover img { transform: scale(1.04); }
.photo-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gal-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 30px; }
html[data-dir="a"] .gal-filter { justify-content: center; }
.gal-filter button { font: 600 14px/1 var(--font-b); padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.gal-filter button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.gallery { columns: 4; column-gap: 14px; }
.gallery figure { break-inside: avoid; margin: 0 0 14px; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--surface-2); }
.gallery figure[hidden] { display: none; }
.gallery img { width: 100%; height: auto; cursor: zoom-in; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(20,19,17,.78); color: #f6f1e9; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 90vh; }
.lightbox::backdrop { background: rgba(10,9,8,.86); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lightbox button { position: fixed; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #f6f1e9; color: #1d1b18; font-size: 22px; cursor: pointer; }

/* Service detail */
.detail { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 64px; align-items: start; }
.detail h2 { font-size: var(--h2); margin: 16px 0 22px; }
.detail .prose p { font-size: 16.5px; line-height: 1.75; }
.side-card { background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: var(--radius-lg); padding: 30px; position: sticky; top: 110px; }
.side-card h3 { font-size: 26px; margin-bottom: 18px; }
.side-card .ticks { margin: 0 0 22px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 22px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--paper-soft); width: 52%; }
.spec-table td { font-weight: 700; color: var(--paper-text); }

/* Related work chips and service nav */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.related a { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px; font-weight: 700; color: var(--heading); }
.related a .ph { font-size: 26px; color: var(--accent-text); }
.related a small { display: block; font-weight: 500; font-size: 12px; color: var(--text-soft); margin-top: 2px; }
.related a:hover { border-color: var(--accent); }
.svc-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.svc-nav a { display: flex; gap: 12px; align-items: center; padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: 15px; background: var(--card); color: var(--heading); }
.svc-nav a .ph { color: var(--accent-text); font-size: 22px; }
.svc-nav a .arr { margin-left: auto; color: var(--text-soft); }
.svc-nav a[aria-current="page"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.svc-nav a[aria-current="page"] .ph, .svc-nav a[aria-current="page"] .arr { color: var(--on-accent); }

/* Bridge to kertujitok.hu */
.bridge { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.paper .bridge { background: var(--paper-2); border-color: var(--paper-line); }
.bridge .b-copy { padding: 48px; }
.bridge h2 { font-size: 36px; margin: 16px 0 14px; }
.bridge .b-img { position: relative; min-height: 380px; }
.bridge .b-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bridge-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; }
.c-card .ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 26px; flex: none; }
.c-card small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); font-weight: 600; margin-bottom: 4px; }
.c-card b { font: var(--h-weight) 26px/1.1 var(--font-h); color: var(--heading); }
.c-card.small b { font-size: 19px; font-family: var(--font-b); font-weight: 600; }
.company { font-size: 14px; color: var(--text-soft); margin-top: 8px; padding: 22px 26px; border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.company b { color: var(--heading); }

/* Text page and privacy */
.page-hero { padding: 72px 0 64px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--h1-inner); margin: 18px 0 18px; }
.page-hero .lead { font-size: 18px; max-width: 720px; margin: 0; }
html[data-dir="a"] .page-hero { text-align: center; }
html[data-dir="a"] .page-hero .lead { margin: 0 auto; }
html[data-dir="a"] .page-hero .crumbs { justify-content: center; }
.page-hero.with-img { position: relative; overflow: hidden; }
html[data-dir="a"] .page-hero.with-img { padding: 120px 0 110px; }
html[data-dir="a"] .page-hero.with-img .ph-media { position: absolute; inset: 0; }
html[data-dir="a"] .page-hero.with-img .ph-media img { width: 100%; height: 100%; object-fit: cover; }
html[data-dir="a"] .page-hero.with-img .ph-media::after { content: ""; position: absolute; inset: 0; background: rgba(20,19,17,.78); }
html[data-dir="a"] .page-hero.with-img .wrap > div:not(.ph-media) { position: relative; z-index: 1; }
html[data-dir="a"] .page-hero.with-img .lead { color: #e3dacd; }
.prose-narrow { max-width: 780px; margin: 0 auto; }
.prose-narrow h2 { font-size: 30px; margin: 44px 0 14px; }
.prose-narrow h2:first-child { margin-top: 0; }
.prose-narrow p { font-size: 16px; line-height: 1.8; }
.quote { font: var(--h-weight) 25px/1.3 var(--font-h); color: var(--heading); border-left: 4px solid var(--accent); padding-left: 22px; margin: 26px 0 30px; }
.paper .quote { color: var(--paper-text); }

/* Machine page */
.m-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.m-fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.m-fact .ph { font-size: 32px; color: var(--accent-text); display: block; margin-bottom: 16px; }
.m-fact h3 { font-size: var(--h3); margin-bottom: 8px; }
.m-fact p { font-size: 14.5px; color: var(--text-soft); margin: 0; }
.drawing { margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--paper-line); }
.drawing img { margin: 0 auto; max-height: 470px; width: auto; }
.drawing figcaption { text-align: center; font-size: 13px; color: var(--paper-soft); margin-top: 12px; }

/* CTA band and footer */
.cta-band { position: relative; overflow: hidden; background: var(--band); color: var(--band-text); padding: 84px 0; }
.cta-band .cta-media { position: absolute; inset: 0; opacity: .22; }
.cta-band .cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta-band h2 { color: #f6f1e9; font-size: var(--h2); margin: 14px 0 12px; }
.cta-band p { margin: 0; font-size: 17px; }
.cta-band .eyebrow { color: var(--accent); }
html[data-dir="a"] .cta-band .eyebrow { background: rgba(229,168,50,.14); }
.cta-band .btn-line { color: #f6f1e9; border-color: rgba(246,241,233,.4); }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-band .tel-big { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius-lg); background: rgba(246,241,233,.07); border: 1px solid rgba(246,241,233,.16); }
.cta-band .tel-big .ph { font-size: 30px; color: var(--accent); }
.cta-band .tel-big small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #c6bcae; }
.cta-band .tel-big b { font: var(--h-weight) 30px/1.1 var(--font-h); color: #f6f1e9; }
.site-footer { background: var(--footer); color: var(--text-soft); padding: 70px 0 0; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; }
.site-footer h4 { font-size: 20px; margin-bottom: 18px; color: var(--heading); }
html[data-dir="a"] .site-footer h4 { font-size: 17px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: var(--accent-text); }
.site-footer .logo img { height: 50px; margin-bottom: 18px; }
.site-footer .f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer .f-contact .ph { color: var(--accent-text); margin-top: 3px; }
.foot-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); display: flex; gap: 24px; font-size: 12.5px; }
.foot-bottom .fb-right { margin-left: auto; display: flex; gap: 20px; }

/* Floating phone button, bottom right (desktop). On the phone the call bar replaces it. */
.float-tel { position: fixed; right: 26px; bottom: 26px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.28); }

/* ---------------------------------------------------------------- added for the portal build */
.center-cta { text-align: center; margin: 34px 0 0; }
.hero-actions.center { justify-content: center; margin-top: 28px; }
.nav-toggle { display: none; }
.phone-bar { display: none; }

/* v2 lead form (form#ajanlat, one per page, site.js). Without JS it posts natively to /api/intake. */
.lead-form .fc-head h2 { margin-bottom: 6px; }
.lead-form .fc-sub { margin-bottom: 16px; }
.fc-svc { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--input-line); background: var(--input); color: var(--text-soft); font-size: 14px; }
.fc-svc .ph { color: var(--accent-text); font-size: 20px; }
.fc-svc b { color: var(--heading); font: var(--h-weight) 18px/1.1 var(--font-h); }
.svc-fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.svc-fs legend { font-size: 13px; font-weight: 600; color: var(--heading); margin: 0 0 8px; padding: 0; }
.field input, .field select, .field textarea { border-color: rgba(242,236,227,.3); }
.field textarea { min-height: 64px; }
.hero-form .field textarea { min-height: 50px; }
.hero-form .svc-fs legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-card .fc-phone a { white-space: nowrap; }
.form-status { margin: 12px 0 0; padding: 12px 14px; border-radius: 8px; font-size: 14px; background: var(--accent-tint); color: var(--heading); }
.form-status[hidden] { display: none; }
.form-status.is-error { background: rgba(214,92,64,.16); }
.lead-form.is-sent .form-status { font-size: 16px; padding: 18px; }
.hero-form .lead-form .fc-head .fc-phone { margin-bottom: 14px; }
.cfss-list { color-scheme: dark; }


/* Privacy page */
.privacy .meta { color: var(--paper-soft); }
.privacy ul.plain { list-style: disc; padding-left: 22px; margin: 0 0 1em; display: grid; gap: 6px; }
.privacy a { text-decoration: underline; text-underline-offset: 2px; }
.privacy .table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.privacy table { border-collapse: collapse; width: 100%; font-size: 15px; }
.privacy th, .privacy td { border: 1px solid var(--paper-line); padding: 10px; text-align: left; vertical-align: top; }
.privacy th { color: var(--paper-text); background: var(--paper-2); }

/* Tablet and small laptop */
@media (max-width: 1100px) {
  html[data-dir="a"] { --h1: 50px; --h1-inner: 46px; --h2: 34px; }
  .site-header .wrap { gap: 18px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--header-text); font: 600 15px/1 var(--font-b); cursor: pointer; }
  .nav-toggle .ph { font-size: 22px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 12px 32px 18px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100dvh - 80px); overflow: auto; }
  .nav.is-open { display: flex; }
  .nav > li > a { padding: 12px 6px; font-size: 16px; }
  .nav .has-dd > a .ph { display: none; }
  .nav .dd { position: static; display: grid; grid-template-columns: 1fr 1fr; min-width: 0; padding: 0 0 8px; border: 0; box-shadow: none; background: transparent; }
  html[data-dir="a"] .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "form"; }
  .hero-form { max-width: 640px; }
  .svc-grid, .steps, .m-facts { grid-template-columns: repeat(2, 1fr); }
  .aud-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .detail, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-media { order: 0; }
  .side-card { position: static; }
  .cta-band .wrap { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .gallery { columns: 3; }
  .svc-nav { grid-template-columns: repeat(2, 1fr); }
}

/* Phone: low header that scrolls away, logo at about 70 %, one-line call bar fixed at the bottom. */
@media (max-width: 768px) {
  html[data-dir="a"] { --h1: 38px; --h1-inner: 34px; --h2: 28px; --h3: 20px; }
  body { font-size: 15.5px; padding-bottom: 64px; }
  .wrap { width: calc(100% - 36px); }
  .topbar { display: none; }
  .site-header { position: relative; }
  .site-header .wrap { min-height: 60px; gap: 10px; }
  .logo img { height: 34px; }
  .head-tel { display: none; }
  .nav { max-height: calc(100dvh - 124px); padding: 10px 18px 16px; }
  .nav .dd { grid-template-columns: 1fr; }
  .sec { padding: 60px 0; }
  .sec-head, html[data-dir="a"] .sec-head { margin-bottom: 32px; }
  .sec-head h2 { margin: 14px 0 10px; }
  .sec-head p { font-size: 15.5px; }
  html[data-dir="a"] .hero { padding: 40px 0 44px; min-height: 0; }
  .hero-grid { gap: 28px; }
  .hero h1 { margin: 16px 0 16px; }
  .hero-lead { font-size: 16px; margin-bottom: 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-points { margin-top: 22px; }
  .spec-chips { margin-top: 22px; }
  .spec-chips li { min-width: 0; flex: 1 1 40%; padding: 10px 12px; background: rgba(29,27,24,.82); }   /* readable over busy photos */
  .spec-chips span { font-size: 13px; color: #e3dacd; }
  .spec-chips b { font-size: 20px; }
  .form-card { padding: 22px 18px; }
  html[data-dir="a"] .hero-form .fc-fields, .form-row { grid-template-columns: 1fr; gap: 0; }
  .svc-picks { grid-template-columns: 1fr 1fr; }
  .svc-picks label { padding: 9px 10px; font-size: 13px; gap: 7px; }
  .form-card .fc-phone { gap: 10px; padding: 12px 14px; }
  .form-card .fc-phone span { font-size: 13px; }
  .form-card .fc-phone a { font-size: 20px; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 24px 12px; border-top: 1px solid var(--line); }
  .facts li:nth-child(-n+2) { border-top: 0; }
  .facts li:nth-child(odd) { border-left: 0; }
  .facts b { font-size: 34px; }
  .svc-grid, .steps, .m-facts, .aud-grid, .svc-nav { grid-template-columns: 1fr; }
  .steps { gap: 34px; }
  .split-media img { height: 300px; }
  .split-media .badge { left: 12px; bottom: 12px; right: 12px; max-width: none; padding: 14px 16px; }
  .split p, .detail .prose p { font-size: 15.5px; }
  .quote { font-size: 21px; }
  .photo-grid, .photo-grid.cols-3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; }
  .gal-filter { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start !important; margin: 0 -18px 22px; padding: 0 18px 4px; scrollbar-width: none; }
  .gal-filter button { flex: none; }
  .side-card { padding: 22px 18px; }
  .bridge { grid-template-columns: 1fr; }
  .bridge .b-copy { padding: 28px 20px; }
  .bridge h2 { font-size: 28px; }
  .bridge .b-img { min-height: 240px; order: -1; }
  .page-hero { padding: 44px 0 40px; }
  .page-hero .lead { font-size: 16px; }
  .c-card { padding: 18px; gap: 14px; }
  .c-card .ic { width: 46px; height: 46px; font-size: 22px; }
  .c-card b { font-size: 21px; }
  .company { padding: 18px; }
  .drawing { padding: 16px; }
  .cta-band { padding: 56px 0; }
  .cta-band .tel-big b { font-size: 25px; }
  .site-footer { padding-top: 48px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-wrap: wrap; gap: 8px 18px; margin-top: 36px; }
  .foot-bottom .fb-right { margin-left: 0; }
  .float-tel { display: none; }
  .phone-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(20,19,17,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  /* Executor Terra cp1: the fixed call bar must not cover a form. Hidden while a form field has focus,
     and a focused field scrolls clear of the bar. Checkboxes keep the bar (no flicker under the finger). */
  html { scroll-padding-bottom: 72px; }
  .lead-form :is(input, textarea, .cfss-btn, button) { scroll-margin-bottom: 84px; }
  .phone-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 10px; font: 700 15px/1 var(--font-b); }
  .phone-bar .pb-call { border: 1.5px solid color-mix(in srgb, var(--heading) 35%, transparent); color: var(--heading); }
  .phone-bar .pb-form { background: var(--accent); color: var(--on-accent); }
  .privacy .table-wrap { overflow: visible; }
  .privacy table, .privacy tbody, .privacy tr, .privacy td { display: block; width: 100%; }
  .privacy tr:first-child { display: none; }
  .privacy tr { border: 1px solid var(--paper-line); border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; background: var(--paper-2); }
  .privacy td { border: 0; padding: 3px 0; font-size: 14.5px; }
  .privacy td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--paper-text); }
  .site-footer { font-size: 15px; color: #c9bfb1; }
  .foot-bottom { font-size: 13.5px; }
  .prose-narrow h2 { margin-top: 36px; }
}

/* ---------------------------------------------------------------- W2 phone pass (cp-mobile-layouts, 2026-11-30)
   Register rows: N-62 centred section titles, LG-28 compact 2-column cards, NAV-36 / LG-16 swipe strips,
   NAV-35 long text behind "Tovább olvasom", V08 footer, N-63 spacing. Desktop is unchanged except the steps gap. */
.steps { padding-top: 36px; }                       /* N-63: the number badges sat on the section title (title-gap) */
.lead-form .fc-head { margin-bottom: 22px; }       /* N-63: form title block to the first field block */
.lead-form .fc-head > :last-child { margin-bottom: 0; }
.split > div > :last-child, .prose > :last-child { margin-bottom: 0; }   /* N-63: even top and bottom section inset */
.bridge .hero-actions { margin-top: 26px; }         /* N-63: title block to buttons gap */
.bridge .b-copy { align-self: center; }            /* even space above and below the copy next to the photo */
.privacy .table-wrap { margin-top: 26px; }          /* N-63: even gap above the processor table */
.prose-more { display: none; }
@media (max-width: 768px) {
  /* N-62: section titles and their eyebrow centred. Body text stays left aligned. */
  .split .eyebrow, .detail .eyebrow, .bridge .eyebrow, .cta-band .eyebrow { display: flex; width: fit-content; margin-inline: auto; }
  .split h2, .detail h2, .bridge h2, .cta-band h2, .prose-narrow h2, .side-card h3 { text-align: center; }
  .bridge .b-copy > p, .cta-band .wrap > div:first-child > p { text-align: center; }
  .split .btn { display: flex; width: 100%; }
  /* N-62: hero titles centred too (phone_sections C3), with their eyebrow, lead, breadcrumb and chips. */
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { display: flex; width: fit-content; margin-inline: auto; }
  .hero .crumbs, .hero-points, .spec-chips { justify-content: center; }
  .hero-points { display: grid; justify-items: center; }
  /* N-61 / N-62: form titles at least 27 px and centred with their intro line. */
  .lead-form .fc-head { text-align: center; }
  .form-card h2, .prose-narrow h2 { font-size: 27px; }
  .svc-picks .ph { display: none; }                  /* the service chips fit their box (Tereprendezés) */
  .svc-picks label { font-size: 13.5px; }
  /* Hero: nothing wider than the screen (pad-x), buttons stacked like on the service pages. */
  .hero-grid > *, .hero-form, .form-card { min-width: 0; }
  .svc-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-picks label { min-width: 0; }
  .hero-actions { flex-direction: column; }
  /* NAV-03: no call button that the fixed bottom bar already gives (hero, detail card, form phone box). */
  .hero-actions .btn[href^="tel:"], .side-card .btn[href^="tel:"], .form-card .fc-phone { display: none; }
  .side-card .spec-table { margin-bottom: 0; }
  .side-call { display: none; }
  .hero-actions .btn { width: 100%; }
  html[data-dir="a"] .hero-grid:not(:has(.hero-form)) { grid-template-areas: "copy"; }   /* Avant 420: no empty form row (pad-y) */
  /* NAV-36: the 9 service cards are one swipe strip, about 1.5 cards visible. */
  .svc-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -18px; padding: 4px 18px 12px; scroll-padding-inline: 18px; scrollbar-width: none; }
  .svc-grid::-webkit-scrollbar { display: none; }
  .svc-grid > .svc-card { flex: 0 0 66%; scroll-snap-align: start; }
  .svc-card:hover { transform: none; }
  .svc-card .body { padding: 16px 16px 18px; gap: 6px; }
  .svc-card h3 { font-size: 17px; }
  .svc-card p { font-size: 14px; }
  /* LG-16: photo grids are a swipe strip, each photo about 82 % wide. */
  .photo-grid, .photo-grid.cols-3 { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -18px; padding: 0 18px 6px; scroll-padding-inline: 18px; scrollbar-width: none; }
  .photo-grid::-webkit-scrollbar { display: none; }
  .photo-grid figure, .photo-grid figure.tall { flex: 0 0 82%; aspect-ratio: 4/3; grid-row: auto; scroll-snap-align: start; }
  /* LG-28: short cards in a compact 2-column grid. */
  .aud-grid, .m-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  /* NAV-36: the Kertépítés long cards are a swipe strip (one column was 4 tall cards, two columns too narrow). */
  .aud-grid.long { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -18px; padding: 2px 18px 10px; scroll-padding-inline: 18px; scrollbar-width: none; }
  .aud-grid.long::-webkit-scrollbar { display: none; }
  .aud-grid.long > * { flex: 0 0 78%; scroll-snap-align: start; }
  html[data-dir="a"] .page-hero.with-img { padding: 40px 0 48px; }   /* LG-15: first text at most 48 px under the nav */
  .aud, .m-fact { padding: 16px 14px 18px; }
  .aud .ph, .m-fact .ph { font-size: 26px; margin-bottom: 10px; }
  .aud h3, .m-fact h3 { font-size: 15.5px; line-height: 1.25; margin-bottom: 6px; overflow-wrap: break-word; hyphens: auto; }
  .aud p, .m-fact p { font-size: 13.5px; line-height: 1.5; }
  .steps { gap: 30px; padding-top: 36px; }
  .step { padding: 34px 18px 20px; }
  /* LG-28: the service list is a compact 2-column grid. */
  .svc-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .svc-nav a { gap: 8px; padding: 12px 10px; font-size: 13.5px; line-height: 1.25; }
  .svc-nav a .ph { font-size: 18px; flex: none; }
  .svc-nav a .arr { display: none; }
  /* NAV-35: long detail text shows its first paragraph, the rest opens on a tap. */
  .detail { gap: 28px; }
  .is-clamped > p ~ p, .is-clamped > blockquote { display: none; }
  .prose-more { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; min-height: 44px; border-radius: var(--btn-radius); border: 1.5px solid currentColor; background: transparent; color: var(--accent-text); font: 700 14.5px/1 var(--font-b); cursor: pointer; margin-top: 12px; }
  .paper .prose-more { color: var(--paper-accent); }
  .split .prose-more { margin-top: 20px; }
  .prose-more .ph { transition: transform .2s; }
  .prose-more[aria-expanded="true"] .ph { transform: rotate(180deg); }
  /* M15 + LG-28: related work links in 2 compact columns, labels stay inside their cards. */
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }   /* LG-28: compact 2 columns */
  .related a { min-width: 0; gap: 8px; padding: 12px 12px; font-size: 14px; line-height: 1.25; overflow-wrap: break-word; }
  .related a .ph { display: none; }
  .split-media .badge small { font-size: 13px; }    /* C3 body floor 13 px */
  /* V08: footer link lists side by side. */
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .foot-grid > :first-child, .foot-grid > :last-child { grid-column: 1 / -1; }
  .site-footer { padding: 40px 0 34px; }
  .foot-bottom { padding-bottom: 0; }
}
/* N-63: footer bottom inset close to the top inset (the copyright row had 0 below it). */
@media (min-width: 769px) { .site-footer { padding-bottom: 54px; } .foot-bottom { padding-bottom: 0; } }

/* Honeypot field of the lead forms (Sol M7): off screen, only bots fill it. */
.fc-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* ---------------------------------------------------------------- v2 prototypes (2026-12-01, build.py PROTO pages)
   Expandable long text and FAQ: native <details>, the text is in the server HTML. Chromium animates the open and close
   (interpolate-size + ::details-content), other browsers open it without animation. */
:root { interpolate-size: allow-keywords; }
details.more, details.faq-item { overflow: hidden; }
details.more::details-content, details.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .42s cubic-bezier(.22,.9,.28,1), content-visibility .42s allow-discrete; }
details.more[open]::details-content, details.faq-item[open]::details-content { block-size: auto; }
details.more > summary, details.faq-item > summary { list-style: none; cursor: pointer; }
details.more > summary::-webkit-details-marker, details.faq-item > summary::-webkit-details-marker { display: none; }
details.more > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; margin: 4px 0 0; border-radius: var(--btn-radius); border: 1.5px solid currentColor; color: var(--accent-text); font: 700 14.5px/1 var(--font-b); }
.paper details.more > summary { color: var(--paper-accent); }
details.more > summary .ph { transition: transform .3s; }
details.more[open] > summary .ph { transform: rotate(180deg); }
details.more .m-close, details.more[open] .m-open { display: none; }
details.more[open] .m-close { display: inline; }
details.more .more-body { padding-top: 18px; }
details.more .more-body > :last-child { margin-bottom: 0; }
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
details.faq-item { border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--paper-line); transition: border-color .25s, box-shadow .25s; }
details.faq-item[open] { border-color: color-mix(in srgb, var(--paper-accent) 45%, transparent); box-shadow: 0 10px 30px rgba(43,38,32,.08); }
details.faq-item > summary { display: flex; align-items: center; gap: 16px; padding: 18px 22px; font: var(--h-weight) 18px/1.3 var(--font-h); color: var(--paper-text); }
details.faq-item > summary .ph { margin-left: auto; flex: none; font-size: 20px; color: var(--paper-accent); transition: transform .3s; }
details.faq-item[open] > summary .ph { transform: rotate(45deg); }
details.faq-item .faq-a { padding: 0 22px 20px; color: var(--paper-soft); }
details.faq-item .faq-a p { margin: 0; font-size: 15.5px; line-height: 1.7; }

/* Mennyiségbecslő (site.js): geometry only, the result can be attached to the form as a snapshot. */
.sec-calc { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: start; }
.calc-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.calc-in { padding: 28px; display: grid; gap: 16px; }
.calc-in .field { margin: 0; }
.calc-chips { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc-chips legend { font-size: 13px; font-weight: 600; color: var(--heading); margin: 0 0 8px; padding: 0; }
.calc-chips > div { display: flex; flex-wrap: wrap; gap: 6px; }
.calc-chips label { position: relative; cursor: pointer; }
.calc-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc-chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--input-line); background: var(--input); color: var(--heading); font: 600 14px/1 var(--font-b); transition: background .2s, border-color .2s, color .2s, transform .15s; }
.calc-chips label:hover span { border-color: var(--accent); }
.calc-chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.calc-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc-chips input:active + span { transform: scale(.96); }
.calc-out { padding: 28px; background: var(--accent-tint); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.calc-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.calc-num { font: var(--h-weight) 54px/1 var(--font-h); color: var(--heading); font-variant-numeric: tabular-nums; transition: color .3s; }
.calc-card:not(.has-result) .calc-num { color: var(--text-soft); }
.calc-access { margin: 0; font-size: 14.5px; color: var(--text); }
.calc-note { margin: auto 0 0; font-size: 12.5px; color: var(--text-soft); }
.calc-out .btn { width: 100%; }
@media (max-width: 1100px) {
  .calc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .calc-card { grid-template-columns: 1fr; }
  .calc-in, .calc-out { padding: 20px 18px; }
  .calc-out { border-left: 0; border-top: 1px solid var(--line); }
  .calc-num { font-size: 44px; }
  details.faq-item > summary { padding: 16px 16px; font-size: 16.5px; }
  details.faq-item .faq-a { padding: 0 16px 18px; }
}

/* ---------------------------------------------------------------- v2 lead panel (2026-12-01): Morph engine v8
   Ported from the sales-prep-accomodation template (hero card -> floating pill -> drawer, site.js). The hero card, the
   pill and the drawer all use the same opaque --surface, so the morph never changes colour. The script writes the box
   geometry inline during a morph. The content keeps the big state's layout, scaled and clipped. Fixed states sit at
   z 60 over the page, the scrim at z 55. The phone scrub state sits under the sticky header (z 35 < 40, inline). */
.lh-panel-slot { min-width: 0; position: relative; }
.lh-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(12,11,10,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s, visibility .28s; }
html.lh-panel-open .lh-scrim { opacity: 1; visibility: visible; pointer-events: auto; }
body.drawer-lock { overflow: hidden; }
.lh-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); position: relative; z-index: 10; color: var(--text); }
html[data-dir="a"] .hero .lh-panel { border-top: 3px solid var(--accent); }
.lh-panel .form-card, html[data-dir="a"] .hero-form .lh-panel .form-card { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; backdrop-filter: none; }
.lh-panel-inner { min-width: 0; }
.lh-panel-fab, .lh-panel-bar, .drawer-phone { display: none; }
.lh-panel[data-state="fab"], .lh-panel[data-state="open"], .lh-panel.is-morph { position: fixed; z-index: 60; margin: 0; }
.lh-panel[data-state="fab"] { right: 24px; bottom: 24px; width: auto; min-width: 0; height: 56px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: 0 14px 34px rgba(0,0,0,.42); transition: transform .22s, box-shadow .22s; }
.lh-panel[data-state="fab"]:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(0,0,0,.5); }
.lh-panel[data-state="fab"]:not(.is-morph) .lh-panel-inner { display: none; }
.lh-panel[data-state="fab"] .lh-panel-inner { visibility: hidden; }
.lh-panel-fab { border: 0; background: none; cursor: pointer; font: 700 15.5px/1 var(--font-b); color: var(--heading); }
.lh-panel[data-state="fab"] .lh-panel-fab, .lh-panel.is-morph .lh-panel-fab { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; padding: 0 22px 0 10px; border-radius: 999px; white-space: nowrap; }
.lh-panel-fab .ph { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 19px; }
.lh-panel-fab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lh-panel[data-state="open"] { top: auto; left: auto; right: 24px; bottom: 24px; width: min(460px, calc(100vw - 48px)); height: auto; max-height: calc(100dvh - 48px); padding: 0; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.lh-panel[data-look="open"] .lh-panel-inner { display: flex; flex-direction: column; padding: 24px; }
.lh-panel[data-look="open"] .lh-panel-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 4; margin: -24px -24px 14px; padding: 20px 20px 12px 24px; background: var(--surface); color: var(--heading); }
.lh-panel-bar-title { display: flex; align-items: center; gap: 10px; font: var(--h-weight) 19px/1.1 var(--font-h); }
.lh-panel-bar-title .ph { color: var(--accent-text); font-size: 22px; }
.lh-panel-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--heading); display: grid; place-items: center; font-size: 18px; cursor: pointer; }
.lh-panel-close:hover { border-color: var(--accent); }
.lh-panel[data-look="open"] .fc-head h2 { display: none; }   /* the drawer bar holds the title */
.lh-panel[data-look="open"] .fc-head { text-align: left; margin-bottom: 14px; }
.lh-panel[data-look="open"] .drawer-phone { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; color: var(--text-soft); }
.lh-panel[data-look="open"] .drawer-phone a { font-weight: 800; color: var(--accent-text); white-space: nowrap; }
.lh-panel.is-morph[data-state] { left: 0; top: 0; right: auto; bottom: auto; padding: 0; overflow: hidden; max-height: none; background: var(--surface); transform: none; transition: none; }
.lh-panel.is-morph .lh-panel-inner { position: absolute; left: 0; top: 0; visibility: visible; pointer-events: none; transform-origin: 0 0; }
.lh-panel.is-morph .lh-panel-fab { position: absolute; inset: 0; pointer-events: none; }
/* With JS the pill replaces the round phone button and the phone call bar (the drawer and the header keep the number). */
html.js .float-tel, html.js .phone-bar { display: none !important; }
html.js .site-footer { padding-bottom: 0; }
.hero-plain { padding: 56px 0 64px; }
@media (max-width: 640px) {
  .lh-panel { padding: 20px 16px; }
  .lh-panel[data-state="fab"] { right: 16px; bottom: 16px; height: 54px; }
  .lh-panel[data-state="fab"] .lh-panel-fab { padding: 0 18px 0 9px; font-size: 14.5px; }
  .lh-panel[data-state="open"] { right: 12px; bottom: 12px; width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .lh-panel[data-look="open"] .lh-panel-inner { padding: 18px; }
  .lh-panel[data-look="open"] .lh-panel-bar { margin: -18px -18px 12px; padding: 14px 14px 10px 18px; }
}

/* Contact mode (callback = phone required, written = e-mail required), inline errors, calculator snapshot chip. */
.fc-mode { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.fc-mode legend { font-size: 13px; font-weight: 600; color: var(--heading); margin: 0 0 8px; padding: 0; }
.fc-mode > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fc-mode label { position: relative; display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 10px 12px; border: 1px solid var(--input-line); border-radius: 10px; background: var(--input); color: var(--heading); font-size: 14px; font-weight: 600; line-height: 1.25; cursor: pointer; transition: border-color .2s, background .2s; }
.fc-mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fc-mode .ph { font-size: 20px; color: var(--accent-text); flex: none; }
.fc-mode label:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.fc-mode label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.fc-req, .fc-opt { font-weight: 400; color: var(--text-soft); }
.lead-form[data-mode] .fc-req { color: var(--accent-text); font-weight: 700; }
.lead-form[data-mode] .fc-req:not([data-req]) { color: var(--text-soft); }
.lead-form[data-mode="callback"] [data-req="written"], .lead-form[data-mode="written"] [data-req="callback"] { color: var(--text-soft); font-weight: 400; }
.field .f-err { color: #f0a08c; font-size: 12.5px; font-weight: 600; }
.field [aria-invalid="true"] { border-color: #e07a62; }
.fc-svc { margin-bottom: 12px; }
.fc-calc { display: grid; gap: 8px; margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-tint); font-size: 13.5px; color: var(--heading); }
.fc-calc[hidden] { display: none; }
.fc-calc-txt { display: flex; gap: 9px; align-items: flex-start; }
.fc-calc-txt .ph { color: var(--accent-text); font-size: 18px; flex: none; }
.fc-calc.is-stale { border-color: #e07a62; background: rgba(214,92,64,.14); }
.fc-calc-act { display: flex; gap: 8px; flex-wrap: wrap; }
.fc-mini { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); color: var(--heading); font: 600 13px/1 var(--font-b); cursor: pointer; }
.fc-mini[hidden] { display: none; }
.fc-mini:hover { border-color: var(--accent); }
.fc-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.lead-form.is-sent :is(.fc-head, .fc-svc, .fc-mode, .form-row, .field, .fc-calc, .fc-submit, .form-legal, .svc-fs) { display: none; }

/* Mennyiségbecslő v2 cards */
.calc-in .field input.is-bad { border-color: #e07a62; outline-color: #e07a62; }
.calc-formula, .calc-limit { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-soft); }
.calc-extra { margin: 0; font-size: 14.5px; color: var(--text); }
.calc-extra:empty { display: none; }
.calc-skip { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.calc-pick { margin: 0 0 18px; }
.calc-card[hidden] { display: none; }
.calc-card + .calc-card { margin-top: 0; }

/* D0 review finding 3: machine and adapter pictures carry a visible label (gyári kép / bemutató kép). */
.svc-card .img { position: relative; }
.img-note { position: absolute; left: 10px; bottom: 10px; background: rgba(20,19,17,.78); color: #f6f1e9; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; pointer-events: none; }
.photo-grid figure { position: relative; }
.photo-grid figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(20,19,17,.78); color: #f6f1e9; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.ill-head { margin: 32px 0 14px; font-size: 18px; }

/* v2 long-form page text (content/<slug>.md through content.py): sticky contents list beside the article, sections,
   closed details blocks with the full original text, FAQ accordion. Paper section, same tokens as the detail block. */
.lf-grid { display: grid; grid-template-columns: minmax(230px, 290px) minmax(0, 1fr); gap: 64px; align-items: start; }
.lf-aside { position: sticky; top: 104px; display: grid; gap: 24px; }
.lf-aside .side-card { position: static; padding: 24px; }
.lf-aside .side-card h3 { font-size: 21px; margin-bottom: 14px; }
.toc { border-left: 2px solid var(--paper-line); padding: 2px 0 2px 18px; }
.toc-title { margin: 0 0 10px; font: 700 12px/1 var(--font-b); letter-spacing: .12em; text-transform: uppercase; color: var(--paper-accent); }
.toc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.toc-list a { position: relative; display: block; padding: 7px 0; font-size: 14.5px; line-height: 1.38; font-weight: 600; color: var(--paper-soft); transition: color .2s, transform .25s cubic-bezier(.22,.9,.28,1); }
.toc-list a::before { content: ""; position: absolute; left: -20px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--paper-accent); transform: scaleY(0); transition: transform .3s cubic-bezier(.22,.9,.28,1); }
.toc-list a:hover { color: var(--paper-text); }
.toc-sub a { padding: 4px 0 4px 14px; font-size: 13.5px; font-weight: 500; }
.toc-sub a::before { left: -20px; }
.toc-list a[aria-current="true"] { color: var(--paper-text); transform: translateX(3px); }
.toc-list a[aria-current="true"]::before { transform: scaleY(1); }
.lf-body { max-width: 760px; min-width: 0; }
.lf-body > * + * { margin-top: 64px; }
.lf-sec, details.lf-more { scroll-margin-top: 104px; }
.lf-body h2 { font-size: clamp(28px, 2.9vw, 36px); margin: 0 0 18px; text-wrap: balance; }
.lf-body h3 { font-size: 21px; margin: 30px 0 10px; scroll-margin-top: 104px; }
.lf-body p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.78; }
.lf-body p:last-child, .lf-body .lf-list:last-child { margin-bottom: 0; }
.lf-body strong { color: var(--paper-text); }
.lf-body a:not(.btn) { color: var(--paper-accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.lf-list { list-style: none; margin: 6px 0 18px; padding: 0; display: grid; gap: 10px; }
.lf-list li { position: relative; padding-left: 26px; line-height: 1.62; }
.lf-list li::before { content: ""; position: absolute; left: 3px; top: .58em; width: 9px; height: 9px; border-radius: 2px; background: var(--paper-accent); transform: rotate(45deg); }
details.lf-more { border: 1px solid var(--paper-line); border-radius: var(--radius-lg); background: var(--paper-2); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
details.lf-more[open] { border-color: color-mix(in srgb, var(--paper-accent) 40%, transparent); box-shadow: 0 14px 36px rgba(43,38,32,.08); }
details.lf-more::details-content { block-size: 0; overflow: hidden; transition: block-size .45s cubic-bezier(.22,.9,.28,1), content-visibility .45s allow-discrete; }
details.lf-more[open]::details-content { block-size: auto; }
details.lf-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 22px 26px; }
details.lf-more > summary::-webkit-details-marker { display: none; }
details.lf-more > summary h2 { margin: 0; font-size: clamp(22px, 2.3vw, 28px); }
.lf-more-tag { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: var(--btn-radius); border: 1.5px solid currentColor; color: var(--paper-accent); font: 700 14px/1 var(--font-b); transition: background .2s, color .2s; }
details.lf-more > summary:hover .lf-more-tag { background: var(--paper-accent); color: var(--paper); }
.lf-more-tag .ph { transition: transform .3s; }
details.lf-more[open] .lf-more-tag .ph { transform: rotate(180deg); }
details.lf-more .m-close, details.lf-more[open] .m-open { display: none; }
details.lf-more[open] .m-close { display: inline; }
.lf-more-body { padding: 2px 26px 26px; }
.lf-faq .faq { max-width: none; }
.lf-solo { display: grid; justify-items: center; }
.lf-solo .lf-body { width: 100%; max-width: 860px; }
@media (max-width: 1100px) {
  .lf-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lf-grid > *, .lf-aside > * { min-width: 0; }
  .lf-aside { display: contents; }
  .toc { order: -1; margin-bottom: 36px; border-left: 0; padding: 0; }
  .toc-list { display: flex; gap: 8px; overflow-x: auto; margin-inline: -18px; padding: 2px 18px 6px; scrollbar-width: none; }
  .toc-list li { flex: none; }
  .toc-list .toc-sub { display: none; }
  .toc-list a { padding: 10px 14px; border: 1px solid var(--paper-line); border-radius: 999px; background: var(--paper-2); font-size: 14px; white-space: nowrap; }
  .toc-list a::before { display: none; }
  .toc-list a[aria-current="true"] { transform: none; border-color: var(--paper-accent); }
  .lf-body { max-width: none; }
  .lf-aside .side-card { order: 2; margin-top: 48px; }
}
@media (max-width: 768px) {
  .lf-body > * + * { margin-top: 48px; }
  .lf-body h2 { font-size: 27px; }
  .lf-body p { font-size: 15.5px; }
  details.lf-more > summary { flex-wrap: wrap; gap: 12px; padding: 18px; }
  details.lf-more > summary h2 { font-size: 22px; flex: 1 1 100%; }
  .lf-more-tag { margin-left: 0; }
  .lf-more-body { padding: 0 18px 20px; }
}

/* ---------------------------------------------------------------- round 2 (2026-12-01): earth theme, layouts, widget
   Matt: more layout variety, more images, digging and earth-moving transitions, and a bottom-left floating widget.
   Same tokens and look as the approved design. Motion uses transform, opacity and clip-path only (no layout shift).
   site.js adds .is-in to [data-reveal] in view. Earth texture, ground cuts and the mole path: src/css/10-decor.css. */
:root { --soil-1: #8a6a48; --soil-2: #5e4834; --soil-3: #3a2e23; --soil-4: #2a231c; }
.band-dark { background: var(--band); color: var(--band-text); position: relative; overflow: hidden; }
.band-dark .eyebrow { color: var(--accent); }
[data-layout] { position: relative; }
/* Content above the band patterns (.sweep-sec::before) and the earth layers. Never on the hero: a stacking context there would trap the fixed form pill. */
:is(.band-dark, .sec-calc) > .wrap { position: relative; z-index: 1; }

/* Reveal: dig in (clip from the top), fill up (clip from the bottom), settle (drop in). Hidden state only with JS. */
html.js [data-reveal] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .7s cubic-bezier(.2,.8,.2,1) var(--d, 0ms), transform .8s cubic-bezier(.2,.8,.2,1) var(--d, 0ms), clip-path .9s cubic-bezier(.65,0,.35,1) var(--d, 0ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js :is(.kj-duo, .kj-trio, .kj-band, .kj-mosaic, .ph-mosaic, .ph-stack) figure[data-reveal] { transform: none; clip-path: inset(0 0 100% 0 round var(--radius)); }
html.js :is(.kj-duo, .kj-trio, .kj-band, .kj-mosaic, .ph-mosaic, .ph-stack) figure[data-reveal].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }


/* Chips as soil cores */
.dig-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dig-chips li { position: relative; display: grid; gap: 4px; padding: 22px 22px 20px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(229,168,50,.1), rgba(229,168,50,.02)); border: 1px solid rgba(229,168,50,.28); overflow: hidden; }
.dig-chips li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--soil-2) 0 14px, var(--soil-1) 14px 22px, var(--soil-3) 22px 34px); opacity: .8; }
.dig-chips b { font: var(--h-weight) 34px/1 var(--font-h); color: #f6f1e9; }
.dig-chips span { font-size: 13.5px; color: #cfc4b5; }

/* Árokásás: trench cross-section, ruler to 1,5 m, the bucket digs */
.gauge { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.gauge-fig { position: relative; height: 300px; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, #3b4a2c 0 14%, transparent 14%); }
.g-soil { position: absolute; inset: 14% 0 0; display: grid; grid-template-rows: 1fr 1.3fr 1.6fr; }
.g-soil i:nth-child(1) { background: var(--soil-1); } .g-soil i:nth-child(2) { background: var(--soil-2); } .g-soil i:nth-child(3) { background: var(--soil-3); }
.g-trench { position: absolute; left: 34%; width: 18%; top: 14%; bottom: 8%; background: #17130f; border-radius: 0 0 10px 10px; box-shadow: inset 0 8px 18px rgba(0,0,0,.5); transform-origin: top; }
.g-trench span { position: absolute; inset: auto 0 0; height: 10px; background: repeating-linear-gradient(90deg, #4a3a2a 0 6px, transparent 6px 12px); opacity: .6; }
.g-ruler { position: absolute; right: 14%; top: 14%; bottom: 8%; width: 70px; border-left: 2px solid var(--accent); display: grid; grid-template-rows: repeat(3, 1fr) 0; margin: 0; padding: 0; list-style: none; font: 700 12px/1 var(--font-b); color: #f6f1e9; }
.g-ruler li { position: relative; padding-left: 12px; transform: translateY(-6px); }
.g-ruler li::before { content: ""; position: absolute; left: -2px; top: 6px; width: 10px; height: 2px; background: var(--accent); }
html.js .gauge-fig .g-trench { transform: scaleY(0); transition: transform 1.4s cubic-bezier(.65,0,.35,1) .35s; }
html.js .gauge-fig.is-in .g-trench { transform: none; }
.gauge-copy .eyebrow { margin-bottom: 22px; }
.gauge-copy .dig-chips { grid-template-columns: 1fr; }

/* Talajfúrás: the auger drills to 2 m, hole sizes */
.auger { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.auger-fig { position: relative; height: 320px; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, #3b4a2c 0 12%, transparent 12%); }
.a-soil { position: absolute; inset: 12% 0 0; display: grid; grid-template-rows: 1fr 1.2fr 1.3fr 1.5fr; }
.a-soil i:nth-child(1) { background: var(--soil-1); } .a-soil i:nth-child(2) { background: #6f553c; } .a-soil i:nth-child(3) { background: var(--soil-2); } .a-soil i:nth-child(4) { background: var(--soil-3); }
.a-bit { position: absolute; left: 50%; top: 0; width: 44px; margin-left: -22px; height: 88%; transform-origin: top; }
.a-bit span { position: absolute; inset: 0; border-radius: 0 0 22px 22px; background: repeating-linear-gradient(160deg, #c9c2b6 0 8px, #8b857a 8px 16px); background-size: 100% 32px; box-shadow: 0 0 0 6px rgba(23,19,15,.55); }
.a-depth { position: absolute; right: 18%; bottom: 10%; font: var(--h-weight) 30px/1 var(--font-h); color: #f6f1e9; }
html.js .auger-fig .a-bit { transform: scaleY(.12); transition: transform 1.6s cubic-bezier(.65,0,.35,1) .3s; }
html.js .auger-fig.is-in .a-bit { transform: none; }
html.js .auger-fig.is-in .a-bit span { animation: drill .5s linear 4 .3s; }
@keyframes drill { to { background-position: 0 32px; } }
.auger-copy .eyebrow { margin-bottom: 22px; }
.a-dia { display: flex; align-items: flex-end; gap: 12px; margin-top: 30px; height: 70px; }
.a-dia span { width: calc(var(--s) * .62px); height: calc(var(--s) * .62px); border-radius: 50%; border: 2px solid var(--accent); background: radial-gradient(circle, #17130f 60%, transparent 62%); }
html.js .a-dia span { transform: scale(0); transition: transform .6s cubic-bezier(.3,1.4,.5,1); }
html.js .a-dia.is-in span { transform: none; }
.a-dia span:nth-child(2) { transition-delay: .08s; } .a-dia span:nth-child(3) { transition-delay: .16s; } .a-dia span:nth-child(4) { transition-delay: .24s; } .a-dia span:nth-child(5) { transition-delay: .32s; } .a-dia span:nth-child(6) { transition-delay: .4s; } .a-dia span:nth-child(7) { transition-delay: .48s; }
.a-dia-cap { margin: 10px 0 0; font-size: 13.5px; color: #cfc4b5; }

/* Talajlazítás: layers loosen, tines go in */
.sc { position: relative; margin-top: 26px; border-radius: var(--radius-lg); overflow: hidden; display: grid; }
.sc-layer { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; align-items: center; gap: 24px; padding: 26px 32px; background: color-mix(in srgb, var(--soil-2) calc(100% - var(--i) * 25%), var(--soil-3)); }
.sc-layer:nth-child(1) { background: var(--soil-1); }
.sc-layer b { font: var(--h-weight) 34px/1 var(--font-h); color: #f6f1e9; }
.sc-layer span { color: #e6ddd0; font-size: 15px; }
.sc-tines { position: absolute; right: 8%; top: 0; bottom: 0; display: flex; gap: 26px; }
.sc-tines i { width: 8px; height: 70%; background: linear-gradient(180deg, #d9d2c6, #8b857a); border-radius: 0 0 6px 6px; transform-origin: top; }
html.js .sc .sc-tines i { transform: scaleY(0); transition: transform 1.1s cubic-bezier(.65,0,.35,1) .4s; }
html.js .sc.is-in .sc-tines i { transform: none; }
html.js .sc .sc-layer { transform: translate3d(0, 0, 0); }
html.js .sc.is-in .sc-layer { animation: loosen 1.2s cubic-bezier(.3,1.3,.5,1) calc(.5s + var(--i) * .12s) both; }
@keyframes loosen { 0% { transform: none; } 40% { transform: translate3d(0, -5px, 0) skewY(-.4deg); } 100% { transform: none; } }

.uses-band { text-align: center; } /* round 4: the roots art left, the list sits in one centred row */
.uses-list { margin: 22px 0 0; font-size: 17px; }
.uses-band .uses-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; text-align: left; }

/* Termőföld behordás numbers band. Round 4 fix round 1: the pile art is gone, so the cards use the full content width
   (as on the Tereprendezés band) and leave no empty side. */
.pile-band { position: relative; }
.pile-band .eyebrow { margin-bottom: 26px; }
.pile-band .dig-chips { position: relative; z-index: 1; }

/* Kertújítók photo bands */
.kj-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 28px; }
.kj-head p { margin: 0; flex: 1 1 320px; font-size: 16px; }
.kj-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-text); }
.paper .kj-link { color: var(--paper-accent); }
:is(.kj-duo, .kj-trio, .kj-band, .kj-mosaic, .ph-mosaic, .ph-stack, .ph-holes, .ph-polaroid, .ph-strip) figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
:is(.kj-duo, .kj-trio, .kj-band, .kj-mosaic, .ph-mosaic, .ph-stack, .ph-polaroid, .ph-strip) img { width: 100%; height: 100%; object-fit: cover; }
:is(.kj-duo, .kj-trio, .kj-band, .kj-mosaic) figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(20,19,17,.78); color: #f6f1e9; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.kj-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kj-duo figure { aspect-ratio: 4/3; }
.kj-mini { margin-top: 18px; grid-template-columns: repeat(3, 1fr); }
.kj-trio { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.kj-trio figure { aspect-ratio: 4/3.4; }
.kj-trio figure:first-child { aspect-ratio: auto; }
.kj-band { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 14px; padding: 0 32px; overflow-x: auto; scrollbar-width: thin; }
.kj-band figure { aspect-ratio: 3/3.6; }
.kj-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px; }
.kj-mosaic figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.kj-mosaic figure:nth-child(4) { grid-row: span 2; }
.gallery-kj figcaption { background: rgba(127,82,5,.9); }

/* Tereprendezés: rough terrain flattens under the laser line */
.level .eyebrow { margin-bottom: 18px; }
.level-fig { position: relative; height: 130px; margin: 8px 0 34px; }
.level-fig svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lv-rough path { fill: var(--soil-2); }
.lv-flat path { fill: var(--soil-1); }
.lv-beam { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: linear-gradient(90deg, rgba(229,168,50,0), var(--accent) 12%, var(--accent) 88%, rgba(229,168,50,0)); box-shadow: 0 0 10px rgba(229,168,50,.7); }
.lv-dot { position: absolute; left: 0; top: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
html.js .level-fig .lv-flat { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s cubic-bezier(.65,0,.35,1) .3s; }
html.js .level-fig.is-in .lv-flat { clip-path: inset(0 0 0 0); }
html.js .level-fig .lv-rough { transition: opacity 1.8s .3s; }
html.js .level-fig.is-in .lv-rough { opacity: .25; }
html.js .level-fig .lv-dot { transform: translate3d(0, 0, 0); transition: transform 1.8s cubic-bezier(.65,0,.35,1) .3s; }
html.js .level-fig.is-in .lv-dot { transform: translate3d(calc(min(1200px, 100vw - 64px) - 12px), 0, 0); }
html.js .level-fig[data-reveal] { opacity: 1; transform: none; }

/* Betontörés: crack lines */
.crack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 24px; }
.crack-tile { position: relative; padding: 24px 22px 70px; border-radius: var(--radius-lg); background: linear-gradient(160deg, #4a4540, #34302b); border: 1px solid rgba(246,241,233,.1); overflow: hidden; }
.crack-tile b { display: block; font: var(--h-weight) 28px/1.05 var(--font-h); color: #f6f1e9; }
.crack-tile span { display: block; margin-top: 6px; font-size: 13.5px; color: #cfc4b5; }
.crack-tile svg { position: absolute; left: 10px; right: 10px; bottom: 8px; width: calc(100% - 20px); height: 56px; }
.crack-tile path { fill: none; stroke: #17130f; stroke-width: 3; stroke-linejoin: bevel; stroke-dasharray: 220; stroke-dashoffset: 220; }
html.js .crack-tile.is-in path { transition: stroke-dashoffset 1s cubic-bezier(.65,0,.35,1) calc(var(--d, 0ms) + .3s); stroke-dashoffset: 0; }
html:not(.js) .crack-tile path { stroke-dashoffset: 0; }

/* Gépi seprés: a sweep wipes the band */
.sweep-sec::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(246,241,233,.035) 0 18px, transparent 18px 46px); }
.sweep .eyebrow { margin-bottom: 24px; }
html.js .sweep[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.65,0,.35,1); }
html.js .sweep[data-reveal].is-in { clip-path: inset(0 -10% 0 0); }
.st { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.st-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.st-tile { padding: 24px 20px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--paper-line); display: grid; gap: 6px; }
.st-tile .ph { font-size: 28px; color: var(--paper-accent); }
.st-tile b { font: var(--h-weight) 24px/1.1 var(--font-h); color: var(--paper-text); }
.st-tile span { font-size: 13px; }
.st-uses p { margin: 14px 0 18px; color: var(--paper-soft); }
.sweep-uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.sweep-uses li { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border-radius: var(--radius-lg); background: rgba(246,241,233,.05); border: 1px solid var(--line); color: var(--heading); font-weight: 600; }
.sweep-uses li .ph { color: var(--accent); font-size: 22px; flex: none; }

/* Rotálás: four phases as furrows */
.furrow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.furrow-rows { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.furrow-rows li { position: relative; display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius); background: var(--soil-3); overflow: hidden; }
.furrow-rows li i { position: absolute; inset: auto 0 0 0; height: 8px; background: repeating-linear-gradient(90deg, var(--soil-1) 0 10px, var(--soil-2) 10px 16px); transform-origin: left; }
html.js .furrow-rows li i { transform: scaleX(0); transition: transform 1s cubic-bezier(.65,0,.35,1) calc(var(--d, 0ms) + .25s); }
html.js .furrow-rows li.is-in i { transform: none; }
.furrow-rows .fn { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 18px/1 var(--font-h); }
.furrow-rows b { font: var(--h-weight) 24px/1.1 var(--font-h); color: #f6f1e9; }
.furrow-side .dig-chips { grid-template-columns: 1fr; }

/* Rotálás video card */
.video-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; border-radius: var(--radius-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.vc-media { position: relative; aspect-ratio: 16/9; display: block; }
.vc-media img { width: 100%; height: 100%; object-fit: cover; }
.vc-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 36px; box-shadow: 0 0 0 10px rgba(229,168,50,.25); transition: transform .25s; }
.video-card:hover .vc-play { transform: scale(1.08); }
.vc-copy { display: grid; gap: 12px; padding: 36px; }
.vc-copy b { font: var(--h-weight) 34px/1.1 var(--font-h); color: var(--heading); }
.vc-copy small { color: var(--text-soft); font-size: 14px; }
/* Galéria video (Matt 2026-12-01): length on the picture, what the video shows as topic chips. */
.vc-copy .eyebrow { justify-self: start; }
.vc-len { position: absolute; right: 14px; bottom: 14px; padding: 4px 9px; border-radius: 6px; background: rgba(20,17,14,.82); color: #f6f1e9; font: 700 13px/1 var(--font-b); letter-spacing: .02em; }
.vc-text { color: var(--text); font-size: 16px; line-height: 1.5; }
.vc-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-topics span { padding: 6px 12px; border-radius: 999px; background: var(--soil-3); color: #f1e6d6; font-size: 13px; font-weight: 600; box-shadow: inset 0 -3px 0 var(--soil-1); }

/* Full-bleed photo band (plough-band, no page uses it since round 6) */
.plough-sec { padding: 0; }
.plough { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; }
.plough-media { position: relative; min-height: 440px; }
.plough-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plough-copy { width: auto; margin: 0; padding: 72px 56px; align-self: center; }
.plough-copy .eyebrow { margin-bottom: 24px; }
.plough-copy .dig-chips { grid-template-columns: 1fr; }
html.js .plough[data-reveal] { transform: none; }
html.js .plough .plough-media { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.65,0,.35,1); }
html.js .plough.is-in .plough-media { clip-path: inset(0 0 0 0); }
.s2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.s2-card { padding: 30px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--paper-line); }
.s2-card .eyebrow { margin-bottom: 14px; }

/* Photo layouts */
.ph-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 32%); gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ph-strip figure { aspect-ratio: 4/3.2; scroll-snap-align: start; }
.ph-holes { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.ph-holes figure { flex: 0 0 200px; width: 200px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 10px var(--soil-3), 0 0 0 12px rgba(229,168,50,.4); }
.ph-holes img { width: 100%; height: 100%; object-fit: cover; }
html.js .ph-holes figure[data-reveal] { transform: scale(.6); }
html.js .ph-holes figure[data-reveal].is-in { transform: none; }
.ph-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.ph-mosaic figure.big { grid-column: span 2; grid-row: span 2; clip-path: polygon(0 0, 100% 0, 100% 92%, 94% 100%, 0 100%); }
.ph-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ph-stack figure { aspect-ratio: 4/3; }
.ph-stack figure:nth-child(3n+1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
/* Rotálás photos (Matt 2026-12-01 comment round): rows of 2 offset like tilled rows. Each photo wipes in from the left
   like a tiller pass, then a furrow line is drawn under its row. */
.ph-furrow { display: grid; gap: 26px; }
.pf-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 22px; }
.pf-row:nth-child(odd) { margin-right: 7%; }
.pf-row:nth-child(even) { margin-left: 7%; }
.pf-row figure { margin: 0; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.pf-row img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-row > i { position: absolute; left: 0; right: 0; bottom: 0; height: 9px; border-radius: 5px; background: repeating-linear-gradient(90deg, var(--soil-1) 0 12px, var(--soil-2) 12px 19px, var(--soil-3) 19px 26px); transform-origin: left; }
/* site.js gives .is-in to the photos (watched through their row), so the line follows its first photo. */
html.js .pf-row > i { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.65,0,.35,1) .45s; }
html.js .pf-row:has(> figure.is-in) > i { transform: none; }
html.js .ph-furrow figure[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0 round var(--radius)); }
html.js .ph-furrow figure[data-reveal].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.ph-polaroid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.ph-polaroid figure { padding: 10px 10px 30px; background: #efe9df; border-radius: 6px; aspect-ratio: auto; rotate: var(--r, 0deg); box-shadow: 0 16px 32px rgba(0,0,0,.35); overflow: visible; }
.ph-polaroid img { aspect-ratio: 4/3; border-radius: 3px; }
html.js .ph-polaroid figure[data-reveal] { transform: translate3d(0, -40px, 0); }
html.js .ph-polaroid figure[data-reveal].is-in { transform: none; }

/* Shared section variants */
.related-tiles { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.related-tiles a { flex-direction: column; align-items: flex-start; padding: 26px 24px; min-height: 150px; background: linear-gradient(180deg, var(--card), var(--surface-2)); border-bottom: 4px solid var(--soil-1); }
.related-tiles a .ph { font-size: 32px; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.svc-chips a { border-radius: 999px; padding: 12px 18px; }
.svc-chips a .arr { display: none; }
@media (min-width: 1101px) {
  .lf[data-layout="lf-right"] .lf-grid { grid-template-columns: minmax(0, 1fr) minmax(230px, 290px); }
  .lf[data-layout="lf-right"] .lf-aside { order: 2; }
  .lf[data-layout="lf-right"] .toc { border-left: 0; border-right: 2px solid var(--paper-line); padding: 2px 18px 2px 0; }
  .lf[data-layout="lf-right"] .toc-list a::before { left: auto; right: -20px; }
}
.lf[data-layout="lf-top"] .lf-grid { grid-template-columns: minmax(0, 1fr); gap: 0; justify-items: center; }
.lf[data-layout="lf-top"] .lf-aside { display: contents; }
.lf[data-layout="lf-top"] .toc { order: -1; width: 100%; margin-bottom: 44px; border-left: 0; padding: 0; text-align: center; }
.lf[data-layout="lf-top"] .toc-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lf[data-layout="lf-top"] .toc-list .toc-sub { display: none; }
.lf[data-layout="lf-top"] .toc-list a { padding: 10px 14px; border: 1px solid var(--paper-line); border-radius: 999px; background: var(--paper-2); font-size: 14px; }
.lf[data-layout="lf-top"] .toc-list a::before { display: none; }
.lf[data-layout="lf-top"] .lf-body { width: 100%; max-width: 860px; }
.lf[data-layout="lf-top"] .side-card { order: 2; width: 100%; max-width: 860px; margin-top: 56px; }

/* Home, Avant 420, Rólam, Kertépítés, Kapcsolat bands */
.facts { position: relative; overflow: hidden; }
.facts .wrap { position: relative; z-index: 1; }
.bridge-kj { margin-bottom: 0; }
.idc { display: grid; grid-template-columns: minmax(0, 860px); justify-content: center; }
.idc-card { position: relative; padding: 40px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.idc-name { margin: 18px 0 14px; font: var(--h-weight) 46px/1 var(--font-h); color: var(--heading); }
.idc-roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.idc-roles li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(229,168,50,.4); background: var(--accent-tint); font-size: 14px; font-weight: 600; color: var(--heading); }
.idc-mach { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; font-size: 15.5px; }
.idc-mach .ph { color: var(--accent-text); font-size: 22px; }
.sl { display: grid; margin-top: 26px; border-radius: var(--radius-lg); overflow: hidden; }
.sl-layer { display: grid; grid-template-columns: 34px minmax(160px, 240px) 1fr 24px; align-items: center; gap: 18px; padding: 24px 30px; background: color-mix(in srgb, var(--soil-1) calc(100% - var(--i) * 22%), var(--soil-3)); color: #f6f1e9; transition: padding-left .3s, filter .3s; }
.sl-layer .ph { font-size: 26px; color: #ffd98a; }
.sl-layer b { font: var(--h-weight) 22px/1.15 var(--font-h); }
.sl-layer span { font-size: 14.5px; color: #eae1d4; }
.sl-layer:hover { padding-left: 40px; filter: brightness(1.08); }
html.js .sl[data-reveal] { opacity: 1; transform: none; }
html.js .sl .sl-layer { transform: translate3d(0, -30px, 0); opacity: 0; transition: transform .8s cubic-bezier(.3,1.25,.5,1) calc(var(--i) * .1s), opacity .5s calc(var(--i) * .1s), padding-left .3s, filter .3s; }
html.js .sl.is-in .sl-layer { transform: none; opacity: 1; }
.ct-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ct-company { margin: 18px 0 0; font-size: 14px; color: var(--text-soft); text-align: center; }
.ct-company b { color: var(--heading); }
.sline { position: relative; list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sline::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--soil-1) 0 18px, var(--soil-2) 18px 28px); transform-origin: left; }
.sline li { position: relative; display: grid; gap: 8px; }
.sline .num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font: 700 20px/1 var(--font-h); position: relative; }
.sline h3 { font-size: var(--h3); margin: 8px 0 0; }
.sline p { margin: 0; font-size: 14.5px; color: var(--text-soft); }
html.js .sline[data-reveal] { opacity: 1; transform: none; }
html.js .sline::before { transform: scaleX(0); transition: transform 1.5s cubic-bezier(.65,0,.35,1) .2s; }
html.js .sline.is-in::before { transform: none; }
html.js .sline li { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .6s calc(.3s + var(--i) * .35s), transform .7s cubic-bezier(.2,.8,.2,1) calc(.3s + var(--i) * .35s); }
html.js .sline.is-in li { opacity: 1; transform: none; }


/* Floating widget, bottom left: Üzenet + phone (site.js). Lifts above the comment toolbar when it shows. */
.fw { position: fixed; left: 24px; bottom: calc(24px + var(--fw-lift, 0px)); z-index: 50; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; transition: bottom .25s cubic-bezier(.2,.8,.2,1); }
.fw[hidden] { display: none; }
.fw-bar { display: flex; gap: 10px; align-items: center; }
.fw-btn { height: 56px; min-width: 56px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 3px solid rgba(246,241,233,.92); box-shadow: 0 10px 28px rgba(0,0,0,.4); cursor: pointer; font: 700 15px/1 var(--font-b); transition: transform .2s, box-shadow .2s; }
.fw-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.5); }
.fw-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.fw-msg { width: 56px; padding: 0; background: var(--band); color: var(--accent-text); font-size: 25px; }
.fw-msg .ph-x { display: none; font-size: 21px; }
.fw-msg[aria-expanded="true"] .ph-chat-circle-dots { display: none; }
.fw-msg[aria-expanded="true"] .ph-x { display: inline-block; }
.fw-tel { padding: 0 20px 0 15px; background: var(--accent); color: var(--on-accent); }
.fw-tel .ph { font-size: 22px; }
.fw-txt { display: grid; gap: 3px; text-align: left; }
.fw-num { white-space: nowrap; font-size: 15px; letter-spacing: .01em; }
.fw-hint { font-size: 10.5px; font-weight: 600; opacity: .8; }
.fw-tel.pt-revealed .fw-num { user-select: all; -webkit-user-select: all; }
.fw-win { width: 340px; margin-bottom: var(--fw-win-lift, 0px); max-height: calc(100dvh - 130px - var(--fw-lift, 0px) - var(--fw-win-lift, 0px)); overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.55); transform-origin: 28px 100%; }
.fw-win[hidden] { display: none; }
.fw-win:not([hidden]) { animation: fw-in .32s cubic-bezier(.2,.9,.3,1.15); }
@keyframes fw-in { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.92); } }
.fw-head { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; background: var(--band); border-bottom: 3px solid var(--accent); }
.fw-head > .ph { font-size: 28px; color: var(--accent-text); flex: none; }
.fw-title { margin: 0; font: var(--h-weight) 20px/1.1 var(--font-h); color: var(--heading); }
.fw-sub { margin: 5px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-soft); }
.fw-body { padding: 16px 20px 18px; }
.fw-body .field textarea { min-height: 76px; }
.fw-send { width: 100%; }
.fw-win.is-sent .field, .fw-win.is-sent .fw-send, .fw-win.is-sent .form-legal { display: none; }
.fw-status { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); max-width: min(440px, calc(100vw - 32px)); margin: 0; padding: 12px 18px; border-radius: 10px; background: var(--paper); color: var(--paper-text); font-size: 14px; font-weight: 600; text-align: center; box-shadow: var(--shadow); z-index: 70; visibility: hidden; pointer-events: none; }
.fw-status.is-on { visibility: visible; pointer-events: auto; user-select: text; }
.pt-copy-buffer { position: fixed; left: 0; top: 0; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }

@media (max-width: 1100px) {
  .gauge, .auger, .furrow, .uses-band, .idc, .st { grid-template-columns: 1fr; gap: 36px; }
  .plough { grid-template-columns: 1fr; }
  .plough-copy { padding: 48px 32px; }
  .ph-polaroid, .kj-mosaic, .ph-mosaic { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .dig-chips { grid-template-columns: 1fr; gap: 10px; }
  .dig-chips li { padding: 16px 18px 18px; }
  .dig-chips b { font-size: 28px; }
  .gauge-fig { height: 230px; }
  .auger-fig { height: 240px; }
  .sc-layer { grid-template-columns: 1fr; gap: 4px; padding: 20px 22px; }
  .sc-layer b { font-size: 28px; }
  .sc-tines { gap: 16px; right: 6%; }
  .kj-duo, .kj-mini { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kj-trio, .ph-stack { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kj-trio figure:first-child, .ph-stack figure:nth-child(3n+1) { grid-column: span 2; aspect-ratio: 16/10; grid-row: auto; }
  .kj-band { grid-auto-columns: 78%; padding: 0 18px; gap: 10px; scroll-snap-type: x mandatory; }
  .kj-band figure { scroll-snap-align: center; }
  .kj-mosaic, .ph-mosaic { grid-auto-rows: 140px; gap: 10px; }
  .ph-strip { grid-auto-columns: 80%; gap: 10px; }
  .ph-furrow { gap: 18px; }
  .pf-row { gap: 8px; padding-bottom: 16px; }
  .pf-row:nth-child(odd) { margin-right: 5%; }
  .pf-row:nth-child(even) { margin-left: 5%; }
  .pf-row figure { aspect-ratio: 1; }
  .ph-holes { gap: 18px; }
  .ph-holes figure { flex-basis: calc(50% - 9px); width: calc(50% - 9px); }
  .ph-holes figure { box-shadow: 0 0 0 6px var(--soil-3), 0 0 0 8px rgba(229,168,50,.4); }
  .ph-polaroid { gap: 18px 14px; }
  .ph-polaroid figure { padding: 6px 6px 18px; }
  .level-fig { height: 90px; margin-bottom: 26px; }
  html.js .level-fig.is-in .lv-dot { transform: translate3d(calc(100vw - 48px), 0, 0); }
  .crack-grid, .st-tiles, .s2, .ct-tiles, .sline { grid-template-columns: 1fr; }
  .sline::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 6px; height: auto; transform-origin: top; background: repeating-linear-gradient(180deg, var(--soil-1) 0 18px, var(--soil-2) 18px 28px); }
  .sline li { grid-template-columns: 48px 1fr; column-gap: 16px; }
  .sline li h3, .sline li p { grid-column: 2; }
  .sline .num { grid-row: span 2; }
  html.js .sline::before { transform: scaleY(0); }
  .video-card { grid-template-columns: 1fr; }
  .vc-copy { padding: 24px; }
  .vc-copy b { font-size: 26px; }
  .plough-media { min-height: 260px; }
  .plough-copy { padding: 40px 18px; }
  .related-tiles a { min-height: 0; }
  .idc-card { padding: 28px 22px; }
  .idc-name { font-size: 36px; }
  .sl-layer { grid-template-columns: 30px 1fr 20px; padding: 18px 18px; gap: 4px 12px; }
  .sl-layer span { grid-column: 2; grid-row: 2; font-size: 13.5px; }
  .sl-layer > .ph:last-child { grid-column: 3; grid-row: 1 / 3; }
  .fw { left: 16px; bottom: calc(16px + var(--fw-lift, 0px)); gap: 10px; }
  .fw-btn { height: 52px; min-width: 52px; }
  .fw-msg { width: 52px; }
  .fw-tel { width: 52px; padding: 0; }
  .fw-tel .fw-txt { display: none; }
  .fw-win { width: calc(100vw - 32px); max-height: calc(100dvh - 110px - var(--fw-lift, 0px) - var(--fw-win-lift, 0px)); }
}

/* ---- 10-decor.css */
/* 10-decor: owner file, round 4 (2026-12-01). Group A: the earth system that replaced the cut-out decor pieces.
   build.py earth() writes the markup by section tone: .soil (texture layer), .cut (ground cut), .mole (tunnel line), and
   the section classes earth, cut-t, cut-b. site.js "earth motion" sets --drift on .soil and --dig on .mole.
   Matt's comments: 8d2493b0, 49d5741a (no divider between two sections of the same colour), 9ae5b119 (steps line),
   a923e23e (textures, half real half cartoon, a little movement, root pieces), 4c154985 (no stickers, sections like a
   hole in the ground, a mole path on scroll, photos as the surface). */

/* Earth texture: a grey-centred soil tile, blended with soft-light, so each section keeps its own colour. It sits under
   the content (z-index -1 inside the isolated section) and drifts a few px slower than the page. It fades out at a
   section edge without a ground cut, so two dark sections meet softly. Never on photos. */
.earth { isolation: isolate; }
:where(.earth) { background-color: var(--bg); } /* the blend needs a backdrop inside the section: plain .sec has none */
.soil { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; mix-blend-mode: soft-light; opacity: .5;
  --fade-t: 140px; --fade-b: 140px;
  -webkit-mask-image: linear-gradient(transparent, #000 var(--fade-t), #000 calc(100% - var(--fade-b)), transparent);
  mask-image: linear-gradient(transparent, #000 var(--fade-t), #000 calc(100% - var(--fade-b)), transparent); }
.cut-t > .soil { --fade-t: 0px; }
.cut-b > .soil { --fade-b: 0px; }
/* Two layers (fix round 1: the old 540 px tile repeated its roots at 1440 and 2003 px): ::before is a calm 800 px crumb
   tile with no roots or pebbles, ::after is a 2400 x 1600 tile of few small root pieces (build.py roots_svg()), wider
   than the screen, so no piece repeats side by side. The roots drift a little more than the crumbs (depth). */
.soil::before, .soil::after { content: ""; position: absolute; inset: -64px 0; will-change: transform; }
.soil::before { background: url("/assets/earth/soil.webp") 50% 0 / 800px 800px repeat; transform: translate3d(0, var(--drift, 0px), 0); }
.soil::after { background: url("/assets/earth/roots.svg") 50% 0 / 2400px 1600px repeat; transform: translate3d(0, calc(var(--drift, 0px) * 1.6), 0); }

/* Ground cut: only where a dark section meets a light (paper) one. The light colour comes into the dark section above
   (cut-top) or below (cut-bot) an irregular soil line. The grass and topsoil line is on the surface side. The extra
   padding is the height the light colour takes, so the dark space around the content stays as before. */
.cut { position: absolute; left: 0; right: 0; height: 64px; pointer-events: none; background: 50% 0 / auto 100% repeat-x; }
.cut-top { top: 0; background-image: url("/assets/earth/cut-top.svg"); }
.cut-bot { bottom: 0; background-image: url("/assets/earth/cut-bot.svg"); }
.cut-foot { top: auto; bottom: 0; background-color: var(--footer); }
:is(.sec, .hero, .page-hero).cut-t { padding-top: 136px; }
:is(.sec, .hero).cut-b { padding-bottom: 136px; }
.page-hero.cut-b { padding-bottom: 104px; border-bottom: 0; }
.sec.paper:has(> .cut-foot) { padding-bottom: 120px; }
/* Fix round 1: a ground cut never covers a photo. A hero photo ends where the cut starts, and the plain section colour
   (a solid dark strip) carries the cut under it. */
:is(.hero.cut-b .hero-media, .page-hero.cut-b .ph-media) { bottom: 64px; }
:is(.hero.cut-t .hero-media, .page-hero.cut-t .ph-media) { top: 64px; }

/* Mole path: one thin tunnel per page at most, under the grass line (mole-t) or above the bottom cut (mole-b). It grows
   with the scroll: --dig 0..1 from site.js drives stroke-dashoffset. Low contrast, behind the content. Pixel-size SVG,
   centred: the section clips what is wider than the screen. */
.has-mole { overflow-x: clip; }
.mole { position: absolute; left: 50%; width: 2000px; height: 56px; margin-left: -1000px; z-index: -1; pointer-events: none; overflow: visible; }
.mole-narrow { display: none; }
.mole-t { top: 64px; }
.mole-b { bottom: 64px; }
.mole path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--dig, 0)); }
.mole-rim { stroke: rgba(150, 116, 80, .22); stroke-width: 14px; }
.mole-way { stroke: rgba(8, 6, 5, .55); stroke-width: 6px; }

@media (max-width: 768px) {
  .cut { height: 40px; }
  :is(.sec, .hero, .page-hero).cut-t { padding-top: 88px; }
  :is(.sec, .hero).cut-b { padding-bottom: 88px; }
  .page-hero.cut-b { padding-bottom: 72px; }
  :is(.hero.cut-b .hero-media, .page-hero.cut-b .ph-media) { bottom: 40px; }
  :is(.hero.cut-t .hero-media, .page-hero.cut-t .ph-media) { top: 40px; }
  .soil::before { background-size: 520px 520px; }
  .soil::after { background-size: 1680px 1120px; }
  .mole-wide { display: none; }
  .mole-narrow { display: block; width: 400px; height: 34px; margin-left: -200px; }
  .mole-t { top: 40px; }
  .mole-b { bottom: 40px; }
  .mole-rim { stroke-width: 9px; }
  .mole-way { stroke-width: 4px; }
  .soil { --fade-t: 80px; --fade-b: 80px; }
}

/* ---- 20-cta.css */
/* 20-cta: owner file of group C, round 4 (2026-12-01). Comment 0dfb2c39 (/rolam/ contact band, phone number on 2 lines).
   - cta-split: the photo card sits inside .wrap (cta() puts it there), so photo, text and contact block form one grid
     in the content width: photo left, text above the contact block on the right. Under 860 px it stacks: text,
     contact block, photo (the old phone order).
   - No-wrap: phone numbers, prices, number values and short labels never break inside themselves. Number tokens in
     running text are joined by build.py keep_tokens() (no-break space, word joiner). Containers keep min-width: 0 so nothing overflows. */

/* ---- cta-split */
.cta-band[data-layout="cta-split"] .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto; column-gap: 56px; row-gap: 28px; align-items: stretch; }
.cta-band[data-layout="cta-split"] .cta-media { position: relative; inset: auto; grid-row: 1 / span 2; min-height: 320px; opacity: 1; border-radius: var(--radius-lg); overflow: hidden; }
.cta-band[data-layout="cta-split"] .cta-media img { position: absolute; inset: 0; }
.cta-band[data-layout="cta-split"] .cta-copy { align-self: end; }
.cta-band[data-layout="cta-split"] .cta-copy h2 { max-width: 16em; }
.cta-band[data-layout="cta-split"] .cta-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-self: start; }
.cta-band[data-layout="cta-split"] .tel-big { grid-row: 1 / span 2; }
.cta-band[data-layout="cta-split"] .cta-actions .btn { justify-content: center; }

@media (max-width: 1100px) {
  .cta-band[data-layout="cta-split"] .wrap { column-gap: 40px; }
  .cta-band[data-layout="cta-split"] .tel-big { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .cta-band[data-layout="cta-split"] .wrap { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 28px; }
  .cta-band[data-layout="cta-split"] .cta-media { grid-row: 3; min-height: 0; height: 260px; }
  .cta-band[data-layout="cta-split"] .cta-copy h2 { max-width: none; }
}
@media (max-width: 560px) {
  .cta-band[data-layout="cta-split"] .cta-actions { grid-template-columns: minmax(0, 1fr); }
  .cta-band[data-layout="cta-split"] .cta-media { height: 220px; }
}
@media (max-width: 768px) {
  .cta-band .cta-copy > p { text-align: center; }
  .cta-band .tel-big { justify-content: center; }
}

/* ---- contact card text: the number and its label stay on one line */
.cta-band .tel-big > span { min-width: 0; }
.cta-band .tel-big small, .cta-band .tel-big b { white-space: nowrap; }

/* ---- site-wide no-wrap (scan: research/2026-12-01-v2-build/apply-comments-r4/nowrap_scan.py) */
/* Number tokens in running text: build.py keep_tokens() joins them with U+00A0 and U+2060 (no CSS, no wrapper). */
/* A value like "75–750 mm" (talajfuras) stays on one line: its chip column grows to the value, the others share the rest. */
@media (min-width: 769px) {
  .dig-chips { grid-template-columns: repeat(3, minmax(min-content, 1fr)); }
}

/* /kapcsolat/ tiles: the phone number and the e-mail address stay on one line. The e-mail is the longest value
   (12.6 em at the tile font): 3 columns sized to the content from 1201 px, 2 columns below, and the e-mail font
   steps down only when its tile is narrower than the address. */
.ct-tiles .c-card > span { min-width: 0; }
.ct-tiles .c-card b { white-space: nowrap; }
@media (min-width: 1201px) {
  .ct-tiles { grid-template-columns: repeat(3, minmax(min-content, 1fr)); }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .ct-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-tiles .c-card[href^="mailto:"] b { font-size: min(26px, calc(((100vw - 80px) / 2 - 130px) / 12.8)); }
}
@media (max-width: 768px) {
  .ct-tiles .c-card[href^="mailto:"] b { font-size: min(21px, calc((100vw - 142px) / 13.2)); }
}

/* Eyebrow labels stay one line on phones: the longest ("Avant 420 · Legszűkebb területére is!") needs 313 px at
   11 px / .1em and the narrowest content width is 324 px (360 px screen). */
.eyebrow { white-space: nowrap; max-width: 100%; }
@media (max-width: 420px) {
  .eyebrow { font-size: 11px; letter-spacing: .1em; }
}

/* Button labels never wrap (.btn nowrap, base). The longest, the calculator's "Hozzáadom az ajánlatkéréshez", needs
   314 px at 15 px and gets 288 px on a 360 px screen, which pushed the calculator column out of its card (clipped).
   At 14 px with less side padding it needs 276 px. Only the label size changes, not the calculator layout. */
@media (max-width: 380px) {
  .calc-out .btn { padding-inline: 14px; gap: 8px; font-size: 14px; }
}

/* /betontores-bontas/ spec tiles (fix round 2): "950–1350 / perc" is one token (6.7 em at the tile font). In a 228 px
   tile (5 columns, 1024 px and up) it was 3 px wider than the tile. The value font follows the tile width, max 28 px. */
.crack-tile { container-type: inline-size; }
.crack-tile b { font-size: min(28px, calc(100cqi / 6.75)); }

/* ---- 30-garden.css */
/* 30-garden: owner file of group B, round 4 (2026-12-01). Loaded after site.css, 10-decor.css and 20-cta.css.
   1. Multi-step request form (/kertepites/ only, form.fc-steps, Matt af91d8d7): step 1 = service cards, step 2 = fields.
   2. /kertepites/ page sections that replace the long-form block (Matt 59550589): [data-layout^="kp-"].
   3. Type scale (Matt 2ab9527a: "Font sizing is quite random"): the /kertepites/ sections use one scale, and the
      Mennyiségbecslő (.calc*, 10 pages) gets the same scale site-wide.
   Scale (desktop / phone <= 768 px): eyebrow 12 / 11 (base), H2 40 / 28 (--h2), sub-heading H2 .kp-h 26 / 22,
   card title and H3 22 / 20 (--h3), lead 17 / 16, body 16 / 15.5, label 14, meta 13, result number 56 / 44. */

/* ---------------------------------------------------------------- 1. multi-step request form */
.fc-pick { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.fc-pick legend { font-size: 13px; font-weight: 600; color: var(--heading); margin: 0 0 8px; padding: 0; }
.fc-pick > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fc-pick label { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 9px 14px 9px 9px; border: 1px solid var(--input-line); border-radius: 12px; background: var(--input); color: var(--heading); font: 600 15px/1.25 var(--font-b); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.fc-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fc-pick-ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-tint); color: var(--accent-text); transition: background .2s, color .2s; }
.fc-pick-ic .ph { font-size: 22px; vertical-align: 0; }
.fc-pick label:hover { border-color: color-mix(in srgb, var(--accent) 70%, transparent); transform: translateY(-1px); }
.fc-pick label:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.fc-pick label:has(input:checked) .fc-pick-ic { background: var(--accent); color: var(--on-accent); }
.fc-pick label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
/* JS on (data-step): one step at a time. Step 1 = the form title and the cards (legend kept for screen readers). */
.fc-steps[data-step="1"] :is(.fc-sub, .fc-s2) { display: none; }
.fc-steps[data-step="1"] .fc-pick { margin: 0; }
.fc-steps[data-step="1"] .fc-pick legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fc-steps[data-step="2"] .fc-s1 { display: none; }
.fc-steps[data-step] :is(.fc-s1, .fc-s2) { animation: fc-step .32s cubic-bezier(.22,.9,.28,1) both; }
@keyframes fc-step { from { opacity: 0; transform: translate3d(0, 8px, 0); } }
/* Fix round 2 (QA, 390 px): row 1 = back link left, step indicator (number + markers, one item) right. Row 2 = the picked
   service chip on its own line, so nothing is stranded at any width. */
.fc-stepbar { display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: center; gap: 8px 12px; margin: 0 0 16px; }
.fc-stepbar[hidden], .fc-steps:not([data-step="2"]) .fc-stepbar, .fc-picked[hidden] { display: none; }
.fc-back { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 8px; margin-left: -8px; border: 0; border-radius: 8px; background: none; color: var(--accent-text); font: 600 14px/1 var(--font-b); cursor: pointer; }
.fc-back:hover { background: var(--accent-tint); }
.fc-back:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.fc-stepind { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.fc-picked { grid-column: 1 / -1; justify-self: start; max-width: 100%; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-tint); color: var(--heading); font: 600 14px/1.2 var(--font-b); }
.fc-picked .ph { color: var(--accent-text); font-size: 18px; vertical-align: 0; }
.fc-picked b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-picked [data-picked-ic] { display: contents; }
.fc-stepnum { font-size: 13px; color: var(--text-soft); outline: 0; }
.fc-dots { display: inline-flex; gap: 4px; }
.fc-dots i { width: 18px; height: 4px; border-radius: 2px; background: var(--accent); }
.lead-form.is-sent :is(.fc-s1, .fc-stepbar, .fc-picked) { display: none; }
/* Type scale of the page: form labels and inputs on the same tier as the calculator (label 14, input 16). */
.fc-steps :is(.field label, .fc-mode legend, .fc-pick legend) { font-size: 14px; }
.fc-steps .field :is(input, textarea) { font-size: 16px; }
/* Desktop: step 1 tiles (icon over the name) about as tall as step 2, so the hero does not jump between the steps. */
@media (min-width: 769px) {
  .fc-steps .fc-pick > div { grid-auto-rows: 115px; }
  .fc-steps .fc-pick label { flex-direction: column; justify-content: center; gap: 10px; padding: 10px 12px; text-align: center; }
}
@media (max-width: 768px) {
  .fc-pick > div { gap: 8px; }
  .fc-pick label { flex-direction: column; justify-content: center; gap: 8px; min-height: 96px; padding: 12px 8px; text-align: center; font-size: 14px; }
}

/* ---------------------------------------------------------------- 2. /kertepites/ sections */
[data-layout^="kp-"] .eyebrow .ph { font-size: 15px; }
[data-layout^="kp-"] h2 { font-size: var(--h2); margin: 16px 0 0; }
[data-layout^="kp-"] h2.kp-h { font-size: 26px; line-height: 1.15; margin: 0; text-wrap: balance; }
[data-layout^="kp-"] h3 { font-size: var(--h3); line-height: 1.2; }
[data-layout^="kp-"] p { font-size: 16px; line-height: 1.7; }
[data-layout^="kp-"] .kp-lead { margin-top: 18px; }
[data-layout^="kp-"] .kp-lead p { font-size: 17px; line-height: 1.7; }
[data-layout^="kp-"] :is(p, .kp-lead) > :last-child, [data-layout^="kp-"] .kp-lead p:last-child { margin-bottom: 0; }
[data-layout^="kp-"] .kp-meta { font-size: 14px; line-height: 1.6; }
.paper[data-layout^="kp-"] p a:not(.btn) { color: var(--paper-accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
[data-layout^="kp-"]:not(.paper) p a:not(.btn) { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
[data-layout^="kp-"] [id] { scroll-margin-top: 104px; }
.kp-ic { flex: none; width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 10px; background: rgba(127,82,5,.1); color: var(--paper-accent); }
.kp-ic .ph { font-size: 22px; vertical-align: 0; }
:not(.paper)[data-layout^="kp-"] .kp-ic { background: var(--accent-tint); color: var(--accent-text); }
[data-layout^="kp-"] figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-2); }
[data-layout^="kp-"] figure img { width: 100%; height: 100%; object-fit: cover; }
[data-layout^="kp-"] figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(20,19,17,.78); color: #f6f1e9; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
html.js [data-layout^="kp-"] figure[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--radius-lg)); transition: clip-path 1s cubic-bezier(.65,0,.35,1); }
html.js [data-layout^="kp-"] figure[data-reveal].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

/* 1. Work phases: heading left, lead right, then three photo cards linking to the work pages. */
[data-layout="kp-phases"] { padding-bottom: 64px; }
.kp-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 72px; align-items: end; }
.kp-head .kp-lead { margin: 0; }
.kp-sub { margin: 64px 0 24px; padding-top: 28px; border-top: 1px solid var(--paper-line); }
.kp-phase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.kp-phase { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #efeae2; border: 1px solid var(--paper-line); overflow: hidden; box-shadow: 0 14px 36px rgba(43,38,32,.07); }
.kp-phase figure { aspect-ratio: 16 / 10; border-radius: 0; }
.kp-phase-body { flex: 1; display: flex; flex-direction: column; padding: 24px 26px 26px; }
.kp-card-name { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: var(--h-weight) var(--h3)/1.2 var(--font-h) !important; color: var(--paper-text); }
.kp-more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font: 700 14px/1 var(--font-b); color: var(--paper-accent); }
.kp-more .ph { transition: transform .25s; }
.kp-phase:hover .kp-more .ph { transform: translateX(4px); }
.kp-note { display: flex; gap: 12px; align-items: flex-start; margin: 26px 0 0; padding: 18px 22px; border-radius: var(--radius); background: var(--paper-2); color: var(--paper-text); }
.kp-note .ph { flex: none; margin-top: 3px; font-size: 20px; color: var(--paper-accent); }

/* 2. Access: photo + checklist split, then the four topics as numbered rows. */
[data-layout="kp-access"] { padding-top: 32px; }
.kp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; padding-top: 64px; border-top: 1px solid var(--paper-line); }
.kp-split figure { aspect-ratio: 4 / 5; max-height: 640px; }
.kp-check { display: grid; gap: 10px; margin-top: 28px; text-align: left; }
.kp-check a { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 12px; border: 1px solid var(--paper-line); background: #efeae2; color: var(--paper-text); font: 600 16px/1.35 var(--font-b); transition: border-color .2s, transform .2s; }
.kp-check a .ph { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: rgba(127,82,5,.1); color: var(--paper-accent); font-size: 20px; vertical-align: 0; }
.kp-check a:hover { border-color: var(--paper-accent); transform: translateX(3px); }
.kp-topics { margin-top: 80px; border-top: 1px solid var(--paper-line); }
.kp-topic { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px 72px; padding: 44px 0; border-bottom: 1px solid var(--paper-line); }
.kp-topic-head { display: grid; grid-template-columns: auto auto 1fr; grid-template-areas: "num ic ." "h h h"; align-items: center; gap: 18px 14px; align-content: start; }
.kp-num { grid-area: num; font: 700 13px/1 var(--font-b); letter-spacing: .16em; color: var(--paper-accent); }
.kp-topic-head .kp-ic { grid-area: ic; }
.kp-topic-head h2 { grid-area: h; }
.kp-topic-body p { margin: 0 0 14px; }
html.js .kp-topic[data-reveal] { opacity: 1; transform: none; }

/* 3. Scope: dark band, copy beside the Kertújítók photo, the old introduction as a quote card, the four garden works. */
.kp-scope-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.kp-scope-top figure { aspect-ratio: 5 / 4; background: var(--surface-2); }
[data-layout="kp-scope"] p { color: var(--band-text); }
.kp-quote { margin-top: 80px; padding: 40px 44px; border-radius: var(--radius-lg); background: rgba(20,19,17,.55); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.kp-quote .kp-meta { margin: 12px 0 0; color: var(--text-soft) !important; max-width: 860px; }
.kp-quote blockquote { margin: 22px 0 0; padding: 0; }
.kp-quote blockquote p { font-size: 17px; line-height: 1.75; color: #efe6d8 !important; max-width: 980px; }
.kp-works { margin-top: 80px; }
.kp-works-head { max-width: 860px; margin-bottom: 28px; }
.kp-works-head .kp-meta { margin: 12px 0 0; color: var(--text-soft) !important; }
.kp-work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.kp-work { padding: 26px; border-radius: var(--radius-lg); background: rgba(29,27,24,.78); border: 1px solid var(--line); }
.kp-work h3 { margin: 18px 0 10px; }
.kp-work p { margin: 0; color: var(--text) !important; }

/* 4. Person band. */
.kp-person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.kp-person figure { aspect-ratio: 4 / 3; background: var(--surface-2); }
.kp-bio { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.kp-bio p { margin: 14px 0 0; }

/* 5. FAQ: heading left, accordion right. */
.kp-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 72px; align-items: start; }
.kp-faq .faq { max-width: none; margin: 0; }
[data-layout="kp-faq"] details.faq-item > summary { font-size: 18px; }
[data-layout="kp-faq"] details.faq-item .faq-a p { font-size: 16px; line-height: 1.7; }

/* The strata links above the sections: card text on the label tier. */
[data-layout="strata-links"] .sl-layer span { font-size: 14px; }

@media (max-width: 1100px) {
  .kp-head, .kp-scope-top, .kp-person, .kp-faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .kp-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .kp-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kp-topic { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .kp-person figure, .kp-scope-top figure { aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) {
  .kp-phase-grid { grid-template-columns: minmax(0, 1fr); }
  .kp-phase { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .kp-phase figure { aspect-ratio: auto; min-height: 100%; }
  .kp-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .kp-split figure { aspect-ratio: 16 / 10; }
}
@media (max-width: 768px) {
  [data-layout^="kp-"] h2.kp-h { font-size: 22px; }
  [data-layout^="kp-"] p { font-size: 15.5px; }
  [data-layout^="kp-"] .kp-lead p, .kp-quote blockquote p { font-size: 16px; }
  [data-layout^="kp-"] .kp-meta { font-size: 13px; }
  :is(.kp-head > div:first-child, .kp-split-copy, .kp-scope-copy, #balogh-peter, .kp-faq-head) { text-align: center; }
  :is(.kp-head, .kp-split-copy, .kp-scope-copy, #balogh-peter, .kp-faq-head) .eyebrow { display: flex; width: fit-content; margin-inline: auto; }
  :is(.kp-split-copy, .kp-scope-copy, #balogh-peter) .kp-lead { text-align: left; }
  [data-layout="kp-phases"] { padding-bottom: 48px; }
  .kp-sub { margin-top: 44px; }
  .kp-phase { display: flex; }
  .kp-phase figure { aspect-ratio: 16 / 10; min-height: 0; }
  .kp-phase-body { padding: 20px; }
  .kp-split { padding-top: 48px; }
  .kp-check a { font-size: 15px; }
  .kp-topics { margin-top: 56px; }
  .kp-topic { padding: 32px 0; }
  .kp-quote { margin-top: 56px; padding: 26px 20px; }
  .kp-works { margin-top: 56px; }
  .kp-work-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .kp-work { padding: 22px 20px; }
  [data-layout="kp-faq"] details.faq-item > summary { font-size: 16px; }
  [data-layout="kp-faq"] details.faq-item .faq-a p { font-size: 15.5px; }
}

/* ---------------------------------------------------------------- 3. Mennyiségbecslő type scale (all 10 calculator pages)
   Before: 12, 12.5, 13, 14, 14.5, 15, 54 px side by side. After: label 14 (legends, field labels, chips), input 16,
   meta 13 (formula, source, note), result label 12 caps like the eyebrow, result 56 with the unit at half size,
   extra line 16. The service picker sits centred under the centred section head. */
.calc-pick { text-align: center; }
.calc-pick legend { margin: 0 auto 12px; }
.calc-pick > div { justify-content: center; }
.calc-chips legend, .calc-in .field label { font-size: 14px; font-weight: 600; color: var(--heading); }
.calc-in .field input { font-size: 16px; }
.calc-chips span { font-size: 14px; }
.calc-formula, .calc-limit, .calc-note { font-size: 13px; line-height: 1.55; color: var(--text-soft); }
.calc-k { font-size: 12px; letter-spacing: .16em; }
.calc-num { font-size: 56px; letter-spacing: -.02em; }
.calc-unit { font-size: .5em; font-weight: 600; letter-spacing: 0; color: inherit; }
.calc-extra { font-size: 16px; line-height: 1.6; }
.calc-skip { font-size: 14px; }
@media (max-width: 768px) {
  .calc-num { font-size: 44px; }
}

/* The Phosphor "stack" icon shares its class name with the .ph-stack photo layout (a 3-column grid): in the two
   /kertepites/ eyebrows that grid pushed the label away from the icon. */
.eyebrow .ph.ph-stack { display: inline-block; }

/* QA fix (orchestrator, group C visual check, round 4): the contact-mode options ("Visszahívást kérek", "Írásban kérek
   választ") wrapped onto 2-3 lines in the drawer (all widths, 201 px per option) and in the hero card at 390 and 360 px.
   Shared form, all pages: one option per row there, each label on one line, tap target 46 px high. */
.lh-panel[data-look="open"] .fc-mode > div { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 560px) { .fc-mode > div { grid-template-columns: minmax(0, 1fr); } }
.lh-panel[data-look="open"] .fc-mode label span { white-space: nowrap; }
@media (max-width: 560px) { .fc-mode label span { white-space: nowrap; } }

/* ---- 40-lf-a.css */
/* 40-lf-a: owner file of round 5 editor A (2026-12-02, Matt b8dd7a51: the long-form block as several real sections, no
   contents list, no two-column text block). Pages: /avant-420/, /rolam/, /kapcsolat/. Markup: lf_a.py.
   Loaded after site.css and 30-garden.css. Scale (desktop / phone <= 768 px) as 30-garden: H2 40 / 28 (--h2), sub-heading
   H2 .xa-h 26 / 22, H3 22 / 20, lead 17-18 / 16, body 16 / 15.5, eyebrow 12 / 11. Text columns stay at about 60-80
   characters (max-width in ch-like px). Tones come from the section class (paper = light), earth() adds cuts and soil. */

/* ---------------------------------------------------------------- shared */
[data-layout^="xa-"] .eyebrow .ph { font-size: 15px; }
[data-layout^="xa-"] .eyebrow { width: fit-content; }
[data-layout^="xa-"] h2 { font-size: var(--h2); margin: 16px 0 0; }
[data-layout^="xa-"] h2.xa-h { font-size: 26px; line-height: 1.15; margin: 14px 0 0; text-wrap: balance; }
[data-layout^="xa-"] h3 { font-size: var(--h3); line-height: 1.2; }
[data-layout^="xa-"] p { font-size: 16px; line-height: 1.7; margin: 14px 0 0; }
[data-layout^="xa-"] p.xa-lead { font-size: 17.5px; line-height: 1.7; margin-top: 20px; }
[data-layout^="xa-"] [id] { scroll-margin-top: 104px; }
.paper[data-layout^="xa-"] p a:not(.btn), .paper[data-layout^="xa-"] li a { color: var(--paper-accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
[data-layout^="xa-"]:not(.paper) p a:not(.btn), [data-layout^="xa-"]:not(.paper) li a { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
:not(.paper)[data-layout^="xa-"] p { color: var(--band-text); }
.paper[data-layout^="xa-"] strong { color: var(--paper-text); }
[data-layout^="xa-"] figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-2); }
[data-layout^="xa-"] figure:not(.drawing) img { width: 100%; height: 100%; object-fit: cover; }
[data-layout^="xa-"] figure:not(.drawing) figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(20,19,17,.78); color: #f6f1e9; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
html.js [data-layout^="xa-"] figure:not(.drawing)[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--radius-lg)); transition: clip-path 1s cubic-bezier(.65,0,.35,1) var(--d, 0ms); }
html.js [data-layout^="xa-"] figure:not(.drawing)[data-reveal].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.xa-big-ic { flex: none; width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 12px; background: rgba(127,82,5,.1); color: var(--paper-accent); }
.xa-big-ic .ph { font-size: 25px; vertical-align: 0; }
:not(.paper)[data-layout^="xa-"] .xa-big-ic { background: var(--accent-tint); color: var(--accent-text); }
.xa-center { max-width: 780px; margin: 0 auto; text-align: center; }
.xa-center .eyebrow { justify-content: center; }
[data-layout^="xa-"] .faq { max-width: none; margin: 0; }
[data-layout^="xa-"] details.faq-item > summary { font-size: 18px; }
[data-layout^="xa-"] details.faq-item .faq-a p { margin: 0; font-size: 16px; color: var(--paper-soft); }

/* ---------------------------------------------------------------- /avant-420/ */
/* 1. xa-gate: the size drawing (old side item) left, access copy and the photo/size sheet right. */
.xa-gate { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.xa-gate-fig .drawing { padding: 36px 28px 24px; box-shadow: 0 18px 44px rgba(43,38,32,.09); }
.xa-gate-fig .drawing img { max-height: 520px; }
.xa-gate-copy { max-width: 680px; }
.xa-sheet { display: flex; gap: 20px; margin-top: 36px; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px dashed color-mix(in srgb, var(--paper-accent) 45%, transparent); }
.xa-sheet .xa-h { margin-top: 0; }
.xa-sheet-ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-accent); color: var(--paper); }
.xa-sheet-ic .ph { font-size: 24px; vertical-align: 0; }

/* 2. xa-adapters: dark band, heading left, the 8 adapter jobs as a plain ruled list right (xa-led, no numbers). */
.xa-ad-foot { margin-top: 24px !important; color: var(--text-soft) !important; font-size: 15px !important; }

/* 3. xa-surface: Kertújítók photo left, the surface copy right. */
.xa-surface { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.xa-surface figure { aspect-ratio: 4 / 3; }
.xa-surface-copy { max-width: 560px; }

/* 4. xa-story: Péter's long machine text as one reading column on the dark band. */
.xa-story { max-width: 820px; }
.xa-story h2 { font-size: 34px; }
[data-layout="xa-story"] p.xa-story-lead { margin-top: 26px; font: 600 24px/1.45 var(--font-h); color: var(--heading); }
[data-layout="xa-story"] .xa-story-body { max-width: 700px; margin-top: 26px; padding-left: 26px; border-left: 3px solid var(--accent); }
[data-layout="xa-story"] .xa-story-body p { margin: 0; font-size: 17px; line-height: 1.8; }
[data-layout="xa-story"] .xa-story-body p + p { margin-top: 16px; }
[data-layout="xa-story"] p.xa-story-end { margin-top: 30px; font: 700 20px/1.4 var(--font-h); color: var(--accent-text); }

/* 5. xa-crane: crane card and work card, then the FAQ under a rule. */
.xa-crane-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.xa-crane-card { padding: 34px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--paper-line); }
.xa-crane-card .eyebrow { display: flex; margin-top: 22px; }
.xa-crane-card:not(.xa-work) { display: flex; flex-direction: column; justify-content: center; background: var(--paper-text); border-color: var(--paper-text); }
.xa-crane-card:not(.xa-work) .xa-big-ic { background: var(--accent-tint); color: var(--accent-text); }
.xa-crane-card:not(.xa-work) .eyebrow { color: var(--accent-text); background: rgba(229,168,50,.14); }
.xa-crane-card:not(.xa-work) h2 { color: var(--heading); }
.paper .xa-crane-card:not(.xa-work) p { color: var(--text); }
.xa-work { padding: 0; overflow: hidden; display: flex; flex-direction: column; background: #efeae2; }
.xa-work figure { aspect-ratio: 16 / 8; border-radius: 0; }
.xa-work-copy { padding: 28px 34px 34px; }
.xa-work-copy .eyebrow { margin-top: 0 !important; }
.xa-faq-c { max-width: 860px; margin: 88px auto 0; padding-top: 56px; border-top: 1px solid var(--paper-line); }
.xa-faq-c h2 { margin-bottom: 28px; }

/* ---------------------------------------------------------------- /rolam/ */
/* 1. xa-letter: intro centred, then Péter's own words as a letter card over a photo. */
.xa-intro { max-width: 760px; }
.xa-letter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 64px; align-items: center; }
.xa-letter-img { aspect-ratio: 4 / 5; grid-column: 1; grid-row: 1; }
.xa-letter-card { grid-column: 1 / -1; grid-row: 1; margin-left: 36%; padding: 44px 48px; border-radius: var(--radius-lg); background: #f4f0e9; border: 1px solid var(--paper-line); box-shadow: 0 24px 60px rgba(43,38,32,.14); position: relative; z-index: 1; }
.xa-letter-card p { max-width: 640px; font-size: 17px !important; line-height: 1.8 !important; }
.xa-letter-card p + p { margin-top: 14px !important; }

/* 2. xa-ledger: dark band, heading left, the 8 services as a numbered ruled list right. */
.xa-ledger { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.xa-led { list-style: none; margin: 0; padding: 0; counter-reset: led; border-top: 1px solid var(--line); }
.xa-led li { counter-increment: led; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 2px 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.xa-led li::before { content: counter(led, decimal-leading-zero); grid-row: 1 / span 2; font: 700 14px/1.9 var(--font-b); letter-spacing: .14em; color: var(--accent); }
.xa-led-name { font: var(--h-weight) 21px/1.3 var(--font-h); color: var(--heading); }
.xa-led-name a { text-decoration: none !important; color: var(--heading) !important; }
.xa-led-name a:hover { color: var(--accent-text) !important; }
.xa-led-plain li { grid-template-columns: 32px minmax(0, 1fr); }
.xa-led-plain li::before { content: ""; width: 18px; height: 2px; margin-top: 14px; background: var(--accent); }
.xa-led-desc { display: block; grid-column: 2; font-size: 15.5px; line-height: 1.6; color: var(--band-text); }

/* 3. xa-groups: centred head, two client panels with their H3 cards. */
.xa-panels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 52px; }
.xa-panel { padding: 32px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--paper-line); }
.xa-panel-head .xa-h { margin-bottom: 8px; }
.xa-panel-cards { display: grid; gap: 14px; margin-top: 18px; }
.xa-aud { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 22px; border-radius: var(--radius); background: #f1ece4; }
.xa-aud-ic { grid-row: 1 / span 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: rgba(127,82,5,.1); color: var(--paper-accent); }
.xa-aud-ic .ph { font-size: 22px; vertical-align: 0; }
.xa-aud h3 { align-self: center; }
.xa-aud p { grid-column: 2; margin-top: 6px !important; }

/* 4. xa-machine: copy left, Kertújítók machine photo right. */
.xa-machine { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.xa-machine-copy { max-width: 620px; }
.xa-machine figure { aspect-ratio: 5 / 4; background: var(--surface-2); }

/* 5. xa-next: Kertújítók card and the request note card. */
.xa-next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.xa-next-card { padding: 36px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--paper-line); }
.xa-next-card .eyebrow { display: flex; margin-top: 22px; }
.xa-note { background: #f4f0e9; border-style: dashed; border-color: color-mix(in srgb, var(--paper-accent) 45%, transparent); }

/* ---------------------------------------------------------------- /kapcsolat/ */
/* 1. xa-brief: heading left, the two request paragraphs as icon rows right. */
.xa-brief { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.xa-brief-head { position: relative; }
.xa-brief-body { display: grid; gap: 18px; max-width: 680px; }
.xa-brief-row { display: flex; gap: 20px; align-items: flex-start; padding: 24px 26px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--paper-line); }
.xa-brief-row p { margin: 0 !important; font-size: 17px !important; line-height: 1.7 !important; }

/* 2. xa-scope: dark band, the three parts of the offer as numbered cards. */
.xa-scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.xa-scope-card { padding: 30px 28px; border-radius: var(--radius-lg); background: rgba(20,19,17,.5); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.xa-scope-card .eyebrow { display: flex; margin-top: 22px; }
.xa-scope-card p { margin-top: 12px !important; }

/* 3. xa-index: work area strip, then the question index as question | answer rows. */
.xa-area { display: grid; grid-template-columns: auto minmax(0, 5fr) minmax(0, 6fr); gap: 20px 36px; align-items: center; padding: 34px 38px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--paper-line); }
.xa-area-pin { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-accent); color: var(--paper); }
.xa-area-pin .ph { font-size: 36px; vertical-align: 0; }
.xa-area .xa-h { margin-top: 10px; }
[data-layout="xa-index"] p.xa-area-big { margin-top: 6px; font: var(--h-weight) 24px/1.25 var(--font-h); color: var(--paper-accent); }
[data-layout="xa-index"] p.xa-area-note { margin: 0; }
.xa-qi { margin-top: 88px; }
.xa-qi-head { max-width: 760px; }
.xa-qi-list { margin-top: 32px; border-top: 1px solid var(--paper-line); }
.xa-qi-list li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 8px 48px; padding: 22px 0; border-bottom: 1px solid var(--paper-line); align-items: baseline; }
.xa-qi-list strong { font: var(--h-weight) 20px/1.3 var(--font-h); color: var(--paper-text); }
.xa-q-a { font-size: 16px; line-height: 1.7; max-width: 680px; }

/* 4. xa-kj: Kertújítók photo left, copy right on the dark band. */
.xa-kj { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.xa-kj figure { aspect-ratio: 16 / 11; background: var(--surface-2); }
.xa-kj-copy { max-width: 600px; }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1100px) {
  .xa-gate, .xa-surface, .xa-machine, .xa-kj, .xa-brief, .xa-ledger { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .xa-gate-fig { max-width: 460px; }
  .xa-letter-card { margin-left: 24%; }
  .xa-area { grid-template-columns: auto minmax(0, 1fr); }
  .xa-area-note { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .xa-crane-row, .xa-panels, .xa-next, .xa-scope-grid { grid-template-columns: minmax(0, 1fr); }
  .xa-letter { grid-template-columns: minmax(0, 1fr); }
  .xa-letter-img { aspect-ratio: 16 / 10; }
  .xa-letter-card { grid-row: 2; margin: -60px 16px 0; }
  .xa-qi-list li { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 768px) {
  [data-layout^="xa-"] h2.xa-h { font-size: 22px; }
  [data-layout^="xa-"] p { font-size: 15.5px; }
  [data-layout^="xa-"] p.xa-lead { font-size: 16px; }
  [data-layout^="xa-"] details.faq-item > summary { font-size: 16px; }
  [data-layout^="xa-"] details.faq-item .faq-a p { font-size: 15.5px; }
  .xa-gate-fig { max-width: none; }
  .xa-gate-fig .drawing { padding: 20px 16px 14px; }
  .xa-gate-fig .drawing img { max-height: 340px; }
  .xa-sheet { flex-direction: column; gap: 14px; padding: 22px 20px; }
  .xa-brief-row p { font-size: 15.5px !important; }
  .xa-story h2 { font-size: 28px; }
  [data-layout="xa-story"] p.xa-story-lead { font-size: 20px; }
  [data-layout="xa-story"] .xa-story-body { padding-left: 18px; }
  [data-layout="xa-story"] .xa-story-body p { font-size: 16px; }
  [data-layout="xa-story"] p.xa-story-end { font-size: 18px; }
  .xa-crane-card, .xa-work-copy, .xa-next-card, .xa-panel { padding: 24px 20px; }
  .xa-work { padding: 0; }
  .xa-faq-c { margin-top: 56px; padding-top: 40px; }
  .xa-letter { margin-top: 40px; }
  .xa-letter-card { margin: -40px 0 0; padding: 28px 22px; }
  .xa-letter-card p { font-size: 16px !important; }
  .xa-led li { grid-template-columns: 40px minmax(0, 1fr); padding: 16px 0; }
  .xa-led-plain li { grid-template-columns: 28px minmax(0, 1fr); }
  .xa-led-name { font-size: 18px; }
  .xa-led-desc { font-size: 15px; }
  .xa-aud { padding: 18px 16px; gap: 4px 12px; }
  .xa-aud h3 { font-size: 20px; }
  .xa-aud p { grid-column: 1 / -1; }
  .xa-brief-row { flex-direction: column; gap: 14px; padding: 20px; }
  .xa-scope-card { padding: 24px 20px; }
  .xa-area { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; text-align: center; justify-items: center; }
  .xa-area .eyebrow { justify-content: center; }
  .xa-area-pin { width: 60px; height: 60px; }
  .xa-area-pin .ph { font-size: 28px; }
  [data-layout="xa-index"] p.xa-area-big { font-size: 21px; }
  .xa-qi { margin-top: 56px; }
  .xa-qi-list strong { font-size: 18px; }
  .xa-q-a { font-size: 15.5px; }
  :is(.xa-gate-copy > div:first-child, .xa-surface-copy, .xa-intro, .xa-ledger-head, .xa-machine-copy, .xa-brief-head, .xa-qi-head, .xa-kj-copy, .xa-terms-head) { text-align: center; }
  :is(.xa-gate-copy > div:first-child, .xa-surface-copy, .xa-intro, .xa-ledger-head, .xa-machine-copy, .xa-brief-head, .xa-qi-head, .xa-kj-copy, .xa-terms-head, .xa-story, .xa-archive, .xa-faq-c) .eyebrow { display: flex; width: fit-content; margin-inline: auto; }
  :is(.xa-gate-copy, .xa-surface-copy, .xa-intro, .xa-ledger-head, .xa-machine-copy, .xa-kj-copy) p.xa-lead, .xa-ledger-head p.xa-ad-foot { text-align: left; }
  .xa-story > h2, .xa-archive > h2, .xa-faq-c > h2 { text-align: center; }
}

/* ---- 41-lf-b.css */
/* 41-lf-b: owner file of round 5 editor B (2026-12-02). Loaded after site.css and the lower owner files.
   The long-form block of /arokasas/, /betontores-bontas/, /talajfuras/ and /rotalas/ as several page sections
   (Matt b8dd7a51: "multiple sections ... doesn't have this table of contents, two-column layout"). Markup: kisgepi-site/lf_b.py.
   Scale (desktop / phone <= 768 px), the same as the /kertepites/ sections (30-garden.css): eyebrow 12 / 11, H2 40 / 28,
   sub-heading H2 .xb-h 26 / 22, card title H3 22 / 20, lead 17 / 16, body 16 / 15.5, label 14, meta 13.
   Text columns stay at about 60 to 80 characters on desktop (max-width 66ch or a two-column grid). */

/* ---------------------------------------------------------------- shared */
[data-layout^="xb-"] [id] { scroll-margin-top: 104px; }
[data-layout^="xb-"] .eyebrow .ph { font-size: 15px; }
[data-layout^="xb-"] h2 { font-size: var(--h2); margin: 16px 0 0; text-wrap: balance; }
[data-layout^="xb-"] h2.xb-h { font-size: 26px; line-height: 1.15; margin: 0 0 16px; }
[data-layout^="xb-"] h3 { font-size: var(--h3); line-height: 1.2; margin: 0 0 16px; }
[data-layout^="xb-"] p { font-size: 16px; line-height: 1.72; margin: 0 0 14px; }
[data-layout^="xb-"] p.xb-lead { font-size: 17px; line-height: 1.7; margin-top: 18px; }
[data-layout^="xb-"] :is(div, article) > p:last-child { margin-bottom: 0; }
[data-layout^="xb-"] strong { color: inherit; font-weight: 700; }
.paper[data-layout^="xb-"] p a:not(.btn) { color: var(--paper-accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.band-dark[data-layout^="xb-"] p a:not(.btn) { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.band-dark[data-layout^="xb-"] p { color: var(--band-text); }
.band-dark[data-layout^="xb-"] h2 { color: var(--heading); }
.xb-ic { flex: none; width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 10px; background: rgba(127,82,5,.1); color: var(--paper-accent); }
.xb-ic .ph { font-size: 22px; vertical-align: 0; }
.xb-tag { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1.2 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--paper-accent); }
.band-dark .xb-tag { color: var(--accent-text); }
.xb-num { display: block; font: 700 13px/1 var(--font-b); letter-spacing: .16em; color: var(--paper-accent); margin-bottom: 14px; }
.band-dark .xb-num { color: var(--accent-text); }
.xb-cols { columns: 2; column-gap: 56px; }
.xb-cols p:last-child { margin-bottom: 0; }
.xb-kicker { font: var(--h-weight) 22px/1.3 var(--font-h) !important; color: var(--paper-accent); }
.band-dark .xb-kicker { color: var(--accent-text) !important; }
/* Formula card: the calculator text with its formula as a label. */
.xb-formula { padding: 30px 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(20,19,17,.5); }
.paper .xb-formula { background: var(--paper-2); border-color: var(--paper-line); }
.xb-f { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 8px 14px; border-radius: 8px; font: 700 14px/1.2 var(--font-b); color: var(--accent-text); background: var(--accent-tint); }
.paper .xb-f { color: var(--paper-accent); background: rgba(127,82,5,.1); }
/* Photos: Kertújítók work photos with their visible label. */
.xb-fig { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-2); }
.xb-fig img { width: 100%; height: 100%; object-fit: cover; }
.xb-fig-note { position: absolute; left: 12px; bottom: 12px; background: rgba(20,19,17,.78); color: #f6f1e9; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
html.js .xb-fig[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--radius-lg)); transition: clip-path 1s cubic-bezier(.65,0,.35,1); }
html.js .xb-fig[data-reveal].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
/* FAQ: heading left, accordion right (arokasas, rotalas), or centred (betontores). */
.xb-faq-side { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 72px; align-items: start; }
:is(.xb-faq-side, .xb-faq-center, .xb-site-faq) .faq { max-width: none; margin: 0; }
[data-layout^="xb-"] details.faq-item > summary { font-size: 18px; }
[data-layout^="xb-"] details.faq-item .faq-a p { font-size: 16px; line-height: 1.7; }
.xb-faq-center { margin-top: 96px; padding-top: 64px; border-top: 1px solid var(--paper-line); }
.xb-faq-center .xb-faq-head { text-align: center; margin-bottom: 36px; }
.xb-faq-center .faq { max-width: 860px; margin: 0 auto; }

/* ---------------------------------------------------------------- /arokasas/ */
/* 1. Tasks: heading and lead left, the four trench jobs as icon tiles right, then the purpose text in two columns. */
.xb-dt-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 72px; align-items: center; }
.xb-dt-head p.xb-lead { max-width: 560px; }
.xb-dt-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.xb-dt-tiles li { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius-lg); background: #efeae2; border: 1px solid var(--paper-line); border-bottom: 4px solid var(--soil-1); color: var(--paper-text); font: 600 15.5px/1.45 var(--font-b); }
.xb-dt-why { margin-top: 72px; padding: 40px 44px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--paper-line); }
/* 2. Measure: the size text and the data card left, the access route right with a dug-trench line. */
.xb-dm { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px 80px; align-items: start; }
.xb-dm-card { margin-top: 32px; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--paper); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: end; }
.xb-dm-card h3 { grid-column: 1 / -1; margin-bottom: 8px; color: var(--paper-text); }
.xb-dm-card .spec-table { margin: 0; }
.xb-dm-card .spec-table tr:last-child :is(th, td) { border-bottom: 0; }
.xb-dm-card td { font: var(--h-weight) 22px/1.2 var(--font-h); }
.xb-dm-route { position: relative; padding: 32px 0 0 36px; }
.xb-trace { position: absolute; left: 0; top: 36px; bottom: 6px; width: 10px; border-radius: 5px; background: repeating-linear-gradient(180deg, var(--soil-1) 0 18px, var(--soil-2) 18px 30px); }
/* 3. Utilities: centred heading, then the two background texts as soil layers (darker edge for the deeper one). */
.xb-ds-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.xb-ds-head p.xb-lead { text-align: left; }
.xb-strata { display: grid; gap: 18px; }
.xb-layer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px 64px; padding: 40px 44px 40px 52px; border-radius: var(--radius-lg); background: #efeae2; border: 1px solid var(--paper-line); position: relative; overflow: hidden; }
.xb-layer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--soil-1); }
.xb-layer + .xb-layer { background: var(--paper-2); }
.xb-layer + .xb-layer::before { background: var(--soil-2); }
.xb-layer-h { display: grid; gap: 12px; align-content: start; }
.xb-depth { font: 700 13px/1 var(--font-b); letter-spacing: .16em; color: var(--paper-accent); }
.xb-layer-b { max-width: 560px; }
/* 4. Request sheet: the request text and the formula card, then the old page text with its first line as a kicker. */
.xb-sh-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: start; }
.xb-orig { margin-top: 80px; padding-top: 48px; border-top: 1px solid var(--line); }
.xb-orig .xb-kicker { margin-bottom: 22px; }
/* 5. FAQ: .xb-faq-side above. */

/* ---------------------------------------------------------------- /betontores-bontas/ */
/* 1. Two numbered rows: question and lead left, the background text right. */
.xb-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 72px; padding: 56px 0; border-bottom: 1px solid var(--paper-line); }
[data-layout="xb-slab-rows"] .eyebrow + .xb-row { margin-top: 28px; border-top: 1px solid var(--paper-line); }
.xb-row:last-child { padding-bottom: 0; border-bottom: 0; }
.xb-row-a h2 { font-size: 34px; margin-top: 0; }
.xb-row-b { max-width: 560px; }
html.js .xb-row[data-reveal] { opacity: 1; transform: none; }
/* 2. Rubble path: heading left, the three steps of the waste text on a rubble line right. */
.xb-rp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 80px; align-items: start; }
.xb-steps { position: relative; display: grid; gap: 30px; padding-left: 44px; }
.xb-steps::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 4px; border-radius: 2px; background: repeating-linear-gradient(180deg, var(--soil-1) 0 10px, transparent 10px 16px); }
.xb-step { position: relative; max-width: 560px; }
.xb-step .xb-tag { margin-bottom: 8px; }
.xb-node { position: absolute; left: -44px; top: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--soil-2); border: 2px solid var(--accent); transform: rotate(12deg); }
.xb-step:nth-child(2) .xb-node { transform: rotate(-18deg); border-radius: 4px 9px 5px 8px; }
.xb-step:nth-child(3) .xb-node { transform: rotate(32deg); border-radius: 8px 4px 9px 5px; }
/* 3. Breaker story: heading and kicker left, the long old text in two columns right. */
.xb-bs { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 72px; align-items: start; }
.xb-bs-head .xb-kicker { margin-top: 22px; padding-left: 18px; border-left: 4px solid var(--soil-1); }
.xb-bs-text { max-width: 560px; }
.xb-bs-text p { font-size: 17px; line-height: 1.78; }
/* 4. Reach: two text columns, then the uses list as a strip with the phone button. */
.xb-br { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: start; }
.xb-br-b { padding-top: 32px; }
.xb-uses-strip { margin-top: 56px; padding: 26px 30px; border-radius: var(--radius-lg); background: var(--paper); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; }
.xb-uses-strip h3 { margin: 0; color: var(--paper-text); }
.xb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.xb-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--paper-line); color: var(--paper-text); font: 600 14px/1.3 var(--font-b); }
.xb-chips .ph { color: var(--paper-accent); font-size: 17px; }
/* 5. Ask: request text and formula card, the FAQ centred below (.xb-faq-center). */
.xb-sa-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 72px; align-items: start; }

/* ---------------------------------------------------------------- /talajfuras/ */
/* 1. Fork: heading left and lead right, then the post-hole text as three rows with a bore-hole number. */
.xb-bf-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 72px; align-items: end; }
.xb-bf-head p.xb-lead { margin-top: 0; }
.xb-bf-card { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px 64px; padding: 44px; border-radius: var(--radius-lg); background: #efeae2; border: 1px solid var(--paper-line); }
.xb-bf-title { display: grid; gap: 16px; align-content: start; }
.xb-holes { display: grid; gap: 26px; }
.xb-hole-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; align-items: start; max-width: 560px; }
.xb-hole { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--font-b); color: #f6f1e9; background: radial-gradient(circle at 50% 42%, var(--soil-4) 0 46%, var(--soil-3) 47% 64%, var(--soil-2) 65%); box-shadow: 0 0 0 4px rgba(138,106,72,.28); }
/* 2. Gauge: centred heading, the data as four tiles with the phone button, then the volume text in two columns. */
.xb-bg-head { max-width: 640px; margin: 0 auto; text-align: center; }
.xb-bg-head p.xb-lead { text-align: left; }
.xb-bg-specs { margin-top: 48px; text-align: center; }
.xb-bg-specs h3 { color: var(--heading); }
.xb-bg-specs .spec-table, .xb-bg-specs tbody { display: block; margin: 0; }
.xb-bg-specs tbody { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.xb-bg-specs tr { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 22px 20px; border-radius: var(--radius-lg); background: rgba(20,19,17,.55); border: 1px solid var(--line); border-top: 3px solid var(--accent); text-align: left; }
.xb-bg-specs :is(th, td) { display: block; width: auto; padding: 0; border: 0; }
.xb-bg-specs th { color: var(--text-soft); font-size: 14px; }
.xb-bg-specs td { color: var(--heading); font: var(--h-weight) 24px/1.2 var(--font-h); }
.xb-bg-specs .btn { margin-top: 24px; background: var(--accent); color: var(--on-accent); }
.xb-bg-specs .btn:hover { background: var(--accent-strong); }
.xb-bg-calc > div:last-child { max-width: 560px; }
.xb-bg-calc { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 64px; align-items: start; }
/* 3. Story: the Kertújítók tree photo left, the old page text right, the planting depth note as a card. */
.xb-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: center; }
.xb-story-img { aspect-ratio: 4 / 5; max-height: 640px; }
.xb-story-copy { max-width: 560px; }
.xb-story-copy .xb-kicker { margin: 18px 0 16px; }
.xb-note { margin-top: 22px !important; padding: 20px 24px; border-radius: var(--radius); background: var(--paper-2); border-left: 4px solid var(--paper-accent); color: var(--paper-text); }
/* 4. Root zone: centred heading, the two planting texts as two columns divided by a root line. */
.xb-rz-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.xb-rz-head p.xb-lead { text-align: left; }
.xb-rz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 80px; position: relative; }
.xb-rz::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--soil-1), transparent); }
.xb-rz-col .xb-tag { margin-bottom: 14px; }
/* 5. Site: the site text left, the FAQ right. */
.xb-site { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; align-items: start; }
.xb-site-sub { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--paper-line); }
.xb-site-faq { padding: 36px; border-radius: var(--radius-lg); background: #efeae2; border: 1px solid var(--paper-line); }
.xb-site-faq .xb-faq-head { margin-bottom: 22px; }
.xb-site-faq h2.xb-h { margin-top: 14px; }
.xb-site-faq details.faq-item { background: var(--paper); }

/* ---------------------------------------------------------------- /rotalas/ */
/* 1. Surface goal: heading, lead and a soil profile (the 15 cm working layer) left, the preparation text right. */
.xb-sg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 80px; align-items: start; }
.xb-sg-b { padding-top: 8px; max-width: 560px; }
.xb-profile { display: grid; grid-template-rows: 64px 44px; margin-top: 36px; border-radius: var(--radius); overflow: hidden; }
.xb-profile i { display: flex; align-items: center; padding: 0 18px; }
.xb-pf-top { background: repeating-linear-gradient(90deg, rgba(43,38,32,.1) 0 2px, transparent 2px 14px), var(--soil-1); border-top: 6px solid #6f7d3a; }
.xb-pf-top span { font: 700 13px/1 var(--font-b); letter-spacing: .14em; color: #f6f1e9; }
.xb-pf-low { background: var(--soil-3); }
html.js .xb-profile[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0 round var(--radius)); transition: clip-path 1.1s cubic-bezier(.65,0,.35,1); }
html.js .xb-profile[data-reveal].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
/* 2. Rotor band: centred heading, then the old page text with the uses card. */
.xb-rb-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.xb-rb-head p.xb-lead { text-align: left; }
.xb-rb { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px 72px; align-items: center; }
.xb-rb-orig { max-width: 560px; }
.xb-rb-uses { padding: 30px; border-radius: var(--radius-lg); background: var(--paper); }
.xb-rb-uses h3 { color: var(--paper-text); }
.xb-rb-uses .ticks { margin: 0 0 22px; }
.xb-rb-uses .ticks li { color: var(--paper-text); }
.xb-rb-uses .ticks .ph { color: var(--paper-accent); }
/* 3. Stones: text left, the root pile photo right. */
.xb-sp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 72px; align-items: center; }
.xb-sp-copy { max-width: 560px; }
.xb-sp-copy h2 { margin-bottom: 22px; }
.xb-sp-img { aspect-ratio: 4 / 5; max-height: 600px; }
/* 4. Soil grid: the soil state text and the three background texts as a 2 x 2 card grid. */
.xb-grid4 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.xb-sgc { padding: 36px 38px; border-radius: var(--radius-lg); background: rgba(29,27,24,.78); border: 1px solid var(--line); }
.xb-sgc-lead { background: transparent; border: 0; padding: 12px 38px 12px 0; align-self: center; }
/* 5. Lawn next: a wide lawn photo, then the two texts side by side. */
.xb-ln-img { aspect-ratio: 21 / 8; }
.xb-ln { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; margin-top: 48px; align-items: start; }
.xb-ln-b { padding-top: 32px; }
/* 6. Ask: request text in one row, the FAQ below on the dark band. */
.xb-ra-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 72px; align-items: end; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.xb-ra-top p.xb-lead { margin: 0; max-width: 560px; }
.xb-faq-dark h2.xb-h { margin-top: 14px; }

@media (max-width: 1100px) {
  .xb-dt-top, .xb-dm, .xb-rp, .xb-bs, .xb-story, .xb-sg, .xb-rb, .xb-sp, .xb-faq-side, .xb-site { grid-template-columns: minmax(0, 1fr); }
  .xb-bg-specs tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xb-story-img, .xb-sp-img { aspect-ratio: 16 / 10; max-height: none; }
  .xb-layer, .xb-bf-card, .xb-bg-calc { grid-template-columns: minmax(0, 1fr); }
  .xb-row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .xb-sp-img { order: -1; }
}
@media (max-width: 900px) {
  .xb-sh-top, .xb-br, .xb-sa-top, .xb-bf-head, .xb-rz, .xb-grid4, .xb-ln, .xb-ra-top { grid-template-columns: minmax(0, 1fr); }
  .xb-rz::before { display: none; }
  .xb-cols { columns: 1; }
  .xb-uses-strip { grid-template-columns: minmax(0, 1fr); }
  .xb-sgc-lead { padding: 0 0 12px; }
  .xb-br-b, .xb-ln-b { padding-top: 0; }
  .xb-ln-img { aspect-ratio: 16 / 9; }
}
@media (max-width: 768px) {
  [data-layout^="xb-"] h2.xb-h { font-size: 22px; }
  [data-layout^="xb-"] h3 { font-size: 20px; }
  [data-layout^="xb-"] p { font-size: 15.5px; }
  [data-layout^="xb-"] p.xb-lead { font-size: 16px; }
  .xb-row-a h2 { font-size: 28px; }
  .xb-kicker { font-size: 20px !important; }
  [data-layout^="xb-"] details.faq-item > summary { font-size: 16px; }
  [data-layout^="xb-"] details.faq-item .faq-a p { font-size: 15.5px; }
  .xb-tel { display: none; }   /* NAV-03 (site.css): the fixed bottom bar gives the call button on a phone */
  .xb-dt-tiles { gap: 10px; }
  .xb-dt-tiles li { padding: 16px; font-size: 14.5px; }
  .xb-dt-why, .xb-formula, .xb-bf-card { padding: 26px 20px; }
  .xb-site-faq { padding: 0; background: none; border: 0; }
  .xb-dt-why { margin-top: 48px; }
  .xb-dm-card { padding: 22px 20px; }
  .xb-layer { padding: 28px 20px 28px 30px; }
  .xb-orig { margin-top: 56px; padding-top: 36px; }
  .xb-row { padding: 40px 0; }
  .xb-steps { padding-left: 38px; }
  .xb-node { left: -38px; }
  .xb-uses-strip { margin-top: 40px; padding: 22px 20px; }
  .xb-bf-card { margin-top: 44px; }
  .xb-hole-row { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
  .xb-hole { width: 36px; height: 36px; font-size: 13px; }
  .xb-bg-specs tbody { gap: 10px; }
  .xb-bg-specs tr { padding: 16px 14px; }
  .xb-bg-specs td { font-size: 20px; }
  .xb-bg-calc { margin-top: 52px; padding-top: 36px; }
  .xb-faq-center { margin-top: 64px; padding-top: 48px; }
  .xb-rb-uses { padding: 24px 20px; }
  .xb-sgc { padding: 26px 20px; }
  .xb-ra-top { padding-bottom: 40px; margin-bottom: 40px; }
  .xb-ds-head, .xb-rz-head, .xb-rb-head, .xb-bg-head { margin-bottom: 40px; }
}

/* ---- 42-lf-c.css */
/* 42-lf-c: owner file of editor C, round 5 (2026-12-02). Loaded after 30-garden.css.
   The long-form block of /talajlazitas/, /tereprendezes/, /termofold-behordas/ and /gepi-sepres/ as several page sections
   (Matt b8dd7a51: no contents list, no two-column block, same copy). Markup: kisgepi-site/lf_c.py. Every class and
   data-layout name starts with xc-. Tone, ground cuts and soil texture come from build.py earth() (paper = light,
   band-dark = dark). Drawings are CSS only (soil profile, slope with water, material route, layer slab, parking lot).
   Type scale as /kertepites/ (30-garden.css): H2 40 / 28 (--h2), sub-heading H2 .xc-h 26 / 22, lead 17 / 16,
   body 16 / 15.5, label 13, eyebrow 12. Text columns stay at about 60 to 80 characters on desktop. */

/* ---------------------------------------------------------------- shared */
[data-layout^="xc-"] .eyebrow .ph { font-size: 15px; }
[data-layout^="xc-"] h2 { font-size: var(--h2); margin: 16px 0 0; }
[data-layout^="xc-"] h2.xc-h { font-size: 26px; line-height: 1.15; margin: 0 0 18px; text-wrap: balance; }
[data-layout^="xc-"] p { font-size: 16px; line-height: 1.7; margin: 0 0 14px; }
[data-layout^="xc-"] :is(div, article, blockquote) > p:last-child { margin-bottom: 0; }
[data-layout^="xc-"] .xc-lead { margin-top: 18px; }
[data-layout^="xc-"] .xc-lead p { font-size: 17px; line-height: 1.72; }
[data-layout^="xc-"] [id] { scroll-margin-top: 104px; }
.paper[data-layout^="xc-"] p a:not(.btn) { color: var(--paper-accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
[data-layout^="xc-"]:not(.paper) p a:not(.btn) { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.band-dark[data-layout^="xc-"] p { color: var(--band-text); }
[data-layout^="xc-"] figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-2); }
[data-layout^="xc-"] figure img { width: 100%; height: 100%; object-fit: cover; }
[data-layout^="xc-"] figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(20,19,17,.78); color: #f6f1e9; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
html.js [data-layout^="xc-"] figure[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--radius-lg)); transition: clip-path 1s cubic-bezier(.65,0,.35,1); }
html.js [data-layout^="xc-"] figure[data-reveal].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

.xc-num { display: block; margin: 0 0 14px; font: 700 13px/1 var(--font-b); letter-spacing: .16em; color: var(--paper-accent); }
.band-dark .xc-num { color: var(--accent-text); }
.xc-mark { flex: none; width: 44px; height: 44px; display: inline-grid; place-items: center; margin: 0 0 18px; border-radius: 10px; background: rgba(127,82,5,.1); color: var(--paper-accent); }
.band-dark .xc-mark { background: var(--accent-tint); color: var(--accent-text); }
.xc-mark .ph { font-size: 22px; vertical-align: 0; }

/* Heading left, lead right (one row). */
.xc-headrow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 72px; align-items: end; }
.xc-headrow .xc-lead { margin: 0; max-width: 640px; }
/* Centred head. */
.xc-center { max-width: 780px; margin: 0 auto; text-align: center; }
.xc-center .xc-lead { max-width: 700px; margin-inline: auto; }

/* Light card and dark card. */
.xc-card { position: relative; padding: 28px 26px; border-radius: var(--radius-lg); background: #efeae2; border: 1px solid var(--paper-line); }
.band-dark .xc-card, .band-dark .xc-panel { background: rgba(20,19,17,.55); border: 1px solid var(--line); }
.xc-panel { padding: 34px 36px; border-radius: var(--radius-lg); background: #efeae2; border: 1px solid var(--paper-line); }
.xc-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }

/* The service side card of the old block, now inside a section (not sticky). On a dark band it keeps its paper colours. */
.xc-side .side-card { position: static; padding: 26px; box-shadow: 0 18px 44px rgba(20,19,17,.18); }
.xc-side .side-card h3 { font-size: 22px; margin-bottom: 14px; color: var(--paper-text); }
.xc-side .spec-table { margin-bottom: 20px; }

/* Note box: icon + text. */
.xc-note { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding: 28px 30px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--paper-line); }
.xc-note > .ph { flex: none; font-size: 26px; margin-top: 2px; color: var(--paper-accent); }

/* Number + heading left, text right (rows). */
.xc-ledger { margin-top: 64px; border-top: 1px solid var(--paper-line); }
.band-dark .xc-ledger, .band-dark .xc-led { border-color: var(--line); }
.xc-led { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px 72px; padding: 40px 0; border-bottom: 1px solid var(--paper-line); }
.xc-led-h { display: flex; flex-direction: column; align-items: flex-start; }
.xc-led-h .xc-num, .xc-led-h .xc-mark { margin-bottom: 14px; }
.xc-led-h h2.xc-h { margin: 0; }
.xc-led-b { max-width: 680px; }
html.js .xc-led[data-reveal] { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- /talajlazitas/ */
/* 1. Signs: head row, then the observation text as three cards with a soil band on top. */
.xc-seep { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--paper-line); }
.xc-seep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.xc-drip { padding-top: 38px; overflow: hidden; }
.xc-drip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: linear-gradient(90deg, var(--soil-1), var(--soil-2)); }
.xc-drip::after { content: ""; position: absolute; left: 26px; top: 10px; width: 6px; height: 14px; border-radius: 0 0 6px 6px; background: var(--soil-2); transform-origin: top; }
html.js .xc-drip[data-reveal]::after { transform: scaleY(0); transition: transform .9s cubic-bezier(.2,.8,.2,1) calc(var(--d, 0ms) + 400ms); }
html.js .xc-drip[data-reveal].is-in::after { transform: none; }

/* 2. Depth: soil profile drawing with the tines and the side card, beside the depth text. */
.xc-depth { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.xc-depth-fig { display: grid; gap: 24px; }
.xc-depth-copy { max-width: 700px; }
.xc-sub { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.xc-prof { position: relative; height: 380px; display: grid; grid-template-rows: 24fr 56fr 20fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
html.js .xc-prof[data-reveal] { opacity: 1; transform: none; }
.xc-prof-top { background: linear-gradient(180deg, #6f7f3c 0 10px, var(--soil-1) 10px); }
.xc-prof-hard { position: relative; background: repeating-linear-gradient(0deg, transparent 0 13px, rgba(0,0,0,.14) 13px 15px), var(--soil-2); }
.xc-prof-hard i { position: absolute; height: 2px; background: #d9c7a6; border-radius: 2px; opacity: .75; transform-origin: left; }
.xc-prof-hard i:nth-child(1) { left: 14%; top: 14%; width: 22%; transform: rotate(14deg); }
.xc-prof-hard i:nth-child(2) { left: 36%; top: 34%; width: 18%; transform: rotate(-20deg); }
.xc-prof-hard i:nth-child(3) { left: 52%; top: 22%; width: 20%; transform: rotate(24deg); }
.xc-prof-hard i:nth-child(4) { left: 18%; top: 46%; width: 26%; transform: rotate(-8deg); }
.xc-prof-sub { background: var(--soil-3); }
/* Fix round 1 (critic 1a): the 30 cm line is a dashed mark inside the compact layer, which goes on below it. */
.xc-prof::after { content: ""; position: absolute; left: 0; right: 64px; top: 56%; border-top: 1px dashed rgba(246,241,233,.4); pointer-events: none; }
.xc-tines { position: absolute; left: 12%; right: 30%; top: 0; height: 56%; display: flex; justify-content: space-between; pointer-events: none; }
.xc-tines b { width: 12px; height: 100%; background: linear-gradient(90deg, #8f887d, #d6d0c6 45%, #8f887d); clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%); transition: transform 1.1s cubic-bezier(.65,0,.35,1); }
.xc-tines b:nth-child(2) { transition-delay: .12s; }
.xc-tines b:nth-child(3) { transition-delay: .24s; }
html.js .xc-prof:not(.is-in) .xc-tines b { transform: translateY(-102%); }
html.js .xc-prof .xc-prof-hard i { transition: transform .5s ease 1.2s, opacity .5s ease 1.2s; }
html.js .xc-prof:not(.is-in) .xc-prof-hard i { opacity: 0; }
.xc-ruler { position: absolute; top: 0; right: 0; width: 64px; height: 56%; border-left: 2px solid rgba(246,241,233,.7); }
.xc-ruler span { position: absolute; left: 0; padding-left: 14px; font: 700 12px/1 var(--font-b); color: #f6f1e9; transform: translateY(-50%); white-space: nowrap; }
.xc-ruler span::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 2px; background: rgba(246,241,233,.7); }
.xc-ruler span:nth-child(1) { top: 8px; }
.xc-ruler span:nth-child(2) { top: 33.3%; }
.xc-ruler span:nth-child(3) { top: 66.6%; }
.xc-ruler span:nth-child(4) { top: calc(100% - 8px); color: var(--accent); right: 6px; }

/* 3. Choice: centred head, the goal text as numbered rows, the old text with a photo. */
.xc-rows { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 72px; margin-top: 80px; }
.xc-rows h2.xc-h { margin: 0; }
.xc-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); padding: 24px 0; border-top: 1px solid var(--paper-line); max-width: 720px; }
.xc-row:first-child { border-top: 0; padding-top: 0; }
.xc-row .xc-num { margin: 6px 0 0; }
.xc-old { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0; margin-top: 80px; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); border: 1px solid var(--paper-line); }
/* Fix round 3 (QA P-r2): the photo fills its grid column only. aspect-ratio + min-height made it 610 px wide in a 545 px
   column, under the text. Height comes from the row (the text), width from the column. */
.xc-old figure { border-radius: 0; width: 100%; min-width: 0; height: 100%; min-height: 320px; aspect-ratio: auto; }
html.js .xc-old figure[data-reveal] { clip-path: inset(0 0 100% 0); }
html.js .xc-old figure[data-reveal].is-in { clip-path: inset(0); }
.xc-old-copy { padding: 44px 48px; align-self: center; }
.xc-tag { margin-bottom: 16px; }
.xc-tag p { font: var(--h-weight) 28px/1.2 var(--font-h) !important; color: var(--paper-text); letter-spacing: var(--h-track); }

/* 4. After loosening: head row, the three paragraphs as stepping stones that go down. */
.xc-stones { margin-top: 72px; }
.xc-stone-path { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.xc-stone-path::before { content: ""; position: absolute; left: 4%; right: 4%; top: 70px; height: 112px; border-top: 2px dashed rgba(229,168,50,.45); transform: skewY(4deg); transform-origin: left; pointer-events: none; }
.xc-stone { position: relative; padding: 28px 26px; border-radius: 22px 22px 22px 6px; background: rgba(20,19,17,.6); border: 1px solid var(--line); }
.xc-stone:nth-child(2) { margin-top: 56px; }
.xc-stone:nth-child(3) { margin-top: 112px; }

/* 5. Request data and FAQ side by side. */
.xc-ask { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.xc-ask-copy { max-width: 660px; }
.xc-ask-faq h2.xc-h { margin: 16px 0 22px; }
.xc-ask-faq .faq { max-width: none; margin: 0; }

/* ---------------------------------------------------------------- /tereprendezes/ */
/* 1. Garden goal: centred head, the work order as a dotted line with three points. */
.xc-seq { margin-top: 80px; }
.xc-seq-line { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 30px; }
.xc-seq-line::before { content: ""; position: absolute; left: 18px; right: 18px; top: 17px; height: 2px; background: repeating-linear-gradient(90deg, var(--paper-accent) 0 10px, transparent 10px 18px); opacity: .6; }
.xc-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 22px; border-radius: 50%; background: var(--paper-accent); color: var(--paper); font: 700 15px/1 var(--font-b); box-shadow: 0 0 0 6px var(--paper); }

/* 2. Tools: copy and side card, the old text with a photo, coarse and fine as a texture strip with three columns. */
.xc-tools-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: center; }
.xc-tools-top .xc-lead { max-width: 640px; }
.xc-quote { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-top: 80px; }
.xc-quote figure { aspect-ratio: 4 / 5; max-height: 560px; background: var(--surface-2); }
.xc-quote blockquote { margin: 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--accent); max-width: 640px; }
.xc-quote blockquote p { font-size: 17px; line-height: 1.8; color: #efe6d8 !important; }
.xc-rough { margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--line); }
.xc-grain { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 64px; margin-bottom: 30px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.xc-grain-r { background: radial-gradient(circle at 50% 50%, var(--soil-1) 0 4px, transparent 4.5px) 0 0 / 24px 20px, radial-gradient(circle at 50% 50%, #6d553b 0 3px, transparent 3.5px) 12px 10px / 24px 20px, var(--soil-3); }
.xc-grain-f { background: radial-gradient(circle at 50% 50%, var(--soil-1) 0 1.2px, transparent 1.6px) 0 0 / 7px 6px, var(--soil-2); }
.xc-gl { position: absolute; top: 50%; transform: translateY(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(20,19,17,.78); color: #f6f1e9; font: 700 12px/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; }
.xc-gl:nth-of-type(3) { left: 14px; }
.xc-gl:nth-of-type(4) { left: calc(50% + 14px); }
html.js .xc-grain[data-reveal] { opacity: 1; transform: none; }
.xc-grain-r, .xc-grain-f { transform-origin: left; transition: transform 1.1s cubic-bezier(.65,0,.35,1); }
.xc-grain-f { transition-delay: .5s; }
html.js .xc-grain:not(.is-in) :is(.xc-grain-r, .xc-grain-f) { transform: scaleX(0); }
.xc-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.xc-cols3 p { margin: 0; }

/* 3. Water: head row, a slope drawing with water drops that run to the low point, the planning text in a 2 x 2 grid. */
.xc-slope { position: relative; height: 170px; margin: 48px 0 56px; }
html.js .xc-slope[data-reveal] { opacity: 1; transform: none; }
.xc-slope svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.xc-slope-g { fill: #d2c6b3; }
.xc-slope-l { fill: none; stroke: var(--paper-accent); stroke-width: 3; vector-effect: non-scaling-stroke; }
.xc-house { position: absolute; left: 2%; top: calc(32% - 62px); width: 76px; height: 64px; background: var(--paper-text); clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 38%); }
.xc-slope i { position: absolute; left: 10%; top: 30%; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; background: #4d7f96; transform: rotate(-45deg); opacity: 0; }
.xc-slope.is-in i, html:not(.js) .xc-slope i { animation: xc-run 5.4s cubic-bezier(.45,0,.6,1) infinite; }
.xc-slope i:nth-of-type(2) { animation-delay: 1.8s !important; }
.xc-slope i:nth-of-type(3) { animation-delay: 3.6s !important; }
.xc-slope::after { content: ""; position: absolute; right: 2%; top: 87%; width: 15%; height: 10px; border-radius: 50%; background: rgba(77,127,150,.45); }
@keyframes xc-run {
  0% { left: 10%; top: 26%; opacity: 0; }
  8% { opacity: 1; }
  35% { left: 36%; top: 40%; }
  60% { left: 58%; top: 58%; }
  85% { left: 82%; top: 78%; opacity: 1; }
  100% { left: 90%; top: 82%; opacity: 0; }
}
.xc-quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.xc-qcell { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 26px 28px; border-radius: var(--radius-lg); background: #efeae2; border: 1px solid var(--paper-line); }
.xc-qcell > .ph { font-size: 22px; margin-top: 3px; color: #4d7f96; }

/* 4. Ground: centred head, topsoil and access as two dark panels. Uses .xc-duo / .xc-panel (shared). */

/* 5. Volume: an outlined m³ beside the head, the three estimate blocks as rows. Uses .xc-ledger (shared). */
.xc-vol-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: center; }
.xc-vol-head .xc-lead { max-width: 640px; }
.xc-big { font: 800 168px/.8 var(--font-h); color: rgba(127,82,5,.2); letter-spacing: -.04em; }

/* 6. FAQ: centred head, accordion in two columns. */
.xc-faq2 { max-width: none; margin: 44px 0 0; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px 16px; }

/* ---------------------------------------------------------------- /termofold-behordas/ */
/* 1. Route: head, then the boundary text as three stops on a wheel track. */
.xc-route-head { max-width: 760px; }
.xc-route { margin-top: 72px; }
.xc-stops { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 30px; }
.xc-stops::before, .xc-stops::after { content: ""; position: absolute; left: 28px; right: 28px; height: 3px; background: repeating-linear-gradient(90deg, var(--soil-2) 0 14px, transparent 14px 22px); opacity: .55; }
.xc-stops::before { top: 20px; }
.xc-stops::after { top: 34px; }
.xc-stop { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 50%; background: var(--paper-accent); color: var(--paper); box-shadow: 0 0 0 7px var(--paper); }
.xc-stop .ph { font-size: 26px; vertical-align: 0; }

/* 2. Path: side card left, copy right, the old description as a long quote with a photo. */
.xc-path-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.xc-path-top .xc-side { order: -1; }
.xc-path-top .xc-lead { max-width: 640px; }
.xc-archive { margin-top: 80px; padding-top: 44px; border-top: 1px solid var(--line); }
.xc-archive-head { max-width: 760px; }
.xc-meta p { font-size: 14px !important; line-height: 1.6; color: var(--text-soft) !important; }
.xc-archive-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; margin-top: 30px; }
.xc-archive-body figure { order: 2; aspect-ratio: 3 / 4; background: var(--surface-2); }
.xc-archive-body blockquote { margin: 0; max-width: 660px; }
.xc-archive-body blockquote p { font-size: 17px; line-height: 1.82; color: #efe6d8 !important; }
.xc-archive-body blockquote p:first-child::first-letter { float: left; margin: 8px 12px 0 0; font: 800 62px/.8 var(--font-h); color: var(--accent); }

/* 3. Layer: what to show as three tiles, the layer slab beside the amount, cubic metres and soil as two panels. */
.xc-check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.xc-layer-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; margin-top: 88px; }
.xc-layer-split .xc-lead { max-width: 640px; }
.xc-slab { position: relative; height: 240px; margin: 0 24px; }
html.js .xc-slab[data-reveal] { opacity: 1; transform: none; }
.xc-slab-top { position: absolute; left: 0; right: 0; top: 20%; height: 34%; background: linear-gradient(135deg, #7a5f3f, #9a7a56); clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%); }
.xc-slab-side { position: absolute; right: 0; width: 16%; top: 20%; height: 56%; background: #4a3828; clip-path: polygon(100% 0, 0 60.7%, 0 100%, 100% 39.3%); }
.xc-slab-front { position: absolute; left: 0; right: 16%; top: 54%; height: 22%; background: repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0 2px, transparent 2px 9px), var(--soil-2); border-radius: 0 0 6px 6px; transform-origin: bottom; transition: transform .9s cubic-bezier(.2,.8,.2,1) .2s; }
html.js .xc-slab:not(.is-in) .xc-slab-front { transform: scaleY(.15); }
.xc-arr { position: absolute; background: var(--paper-accent); }
.xc-arr::before, .xc-arr::after { content: ""; position: absolute; width: 9px; height: 9px; border: solid var(--paper-accent); border-width: 2px 2px 0 0; }
.xc-arr-l { left: 0; right: 16%; top: 86%; height: 2px; }
.xc-arr-l::before { left: 0; top: -4px; transform: rotate(-135deg); }
.xc-arr-l::after { right: 0; top: -4px; transform: rotate(45deg); }
.xc-arr-v { right: -18px; top: 54%; height: 22%; width: 2px; }
.xc-arr-v::before { top: 0; left: -4px; transform: rotate(-45deg); }
.xc-arr-v::after { bottom: 0; left: -4px; transform: rotate(135deg); }

/* 4. Next: head row, timing as a time line, materials as small pile cards. */
.xc-next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-top: 72px; }
.xc-time { position: relative; padding-left: 34px; }
.xc-time::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(180deg, rgba(229,168,50,.55) 0 8px, transparent 8px 14px); }
.xc-time-i { position: relative; padding-bottom: 22px; }
.xc-time-i:last-child { padding-bottom: 0; }
.xc-time-i::before { content: ""; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(229,168,50,.18); }
.xc-piles { display: grid; gap: 16px; }
.xc-pile { position: relative; padding: 46px 26px 24px; border-radius: var(--radius-lg); background: rgba(20,19,17,.55); border: 1px solid var(--line); }
.xc-pile::before { content: ""; position: absolute; left: 26px; top: 16px; width: 46px; height: 18px; border-radius: 46px 46px 4px 4px; background: radial-gradient(circle at 30% 60%, rgba(0,0,0,.2) 0 2px, transparent 2.5px) 0 0 / 9px 7px, var(--soil-1); }
.xc-pile:nth-child(2)::before { background-color: #9c8f7d; }
.xc-pile:nth-child(3)::before { background-color: #b7aa95; }

/* 5. FAQ: heading left, accordion right. */
.xc-fs { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 72px; align-items: start; }
.xc-fs .faq { max-width: none; margin: 0; }

/* ---------------------------------------------------------------- /gepi-sepres/ */
/* 1. Statement: the adapter text large, the call card beside it, sweep lanes in the background. */
[data-layout="xc-statement"] { background-image: repeating-linear-gradient(100deg, transparent 0 160px, rgba(127,82,5,.022) 160px 320px); }
.xc-stmt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: center; }
.xc-big-p { margin-top: 22px; max-width: 700px; }
.xc-big-p p { font-size: 20px !important; line-height: 1.65 !important; color: var(--paper-text); }
.xc-side-call .side-card { text-align: center; padding: 34px 28px; }
.xc-side-call .side-card h3 { font-size: 26px; }

/* 2. Frequency: head row, three cards with a calendar binding on top. */
.xc-freq { margin-top: 72px; }
.xc-freq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.xc-cal { padding-top: 36px; }
.xc-cal::before { content: ""; position: absolute; left: 50%; top: -7px; width: 64px; height: 14px; transform: translateX(-50%); background: radial-gradient(circle, var(--accent) 0 4px, transparent 4.5px) 0 0 / 32px 14px; }

/* 3. Surface: centred head, condition and dirt as two lanes with a broom edge on top. */
.xc-lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.xc-lane { position: relative; padding: 44px 36px 34px; border-radius: var(--radius-lg); background: #efeae2; border: 1px solid var(--paper-line); overflow: hidden; }
.xc-lane::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(90deg, var(--paper-accent) 0 3px, transparent 3px 7px); opacity: .55; }

/* 4. Dust: a water drop with rings beside the head, then two rows. */
.xc-mist { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: center; max-width: 980px; }
.xc-mist .xc-lead { max-width: 640px; }
.xc-mist-ic { position: relative; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(229,168,50,.22), rgba(229,168,50,.06) 70%); color: var(--accent); }
.xc-mist-ic .ph { font-size: 64px; vertical-align: 0; }
.xc-mist-ic::before, .xc-mist-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(229,168,50,.35); animation: xc-ring 3.6s ease-out infinite; }
.xc-mist-ic::after { animation-delay: 1.8s; }
@keyframes xc-ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* 5. Area: parking lot plan (bays, an island left out, the sweep pass) beside the head, then the note and the four
   result paragraphs in a 2 x 2 grid. */
.xc-area-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.xc-area-top .xc-lead { max-width: 640px; }
.xc-lot { position: relative; aspect-ratio: 16 / 10; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr; gap: 0; padding: 0 0; border-radius: var(--radius-lg); overflow: hidden; background: #5d564e; }
html.js .xc-lot[data-reveal] { opacity: 1; transform: none; }
.xc-lot i { border-left: 3px solid rgba(246,241,233,.8); margin: 10% 0; }
.xc-lot i:nth-child(4n + 1) { border-left-color: transparent; }
.xc-lot i:nth-child(-n + 4) { margin-bottom: 26%; }
.xc-lot i:nth-child(n + 5) { margin-top: 26%; }
.xc-lot-isle { position: absolute; z-index: 2; left: 40%; top: 42%; width: 20%; height: 16%; border-radius: 10px; background: repeating-linear-gradient(45deg, #7d8f4a 0 6px, #6b7c3e 6px 12px); }
.xc-lot-pass { position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 26%; background: linear-gradient(90deg, transparent, rgba(229,168,50,.35) 60%, rgba(229,168,50,.55)); mix-blend-mode: screen; }
.xc-lot.is-in .xc-lot-pass, html:not(.js) .xc-lot-pass { animation: xc-pass 6s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes xc-pass { 0% { transform: translateX(-100%); } 70%, 100% { transform: translateX(400%); } }
.xc-area-grid { margin-top: 64px; }
.xc-area-grid .xc-note { margin-top: 0; max-width: 900px; }
.xc-out { margin-top: 64px; }
.xc-cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 48px; }
.xc-cols2 p { margin: 0; padding-top: 18px; border-top: 2px solid var(--paper-line); }

/* 6. FAQ: centred head, one numbered accordion column. */
.xc-fb-head { text-align: center; }
.xc-faq-num { counter-reset: xcq; margin-top: 40px; }
.xc-faq-num details.faq-item > summary::before { counter-increment: xcq; content: counter(xcq, decimal-leading-zero); flex: none; min-width: 24px; font-variant-numeric: tabular-nums; font: 700 13px/1 var(--font-b); letter-spacing: .16em; color: var(--paper-accent); }

/* ---------------------------------------------------------------- widths */
@media (max-width: 1100px) {
  .xc-headrow, .xc-depth, .xc-rows, .xc-ask, .xc-tools-top, .xc-path-top, .xc-layer-split, .xc-area-top, .xc-stmt, .xc-fs, .xc-led { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .xc-led { gap: 14px; }
  .xc-depth-fig { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .xc-quote { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 40px; }
  .xc-old { grid-template-columns: minmax(0, 1fr); }
  .xc-old figure { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .xc-old-copy { max-width: 760px; }
  .xc-path-top .xc-side { order: 0; }
  .xc-side { max-width: 520px; }
  .xc-cols3 { grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 720px; }
}
@media (max-width: 900px) {
  .xc-seep-grid, .xc-check-grid, .xc-freq-grid, .xc-duo, .xc-lanes, .xc-quad, .xc-next-grid, .xc-faq2, .xc-cols2 { grid-template-columns: minmax(0, 1fr); }
  .xc-stone-path { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-left: 26px; }
  .xc-stone-path::before { left: 6px; right: auto; top: 20px; bottom: 20px; height: auto; border-top: 0; border-left: 2px dashed rgba(229,168,50,.45); transform: none; }
  .xc-stone:nth-child(n) { margin-top: 0; }
  .xc-quote { grid-template-columns: minmax(0, 1fr); }
  .xc-quote figure { aspect-ratio: 16 / 10; }
  .xc-archive-body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .xc-archive-body figure { order: -1; aspect-ratio: 16 / 10; }
  .xc-seq-line, .xc-stops { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-left: 58px; }
  .xc-seq-line::before { left: 17px; right: auto; top: 18px; bottom: 18px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--paper-accent) 0 10px, transparent 10px 18px); }
  .xc-stops::before, .xc-stops::after { left: auto; right: auto; top: 28px; bottom: 28px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--soil-2) 0 14px, transparent 14px 22px); }
  .xc-stops::before { left: 20px; }
  .xc-stops::after { left: 34px; }
  .xc-dot { position: absolute; left: -58px; top: 0; margin: 0; }
  .xc-stop { position: absolute; left: -58px; top: -4px; width: 46px; height: 46px; margin: 0; box-shadow: 0 0 0 5px var(--paper); }
  .xc-stop .ph { font-size: 22px; }
  .xc-seq-i, .xc-stop-i { position: relative; min-height: 46px; }
  .xc-stops { padding-left: 64px; }
  .xc-stop { left: -64px; }
}
@media (max-width: 768px) {
  [data-layout^="xc-"] h2.xc-h { font-size: 22px; }
  [data-layout^="xc-"] p { font-size: 15.5px; }
  [data-layout^="xc-"] .xc-lead p, .xc-quote blockquote p, .xc-archive-body blockquote p { font-size: 16px; }
  .xc-big-p p { font-size: 17px !important; }
  .xc-meta p { font-size: 13px !important; }
  .xc-center { text-align: center; }
  .xc-center .xc-lead { text-align: left; }
  .xc-headrow .eyebrow, .xc-center .eyebrow { display: flex; width: fit-content; }
  .xc-center .eyebrow { margin-inline: auto; }
  .xc-seep, .xc-stones, .xc-seq, .xc-route, .xc-freq { margin-top: 48px; }
  .xc-rows, .xc-old, .xc-quote, .xc-rough, .xc-archive, .xc-layer-split, .xc-duo, .xc-lanes, .xc-ledger, .xc-next-grid, .xc-area-grid, .xc-out { margin-top: 48px; }
  .xc-depth-fig { grid-template-columns: minmax(0, 1fr); }
  .xc-prof { height: 300px; }
  .xc-old-copy { padding: 26px 22px; }
  .xc-tag p { font-size: 23px !important; }
  .xc-card, .xc-panel, .xc-lane, .xc-qcell, .xc-pile { padding-left: 20px; padding-right: 20px; }
  .xc-panel { padding-top: 26px; padding-bottom: 26px; }
  .xc-note { padding: 22px 20px; gap: 14px; }
  .xc-led { padding: 30px 0; }
  .xc-vol-head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .xc-big { font-size: 96px; }
  .xc-mist { grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: start; }
  .xc-mist-ic { width: 104px; height: 104px; }
  .xc-mist-ic .ph { font-size: 44px; }
  .xc-slope { height: 120px; margin: 32px 0 40px; }
  .xc-house { width: 48px; height: 42px; top: calc(32% - 40px); }
  .xc-grain { height: 52px; }
  .xc-slab { height: 180px; margin: 0 26px 0 0; }
  .xc-side { max-width: none; }
  .xc-side-call .side-card { padding: 24px 20px; }
  .xc-faq-num details.faq-item > summary::before { font-size: 12px; }
}

/* ---- 50-r6.css */
/* Round 6 (Matt's onboarding answers, 2026-12-02). Owner: kisgepi-site/build.py page_contact(), footer(). The reviews band moved to 60-reviews.css (2026-12-02).
   - ct-hours: opening hours line under the /kapcsolat/ contact tiles.
   - svc-grid: 8 service cards since the snow work page left (round 6): 4 columns on wide screens, so no row has a gap. */
.paper .sec-head p a { color: var(--paper-accent); font-weight: 600; }

.ct-hours { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 26px 0 0; font-size: 17px; color: var(--heading); text-align: center; }
.ct-hours .ph { font-size: 22px; color: var(--accent-text); }
.ct-hours + .ct-company { margin-top: 8px; }

@media (min-width: 1101px) {
  .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 768px) {
  .ct-hours { font-size: 16px; align-items: flex-start; text-align: left; justify-content: flex-start; }
}

/* ---- 60-reviews.css */
/* Értékelések band (2026-12-02). Owner: kisgepi-site/build.py reviews_section() and the "Google reviews" block of src/site.js.
   Live Google reviews in moving columns, the motion of the kertujitok.hu "Ügyfeleink mondták" section (vertical loop, the
   middle column runs the other way), in the Kisgépi paper band colours.
   - The score row and .rv-stage keep their size before and after the load (no layout shift). Only a failed or empty load
     (.rv.is-empty) drops them: then one link card and the two buttons, centred.
   - Columns: 3 on desktop, 2 up to 1100 px, 1 on phones. site.js sets --rv-dur per column from its content height.
   - The loop pauses while the pointer or the focus is on a column (links stay clickable) and while the band is off screen. */
.rv-band { overflow: hidden; }
.rv-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin: -16px 0 34px; }
.rv-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; min-height: 50px; color: var(--paper-text); }
.rv-score.is-wait { visibility: hidden; }
.rv-actions { margin-left: auto; }
.rv.is-empty .rv-score { display: none; }
.rv.is-empty .rv-actions { margin-inline: auto; justify-content: center; }
.rv-rating { font: 800 46px/1 var(--font-h); letter-spacing: -.02em; }
.rv-stars { --r: 5; font-size: 21px; letter-spacing: 3px; line-height: 1; background: linear-gradient(90deg, var(--accent) calc(var(--r) * 20%), rgba(43,38,32,.2) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv-count { font-size: 16px; color: var(--paper-soft); }
.rv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rv-band .btn-line { color: var(--paper-text); border-color: rgba(43,38,32,.35); }
.rv-band .btn-line:hover { color: var(--paper-accent); border-color: var(--paper-accent); }

.rv-stage { position: relative; height: 680px; display: flex; gap: 22px; justify-content: center; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent); }
.rv.is-empty .rv-stage { height: auto; -webkit-mask-image: none; mask-image: none; }
.rv-fallback { align-self: center; max-width: 520px; padding: 28px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--paper-line); text-align: center; }
.rv-fallback p { margin: 0 0 12px; color: var(--paper-text); font-size: 16px; }
.rv-fallback a { display: inline-flex; align-items: center; gap: 6px; color: var(--paper-accent); font-weight: 700; }

.rv-col { flex: 1; max-width: 380px; min-width: 0; }
.rv-track { display: flex; flex-direction: column; gap: 22px; animation: rv-loop var(--rv-dur, 60s) linear infinite; animation-play-state: paused; will-change: transform; }
.rv-col.rv-rev .rv-track { animation-direction: reverse; }
.rv-stage.is-run .rv-track { animation-play-state: running; }
.rv-stage.is-run .rv-col:hover .rv-track, .rv-stage.is-run .rv-col:focus-within .rv-track { animation-play-state: paused; }
@keyframes rv-loop { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 11px)); } }

.rv-card { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 26px 26px 20px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--paper-line); color: var(--paper-text); }
.rv-card-head { display: flex; align-items: center; gap: 12px; }
.rv-card-head > div { min-width: 0; }
.rv-g { flex: none; margin-left: auto; align-self: flex-start; width: 22px; height: 22px; }
.rv-card-head img, .rv-av { flex: none; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--paper-line); }
.rv-av { display: inline-grid; place-items: center; color: var(--paper); background: var(--paper-text); font: 700 15px/1 var(--font-b); }
.rv-author { display: block; font: 700 15px/1.3 var(--font-b); color: var(--paper-text); text-decoration: none; }
a.rv-author:hover { color: var(--paper-accent); }
.rv-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 13px; color: var(--paper-soft); }
.rv-meta .rv-stars { font-size: 14px; letter-spacing: 1.5px; }
.rv-card > .ph { font-size: 26px; color: var(--paper-accent); margin-bottom: -6px; }
.rv-card p { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--paper-text); overflow-wrap: anywhere; }
.rv-translated { font-size: 12.5px; font-style: italic; color: var(--paper-soft); }
.rv-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding-top: 14px; border-top: 1px solid var(--paper-line); font-size: 13px; }
.rv-credit { font: 400 13px/1 Roboto, Arial, sans-serif; white-space: nowrap; color: var(--paper-text); }
.rv-card-foot a { color: var(--paper-soft); text-decoration: underline; text-underline-offset: 2px; }
.rv-card-foot a:hover { color: var(--paper-accent); }
.rv-note { margin: 18px 0 0; font-size: 13px; color: var(--paper-soft); text-align: center; }

@media (max-width: 1100px) {
  .rv-col:nth-child(3) { display: none; }
}
@media (max-width: 768px) {
  .rv-head { flex-direction: column; align-items: stretch; margin: -20px 0 26px; }
  .rv-score { justify-content: flex-start; min-height: 76px; }
  .rv-actions, .rv.is-empty .rv-actions { margin-inline: 0; }
  .rv-rating { font-size: 40px; }
  .rv-actions { display: grid; grid-template-columns: 1fr; }
  .rv-actions .btn { white-space: normal; text-align: center; }
  .rv-stage { height: 600px; }
  .rv-col:nth-child(2) { display: none; }
  .rv-col { max-width: none; }
  .rv-card { padding: 22px 20px 18px; }
  .rv-card p { font-size: 15px; }
  .rv-note { text-align: left; }
}
