/* ============================================================
   MASTERBUILD — stíluslap
   Ipari–építészeti karakter: grafit + jelző-borostyán, beton semlegesek.
   Függőség nélkül, mobilra optimalizálva.
   ============================================================ */

/* ---------- Design tokenek ---------- */
:root {
  /* Meleg, otthonos paletta (storefront) */
  --bg:          #fbf6ee;   /* cream — háttér alap */
  --surface:     #f4ead9;   /* sand — felületek / kártyák */
  --surface-2:   #e9d8bf;   /* clay — mélyebb kitöltés / alt szekció */
  --ink:         #3a2f25;   /* bark — fő szövegszín */
  --ink-2:       #5b4c3b;   /* lágyabb bark — másodlagos szöveg */
  --muted:       #7a6a53;   /* meleg, halvány szöveg */
  --line:        #e9d8bf;   /* clay — keretek, kártya-szegély */
  --line-2:      #dcc7a3;   /* erősebb keret / input */

  --amber:       #b6713c;   /* brand — fő narancs-barna */
  --amber-600:   #9a5a2b;   /* brand hover (sötétebb) */
  --amber-100:   #f1e2d0;   /* világos brand tint */
  --terracotta:  #c0673a;   /* másodlagos akcent */

  --graphite:    #2a2118;   /* espresso — sötét blokkok, lábléc */
  --graphite-2:  #3a2f25;   /* bark — világosabb sötét (gradient) */
  --graphite-3:  #4a3d2d;   /* keret sötét blokkon */
  --on-dark:     #f1e8d8;   /* szöveg sötét háttéren */
  --on-dark-mut: #b3a489;   /* halvány szöveg sötét háttéren */

  --shadow-sm: 0 1px 2px rgba(42,33,24,.06), 0 1px 3px rgba(42,33,24,.05);
  --shadow-md: 0 6px 18px rgba(42,33,24,.09), 0 2px 6px rgba(42,33,24,.06);
  --shadow-lg: 0 22px 50px rgba(42,33,24,.18), 0 8px 18px rgba(42,33,24,.10);
  --shadow-amber: 0 12px 28px rgba(182,113,60,.32);

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 22px;

  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);

  --font-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* kék-nyomat rács + figyelmeztető sáv (építkezés-motívum) */
  --blueprint: rgba(58, 47, 37, .05);
  --hazard: repeating-linear-gradient(45deg, var(--amber) 0 13px, #241c12 13px 26px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Alap ---------- */
*, *::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: clamp(1rem, .97rem + .15vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  font-weight: 800;
}

p { margin: 0; }

::selection { background: var(--amber); color: #fff; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* Reusable icon strokes */
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section, .service { scroll-margin-top: 90px; }   /* horgony-ugrás a ragadós fejléc alá essen */
.section--alt { background: var(--surface-2); }
.section--dark {
  position: relative;
  background-color: var(--graphite); color: var(--on-dark);
  background-image: radial-gradient(rgba(255,255,255,.022) .5px, transparent .6px);
  background-size: 7px 7px;
}
/* figyelmeztető (hazard) sáv a sötét szekció tetején — építkezés-jel */
.section--dark::before,
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--hazard); z-index: 1;
}

