/* =======================================================================
   NM Bau — subpage components (Útmutatók / Rólunk).
   Ported from the static demo. Scroll-gated animations are set to render
   statically (bars filled, diagram visible) so content never depends on JS.
   ======================================================================= */

/* Shared: gold brush underline on an emphasised word. */
.brush em, em.brush { font-style: italic; font-weight: 600; color: var(--ink); position: relative; white-space: nowrap; padding-inline: .04em; }
.brush em::after, em.brush::after {
  content: ""; position: absolute; z-index: -1;
  left: -.06em; right: -.06em; bottom: -.08em; height: .28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 22' preserveAspectRatio='none'%3E%3Cpath d='M5 15 C 70 5 130 5 175 10 S 265 18 296 9' stroke='%23c99a3f' stroke-width='6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ---- Hero ------------------------------------------------------------- */
.subhero { position: relative; overflow: hidden; padding-block: clamp(52px, 7vw, 92px); }
.subhero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(201,133,42,.20), transparent 58%),
    radial-gradient(70% 60% at 2% 100%, rgba(201,154,63,.10), transparent 60%);
}
.subhero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(85% 70% at 30% 40%, #000, transparent 72%);
          mask-image: radial-gradient(85% 70% at 30% 40%, #000, transparent 72%);
}
.subhero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.subhero .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.subhero .eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); border-radius: 2px; }
.subhero h1 { font-size: clamp(32px, 5vw, 60px); line-height: 1.03; margin-top: 18px; }
.subhero p { color: var(--ink-soft); margin-top: 20px; max-width: 46ch; font-size: clamp(15.5px, 1.5vw, 18px); }
.subhero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 28px; font-size: 13px; color: var(--muted); font-weight: 500; }
.subhero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.subhero__meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.subhero__media { position: relative; }
.subhero__media::before {
  content: ""; position: absolute; inset: 20px -20px -20px 20px; border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong); background: rgba(201,154,63,.06);
}
.subhero__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-sink);
  aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); border: 6px solid #fff;
}
.subhero__frame img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.05); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.subhero__media:hover .subhero__frame img { transform: scale(1); }
.subhero__badge {
  position: absolute; left: -14px; bottom: 26px; z-index: 2;
  background: rgba(255,253,246,.94); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 18px; font-size: 13px; font-weight: 600; line-height: 1.35;
  box-shadow: var(--shadow-md); max-width: 62%;
}
.subhero__badge b { display: block; color: var(--accent); font-size: 14px; }
.subhero__badge span { color: var(--muted); font-weight: 500; }
.subhero__stamp {
  position: absolute; top: -16px; right: -12px; z-index: 2;
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--accent); color: #fff; box-shadow: 0 0 0 6px var(--bg), var(--shadow-md);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25; font-weight: 600;
}
.subhero__stamp b { display: block; font-family: 'Montserrat', var(--ff-sans); font-size: 21px; letter-spacing: .02em; }
@media (max-width: 860px){
  .subhero .container { grid-template-columns: 1fr; }
  .subhero__media { order: -1; margin-bottom: 26px; }
  .subhero__media::before { inset: 14px -14px -14px 14px; }
  .subhero__badge { left: 12px; }
  .subhero__stamp { width: 74px; height: 74px; right: 4px; }
}

/* ---- Chapter marker --------------------------------------------------- */
.chapter { display: flex; align-items: center; gap: 20px; margin-bottom: clamp(20px, 3vw, 34px); }
.chapter-no {
  font-family: 'Montserrat', var(--ff-sans); font-weight: 700;
  font-size: clamp(38px, 6vw, 76px); line-height: .78; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-strong);
}
.chapter__rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }

