/* =========================================================
   Faudvar Kft. – raklapgyártás, fakereskedelem
   ========================================================= */

:root {
  --green-900: #12301c;
  --green-800: #173d24;
  --green-700: #1f4d2e;
  --green-600: #2a6440;
  --brown-800: #5a3517;
  --brown-700: #7a4a22;
  --brown-500: #a06a38;
  --wood-300: #c89b6a;
  --wood-200: #e2c9a6;
  --wood-100: #f1e6d4;
  --cream: #f5f3ee;
  --paper: #fbfaf7;
  --ink: #22201c;
  --ink-soft: #57524a;
  --line: #e2ddd3;

  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(34, 32, 28, .06), 0 8px 24px rgba(34, 32, 28, .08);
  --shadow-lg: 0 2px 4px rgba(34, 32, 28, .06), 0 20px 48px rgba(34, 32, 28, .14);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--brown-700); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0 0 .6em;
  color: var(--green-900);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--green-700); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--wood-300); outline-offset: 2px; }

/* ---------- Eyebrow / section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brown-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  padding: 14px 26px; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brown-700); color: #fff; }
.btn-primary:hover { background: var(--brown-800); color: #fff; }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green-800); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--green-900); }
.btn-outline { border-color: var(--green-700); color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 58px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 900; font-size: 1.55rem; letter-spacing: .01em; color: var(--brown-700); }
.brand-name b { color: var(--green-700); font-weight: 900; }
.brand-name small { font-size: .62em; margin-left: 4px; color: var(--brown-700); }
.brand-tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 5px; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 10px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.main-nav a:hover { color: var(--green-700); background: rgba(31, 77, 46, .06); }
.main-nav a[aria-current="page"] { color: var(--green-700); box-shadow: inset 0 -3px 0 var(--wood-300); border-radius: 0; }

.has-sub { position: relative; }
.has-sub > a::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; vertical-align: 3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.sub {
  position: absolute; top: 100%; left: 0; min-width: 270px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { font-weight: 500; }
.sub a span { color: var(--ink-soft); font-size: .85em; margin-left: 6px; }

.header-cta { flex-shrink: 0; padding: 11px 18px; font-size: .95rem; }

/* nyelvváltó: asztali nézetben gomb a menü mellett, mobilon menüpont */
.site-header .header-inner { max-width: 1400px; }
.lang-switch {
  flex-shrink: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .06em; line-height: 1;
  color: var(--green-700); text-decoration: none;
}
.lang-switch:hover { border-color: var(--green-700); background: rgba(31, 77, 46, .06); }
.main-nav .lang-item { display: none; }
.lang-code {
  display: inline-block; margin-right: 8px; padding: 4px 7px; border-radius: 6px; background: var(--green-700); color: #fff;
  font-family: var(--font-head); font-size: .75rem; letter-spacing: .06em; vertical-align: 2px;
}

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius); cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--green-900); margin: 0 auto; position: relative; transition: .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1400px) {
  .header-cta { display: none; }
}
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .lang-switch { display: none; }
  .main-nav .lang-item { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--cream);
    padding: 16px 16px 40px; overflow-y: auto; display: none;
  }
  .nav-open .main-nav { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a { padding: 15px 8px; font-size: 1.05rem; }
  .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--wood-300); padding-left: 16px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 10px 12px; min-width: 0; }
  .has-sub > a::after { display: none; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand img { width: 46px; }
  .brand-name { font-size: 1.3rem; }
  .brand-tag { font-size: .58rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  min-height: min(86vh, 760px); display: flex; align-items: center;
  padding: 90px 0 120px; overflow: hidden;
  background: #1e160e;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(22, 16, 10, .9) 0%, rgba(30, 22, 14, .72) 42%, rgba(30, 22, 14, .12) 100%),
    linear-gradient(0deg, rgba(18, 48, 28, .55), transparent 45%);
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--wood-300); }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 560px; font-size: 1.2rem; }
.hero .eyebrow { color: var(--wood-200); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 46px; padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .2); max-width: 640px; list-style: none; padding-left: 0;
}
.hero-facts li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.hero-facts svg { width: 22px; height: 22px; color: var(--wood-300); flex-shrink: 0; }