.section__head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section__title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.section__sub { margin-top: .9rem; color: var(--muted); font-size: 1.08rem; }
.section--dark .section__sub { color: var(--on-dark-mut); }
.section--dark .section__title { color: #fff; }
.section--dark h3, .section--dark h4 { color: #fff; }

/* Overline label */
.overline {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  font-size: .72rem; color: var(--amber-600);
  margin: 0 0 1rem;
}
.overline[data-num]::before {
  content: attr(data-num);
  font-size: .68rem; line-height: 1; padding: .22em .42em;
  border: 1.5px solid currentColor; border-radius: 4px;
  letter-spacing: .02em;
}
.overline--light { color: var(--amber); }
.overline__dot { width: 24px; height: 2px; background: currentColor; opacity: .55; display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  letter-spacing: -.01em;
  padding: .85rem 1.4rem; border-radius: var(--r-sm);
  background: var(--b-bg); color: var(--b-fg);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  will-change: transform;
}
.btn .ic { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { --b-bg: var(--amber); --b-fg: #fff; box-shadow: var(--shadow-amber); }
.btn--primary:hover { --b-bg: var(--amber-600); }
.btn--primary:hover .ic { transform: translateX(3px); }

.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--lg { padding: 1.05rem 1.7rem; font-size: 1.05rem; }
.btn--sm { padding: .62rem 1.05rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* ============================================================
   FEJLÉC
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,246,238,.85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-color: var(--line);
  background: rgba(251,246,238,.95);
}

.topbar { background: var(--graphite); color: var(--on-dark); font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.topbar__note { display: inline-flex; align-items: center; gap: .5rem; color: var(--on-dark-mut); }
.topbar__note .ic { color: var(--amber); width: 1.05em; height: 1.05em; }
.topbar__phones { display: inline-flex; align-items: center; gap: clamp(.7rem, 2.2vw, 1.5rem); }
.topbar__phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-family: var(--font-head); color: #fff; }
.topbar__phone .ic { color: var(--amber); width: 1.05em; height: 1.05em; }
.topbar__phone:hover { color: var(--amber); }

.nav { display: flex; align-items: center; gap: 1.5rem; padding-block: .85rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand__mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  background: var(--amber); border-radius: 9px; color: #fff;
  box-shadow: var(--shadow-sm);
}
.brand__mark svg { width: 22px; height: 22px; fill: currentColor; }
.brand__logo { height: 50px; width: auto; display: block; }
.brand__mark-img { height: 38px; width: auto; display: block; }
.brand__text { font-family: var(--font-head); font-weight: 900; letter-spacing: -.02em; font-size: 1.25rem; color: var(--ink); }
.brand__text span { color: var(--amber); }
.brand--light .brand__text { color: #fff; }

.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a {
  font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--ink-2);
  position: relative; padding-block: .3rem;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--amber);
  transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; }
.nav__group { display: none; }   /* csak a mobil hamburgermenüben jelenik meg */

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; padding: 10px; margin: -10px -6px -10px 0;
  background: none; border: 0; cursor: pointer;
}
.nav__toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; padding-top: clamp(2.5rem, 5vw, 4.5rem);
  background-image:
    linear-gradient(var(--blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
  background-size: 52px 52px;
  background-position: center top;
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 60%;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(182,113,60,.10), transparent 60%),
    radial-gradient(50% 70% at 5% 0%, rgba(22,24,28,.05), transparent 60%);
  z-index: -1; pointer-events: none;
}

.hero__inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hero__inner > * { min-width: 0; }

.hero__title {
  font-size: clamp(2rem, 1rem + 4.4vw, 4.6rem);
  font-weight: 900; letter-spacing: -.03em; margin-bottom: 1.3rem;
  overflow-wrap: break-word;
}
.hero__title .hl { position: relative; color: var(--amber); white-space: nowrap; }
.hero__title .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .12em;
  background: var(--terracotta); opacity: .4; border-radius: 2px;
}

.hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem); color: var(--ink-2); max-width: 38ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.9rem; }

.hero__chips { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero__chips li { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.hero__chips .ic { color: var(--amber); width: 1.1em; height: 1.1em; }

/* Hero vizuál — kék-nyomat keret + lebegő badge */
.hero__visual { position: relative; }
.hero__frame {
  position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--graphite), var(--graphite-2));
  border: 1px solid var(--graphite-3); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__photo { width: 100%; height: 100%; object-fit: cover; }

.blueprint { position: absolute; inset: 0; display: grid; place-items: center; }
.blueprint__art { width: 86%; height: 86%; }
.blueprint__art .bp-house { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.blueprint__art .bp-line { fill: none; stroke: rgba(236,235,230,.5); stroke-width: 1.5; }
.blueprint__art .bp-dim  { fill: none; stroke: rgba(236,235,230,.3); stroke-width: 1; }
/* terv → kész ház */
.blueprint__art .bp-plan path, .blueprint__art .bp-plan rect { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.blueprint__art .bp-plan .bp-dim { stroke: rgba(236,235,230,.4); stroke-width: 1; }
.blueprint__art .ba-cap { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; fill: var(--amber); }
.hero__frame::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero__badge {
  position: absolute; left: -14px; bottom: 24px;
  background: var(--amber); color: #fff; border-radius: var(--r);
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: .7rem;
  box-shadow: var(--shadow-lg);
}
.hero__badge-big { font-family: var(--font-head); font-weight: 900; font-size: 2.6rem; line-height: 1; }
.hero__badge-small { font-family: var(--font-mono); font-size: .72rem; font-weight: 400; line-height: 1.25; text-transform: uppercase; letter-spacing: .04em; }

/* Statisztika */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm);
}
.stat { background: var(--surface); padding: clamp(1.1rem, 2.5vw, 1.8rem); text-align: center; }
.stat__num { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem); color: var(--ink); letter-spacing: -.03em; }
.stat__label { display: block; margin-top: .35rem; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 400; }

