/* ==========================================================================
   Jaralux – egyoldalas marketing oldal
   Színek: fehér, antracit (RAL 7016), ezüst (RAL 9006 közeli)
   ========================================================================== */

:root {
  /* Szín */
  --white: #ffffff;
  --mist: #f1f3f4;          /* halvány ezüst háttér */
  --silver-100: #e2e5e8;    /* vonalak */
  --silver-300: #c3c8cd;
  --silver: #a9afb5;        /* márka ezüst */
  --silver-600: #7d858c;
  --anthracite: #383e42;    /* RAL 7016 */
  --anthracite-900: #2a2f33;
  --anthracite-950: #1f2326;
  --ink: #23282c;
  --muted: #586067;

  /* Tipográfia */
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-md: 1.0625rem;   /* 17 */
  --fs-lg: 1.25rem;     /* 20 */
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --fs-2xl: clamp(1.875rem, 1.35rem + 1.9vw, 2.75rem);
  --fs-3xl: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);

  /* Tér */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --radius: 4px;
  --header-h: 72px;

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  font-variation-settings: "wdth" 112;
}
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); line-height: 1.25; }
p { margin: 0; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--anthracite); color: var(--white);
  padding: 0.6rem 1rem; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.anchor-top { position: absolute; top: 0; }

/* Szemöldök felirat: rövid "lamella" vonallal */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-600);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 7px;
  flex: none;
  background: repeating-linear-gradient(to bottom, currentColor 0 2px, transparent 2px 5px);
}
.eyebrow--light { color: var(--silver); }

.section-head { display: grid; gap: 0; max-width: 40rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head h2 + p { margin-top: 1rem; color: var(--muted); max-width: 36rem; }
.section-head--light h2 { color: var(--white); }

/* --------------------------------------------------------------------------
   Gombok, linkek
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--anthracite); color: var(--white); }
.btn--dark:hover { background: var(--anthracite-950); }
.btn--light { background: var(--white); color: var(--anthracite); }
.btn--light:hover { background: var(--silver-100); }
.btn--sm { min-height: 40px; padding: 0.5rem 1rem; }
.btn:focus-visible { outline-color: var(--silver); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  color: var(--anthracite);
  border-bottom: 1px solid var(--silver);
  padding-bottom: 2px;
  transition: border-color 0.2s, gap 0.2s;
}
.text-link::after { content: "→"; font-weight: 400; }
.text-link:hover { border-color: currentColor; gap: 0.75rem; }
.text-link--light { color: var(--white); border-color: var(--silver-600); }
.text-link--sm { font-size: var(--fs-xs); }

/* --------------------------------------------------------------------------
   Fejléc
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--silver-100); box-shadow: 0 6px 24px -18px rgba(31, 35, 38, 0.5); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--anthracite);
  flex: none;
}
.brand-logo { display: block; height: 34px; width: auto; }
/* A logó sötét szövege a világos fejlécen olvasható; sötét háttéren
   (lábléc) fehérre invertáljuk, hogy megmaradjon a kontraszt. */
.brand-logo--light { filter: brightness(0) invert(1); }

.main-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.main-nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  padding-block: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.main-nav ul a:hover, .main-nav ul a[aria-current="true"] { border-bottom-color: var(--silver); }
.nav-phone {
  font-family: var(--font-mono);
  font-size: var(--fs-xs) !important;
  letter-spacing: 0.02em;
  color: var(--muted) !important;
  white-space: nowrap;
}

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--silver-100); border-radius: var(--radius);
  cursor: pointer; color: var(--anthracite);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero / banner
   -------------------------------------------------------------------------- */
@property --slat-gap {
  syntax: "<length>";
  inherits: false;
  initial-value: 3px;
}

.hero {
  position: relative;
  background: var(--anthracite);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
/* ezüst záróléc a banner alján */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(to bottom, var(--silver-300), var(--silver-600));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 2rem + 4vw, 6rem);
}

