/* ==========================================================================
   ENERGOLD KFT. — stíluslap
   Design: rétegrend / műszaki metszet
   ========================================================================== */

/* --- Tokenek ------------------------------------------------------------ */
:root {
  /* Márkaszínek */
  --forest:      #013D39;   /* márka mélyzöld */
  --forest-deep: #012A27;   /* sötétebb árnyalat nagy felületekhez */
  --gold:        #CA8908;   /* márka arany */
  --gold-2:      #E9B444;   /* arany világos, hover és gradiens */
  --gold-ink:    #8A5D03;   /* arany kis szöveghez világos háttéren (kontraszt miatt) */
  --leaf:        #3E9B4F;   /* a logó élénk zöldje, apró jelzésekhez */

  /* Felületek */
  --paper:    #F1F3EF;      /* alap háttér, halványan zöldes törtfehér */
  --paper-2:  #E4E8E0;      /* váltakozó sávok, placeholderek */
  --white:    #FFFFFF;

  /* Szöveg */
  --ink:      #0B1F1C;
  --ink-2:    #3B534F;      /* másodlagos szöveg */
  --on-dark:  #EAF0EA;
  --on-dark-2:#A9C0BB;

  /* Vonalak */
  --rule:      rgba(1, 61, 57, .16);
  --rule-dark: rgba(234, 240, 234, .18);

  /* Tipográfia */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Ritmus */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --maxw: 1220px;
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 3px;         /* szinte szögletes: műszaki rajz karakter */
  --radius-lg: 6px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--forest); color: var(--on-dark);
  padding: .75rem 1.25rem; font-family: var(--mono); font-size: .8rem;
}
.skip:focus { left: 0; }

/* --- Segédosztályok ----------------------------------------------------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.band-dark { background: var(--forest); color: var(--on-dark); }
.band-deep { background: var(--forest-deep); color: var(--on-dark); }
.band-alt  { background: var(--paper-2); }

.band-dark h1, .band-dark h2, .band-dark h3,
.band-deep h1, .band-deep h2, .band-deep h3 { color: var(--white); }

/* Eyebrow — a műszaki rajz feliratozásának megfelelője */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.25rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 6rem;
}
.band-dark .eyebrow::after, .band-deep .eyebrow::after { background: var(--rule-dark); }
.eyebrow--plain::after { display: none; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
}
.band-dark .lead, .band-deep .lead,
.showcase .lead, .hero-photo .lead { color: var(--on-dark-2); }

.muted { color: var(--ink-2); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Hiányzó adat jelölése — az átadás előtt kell cserélni */
.todo {
  background: rgba(202, 137, 8, .14);
  border-bottom: 1px dashed var(--gold);
  padding: 0 .2em;
  font-family: var(--mono);
  font-size: .9em;
}

/* --- Gombok ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: .95rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--gold); color: #23180A; }
.btn--gold:hover { background: var(--gold-2); }

.btn--forest { background: var(--forest); color: var(--on-dark); }
.btn--forest:hover { background: var(--forest-deep); }

.btn--ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--forest); background: rgba(1, 61, 57, .05); }

.band-dark .btn--ghost, .band-deep .btn--ghost,
.hero .btn--ghost, .page-head .btn--ghost, .cookie .btn--ghost,
.hero-photo .btn--ghost, .showcase .btn--ghost, .action-bar .btn--ghost {
  border-color: rgba(234, 240, 234, .38); color: var(--on-dark);
}
.band-dark .btn--ghost:hover, .band-deep .btn--ghost:hover,
.hero .btn--ghost:hover, .page-head .btn--ghost:hover, .cookie .btn--ghost:hover,
.hero-photo .btn--ghost:hover, .showcase .btn--ghost:hover, .action-bar .btn--ghost:hover {
  border-color: var(--on-dark); background: rgba(255, 255, 255, .1);
}

.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Nyilas szöveges link */
.arrow-link {
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: gap .18s ease;
}
.arrow-link:hover { gap: .85rem; }
.band-dark .arrow-link, .band-deep .arrow-link { color: var(--white); }

/* --- Fejléc ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 243, 239, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { height: 42px; width: auto; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: .04em;
  color: var(--forest);
}
.brand-sub {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 4px;
}

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.nav a:hover { border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--forest); }

.header-cta { flex-shrink: 0; }
.header-tel {
  display: none;
  font-family: var(--mono);
  font-size: .85rem;
  text-decoration: none;
  color: var(--forest);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px;
  background: var(--ink);
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav {
    position: fixed;
    inset: 74px 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 1rem var(--gutter) 1.75rem;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--rule); }
  .nav a { display: block; padding: .95rem 0; font-size: 1.05rem; border-bottom: none; }
  .nav a[aria-current="page"] { color: var(--gold-ink); }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .header-tel { display: block; margin-left: auto; }
}

@media (max-width: 460px) {
  .brand-sub { display: none; }
  .header-tel { display: none; }
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--forest-deep);
  color: var(--on-dark);
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

/* Halvány milliméterpapír-raszter: műszaki rajz alaphangulat */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 240, 234, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 240, 234, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 40%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.75rem; }
}