/* ---- Story ------------------------------------------------------------ */
.story-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 60px); align-items: center; }
.story-split h2 { font-size: clamp(26px, 3.3vw, 42px); line-height: 1.06; margin-top: 16px; }
.story-split p { color: var(--ink-soft); margin-top: 18px; line-height: 1.72; }
.story-split p + p { margin-top: 14px; }
.story-split__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-split__media figure {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4;
  background: var(--bg-sink); box-shadow: var(--shadow-md); border: 5px solid #fff;
}
.story-split__media figure:nth-child(1){ margin-top: 42px; }
.story-split__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.story-split__media figure:hover img { transform: scale(1.05); }
@media (max-width: 860px){ .story-split { grid-template-columns: 1fr; gap: 30px; } .story-split__media figure:nth-child(1){ margin-top: 0; } }

/* ---- Team / skills ---------------------------------------------------- */
.skills-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.skills-card {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px clamp(22px, 3vw, 32px) 32px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow var(--step), border-color var(--step);
}
.skills-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.skills-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.skills-card--sub::before { background: var(--gold); }
.skills-card h3 {
  font-family: var(--ff-sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
  display: flex; align-items: center; gap: 10px; color: var(--muted);
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.skills-card h3 svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.skills-card--sub h3 svg { color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 13px;
  border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  transition: border-color var(--step), background var(--step), transform var(--step);
}
.chip:hover { border-color: var(--accent); background: var(--bg); transform: translateY(-2px); }
.skills-card--sub .chip:hover { border-color: var(--gold); }
.chip::before {
  content: ""; width: 17px; height: 17px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") no-repeat center / 11px 11px;
}
.skills-card--sub .chip::before { background-color: var(--gold); }
@media (max-width: 640px){ .skills-wrap { grid-template-columns: 1fr; } }

/* ---- Founder pull quote ----------------------------------------------- */
.pullquote {
  position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #2f2a1c 0%, var(--ink) 55%, #1f1b12 100%);
  padding: clamp(34px, 5.5vw, 68px) clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 3.5vw, 44px); align-items: center;
}
.pullquote::before {
  content: "\201C"; position: absolute; top: -46px; right: 30px;
  font-family: var(--ff-serif); font-size: 260px; color: rgba(201,154,63,.13); line-height: 1;
}
.pullquote::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); border-radius: inherit; }
.pullquote > * { position: relative; z-index: 1; }
.pullquote__avatar {
  width: 104px; height: 104px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; font-family: var(--ff-serif); font-weight: 600; font-size: 42px; color: #fff;
  box-shadow: 0 0 0 1px rgba(201,154,63,.55), 0 0 0 9px rgba(255,255,255,.05);
  overflow: hidden;
}
.pullquote__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
.pullquote__big { font-family: var(--ff-serif); font-style: italic; font-size: clamp(24px, 3.4vw, 40px); font-weight: 500; line-height: 1.18; letter-spacing: -.01em; }
.pullquote blockquote { color: rgba(255,255,255,.78); margin: 20px 0 0; font-size: clamp(15px, 1.4vw, 16.5px); line-height: 1.7; max-width: 62ch; }
.pullquote cite { display: block; margin-top: 22px; padding-top: 20px; font-style: normal; font-weight: 600; color: #fff; font-size: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.pullquote cite span { color: rgba(255,255,255,.55); font-weight: 400; }
@media (max-width: 640px){ .pullquote { grid-template-columns: 1fr; text-align: center; } .pullquote__avatar { margin: 0 auto; } .pullquote blockquote { margin-inline: auto; } }

/* ---- Why us ----------------------------------------------------------- */
.value-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: vcard; }
.value-card {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 24px 28px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform var(--step), box-shadow var(--step), border-color var(--step);
}
.value-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.value-card::after {
  counter-increment: vcard; content: counter(vcard, decimal-leading-zero);
  position: absolute; top: 18px; right: 20px;
  font-family: 'Montserrat', var(--ff-sans); font-weight: 700; font-size: 26px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong); transition: opacity var(--step);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.value-card:hover::before { transform: scaleX(1); }