/* plank edge at bottom of hero */
.plank-edge { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; z-index: 1; }
.plank-edge::before, .plank-edge::after { content: ""; position: absolute; left: 0; right: 0; }
.plank-edge::before { bottom: 12px; height: 10px; background: var(--wood-300); opacity: .9; }
.plank-edge::after {
  bottom: 0; height: 12px; background: var(--paper);
}

/* Page hero (subpages) */
.page-hero {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  padding: 70px 0 90px; background: #1e160e;
}
.page-hero .hero-bg { opacity: 1; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(22, 16, 10, .92) 0%, rgba(30, 22, 14, .78) 50%, rgba(30, 22, 14, .3) 100%),
    linear-gradient(0deg, rgba(18, 48, 28, .45), transparent 50%);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 22ch; }
.page-hero .lead { color: rgba(255, 255, 255, .86); max-width: 640px; margin-bottom: 0; }

.breadcrumb { margin-bottom: 18px; font-size: .9rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { color: rgba(255, 255, 255, .7); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--wood-300); }
.breadcrumb a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.breadcrumb a:hover { color: var(--wood-300); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-cream { background: var(--cream); }
.section-wood {
  background-color: var(--wood-100);
  background-image: repeating-linear-gradient(0deg, transparent 0 46px, rgba(122, 74, 34, .06) 46px 48px);
}
.section-green { background: var(--green-800); color: rgba(255, 255, 255, .88); }
.section-green h2, .section-green h3 { color: #fff; }
.section-green .eyebrow { color: var(--wood-300); }
@media (max-width: 700px) { .section { padding: 68px 0; } }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse > :first-child { order: 0; } }

/* ---------- Cards ---------- */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; position: relative; overflow: hidden;
}
.feature::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--wood-300); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-700); color: #fff; margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature p { color: var(--ink-soft); margin: 0; }

.size-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.size-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--wood-300); color: var(--ink); }
.size-card-fig {
  background: var(--cream); padding: 26px; display: grid; place-items: center; aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
}
.size-card-fig svg { width: 100%; height: 100%; }
.size-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.size-card .dim { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--green-900); line-height: 1; }
.size-card .dim small { font-size: .5em; font-weight: 600; color: var(--ink-soft); margin-left: 4px; }
.size-card .tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brown-700); background: var(--wood-100); padding: 4px 10px; border-radius: 99px; margin: 12px 0 10px;
}
.size-card p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 18px; }
.size-card .more { margin-top: auto; font-weight: 700; color: var(--green-700); display: inline-flex; align-items: center; gap: 8px; }
.size-card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.size-card:hover .more svg { transform: translateX(4px); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font-family: var(--font-head); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--wood-300);
}
.steps li::after { content: ""; position: absolute; top: 20px; left: 76px; right: 0; height: 2px; background: rgba(200, 155, 106, .35); }
.steps li:last-child::after { display: none; }
.steps h3 { color: #fff; margin-bottom: .4em; }
.steps p { margin: 0; font-size: .97rem; }

/* ---------- Media ---------- */
.media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; background: var(--wood-100);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-badge {
  position: absolute; left: 18px; bottom: 18px; background: rgba(245, 243, 238, .95); color: var(--green-900);
  padding: 12px 16px; border-radius: var(--radius); font-weight: 700; font-size: .95rem; display: flex; gap: 10px; align-items: center;
}
.media-badge svg { width: 20px; height: 20px; color: var(--brown-700); }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section-green .checklist li::before { background-color: var(--brown-500); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--green-700); color: #fff; font-family: var(--font-head); font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--paper); }
tbody th { font-family: var(--font-head); color: var(--green-900); white-space: nowrap; }
td a { font-weight: 600; }
.spec th { width: 42%; background: var(--cream); font-weight: 700; color: var(--green-900); }
.spec td { font-weight: 500; }

/* ---------- Product detail ---------- */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; gap: 36px; } }
.product-figure {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px;
  position: sticky; top: calc(var(--header-h) + 24px);
}
@media (max-width: 900px) { .product-figure { position: static; padding: 22px; } }
.product-figure figcaption { text-align: center; font-size: .9rem; color: var(--ink-soft); margin-top: 14px; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

.callout {
  background: var(--wood-100); border-left: 4px solid var(--brown-700); border-radius: var(--radius);
  padding: 18px 22px; margin: 1.5em 0; color: var(--ink);
}
.callout strong { color: var(--brown-800); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--brown-700);
  background-image:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .0) 0 120px, rgba(0, 0, 0, .07) 120px 122px),
    linear-gradient(120deg, var(--brown-700), var(--brown-800));
  color: #fff; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 620px; }