.hero h1 {
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-variation-settings: "wdth" 112;
  max-width: 15ch;
  overflow-wrap: break-word;
}
.hero-copy { min-width: 0; }
.hero-lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  color: var(--silver-300);
  font-size: var(--fs-lg);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  list-style: none;
  margin: 3rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(169, 175, 181, 0.25);
  font-size: var(--fs-xs);
  color: var(--silver);
}
.hero-facts li { display: grid; gap: 0.125rem; }
.hero-facts strong {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--white);
  letter-spacing: 0.02em;
}

/* A kép "lamellákon" át látszik: a zsalúzia maga a márkajel */
.hero-media {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--anthracite-950);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  --slat-gap: 3px;
  mask-image: repeating-linear-gradient(to bottom, #000 0 calc(34px - var(--slat-gap)), transparent calc(34px - var(--slat-gap)) 34px);
  -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0 calc(34px - var(--slat-gap)), transparent calc(34px - var(--slat-gap)) 34px);
  animation: slats-open 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(169, 175, 181, 0.35);
  border-radius: inherit;
  pointer-events: none;
}
@keyframes slats-open {
  from { --slat-gap: 12px; }
  to { --slat-gap: 3px; }
}

/* --------------------------------------------------------------------------
   Bemutatkozás + előnyök
   -------------------------------------------------------------------------- */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.intro-text { display: grid; gap: 1.25rem; }
.intro-text h2 { margin-bottom: 0.5rem; max-width: 18ch; }
.intro-text p { color: var(--muted); max-width: 38rem; }
.intro-text .eyebrow { margin-bottom: 0; }

.intro-media { margin: 0; display: grid; gap: 0.75rem; justify-self: end; width: min(100%, 360px); }
.intro-media img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: var(--radius); }
.intro-media figcaption, .workshop-caption, .map figcaption {
  text-wrap: pretty;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--silver-600);
  letter-spacing: 0.02em;
}

.intro-lead {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--anthracite) !important;
  font-variation-settings: "wdth" 108;
}

/* --------------------------------------------------------------------------
   Termékek – fülek
   -------------------------------------------------------------------------- */
.products { background: var(--mist); }

.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--silver-300);
}
.cat-tab {
  padding: 0.9rem 0 1rem;
  margin-bottom: -1px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  font: inherit;
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-variation-settings: "wdth" 112;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.cat-tab:hover { color: var(--ink); }
.cat-tab[aria-selected="true"] { color: var(--anthracite); border-bottom-color: var(--anthracite); }

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  background: var(--white);
  border: 1px solid var(--silver-100);
  border-radius: 6px;
  overflow: hidden;
  outline-offset: 6px;
}
.product:not([hidden]) { animation: panel-in 0.35s ease both; }
@keyframes panel-in { from { opacity: 0.4; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.product__media {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--silver-100);
}
/* A kép kitölti az oszlopot, ha a jobb oldali szöveg magasabb. */
.product__media > img {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  background: var(--silver-100);
}

.gallery-thumbs { display: flex; gap: 8px; padding: 0.75rem 1rem; }
.gallery-thumb {
  width: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}
.gallery-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb[aria-pressed="true"] { opacity: 1; border-color: var(--anthracite); }

.product__body {
  display: grid;
  align-content: center;
  gap: 1.25rem;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
}
.product__body h3 { font-size: var(--fs-xl); }
.product__body > p { color: var(--muted); max-width: 32rem; }
.product__body .text-link { justify-self: start; }

.variants { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--silver-100); }
.variant {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--silver-100);
}
.variant__img {
  width: 76px;
  height: 100px;
  object-fit: contain;
  background: var(--mist);
  border-radius: var(--radius);
  padding: 6px;
  mix-blend-mode: multiply;
}
.variant__text { display: grid; gap: 0.35rem; }
.variant h4 { margin: 0; font-size: var(--fs-md); font-weight: 700; line-height: 1.3; }
.variant p { color: var(--muted); font-size: var(--fs-sm); }
.variant .text-link { justify-self: start; margin-top: 0.25rem; }

/* --------------------------------------------------------------------------
   Bizonyíték – antracit sáv
   -------------------------------------------------------------------------- */