.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero .lead { color: var(--on-dark-2); max-width: 42ch; margin-bottom: 2rem; }

.hero-note {
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--on-dark-2);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.hero-note::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(62, 155, 79, .22);
  flex-shrink: 0;
}

/* --- SZIGNATÚRA: rétegrend-metszet -------------------------------------- */
.section-drawing {
  --strip-h: clamp(200px, 26vw, 300px);
  font-family: var(--mono);
}

.sd-frame {
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  background: rgba(255, 255, 255, .035);
}
.band-alt .sd-frame, .sd-frame--light {
  border-color: var(--rule);
  background: rgba(1, 61, 57, .03);
}

.sd-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  padding-bottom: .75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--rule-dark);
}
.sd-frame--light .sd-head { color: var(--ink-2); border-bottom-color: var(--rule); }

/* A rétegek: függőleges sávok egymás mellett, mint egy falmetszeten */
.sd-strips {
  display: flex;
  gap: 3px;
  height: var(--strip-h);
  align-items: stretch;
}

.sd-strip {
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 2px;
  overflow: hidden;
  transform-origin: bottom;
  transition: filter .2s ease, box-shadow .2s ease;
  background-color: var(--l-col, #7d8b86);
  min-width: 10px;
}
.sd-strip::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--l-hatch, none);
  background-size: var(--l-hatch-size, auto);
  opacity: .55;
}
.sd-strip:hover, .sd-strip.is-active {
  filter: brightness(1.18);
  box-shadow: inset 0 0 0 2px var(--gold);
}

/* betöltési animáció */
.sd-strip { animation: strip-rise .55s cubic-bezier(.2, .7, .3, 1) backwards; }
@keyframes strip-rise {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .sd-strip { animation: none; }
}

/* sávindex a sáv alján */
.sd-strip b {
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  text-align: center;
  font-size: .62rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}

/* méretvonal a metszet alatt */
.sd-dim {
  margin-top: .6rem;
  height: 22px;
  position: relative;
  border-top: 1px solid var(--rule-dark);
}
.sd-frame--light .sd-dim { border-top-color: var(--rule); }
.sd-dim span {
  position: absolute;
  top: 4px; left: 50%;
  transform: translateX(-50%);
  background: var(--forest-deep);
  padding: 0 .6rem;
  font-size: .66rem;
  letter-spacing: .12em;
  color: var(--on-dark-2);
}
.sd-frame--light .sd-dim span { background: var(--paper-2); color: var(--ink-2); }

/* kiolvasó panel */
.sd-readout {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-dark);
  min-height: 5.5rem;
}
.sd-frame--light .sd-readout { border-top-color: var(--rule); }

.sd-readout-idx {
  font-size: .66rem;
  letter-spacing: .18em;
  color: var(--gold);
}
.sd-readout-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.01em;
  color: var(--white);
  margin: .3rem 0 .35rem;
}
.sd-frame--light .sd-readout-name { color: var(--ink); }
.sd-readout-desc {
  font-family: var(--body);
  font-size: .95rem;
  line-height: 1.55;
  color: var(--on-dark-2);
  margin: 0;
}
.sd-frame--light .sd-readout-desc { color: var(--ink-2); }

.sd-hint {
  margin-top: .9rem;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(169, 192, 187, .7);
}
.sd-frame--light .sd-hint { color: var(--ink-2); }