/* ============================================================
   SZOLGÁLTATÁSOK
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }

.service {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.6rem 1.5rem 1.7rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  overflow: hidden;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--amber);
  transition: width .3s var(--ease);
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.service:hover::before { width: 100%; }

.service__no {
  position: absolute; top: 1.1rem; right: 1.3rem;
  font-family: var(--font-mono); font-weight: 700; font-size: 1rem;
  color: var(--line-2); letter-spacing: .02em;
}
.service__icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 12px; background: var(--amber-100); color: var(--amber-600);
  margin-bottom: 1.1rem;
}
.service__icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service__title { font-size: 1.28rem; margin-bottom: .5rem; }
.service__desc { color: var(--muted); font-size: .98rem; }

.service__tags { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 1.1rem 0 0; }
.service__tags li { font-size: .78rem; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); padding: .25rem .65rem; border-radius: 999px; }

.service--feature { background: var(--graphite); border-color: var(--graphite-3); color: var(--on-dark); }
.service--feature .service__no { color: var(--graphite-3); }
.service--feature .service__title { color: #fff; }
.service--feature .service__desc { color: var(--on-dark-mut); }
.service--feature .service__icon { background: rgba(182,113,60,.16); color: var(--amber); }
.service__link { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.2rem; font-family: var(--font-head); font-weight: 700; color: var(--amber); }
.service__link .ic { transition: transform .2s var(--ease); }
.service__link:hover .ic { transform: translateX(4px); }

/* ============================================================
   FELÜLETEK / ANYAGOK sáv
   ============================================================ */