.proof { background: var(--anthracite); color: var(--white); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(169, 175, 181, 0.3);
}
.stat { display: grid; align-content: start; gap: 0.75rem; padding: 2rem 1.5rem 0 0; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid rgba(169, 175, 181, 0.3); }
.stat dt {
  font-size: clamp(2.5rem, 1.8rem + 2.5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 125;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.stat dd { margin: 0; color: var(--silver-300); font-size: var(--fs-sm); max-width: 16rem; }

.workshop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
}
.workshop img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(0.35) contrast(1.05);
}
.workshop-caption { margin-top: 0.75rem; color: var(--silver); }

/* --------------------------------------------------------------------------
   GYIK
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-grid .section-head a { color: var(--anthracite); font-weight: 600; }

.faq-list { border-top: 1px solid var(--silver-100); }
.faq-list details { border-bottom: 1px solid var(--silver-100); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.25rem;
  font-size: var(--fs-md);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--anthracite), var(--anthracite)) center / 14px 2px no-repeat,
    linear-gradient(var(--anthracite), var(--anthracite)) center / 2px 14px no-repeat;
  transition: transform 0.25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--anthracite); }
.faq-list details p { padding-bottom: 1.5rem; padding-right: 2.5rem; color: var(--muted); max-width: 40rem; }

/* --------------------------------------------------------------------------
   Kapcsolat + űrlap
   -------------------------------------------------------------------------- */
.contact { background: var(--mist); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.contact-form-wrap h2 { max-width: 20ch; margin-bottom: 2rem; }

.contact-form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 0.75rem + 2vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--silver-100);
  border-radius: 6px;
}
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field .optional { font-weight: 400; color: var(--silver-600); }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--silver-300);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--silver-600); opacity: 1; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--anthracite);
  box-shadow: 0 0 0 3px rgba(56, 62, 66, 0.15);
}
.field [aria-invalid="true"] { border-color: #a8322d; }
.field-error { font-size: var(--fs-xs); color: #a8322d; }

.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field--check { display: flex; align-items: flex-start; gap: 0.75rem; }
.field--check input {
  width: 20px; height: 20px; min-height: 0; margin: 0.15rem 0 0; flex: none;
  accent-color: var(--anthracite);
}
.field--check label { font-weight: 400; font-size: var(--fs-sm); color: var(--muted); }
.field--check a { color: var(--anthracite); }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-status { font-size: var(--fs-sm); color: var(--muted); }
.form-status.is-success { color: #276347; font-weight: 600; }
.form-status.is-error { color: #a8322d; }

.contact-info {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--silver-300);
  margin-top: 0.25rem;
}
.office { display: grid; gap: 0.5rem; padding-block: 1.5rem; border-bottom: 1px solid var(--silver-300); }
.office h3 { display: flex; align-items: baseline; gap: 0.75rem; font-size: var(--fs-lg); }
.office__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver-600);
  min-width: 6.5rem;
}
.office address { font-style: normal; color: var(--ink); }
.office__person { color: var(--muted); font-size: var(--fs-sm); }
.office__links { list-style: none; margin: 0.25rem 0 0; padding: 0; display: grid; gap: 0.25rem; }
.office__links li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.5rem; align-items: baseline; }
.office__links .label { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--silver-600); }
.office__links a { font-weight: 600; text-decoration: none; color: var(--anthracite); overflow-wrap: anywhere; }
.office__links a:hover { text-decoration: underline; }
.office .text-link { justify-self: start; margin-top: 0.25rem; }

.map { margin: clamp(3rem, 2rem + 3vw, 4.5rem) 0 0; display: grid; gap: 0.75rem; }
.map iframe {
  display: block;
  width: 100%;
  height: clamp(280px, 30vw, 420px);
  border: 1px solid var(--silver-100);
  border-radius: 6px;
  background: var(--silver-100);
  filter: grayscale(0.7);
}