/* mobilon vízszintes sorokká fordul a metszet */
@media (max-width: 640px) {
  .sd-strips {
    flex-direction: column;
    height: auto;
    gap: 2px;
  }
  .sd-strip {
    min-height: 34px;
    flex: none !important;
    height: var(--l-mh, 34px);
    transform-origin: left;
  }
  @keyframes strip-rise {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
  }
  .sd-strip b { bottom: auto; top: 50%; transform: translateY(-50%); left: 10px; right: auto; text-align: left; }
  .sd-dim { display: none; }
}

/* --- Két ajtó ----------------------------------------------------------- */
.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.door {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.door:hover {
  border-color: var(--forest);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -22px rgba(1, 61, 57, .55);
}

.door-tag {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.door h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: .75rem; }
.door p { color: var(--ink-2); font-size: .98rem; }

.door ul {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.door li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .93rem;
  color: var(--ink-2);
}
.door li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 9px; height: 9px;
  border: 1.5px solid var(--leaf);
  border-radius: 2px;
}
.door .arrow-link { margin-top: auto; align-self: flex-start; }

/* --- Tényadat-sáv ------------------------------------------------------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.fact {
  background: var(--forest);
  padding: 1.5rem 1.25rem;
}
.fact-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  color: var(--gold-2);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.fact-label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  margin-top: .5rem;
  line-height: 1.5;
}

/* --- Előnyök rács ------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.benefit {
  padding-top: 1.25rem;
  border-top: 2px solid var(--forest);
}
.benefit-ico {
  width: 34px; height: 34px;
  margin-bottom: 1rem;
  color: var(--gold);
}
.benefit-ico svg { width: 100%; height: 100%; }
.benefit h3 { margin-bottom: .5rem; }
.benefit p { font-size: .95rem; color: var(--ink-2); }

/* --- Folyamat (valódi sorrend, ezért számozott) ------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule-dark);
}
.band-alt .step, .step--light { border-top-color: var(--rule); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: .9rem; left: 0;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .12em;
  color: var(--gold);
}
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { font-size: .93rem; color: var(--on-dark-2); }
.band-alt .step p, .step--light p { color: var(--ink-2); }

/* --- Fotó placeholder --------------------------------------------------- */
.ph {
  position: relative;
  background: var(--paper-2);
  border: 1px dashed rgba(1, 61, 57, .3);
  border-radius: var(--radius-lg);
  aspect-ratio: var(--ph-ratio, 4 / 3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(1, 61, 57, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 61, 57, .05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.ph span {
  position: relative;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  max-width: 22ch;
  line-height: 1.6;
}
.band-dark .ph, .band-deep .ph {
  background: rgba(255, 255, 255, .04);
  border-color: var(--rule-dark);
}
.band-dark .ph span, .band-deep .ph span { color: var(--on-dark-2); }
.band-dark .ph::before, .band-deep .ph::before {
  background-image:
    linear-gradient(rgba(234, 240, 234, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 240, 234, .05) 1px, transparent 1px);
}

.ph--wide { --ph-ratio: 16 / 9; }
.ph--tall { --ph-ratio: 3 / 4; }
.ph--sq   { --ph-ratio: 1 / 1; }

/* --- Referencia rács ---------------------------------------------------- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.ref-card { display: flex; flex-direction: column; gap: .9rem; }
.ref-meta {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.ref-card h3 { font-size: 1.1rem; }
.ref-card p { font-size: .92rem; color: var(--ink-2); }

/* --- Vélemények --------------------------------------------------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.quote {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--gold);
}
.quote p {
  font-size: 1.02rem;
  line-height: 1.6;
}
.quote footer {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* --- GYIK --------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); max-width: 62rem; }
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.35rem 3rem 1.35rem 0;
  position: relative;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: .35rem; top: 50%;
  width: 13px; height: 13px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .22s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq .faq-body {
  padding: 0 2rem 1.5rem 0;
  color: var(--ink-2);
  max-width: 68ch;
}
.band-dark .faq { border-color: var(--rule-dark); }
.band-dark .faq details { border-bottom-color: var(--rule-dark); }
.band-dark .faq .faq-body { color: var(--on-dark-2); }

/* --- Ellenőrzőlista ----------------------------------------------------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.checks li {
  position: relative;
  padding-left: 2.1rem;
  line-height: 1.55;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: 18px; height: 18px;
  border-radius: 2px;
  background: var(--leaf);
  clip-path: polygon(14% 47%, 0 61%, 40% 100%, 100% 24%, 86% 10%, 39% 71%);
}
.checks--warn li::before { background: var(--gold); }

/* --- Űrlap -------------------------------------------------------------- */
.form-shell {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border: 1px solid var(--rule);
}
.band-dark .form-shell, .band-deep .form-shell { border: none; }

.form-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 1.75rem;
}
.form-progress i {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--paper-2);
  transition: background-color .3s ease;
}
.form-progress i.is-done { background: var(--gold); }

.fstep { display: none; }
.fstep.is-active { display: block; animation: fade-in .3s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fstep.is-active { animation: none; } }

.fstep-q {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.25;
  margin: 0 0 .4rem;
  color: var(--ink);
}
.fstep-help {
  font-size: .92rem;
  color: var(--ink-2);
  margin: 0 0 1.5rem;
}

.choice-list { display: grid; gap: .7rem; margin-bottom: 1.5rem; }
.choice {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1.05rem 1.15rem;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
.choice:hover { border-color: var(--forest); background: rgba(1, 61, 57, .03); }
.choice input { margin: .25rem 0 0; accent-color: var(--forest); flex-shrink: 0; }
.choice-t { font-weight: 600; display: block; line-height: 1.3; }
.choice-d { font-size: .87rem; color: var(--ink-2); display: block; margin-top: .2rem; }
.choice:has(input:checked) { border-color: var(--forest); background: rgba(1, 61, 57, .05); }

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: .45rem;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  padding: .8rem .95rem;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--forest);
  outline: none;
  box-shadow: 0 0 0 3px rgba(1, 61, 57, .1);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.field-err {
  display: none;
  font-size: .84rem;
  color: #B3261E;
  margin-top: .35rem;
}
.field.has-error .field-err { display: block; }
.field.has-error input, .field.has-error select { border-color: #B3261E; }

.consent {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.consent input { margin-top: .25rem; accent-color: var(--forest); flex-shrink: 0; }
.consent a { color: var(--forest); }

.form-nav { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.form-nav .spacer { flex: 1; }

.form-done {
  display: none;
  text-align: center;
  padding: 2rem 0;
}
.form-done.is-visible { display: block; }
.form-done h3 { font-size: 1.5rem; margin-bottom: .75rem; }

/* --- Kapcsolat ---------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.contact-list dt, .contact-key {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .35rem;
}
.contact-val { font-size: 1.05rem; }
.contact-val a { text-decoration: none; border-bottom: 1px solid var(--rule-dark); }
.contact-val a:hover { border-bottom-color: var(--gold); }

/* --- Lábléc ------------------------------------------------------------- */
.site-footer {
  background: var(--forest-deep);
  color: var(--on-dark-2);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; } }

.footer-logo { height: 88px; width: auto; margin-bottom: 1.25rem; }
.footer h4 {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 1.1rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--white); }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  align-items: center;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom .spacer { flex: 1; }

/* --- Oldalfejléc (aloldalak) -------------------------------------------- */
.page-head {
  background: var(--forest);
  color: var(--on-dark);
  padding-block: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(234, 240, 234, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 240, 234, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(105deg, #000, transparent 70%);
}
.page-head .wrap { position: relative; }
.page-head h1 { max-width: 20ch; margin-bottom: 1.25rem; }
.page-head .lead { color: var(--on-dark-2); }

.crumbs {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  margin-bottom: 1.5rem;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* --- Kétoszlopos szövegblokk ------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split--text-right > :first-child { order: 0; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; margin-bottom: .75rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--forest); }

/* --- CTA sáv ------------------------------------------------------------ */
.cta-band {
  background: var(--gold);
  color: #23180A;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 24ch; color: #23180A; }
.cta-band p { color: rgba(35, 24, 10, .78); max-width: 40ch; }
.cta-band .btn--forest { margin-left: auto; }
@media (max-width: 760px) { .cta-band .btn--forest { margin-left: 0; } }

/* --- Sütibanner --------------------------------------------------------- */
.cookie {
  position: fixed;
  left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  max-width: 640px;
  margin-inline: auto;
  background: var(--forest-deep);
  color: var(--on-dark);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  z-index: 200;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  display: none;
}
.cookie.is-visible { display: block; }
.cookie p { font-size: .88rem; color: var(--on-dark-2); margin-bottom: 1rem; }
.cookie a { color: var(--gold-2); }

/* --- Görgetéses megjelenés ----------------------------------------------
   A rejtett kiindulóállapot csak akkor lép életbe, ha fut a JavaScript.
   Így JS nélkül (és kereső-robotoknak) minden tartalom azonnal látszik. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Nyomtatás ---------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cookie, .cta-band { display: none; }
  body { background: #fff; }
}

/* --- Anyagminták a metszetrajzhoz --------------------------------------
   A sraffozás az építési műszaki rajz jelölésrendszerét követi.
   ----------------------------------------------------------------------- */
.mat-gypsum {
  --l-col: #93A9B4;
  --l-hatch: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 7px);
}
.mat-mgo {
  --l-col: #77857F;
  --l-hatch: repeating-linear-gradient(45deg, rgba(255,255,255,.3) 0 1px, transparent 1px 6px),
             repeating-linear-gradient(-45deg, rgba(0,0,0,.18) 0 1px, transparent 1px 6px);
}
.mat-eps {
  --l-col: #404746;
  --l-hatch: radial-gradient(circle at 4px 4px, rgba(255,255,255,.5) 1.6px, transparent 2px);
  --l-hatch-size: 11px 11px;
}
.mat-pir {
  --l-col: #BE9A52;
  --l-hatch: repeating-linear-gradient(-45deg, rgba(255,255,255,.3) 0 2px, transparent 2px 9px);
}
.mat-wool {
  --l-col: #C6AF71;
  --l-hatch: repeating-linear-gradient(0deg, rgba(255,255,255,.5) 0 2px, transparent 2px 9px);
}
.mat-wool-2 {
  --l-col: #A8904F;
  --l-hatch: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 2px, transparent 2px 9px);
}
.mat-render {
  --l-col: #D6D3C8;
  --l-hatch: repeating-linear-gradient(45deg, rgba(0,0,0,.14) 0 1px, transparent 1px 5px);
}
.mat-timber {
  --l-col: #9C7440;
  --l-hatch: repeating-linear-gradient(88deg, rgba(0,0,0,.22) 0 1px, transparent 1px 11px);
}
.mat-foil {
  --l-col: #5E7382;
  --l-hatch: repeating-linear-gradient(0deg, rgba(255,255,255,.4) 0 2px, transparent 2px 5px);
}
.mat-slab {
  --l-col: #8C948F;
  --l-hatch: repeating-linear-gradient(45deg, rgba(0,0,0,.22) 0 1px, transparent 1px 8px);
}
.mat-air {
  --l-col: #4E6A66;
  --l-hatch: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, transparent 1px 10px);
}


/* --- Mobil műveletsáv ---------------------------------------------------
   Kivitelezőnél a telefonhívás a legfontosabb konverziós útvonal, ezért
   mobilon állandóan elérhető marad az képernyő alján.
   ----------------------------------------------------------------------- */
.action-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: var(--forest-deep);
  border-top: 1px solid var(--rule-dark);
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  gap: .6rem;
}
.action-bar .btn { flex: 1; padding: .85rem .5rem; font-size: .9rem; }

@media (max-width: 760px) {
  .action-bar { display: flex; }
  body { padding-bottom: 72px; }
  .cookie { bottom: calc(72px + var(--gutter)); }
}

/* --- Hőáramlás elvi ábra -------------------------------------------------
   Két állapot: szigeteletlen és szigetelt padlásfödém. Csak a márkaszínek
   szerepelnek benne — az arany a meleg, a kérdés csak az, hol marad.
   ----------------------------------------------------------------------- */
.heat { font-family: var(--mono); }

.heat-frame {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: rgba(1, 61, 57, .03);
  padding: clamp(1rem, 2.5vw, 1.75rem);
}

.heat-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: .75rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

.heat-stage { position: relative; }
.heat-stage svg { width: 100%; height: auto; display: block; }

.heat-toggle {
  display: flex; gap: 4px; margin-bottom: 1rem;
  background: var(--paper-2); padding: 4px; border-radius: var(--radius);
}
.heat-btn {
  flex: 1; border: none; background: transparent; cursor: pointer;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2);
  padding: .7rem .5rem; border-radius: 2px;
  transition: background-color .2s ease, color .2s ease;
}
.heat-btn[aria-pressed="true"] { background: var(--forest); color: var(--white); }