.materials { background: var(--surface); border-block: 1px solid var(--line); padding-block: 1.5rem; }
.materials__inner { display: flex; align-items: center; justify-content: center; gap: 1rem 2.4rem; flex-wrap: wrap; }
.materials__label { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--muted); margin: 0; }
.materials__list { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 1.7rem; margin: 0; padding: 0; }
.materials__list li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .94rem; color: var(--ink-2); }
.swatch { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-2); flex: none; box-shadow: var(--shadow-sm); }
.swatch--tile { background-color: #fff; background-image: linear-gradient(#d9dde1 1px, transparent 1px), linear-gradient(90deg, #d9dde1 1px, transparent 1px); background-size: 11px 11px; }
.swatch--wood { background: repeating-linear-gradient(90deg, #caa06a 0 6px, #b78d54 6px 7px); }
.swatch--paint { background: linear-gradient(135deg, var(--amber), var(--terracotta)); }
.swatch--plaster { background-color: #e7e2d7; background-image: radial-gradient(rgba(0,0,0,.07) .5px, transparent .6px); background-size: 4px 4px; }
.swatch--insul { background: repeating-linear-gradient(45deg, #f2d9a8 0 5px, #e6c585 5px 10px); }

/* ============================================================
   FOLYAMAT
   ============================================================ */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding-top: 1.6rem; border-top: 2px solid var(--graphite-3); }
.step__no { font-family: var(--font-mono); font-weight: 700; font-size: 2.1rem; color: var(--amber); line-height: 1; letter-spacing: -.02em; display: block; }
.step__title { color: #fff; font-size: 1.22rem; margin: .7rem 0 .4rem; }
.step__desc { color: var(--on-dark-mut); font-size: .96rem; }

/* ============================================================
   MIÉRT MI
   ============================================================ */
.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.why__text { color: var(--ink-2); margin: 1rem 0 1.6rem; font-size: 1.08rem; }
.why__list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .75rem; }
.why__list li { display: flex; align-items: flex-start; gap: .65rem; font-weight: 500; color: var(--ink-2); }
.why__list .ic { color: var(--amber); margin-top: .15em; }

.why__card { }
.guarantee {
  background: linear-gradient(165deg, var(--graphite), var(--graphite-2));
  color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 2.6rem);
  border: 1px solid var(--graphite-3); box-shadow: var(--shadow-lg); text-align: center;
}
.guarantee__seal { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1.1rem; background: rgba(182,113,60,.16); border-radius: 50%; color: var(--amber); }
.guarantee__seal svg { width: 34px; height: 34px; fill: currentColor; }
.guarantee__title { color: #fff; font-size: 1.5rem; }
.guarantee__text { color: var(--on-dark-mut); margin-top: .6rem; font-size: .98rem; }
.guarantee__divide { height: 1px; background: var(--graphite-3); margin: 1.6rem 0; }
.guarantee__cta-label { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--on-dark-mut); font-weight: 700; font-family: var(--font-mono); }
.guarantee__phone { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(1.5rem, 1rem + 2vw, 2rem); color: #fff; margin-top: .35rem; letter-spacing: -.01em; }
.guarantee__phone:hover { color: var(--amber); }
.guarantee__email { display: inline-block; margin-top: .5rem; color: var(--amber); font-weight: 600; }
.guarantee__email:hover { text-decoration: underline; }

/* ============================================================
   GALÉRIA
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery__item {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line); cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,24,28,.35), transparent 45%);
  opacity: 0; transition: opacity .25s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }

/* két méretet ad a galériának az "érdekesebb" rácsért */
.gallery__item--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery__item--tall { grid-row: span 2; aspect-ratio: 1 / 2; }

/* Üres állapot — "kép helye" csempék */
.gallery__placeholder {
  display: grid; place-items: center; gap: .6rem; text-align: center;
  color: var(--muted); cursor: default;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(0,0,0,.018) 12px, rgba(0,0,0,.018) 24px),
    var(--surface);
}
.gallery__placeholder svg { width: 34px; height: 34px; stroke: var(--line-2); fill: none; stroke-width: 1.5; }
.gallery__placeholder span { font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.gallery__placeholder:hover { transform: none; box-shadow: none; }
.gallery__placeholder::after { display: none; }

/* ============================================================
   VÉLEMÉNYEK
   ============================================================ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; margin: 0; box-shadow: var(--shadow-sm); }
.review__stars { color: var(--amber); letter-spacing: .12em; font-size: 1.05rem; margin-bottom: .8rem; }
.review blockquote { margin: 0; font-size: 1.02rem; color: var(--ink-2); }
.review figcaption { margin-top: 1.1rem; display: flex; flex-direction: column; }
.review__name { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.review__role { font-size: .85rem; color: var(--muted); }

/* ============================================================
   GYIK
   ============================================================ */
.faq { display: grid; gap: .8rem; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq__item.open { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; cursor: pointer; padding: 1.15rem 1.4rem; background: none; border: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left;
}
.faq__q:hover { color: var(--amber-600); }
/* plusz/minusz ikon — animálva */
.faq__ico { position: relative; width: 18px; height: 18px; flex: none; }
.faq__ico::before, .faq__ico::after {
  content: ""; position: absolute; background: var(--amber); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq__ico::before { left: 0; top: 8px; width: 18px; height: 2.5px; }
.faq__ico::after  { left: 8px; top: 0; width: 2.5px; height: 18px; }
.faq__item.open .faq__ico::after  { transform: rotate(90deg); opacity: 0; }
.faq__item.open .faq__ico::before { transform: rotate(180deg); }
/* animált nyitás — a tartalom kisimul, nem ugrik be */
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.faq__item.open .faq__a-inner { opacity: 1; transform: none; }
.faq__a-inner p { padding: 0 1.4rem 1.25rem; color: var(--muted); max-width: 65ch; }

/* ============================================================
   KAPCSOLAT
   ============================================================ */
.section--contact {
  background-color: var(--surface-2);
  background-image:
    linear-gradient(var(--blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
  background-size: 52px 52px;
}
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__lead { color: var(--muted); margin: 1rem 0 1.8rem; font-size: 1.08rem; }

.contact__cards { display: grid; gap: .9rem; }
.contact__card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.contact__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--amber); }
.contact__card-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--amber); color: #fff; flex: none; }
.contact__card-ic svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact__card-text { display: flex; flex-direction: column; }
.contact__card-label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.contact__card-value { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.15rem, 1rem + 1vw, 1.5rem); color: var(--ink); letter-spacing: -.01em; }

.contact__meta { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .7rem; }
.contact__meta li { display: flex; align-items: flex-start; gap: .6rem; color: var(--ink-2); font-size: .96rem; }
.contact__meta .ic { color: var(--amber); margin-top: .15em; }
.contact__meta strong { color: var(--ink); font-weight: 700; }

/* Form */
.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-md); display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label, .field__label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--bg); width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: var(--surface);
  box-shadow: 0 0 0 4px rgba(182,113,60,.14);
}
.field input::placeholder, .field textarea::placeholder { color: #a7aab0; }
.field input:invalid:not(:placeholder-shown) { border-color: #d4574b; }
.form-note { min-height: 1.2em; font-size: .92rem; font-weight: 600; margin-top: .2rem; }
.form-note.ok { color: #1f8a4c; }
.form-note.err { color: #d4574b; }

/* Honeypot mező: emberek elől elrejtve, botoknak csali */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* Küldés közbeni állapot */
.btn.is-loading, .btn[disabled] { opacity: .65; cursor: progress; pointer-events: none; }
.cta-note { margin-top: .9rem; font-size: .85rem; color: var(--muted); line-height: 1.55; }

/* ---- Egyedi legördülő (custom select) ---- */
.select { position: relative; }
.select__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); text-align: left;
  padding: .8rem .95rem; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--bg); cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.select__btn:hover { border-color: var(--muted); }
.select.open .select__btn, .select__btn:focus-visible {
  outline: none; border-color: var(--amber); background: var(--surface);
  box-shadow: 0 0 0 4px rgba(182,113,60,.14);
}
.select__chev { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease), stroke .2s var(--ease); }
.select.open .select__chev { transform: rotate(180deg); stroke: var(--amber); }
.select__list {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40;
  margin: 0; padding: .4rem; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg); max-height: 264px; overflow-y: auto;
  opacity: 0; transform: translateY(-8px) scale(.985); transform-origin: top; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.select.open .select__list { opacity: 1; transform: none; pointer-events: auto; }
.select__list:focus { outline: none; }
.select__opt {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .7rem .8rem; border-radius: var(--r-sm); cursor: pointer;
  font-size: .97rem; color: var(--ink-2);
}
.select__opt.is-active { background: var(--surface-2); color: var(--ink); }
.select__opt.is-selected { color: var(--amber-600); font-weight: 600; }
.select__opt.is-selected::after { content: "✓"; color: var(--amber); font-weight: 700; }

/* ============================================================
   LÁBLÉC
   ============================================================ */
.site-footer {
  position: relative;
  background-color: var(--graphite); color: var(--on-dark-mut);
  background-image: radial-gradient(rgba(255,255,255,.02) .5px, transparent .6px);
  background-size: 7px 7px;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__tag { margin-top: 1rem; max-width: 32ch; color: var(--on-dark-mut); }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-family: var(--font-head); }
.footer__col a { display: block; color: var(--on-dark-mut); padding: .28rem 0; transition: color .2s; }
.footer__col a:hover { color: var(--amber); }
.footer__contact { font-family: var(--font-head); font-weight: 700; color: #fff !important; font-size: 1.05rem; }
.footer__contact:hover { color: var(--amber) !important; }
.footer__hours { margin-top: .8rem; font-size: .92rem; line-height: 1.6; }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.5rem; border-top: 1px solid var(--graphite-3); font-size: .88rem;
}
.footer__slogan { color: var(--on-dark-mut); }
.footer__made { text-align: center; padding-bottom: 1.6rem; }
.footer__made p { font-size: .82rem; color: var(--on-dark-mut); }
.footer__made a { color: var(--on-dark); font-weight: 600; }
.footer__made a:hover { color: var(--amber); }

/* ============================================================
   LEBEGŐ HÍVÁS GOMB
   ============================================================ */
.fab-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--amber); color: #fff; display: none; place-items: center;
  box-shadow: var(--shadow-amber);
}
.fab-call svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fab-call::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--amber);
  animation: ring 2s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ============================================================
   SÜTI SÁV (cookie consent)
   ============================================================ */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 720px; margin-inline: auto;
  background: var(--graphite); color: var(--on-dark);
  border: 1px solid var(--graphite-3); border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: .8rem 1.4rem; flex-wrap: wrap;
  transform: translateY(160%); opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.cookie-bar.is-in { transform: none; opacity: 1; }