/* --------------------------------------------------------------------------
   Lábléc + Instagram
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--anthracite-900);
  color: var(--silver-300);
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 2rem;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}

.insta-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}
.insta-title { font-size: var(--fs-xl); color: var(--white); }
.insta-handle {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--silver);
  text-decoration: none;
}
.insta-handle:hover { color: var(--white); }
.insta-nav { display: flex; gap: 0.5rem; margin-left: auto; align-self: center; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(169, 175, 181, 0.4);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--silver); }
.icon-btn[disabled] { opacity: 0.35; cursor: default; }

.insta-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(180px, 22%, 260px);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0 0 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--anthracite) transparent;
}
.insta-track li { scroll-snap-align: start; }
.insta-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--anthracite);
}
.insta-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s;
}
.insta-item:hover img { transform: scale(1.04); }
.insta-item__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 0.75rem 0.75rem;
  background: linear-gradient(to top, rgba(31, 35, 38, 0.85), transparent);
  color: var(--white);
  font-size: var(--fs-xs);
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.25s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insta-item:hover .insta-item__caption, .insta-item:focus-visible .insta-item__caption { opacity: 1; }
.insta-item__badge {
  position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px; color: var(--white);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: 2rem 3rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(169, 175, 181, 0.2);
}
.footer-brand { display: grid; gap: 1rem; }
.footer-brand p { font-size: var(--fs-sm); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.footer-nav a { font-size: var(--fs-sm); text-decoration: none; color: var(--silver-300); }
.footer-nav a:hover { color: var(--white); }

.socials { display: flex; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.socials a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  transition: background-color 0.2s;
}
.socials a:hover { background: rgba(255, 255, 255, 0.16); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 2.5rem;
  font-size: var(--fs-xs);
  color: var(--silver-600);
}
.footer-legal a { color: var(--silver); }

/* --------------------------------------------------------------------------
   Reszponzív
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .main-nav ul { gap: 1.25rem; }
  .nav-phone { display: none; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: grid;
    gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--silver-100);
    box-shadow: 0 18px 30px -24px rgba(31, 35, 38, 0.6);
    margin: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .main-nav ul { display: grid; gap: 0; }
  .main-nav ul a { display: block; padding-block: 0.85rem; border-bottom: 1px solid var(--silver-100); font-size: var(--fs-md); }
  .main-nav ul a:hover { border-bottom-color: var(--silver-100); }
  .nav-phone { display: block; font-size: var(--fs-sm) !important; padding-top: 0.5rem; }
  .header-actions { margin-left: auto; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 16ch; }
  .hero-media { aspect-ratio: 16 / 9; order: -1; }

  .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .intro-media { justify-self: start; width: 100%; }
  .intro-media img { aspect-ratio: 16 / 9; object-position: 50% 40%; }

  .cat-tabs { gap: 8px; border-bottom: 0; }
  .cat-tab {
    padding: 0.6rem 1rem;
    margin: 0;
    font-size: var(--fs-sm);
    background: var(--white);
    border: 1px solid var(--silver-100);
    border-radius: 999px;
  }
  .cat-tab[aria-selected="true"] { background: var(--anthracite); color: var(--white); border-color: var(--anthracite); }

  .product { grid-template-columns: minmax(0, 1fr); }
  .product__media { border-right: 0; border-bottom: 1px solid var(--silver-100); }
  .product__media > img { flex: none; aspect-ratio: 1408 / 768; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat + .stat { padding: 1.5rem 1rem 1.5rem 0; border-left: 0; border-bottom: 1px solid rgba(169, 175, 181, 0.3); }
  .stat:nth-child(even) { padding-left: 1rem; border-left: 1px solid rgba(169, 175, 181, 0.3); }

  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .section-head { position: static; }

  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .footer-main { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-nav { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 560px) {
  .header-actions .btn { display: none; }

  .hero-actions { gap: 1rem 1.5rem; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .hero-facts li { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline; }
  .hero h1 { font-variation-settings: "wdth" 104; }

  .field-row { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }


  .workshop { grid-template-columns: minmax(0, 1fr); }
  .workshop img { aspect-ratio: 16 / 9; }
  .workshop img:nth-child(n + 3) { display: none; }

  .stat dd { font-size: var(--fs-xs); }

  .insta-track { grid-auto-columns: 62%; }
  .insta-nav { display: none; }

  .office h3 { flex-direction: column; gap: 0.25rem; }
  .faq-list details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