/* állapotváltás */
.heat [data-state="szigetelt"] { display: none; }
.heat.is-insulated [data-state="szigetelt"] { display: inline; }
.heat.is-insulated [data-state="csupasz"] { display: none; }

/* felszálló hő */
.heat-plume { animation: heat-rise 2.4s linear infinite; }
.heat.is-insulated .heat-plume { animation-duration: 4s; }
@keyframes heat-rise { from { transform: translateY(0); } to { transform: translateY(-44px); } }
@media (prefers-reduced-motion: reduce) { .heat-plume { animation: none; } }

.heat-readout {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule);
  min-height: 4.5rem;
}
.heat-verdict {
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: -.01em; color: var(--ink); margin: 0 0 .35rem;
}
.heat-desc { font-family: var(--body); font-size: .95rem; line-height: 1.55; color: var(--ink-2); margin: 0; }

.heat-note {
  margin-top: .9rem; font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2);
}

/* --- Képes hero (üdülőpark) ---------------------------------------------- */
.hero-photo {
  position: relative;
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--forest-deep);
}
.hero-photo picture, .hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(1,42,39,.94) 0%, rgba(1,42,39,.72) 38%, rgba(1,42,39,.18) 100%);
}
.hero-photo .wrap {
  position: relative; z-index: 1;
  width: 100%;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.hero-photo h1 { color: var(--white); max-width: 18ch; margin-bottom: 1.25rem; }
.hero-photo .lead { color: var(--on-dark-2); }

.photo-credit {
  position: absolute;
  right: var(--gutter); top: 1rem;
  z-index: 2;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(234,240,234,.72);
  background: rgba(1,42,39,.55);
  padding: .35rem .6rem;
  border-radius: 2px;
}

/* --- Galéria ------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.25rem);
}
.gal-item {
  position: relative;
  padding: 0;
  border: none;
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 16 / 9;
  display: block;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal-item:hover img { transform: scale(1.04); }
.gal-tag {
  position: absolute;
  left: .6rem; bottom: .6rem;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(1,42,39,.82);
  padding: .3rem .55rem;
  border-radius: 2px;
}
.gal-item--wide { grid-column: span 2; aspect-ratio: 21 / 9; }
@media (max-width: 620px) { .gal-item--wide { grid-column: span 1; aspect-ratio: 16 / 9; } }

/* nagyító */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(1,26,24,.96);
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lb-inner { position: relative; max-width: 1200px; width: 100%; text-align: center; }
.lb-caption {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border: 1px solid rgba(234,240,234,.32);
  background: rgba(1,42,39,.7);
  color: var(--on-dark);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem; line-height: 1;
}
.lb-btn:hover { background: var(--forest); }
.lb-prev { left: -8px; } .lb-next { right: -8px; }
@media (max-width: 720px) { .lb-prev { left: 2px; } .lb-next { right: 2px; } }
.lb-close {
  position: absolute; top: -52px; right: 0;
  width: 44px; height: 44px;
  border: 1px solid rgba(234,240,234,.32);
  background: transparent; color: var(--on-dark);
  border-radius: 50%; cursor: pointer; font-size: 1.1rem;
}
.lb-close:hover { background: rgba(255,255,255,.1); }

/* --- Kiemelt üdülőpark sáv a főoldalon ---------------------------------- */
.showcase { position: relative; overflow: hidden; background: var(--forest-deep); }
.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 900px) { .showcase-grid { grid-template-columns: 1fr; } }
.showcase-stack { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.showcase-stack a { border-radius: var(--radius-lg); overflow: hidden; display: block; position: relative; }
.showcase-stack a:first-child { grid-column: span 2; }
.showcase-stack img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .5s ease; }
.showcase-stack a:hover img { transform: scale(1.04); }