.cookie-bar__text { flex: 1 1 300px; margin: 0; font-size: .9rem; line-height: 1.5; color: var(--on-dark-mut); }
.cookie-bar__text a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar__actions { display: flex; gap: .6rem; flex: 0 0 auto; }
.cookie-bar .btn--ghost { color: #fff; border-color: var(--graphite-3); }
.cookie-bar .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--on-dark-mut); color: #fff; }
@media (max-width: 520px) { .cookie-bar__actions { width: 100%; } .cookie-bar__actions .btn { flex: 1; } }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(15,16,19,.92); backdrop-filter: blur(4px);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.open { display: flex; }
.lightbox__img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0;
  cursor: pointer; display: grid; place-items: center; border-radius: 50%;
  transition: background .2s; backdrop-filter: blur(4px);
}
.lightbox__close { top: 18px; right: 18px; width: 48px; height: 48px; font-size: 2rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2.4rem; line-height: 1; }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--amber); }

/* ============================================================
   REVEAL ANIMÁCIÓ
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSZÍV
   ============================================================ */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 520px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; gap: 1rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  /* Mobilon nincs backdrop-filter: különben a fejléc "containing block"-ot csinál a
     fixed lenyíló menünek, és az a fejléchez igazodna (háttér nélkül, szétlógva). */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(251,246,238,.97); }
  .site-header.scrolled { background: rgba(251,246,238,.98); }

  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: flex-start; gap: .4rem;
    background: var(--bg); padding: 5.5rem 1.8rem 2rem;
    box-shadow: var(--shadow-lg); transform: translateX(105%);
    transition: transform .35s var(--ease); z-index: 110; border-left: 1px solid var(--line);
    overflow-y: auto;
  }
  .nav__links a { font-size: 1.2rem; width: 100%; padding-block: .6rem; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .site-header.nav-open .nav__links { transform: translateX(0); }
  .site-header.nav-open .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .site-header.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav__toggle { display: flex; z-index: 120; }
  .nav__cta { display: none; }
  .nav__group { display: block; width: 100%; margin-top: .4rem; }
  .nav__group-label { display: block; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; color: var(--amber-600); padding: 1rem 0 .2rem; }
  .nav__group a { display: block; width: 100%; padding-block: .55rem; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink-2); }
  .nav__group a:hover { color: var(--amber-600); }

  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .fab-call { display: grid; }

  .hero__badge { left: 12px; bottom: 12px; padding: .7rem .9rem; }
  .hero__badge-big { font-size: 2rem; }
}