.cta-band .btn-primary { background: #fff; color: var(--brown-800); }
.cta-band .btn-primary:hover { background: var(--cream); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 36px 24px; } }

/* ---------- Region chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li {
  background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 99px; font-weight: 600; font-size: .95rem; color: var(--green-900);
}
.chips li.main { background: var(--green-700); color: #fff; border-color: var(--green-700); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--green-800); color: rgba(255, 255, 255, .9); border-radius: var(--radius-lg); padding: 34px;
}
.contact-card h2 { color: #fff; font-size: 1.6rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--wood-300); margin-top: 2px; }
.contact-list strong { display: block; color: #fff; font-family: var(--font-head); letter-spacing: .02em; }
.contact-list a { color: var(--wood-200); word-break: break-word; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--cream); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .form, .contact-card { padding: 24px 18px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--green-900); }
.field label .req { color: var(--brown-700); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 3px rgba(42, 100, 64, .15); }
.field .hint { font-size: .83rem; color: var(--ink-soft); margin-top: 5px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-700); flex-shrink: 0; }
.form-note { font-size: .88rem; color: var(--ink-soft); margin: 16px 0 0; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--wood-100); border-left: 4px solid var(--green-700); font-size: .95rem; }
.form-status.show { display: block; }
.is-hidden { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255, 255, 255, .75); padding: 72px 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .site-footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid > div { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .footer-grid > div:first-child { padding-top: 0; border-top: 0; }
  .footer-brand { display: flex; align-items: center; gap: 16px; }
  .footer-brand .footer-logo { width: 104px; padding: 8px; margin: 0; flex-shrink: 0; }
  .footer-brand p { margin: 0; font-size: .92rem; line-height: 1.55; }
  .site-footer h3 { margin-bottom: 12px; }
  .footer-grid > div:last-child { padding-bottom: 0; }
  .site-footer address { margin-bottom: 0; }
  .footer-bottom { margin-top: 26px; flex-direction: column; gap: 6px; }
}
.footer-logo { background: var(--cream); border-radius: var(--radius-lg); padding: 14px; width: 180px; height: auto; aspect-ratio: 1; object-fit: contain; margin-bottom: 18px; }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--wood-300); }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-bottom {
  margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; padding-bottom: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; color: rgba(255, 255, 255, .55);
}
.footer-plank { height: 8px; background: linear-gradient(90deg, var(--brown-700), var(--wood-300), var(--brown-700)); }

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 48px; }
.center-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
@media (max-width: 560px) { .stat-row { grid-template-columns: 1fr; } }
.stat { border-top: 3px solid var(--wood-300); padding-top: 12px; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--green-900); }
.stat span { font-size: .93rem; color: var(--ink-soft); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal { max-width: 820px; }

.notfound { text-align: center; padding: 120px 0; }
.notfound .code { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; color: var(--wood-300); line-height: 1; }

/* grid elemek ne feszítsék szét a sort (táblázatok mobilon) */
.product-layout > *, .split > *, .contact-layout > * { min-width: 0; }
.spec th { white-space: normal; }
@media (max-width: 600px) { th, td { padding: 12px 12px; } }
@media (max-width: 1240px) { .sub a { padding: 9px 8px; font-size: .98rem; } }