/* --- Videóbeágyazó ------------------------------------------------------
   Kattintásig nem tölt be semmit a YouTube-ról: nincs sütielhelyezés és
   nincs külső kérés, amíg a látogató el nem indítja a videót. Ez GDPR
   szempontból tisztább, és sokkal gyorsabb oldalbetöltést ad.
   ----------------------------------------------------------------------- */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--forest-deep);
  cursor: pointer;
  border: none;
  padding: 0;
  width: 100%;
  display: block;
}
.video img, .video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  object-fit: cover;
}
.video::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(1,42,39,.6), rgba(1,42,39,.12));
  transition: background-color .25s ease;
  pointer-events: none;
}
.video.is-playing::after, .video.is-playing .video-play, .video.is-playing .video-label { display: none; }

.video-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease, background-color .25s ease;
  z-index: 2;
}
.video:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--gold-2); }
.video-play svg { width: 26px; height: 26px; margin-left: 4px; fill: #23180A; }

.video-label {
  position: absolute;
  left: 1rem; bottom: 1rem;
  z-index: 2;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

/* --- Projekt adatlap ---------------------------------------------------- */
.spec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spec div { background: var(--paper); padding: 1.1rem 1.15rem; }
.spec dt {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: .4rem;
}
.spec dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.02rem; }

/* --- Világos dobozok sötét szekción belül -------------------------------
   A .form-shell fehér hátteret kap, de a sötét szekcióból örökölné a világos
   szövegszínt. Itt visszaállítjuk, hogy minden benne lévő elem olvasható
   maradjon akkor is, ha nem kapott külön színt.
   ----------------------------------------------------------------------- */
.form-shell,
.band-dark .form-shell,
.band-deep .form-shell {
  color: var(--ink);
}
.form-shell h2,
.form-shell h3,
.form-shell h4,
.band-dark .form-shell h3,
.band-deep .form-shell h3 {
  color: var(--ink);
}
.form-shell .muted { color: var(--ink-2); }

/* A körvonalas gomb az űrlapdobozon belül világos háttérre való */
.band-dark .form-shell .btn--ghost,
.band-deep .form-shell .btn--ghost,
.form-shell .btn--ghost {
  border-color: var(--rule);
  color: var(--ink);
  background: transparent;
}
.band-dark .form-shell .btn--ghost:hover,
.band-deep .form-shell .btn--ghost:hover,
.form-shell .btn--ghost:hover {
  border-color: var(--forest);
  background: rgba(1, 61, 57, .05);
}


/* --- Arany szövegek kontrasztja ------------------------------------------
   A márka aranya (#CA8908) nagy felületen és gombon jól működik, de kis
   szövegként világos háttéren csak 2,65:1 — olvashatatlan sokaknak.
   Világos háttéren ezért sötétebb, sötét háttéren világosabb árnyalatot
   használunk. A gombok és nagy számok maradnak az eredeti aranynál.
   ----------------------------------------------------------------------- */
.eyebrow,
.door-tag,
.contact-list dt,
.contact-key,
.ref-meta,
.step::before,
.sd-frame--light .sd-readout-idx,
.heat-btn[aria-pressed="false"] {
  color: var(--gold-ink);
}
.faq summary::after {
  border-right-color: var(--gold-ink);
  border-bottom-color: var(--gold-ink);
}

/* Sötét felületeken világosabb arany kell */
.band-dark .eyebrow, .band-deep .eyebrow,
.hero .eyebrow, .hero-photo .eyebrow, .page-head .eyebrow, .showcase .eyebrow,
.band-dark .door-tag, .band-deep .door-tag,
.band-dark .contact-key, .band-deep .contact-key,
.band-dark .contact-list dt, .band-deep .contact-list dt,
.band-dark .ref-meta, .band-deep .ref-meta,
.band-dark .step::before, .band-deep .step::before,
.sd-readout-idx,
.footer h4,
.crumbs a:hover {
  color: var(--gold-2);
}
.band-dark .faq summary::after, .band-deep .faq summary::after {
  border-right-color: var(--gold-2);
  border-bottom-color: var(--gold-2);
}
.sd-frame--light .sd-readout-idx { color: var(--gold-ink); }

/* A metszetrajz rétegszámai: sötét háttérchip, hogy minden anyagon olvashatók legyenek */
.sd-strip b {
  background: rgba(4, 22, 20, .72);
  padding: 2px 7px;
  border-radius: 3px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: fit-content;
  text-shadow: none;
  color: #fff;
}
@media (max-width: 640px) {
  .sd-strip b { left: 10px; transform: translateY(-50%); }
}

/* A jelölés a környezet szövegszínét veszi át, így sötét sávban is olvasható */
.todo { color: inherit; }