.value-card__icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--bg-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 20px;
  border: 1px solid var(--line); transition: background var(--step), color var(--step);
}
.value-card:hover .value-card__icon { background: var(--accent); color: #fff; border-color: var(--accent); }
.value-card__icon svg { width: 25px; height: 25px; }
.value-card h3 { font-family: var(--ff-sans); font-size: 16.5px; font-weight: 600; line-height: 1.3; padding-right: 34px; }
.value-card p { color: var(--ink-soft); font-size: 14.5px; margin-top: 10px; line-height: 1.65; }
@media (max-width: 960px){ .value-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .value-cards { grid-template-columns: 1fr; } }

/* ---- Stats ------------------------------------------------------------ */
.stat-strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 48px) clamp(16px, 3vw, 32px);
}
.stat-cell { text-align: center; padding-inline: clamp(8px, 2vw, 20px); position: relative; }
.stat-cell + .stat-cell::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 56%; background: var(--line-strong); }
.stat-num { font-family: var(--ff-serif); font-weight: 600; font-size: clamp(34px, 4.6vw, 54px); color: var(--accent); line-height: 1; letter-spacing: -.02em; }
.stat-cell > span { display: block; margin-top: 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.stat-num span { font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; }
@media (max-width: 720px){
  .stat-strip { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .stat-cell:nth-child(odd)::before { display: none; }
  .stat-cell:nth-child(n+3)::after { content: ""; position: absolute; top: -17px; left: 12%; right: 12%; height: 1px; background: var(--line-strong); }
}

/* =======================================================================
   ÚTMUTATÓK page
   ======================================================================= */
.guide-toc { position: sticky; top: 74px; z-index: 30; background: rgba(255,253,246,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.guide-toc ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.guide-toc ul::-webkit-scrollbar { display: none; }
.guide-toc a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: background var(--step), color var(--step); }
.guide-toc a .toc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: background var(--step); }
.guide-toc a:hover { background: var(--bg-soft); color: var(--ink); }
.guide-toc a.is-current { background: var(--ink); color: #fff; }
.guide-toc a.is-current .toc-dot { background: var(--gold); }

.guide-block { scroll-margin-top: 130px; }
.guide-block__head { max-width: 720px; }
.guide-block__head .eyebrow { color: var(--accent); }
.guide-block__head h2 { font-size: clamp(24px,3.2vw,36px); margin-top: 6px; }
.guide-block__head p { color: var(--ink-soft); margin-top: 14px; }

/* SPC vs PVC comparison */
.cmp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px,3vw,34px); box-shadow: var(--shadow-sm); margin-top: 30px; }
.cmp__legend { display: flex; gap: 20px; justify-content: flex-end; margin-bottom: 18px; }
.cmp__key { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.cmp__key::before { content: ""; width: 12px; height: 12px; border-radius: 3px; }
.cmp__key--spc::before { background: var(--accent); }
.cmp__key--pvc::before { background: var(--gold); }
.cmp__row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.cmp__prop { font-size: 14px; font-weight: 600; }
.cmp__bars { display: grid; gap: 10px; }
.cmp__bar { display: grid; grid-template-columns: 32px 1fr 26px; align-items: center; gap: 10px; }
.cmp__tag { font-size: 11px; font-weight: 700; letter-spacing: .3px; color: var(--ink-soft); }
.cmp__val { font-size: 12px; font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.cmp__track { position: relative; height: 16px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
/* Filled by default (no scroll-JS dependency). */
.cmp__fill { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 999px; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.cmp__fill--spc { background: linear-gradient(90deg, var(--accent-ink), var(--accent)); }
.cmp__fill--pvc { background: linear-gradient(90deg, #b8860b, var(--gold)); }
.cmp__verdict { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 18px; background: var(--bg-soft); border-radius: var(--radius); font-size: 14px; }
.cmp__verdict svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.cmp__verdict b { color: var(--ink); }
@media (max-width: 560px){ .cmp__row { grid-template-columns: 1fr; gap: 8px; } .cmp__legend { justify-content: flex-start; } }

/* Material cards */
.mat-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 30px; }
.mat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: transform var(--step), box-shadow var(--step); }
.mat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.mat-card__tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.mat-card--best { border-color: var(--accent); position: relative; }
.mat-card--best::after { content: "Ajánlott"; position: absolute; top: 16px; right: 16px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.mat-card h3 { font-size: 20px; margin: 6px 0 10px; }
.mat-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.mat-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.mat-card li { display: flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 500; }
.mat-card li svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
@media (max-width: 820px){ .mat-cards { grid-template-columns: 1fr; } }

/* Size calculator */
.calc { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: start; background: var(--form-card); border: 1px solid var(--field-line); border-radius: var(--radius-lg); padding: clamp(22px,3vw,34px); box-shadow: 0 18px 40px -30px rgba(27,28,30,.35); margin-top: 30px; }
.calc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--cta-grad); }
.calc__form label { display: block; font-size: 13px; font-weight: 600; margin: 16px 0 7px; }
.calc__form label:first-child { margin-top: 0; }
.calc__intro { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0 0 18px; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc__row + .calc__row { margin-top: 14px; }
.calc__row--3 { grid-template-columns: repeat(3, 1fr); }
.calc__input select { padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6a61' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 15px; }
.calc__input { position: relative; }
.calc__input input, .calc__input select { width: 100%; padding: 13px 40px 13px 14px; border: 1px solid var(--field-line); border-radius: var(--radius); font: inherit; font-size: 15px; background: var(--field-bg); color: var(--ink); -webkit-appearance: none; appearance: none; }
.calc__input input:focus, .calc__input select:focus { outline: none; background: var(--field-bg-lit); border-color: var(--cta); box-shadow: 0 0 0 3px rgba(201,133,42,.20); }
.calc__input .unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--muted); pointer-events: none; }
.calc__out { position: sticky; top: 100px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.calc__out h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 600; }
.calc__result { display: grid; gap: 14px; margin: 18px 0; }
.calc__line { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.calc__line span { color: rgba(255,255,255,.66); font-size: 13px; }
.calc__line b { font-size: 18px; font-weight: 700; text-align: right; }
.calc__line b em { font-style: normal; color: var(--gold); }
.calc__verdict { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.85); background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 14px; margin-top: auto; }
.calc__verdict strong { color: #fff; }
.calc__note { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 14px; }
.calc__line--total { border-bottom: 0; padding-bottom: 0; }
.calc__line--total b em { color: var(--gold); }

/* The calculator recomputes on every keystroke; these keep the swap readable
   instead of letting values snap in and out. */
@keyframes calcIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.calc__result.is-in .calc__line { animation: calcIn .38s cubic-bezier(.2,.7,.2,1) backwards; }
.calc__result.is-in .calc__line:nth-child(2) { animation-delay: .05s; }
.calc__result.is-in .calc__line:nth-child(3) { animation-delay: .1s; }
.calc__result.is-in .calc__line:nth-child(4) { animation-delay: .15s; }
.calc__verdict.is-in { animation: calcIn .4s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: .12s; }
.calc__picks.is-in .calc-pick,
.calc__picks.is-in .calc-pick__soon { animation: calcIn .42s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(var(--i, 0) * .06s); }
@media (prefers-reduced-motion: reduce) {
  .calc__result.is-in .calc__line, .calc__verdict.is-in,
  .calc__picks.is-in .calc-pick, .calc__picks.is-in .calc-pick__soon { animation: none; }
}

/* ---- Recommended set (full-width block below the calculator) ---------- */
.calc-recommend { margin-top: clamp(18px, 2.4vw, 26px); }
.calc-recommend__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 18px; }
.calc-recommend__head h3 { font-size: clamp(19px, 2.2vw, 24px); margin-top: 6px; }

/* Colour filter chips. */
.calc__colors { flex-shrink: 0; }
.calc__colors-label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.calc__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-chip {
  font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
  padding: 6px 13px; border-radius: 999px; color: var(--ink-soft);
  background: var(--bg); border: 1px solid var(--line-strong);
  transition: background var(--step), border-color var(--step), color var(--step);
}
.calc-chip:hover { border-color: var(--accent); }
.calc-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Product cards. */
.calc__picks { margin: 0; }
.calc-picks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.calc-pick {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform var(--step), box-shadow var(--step);
}
.calc-pick:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.calc-pick__media { display: block; aspect-ratio: 1 / 1; background: var(--bg-sink); overflow: hidden; }
.calc-pick__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.calc-pick:hover .calc-pick__media img { transform: scale(1.05); }
.calc-pick__body { display: flex; flex-direction: column; gap: 5px; padding: 14px 15px 15px; flex: 1; }
.calc-pick__kind { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.calc-pick__name { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.calc-pick__name:hover { color: var(--accent); }
.calc-pick__meta { font-size: 12.5px; color: var(--muted); }
.calc-pick__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.calc-pick__price { font-size: 15px; font-weight: 700; color: var(--ink); }
.calc-pick__add { padding: 8px 15px; font-size: 12.5px; white-space: nowrap; }
.calc-pick__soon {
  grid-column: 1 / -1; background: var(--bg-soft); border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 34px); text-align: center;
  font-size: 15px; line-height: 1.55; color: var(--ink-soft);
}
.calc-pick__soon a { color: var(--accent); text-decoration: underline; }

@media (max-width: 980px){ .calc-picks__grid { grid-template-columns: repeat(2, 1fr); } .calc__out { position: static; } }
@media (max-width: 560px){ .calc__row, .calc__row--3 { grid-template-columns: 1fr; } }
@media (max-width: 760px){ .calc { grid-template-columns: 1fr; } }
@media (max-width: 420px){ .calc-picks__grid { grid-template-columns: 1fr; } }

/* Measuring diagram (rendered static — no draw animation dependency) */
.measure { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 30px; }
.measure svg { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 30px rgba(27,28,30,.12); }
.measure .m-draw { stroke-dashoffset: 0; }
.measure .m-fade { opacity: 1; }
.measure ol { margin: 0; padding-left: 20px; display: grid; gap: 14px; }
.measure li { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.measure li b { color: var(--ink); }
.measure__steps { list-style: none; padding-left: 0; }
.measure__steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.measure__num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; }
.measure__num--gold { background: #c99a3f; }
@media (max-width: 760px){ .measure { grid-template-columns: 1fr; } }

/* ---- Kapcsolat (contact) --------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(24px, 3vw, 40px); align-items: start; }

/* Az urlap nem tiszta feher: meleg kartya, felul vekony arany akcentussal,
   hogy elvaljon a lap hatteretol es ne hasson sterilnek. */
.contact-form {
  position: relative; overflow: hidden;
  background: var(--form-card); border: 1px solid var(--field-line);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 18px 40px -30px rgba(27,28,30,.35);
}
.contact-form::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--cta-grad);
}
.contact-form h2 { font-size: clamp(20px, 2.2vw, 26px); margin: 0 0 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-top: 16px; }
.field-row .field { margin-top: 0; }
.form-block > .field-row, .form-block > .field { margin-top: 16px; }
.field-row + .field-row { margin-top: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.req { color: var(--accent); }
.input, .textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--field-line); border-radius: var(--radius);
  font: inherit; font-size: 15px; background: var(--field-bg); color: var(--ink);
  -webkit-appearance: none; appearance: none;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.textarea { resize: vertical; min-height: 130px; }
.input:focus, .textarea:focus { outline: none; background: var(--field-bg-lit); border-color: var(--cta); box-shadow: 0 0 0 3px rgba(201,133,42,.20); }
.contact-form__intro { font-size: 14px; color: var(--muted); line-height: 1.6; margin: -8px 0 4px; }

/* Grouped blocks keep a longer form readable instead of one endless column. */
.form-block { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.form-block legend { padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.form-block + .form-block { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }

.field-legend { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6a61' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }

/* Radio group rendered as pills — one tap on mobile, no native radio styling. */
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span { display: inline-block; padding: 9px 16px; border: 1px solid var(--field-line); background: var(--field-bg); border-radius: 999px; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.choice span:hover { border-color: var(--cta); }
.choice input:checked + span { background: var(--cta-grad); border-color: transparent; color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--cta); outline-offset: 2px; }

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 22px; }
.contact-form__reply { font-size: 13px; color: var(--muted); }

.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.consent input { margin-top: 2px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--accent); }
.consent a { color: var(--accent); text-decoration: underline; }

.contact-aside { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); }
.contact-aside h3 { font-size: 17px; margin: 0 0 6px; }
.contact-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 13px; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-list b { display: block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.contact-list a, .contact-list span { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.contact-note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.55; }

.contact-alert { border-radius: var(--radius); padding: 15px 18px; margin-bottom: 24px; font-size: 14.5px; font-weight: 500; }
.contact-alert--ok { background: #ecf6ee; border: 1px solid #b7dcc0; color: #276b3a; }
.contact-alert--warn { background: #fdf1e7; border: 1px solid #f0cfae; color: #9a531b; }

@media (max-width: 820px){
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { order: -1; }
}
@media (max-width: 480px){ .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---- "A kivitelező oldalunk" szekcio (Rolunk) ------------------------- *
 * Ket hasab: balra a magyarazat, jobbra egy bongeszo-ablakot idezo kartya,
 * ami vizualisan is elkuloniti az nmbau.hu-t a webshoptol. */
.sitelink {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.sitelink__text h2 { font-size: clamp(26px, 3.4vw, 40px); margin-top: 12px; }
.sitelink__text p { color: var(--ink-soft); margin-top: 14px; max-width: 52ch; line-height: 1.7; }
.sitelink__text .ticks { margin-top: 22px; }
.sitelink__dom { color: var(--cta-ink); }

.sitelink__card {
  display: block; overflow: hidden;
  background: var(--bg); border: 1px solid var(--field-line);
  border-radius: 14px; box-shadow: 0 30px 60px -34px rgba(27,28,30,.42);
  transition: transform var(--step), box-shadow var(--step);
}
.sitelink__card:hover { transform: translateY(-3px); box-shadow: 0 38px 70px -34px rgba(27,28,30,.5); }

/* Bongeszo-fejlec: harom pont + cimsav */
.sitelink__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 14px; background: var(--bg-sink); border-bottom: 1px solid var(--field-line);
}
.sitelink__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); flex-shrink: 0; }
.sitelink__url {
  flex: 1; margin-left: 8px; padding: 5px 12px;
  background: #fff; border: 1px solid var(--field-line); border-radius: 999px;
  font-size: 12.5px; color: var(--muted); text-align: center;
}

.sitelink__body { display: block; padding: clamp(24px, 3vw, 34px); }
.sitelink__logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.sitelink__logo svg { width: 18px; height: 18px; color: var(--gold); }
.sitelink__logo b { font-size: 19px; font-weight: 700; letter-spacing: .04em; }
.sitelink__tag {
  display: block; margin-top: 10px; font-family: var(--ff-serif);
  font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; color: var(--ink);
}
.sitelink__desc { display: block; margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; }
.sitelink__go {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-weight: 600; font-size: 14px; color: var(--cta-ink);
}
.sitelink__go svg { width: 16px; height: 16px; transition: transform var(--step); }
.sitelink__card:hover .sitelink__go svg { transform: translateX(4px); }

@media (max-width: 900px) {
  .sitelink { grid-template-columns: 1fr; gap: 34px; }
  .sitelink__card { max-width: 480px; }
}