/* ---------- Árak ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.from-price { margin: -6px 0 16px !important; color: var(--ink-soft); font-size: .95rem; }
.from-price b { font-family: var(--font-head); font-size: 1.2rem; color: var(--brown-700); }
td.price { font-family: var(--font-head); font-weight: 800; color: var(--brown-700); white-space: nowrap; }
.table-cta { white-space: nowrap; font-size: .9rem; }
.table-note { font-size: .9rem; color: var(--ink-soft); margin-top: 12px; }
.price-table td, .price-table th { vertical-align: middle; }
@media (min-width: 641px) { .product-layout .price-table th, .product-layout .price-table td { padding: 12px 10px; } }
.price-table thead th { white-space: normal; }
.pricelist { display: grid; grid-template-columns: 1fr; gap: 44px; max-width: 980px; }
@media (max-width: 960px) { .pricelist { grid-template-columns: 1fr; } }
.pricelist-group { min-width: 0; }
.pricelist-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.pricelist-head h2 { font-size: 1.6rem; margin: 0 0 6px; }
.pricelist-head h2 a { color: inherit; text-decoration: none; }
.pricelist-head h2 a:hover { color: var(--brown-700); }
.pricelist-head .tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brown-700); background: var(--wood-100); padding: 4px 10px; border-radius: 99px;
}
/* mobilon a táblázat sorai kártyák: nem kell oldalra görgetni az árért */
@media (max-width: 640px) {
  .stack-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 16px; border-bottom: 1px solid var(--line); }
  .stack-table tbody tr:last-child { border-bottom: 0; }
  .stack-table tbody th, .stack-table tbody td { display: block; padding: 0; border: 0; white-space: normal; }
  .stack-table tbody th { grid-column: 1 / -1; font-size: 1.1rem; }
  .stack-table td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-family: var(--font-body);
  }
  .stack-table td.price { font-size: 1.15rem; }
  .stack-table td.cta-cell { grid-column: 1 / -1; }
  .stack-table .table-cta {
    display: block; text-align: center; padding: 10px; border-radius: var(--radius);
    background: var(--brown-700); color: #fff; text-decoration: none;
  }
}
.pricelist-fig { width: 110px; flex-shrink: 0; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; }

/* ---------- Térkép: csak kattintásra töltődik be (sütimentes oldal) ---------- */
.map-consent { display: grid; place-items: center; text-align: center; padding: 24px; min-height: 260px; aspect-ratio: auto; }
.map-consent-inner { max-width: 420px; display: grid; gap: 10px; justify-items: center; }
.map-consent-inner > svg { width: 34px; height: 34px; color: var(--brown-700); }
.map-consent-inner p { margin: 0; }
.map-consent .map-note { font-size: .88rem; color: var(--ink-soft); }
.map-consent .map-link { font-size: .9rem; font-weight: 600; }
.map-consent.is-loaded { padding: 0; display: block; min-height: 0; aspect-ratio: 16 / 9; }

/* árlista: hulladékfa ikonja a raklaprajz helyén */
.pricelist-icon { display: grid; place-items: center; aspect-ratio: 1; }
.pricelist-icon svg { width: 46px; height: 46px; color: var(--brown-700); }

/* adatkezelési táblázat */
.legal-table { font-size: .92rem; }
.legal-table tbody th { white-space: normal; width: 18%; }
@media (max-width: 640px) {
  .legal-table tbody tr { grid-template-columns: 1fr; }
  .legal-table tbody th { width: auto; }
}
.legal .checklist li { margin-bottom: 8px; }

/* lábléc: sütimentes jelölés */
.footer-bottom .no-cookies a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ajánlatkérő űrlap: robotcsapda mező (embernek láthatatlan), hibaüzenet */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status.is-error { background: #fdecea; border-color: #f5c2bd; color: #8a1c12; }