@media (max-width: 520px) {
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 2rem; }
}

/* ============================================================
   MOZGÁSCSÖKKENTÉS
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .fab-call::before { display: none; }
}

/* ============================================================
   SZOLGÁLTATÁS — kártyánkénti ajánlatkérő mező
   ============================================================ */
.services { align-items: start; }            /* nyitott panel ne nyújtsa a többi kártyát */
.service--feature { display: flex; flex-direction: column; }

.service__quote-toggle {
  margin-top: 1.2rem; width: 100%;
  display: inline-flex; align-items: center; justify-content: space-between; gap: .5rem;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  padding: .7rem 1rem; border-radius: var(--r-sm); cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.service__quote-toggle:hover { border-color: var(--amber); color: var(--amber-600); }
.service__quote-chev { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.service.quote-open .service__quote-toggle { background: var(--amber-100); border-color: var(--amber); color: var(--amber-600); }
.service.quote-open .service__quote-chev { transform: rotate(180deg); }

.service__quote { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.service.quote-open .service__quote { grid-template-rows: 1fr; }
.service__quote-inner { overflow: hidden; }
.service__quote-form { display: flex; flex-direction: column; gap: .55rem; padding-top: .7rem; }
.service__quote-inner .quote-input {
  width: 100%; font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  padding: .7rem .8rem; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--bg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea.quote-input { resize: vertical; min-height: 84px; }
.service__quote-inner .quote-input::placeholder { color: #a7aab0; }
.service__quote-inner .quote-input:focus { outline: none; border-color: var(--amber); background: var(--surface); box-shadow: 0 0 0 4px rgba(182,113,60,.14); }
.service__quote-send { margin-top: .15rem; align-self: start; }
.service__quote-note { min-height: 1em; margin-top: .2rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
.service__quote-note.ok { color: #1f8a4c; }
.service__quote-note.err { color: #d4574b; }
.check--sm { font-size: .82rem; }
.check--sm input { width: 16px; height: 16px; }

/* feature (sötét) kártyán világos vezérlők */
.service--feature .service__quote-toggle { background: rgba(255,255,255,.06); border-color: var(--graphite-3); color: #fff; }
.service--feature .service__quote-toggle:hover { border-color: var(--amber); color: var(--amber); }
.service--feature.quote-open .service__quote-toggle { background: rgba(182,113,60,.16); border-color: var(--amber); color: var(--amber); }
.service--feature .service__quote-inner .quote-input { background: var(--graphite-2); border-color: var(--graphite-3); color: var(--on-dark); }
.service--feature .service__quote-inner .quote-input::placeholder { color: var(--on-dark-mut); }

/* ============================================================
   RÓLUNK
   ============================================================ */
.about { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about__p { color: var(--ink-2); margin-bottom: 1rem; font-size: 1.05rem; }
.about__copy > .btn { margin-top: 1.4rem; }

.callout {
  display: flex; align-items: flex-start; gap: .8rem;
  background: var(--amber-100); border: 1px solid #e6cfab; border-left: 4px solid var(--amber);
  border-radius: var(--r-sm); padding: 1rem 1.2rem; margin-top: 1.6rem;
}
.callout .ic { color: var(--amber-600); margin-top: .15em; }
.callout p { color: #6e4a2a; font-size: .96rem; }
.callout strong { color: var(--amber-600); }

.infocard {
  position: sticky; top: 100px;
  background: linear-gradient(165deg, var(--graphite), var(--graphite-2));
  color: var(--on-dark); border: 1px solid var(--graphite-3);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-lg);
}
.infocard__title { color: #fff; font-size: 1.35rem; margin-bottom: 1.1rem; }
.infocard__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.infocard__list li { display: flex; align-items: flex-start; gap: .6rem; color: var(--on-dark); font-size: .96rem; font-weight: 500; }
.infocard__list .ic { color: var(--amber); margin-top: .15em; }
.infocard__divide { height: 1px; background: var(--graphite-3); margin: 1.4rem 0; }
.infocard__label { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--on-dark-mut); font-weight: 700; font-family: var(--font-mono); }
.infocard__phone { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; color: #fff; margin-top: .35rem; letter-spacing: -.01em; }
.infocard__phone:hover { color: var(--amber); }
.infocard__email { display: inline-block; margin-top: .7rem; color: var(--amber); font-weight: 600; }
.infocard__email:hover { text-decoration: underline; }

/* ============================================================
   REFERENCIÁK
   ============================================================ */
.references { display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); }
.refproj {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.2rem, 2.5vw, 1.8rem); box-shadow: var(--shadow-sm);
}
.refproj:nth-child(even) .refproj__media { order: 2; }   /* váltakozó elrendezés */
.refproj__media { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.refproj__media .media-tile:first-child:nth-last-child(1) { grid-column: 1 / -1; }
.refproj__media .media-tile:first-child:nth-last-child(3) { grid-column: 1 / -1; }
.refproj__tag { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--amber-600); }
.refproj__title { font-size: clamp(1.3rem, 1rem + 1.4vw, 1.8rem); margin: .5rem 0 .8rem; }
.refproj__text { color: var(--muted); font-size: 1rem; }

.media-tile {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; padding: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.media-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.media-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.media-tile:hover img { transform: scale(1.06); }
.media-tile--empty {
  display: grid; place-items: center; gap: .5rem; text-align: center; cursor: default; color: var(--muted);
  background: repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(0,0,0,.018) 12px, rgba(0,0,0,.018) 24px), var(--surface);
}
.media-tile--empty svg { width: 30px; height: 30px; stroke: var(--line-2); fill: none; stroke-width: 1.5; }
.media-tile--empty span { font-size: .78rem; font-weight: 600; }
.media-tile--empty:hover { transform: none; box-shadow: none; }

/* Referencia — előtte / utána elrendezés */
.refproj-ba { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.3rem, 2.6vw, 2rem); box-shadow: var(--shadow-sm); }
.refproj-ba__head { max-width: 68ch; margin-bottom: 1.4rem; }
.refproj-ba__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 1.8rem); align-items: start; }
.ba-col { position: relative; }
.ba-badge { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 700; padding: .32rem .7rem; border-radius: 999px; margin-bottom: .75rem; }
.ba-badge .ba-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ba-badge--before { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line-2); }
.ba-badge--after { background: var(--amber); color: #fff; }
.ba-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.ba-tiles .media-tile:only-child, .ba-tiles .media-tile:first-child:nth-last-child(n+3) { grid-column: 1 / -1; }
@media (max-width: 640px) { .refproj-ba__cols { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ============================================================
   ALOLDAL (erkely.html) — apró kiegészítések
   ============================================================ */
.subhero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem); }
.backlink { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 1.2rem; }
.backlink:hover { color: var(--amber-600); }
.backlink .ic { width: 1em; height: 1em; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.3rem; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--amber-600); }
.breadcrumb [aria-current] { color: var(--ink); }
.about__link { color: var(--amber-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1.5px; }
.about__link:hover { color: var(--amber); }

/* ============================================================
   JOGI OLDALAK (adatkezelés, sütik) + hozzájárulás
   ============================================================ */
.legal { max-width: 780px; }
.legal__title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.8rem); margin-bottom: .4rem; }
.legal__updated { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 1.8rem; }
.legal h2 { font-size: 1.35rem; margin: 2.1rem 0 .6rem; }
.legal h3 { font-size: 1.05rem; margin: 1.2rem 0 .3rem; }
.legal p { margin-bottom: .9rem; color: var(--ink-2); }
.legal ul { margin: 0 0 1.1rem 1.2rem; padding: 0; color: var(--ink-2); }
.legal li { margin-bottom: .45rem; }
.legal a { color: var(--amber-600); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--amber); }
.legal strong { color: var(--ink); font-weight: 700; }
.legal table { width: 100%; border-collapse: collapse; margin: .4rem 0 1.2rem; font-size: .92rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: .6rem .7rem; text-align: left; vertical-align: top; }
.legal th { background: var(--surface-2); font-family: var(--font-head); }
.fill { background: var(--amber-100); color: var(--amber-600); font-weight: 600; border-radius: 4px; padding: 0 .3em; }

/* Hozzájárulás pipa az űrlapon */
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--ink-2); cursor: pointer; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin: .15em 0 0; accent-color: var(--amber); flex: none; }
.check a { color: var(--amber-600); text-decoration: underline; text-underline-offset: 2px; }
.check a:hover { color: var(--amber); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: start; }
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 1.4rem; }

/* ============================================================
   RESPONSZÍV — új blokkok
   ============================================================ */
@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; }
  .infocard { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .refproj { grid-template-columns: 1fr; }
  .refproj__media, .refproj:nth-child(even) .refproj__media { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
}

