/* konditeremberendezesek.hu – reszponzív prototípus
   Töréspontok: ≤768px mobil (390-es Figma keretek), 769–1279px tablet, ≥1280px asztali (1920-as keretek) */

:root {
  --orange: #e57825;
  --orange-80: rgba(229, 120, 37, .8);
  --dark: #171717;
  --grey: #d9d9d9;
  --text-grey: #545454;
  --green: #009247;
  --purple: #9747ff;
  --white: #fff;
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 15px;
  --page-pad: 45px;
  --section-gap: 90px;
  --h2: 35px;
  --h2-lh: 45px;
  --body: 20px;
  --body-lh: 30px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
ul { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1920px; margin: 0 auto; padding: 0 var(--page-pad); }
.narrow { max-width: 1208px; margin-left: auto; margin-right: auto; }
.stack { display: flex; flex-direction: column; gap: var(--section-gap); }
main.stack { padding-bottom: var(--section-gap); }

/* ---------- Typography ---------- */
.eyebrow { font-weight: 700; font-size: 20px; line-height: 30px; }
.rule { width: 100px; height: 2px; background: var(--orange); border: 0; margin: 0; flex: none; }
.h2 { font-weight: 700; font-size: var(--h2); line-height: var(--h2-lh); color: var(--orange); }
.lead { font-size: var(--body); line-height: var(--body-lh); }
.section-title { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.section-title.left { align-items: flex-start; text-align: left; gap: 33px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border: 2px solid var(--orange); border-radius: 50px;
  color: var(--orange); font-size: 18px; line-height: 1.17; text-align: center;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { background: var(--orange); color: var(--white); font-weight: 700; }
.btn--solid { background: var(--orange); color: var(--white); font-weight: 700; }
.btn--solid:hover, .btn--solid:focus-visible { background: #cf6516; border-color: #cf6516; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(229,120,37,.5); outline-offset: 3px; }
.center { display: flex; justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px; border-radius: 25px;
  background: rgba(31,31,31,.8); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav__logo img { width: 201px; height: auto; }
.nav__menu { display: flex; align-items: center; gap: 40px; }
.nav__links { display: flex; align-items: center; gap: 40px; list-style: none; padding: 0; }
.nav__links li { display: flex; align-items: center; gap: 40px; }
.nav__links li + li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.nav__links a { color: var(--white); font-size: 18px; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--orange); }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* Főoldal: lebegő menü a hero fölött */
.site-header--overlay { position: absolute; top: 30px; left: 0; right: 0; }
.site-header--overlay .container { max-width: 1920px; }
/* Aloldalak: sötét sáv */
.site-header--bar { background: var(--dark); border-top: 5px solid var(--orange); }
.site-header--bar .nav { background: transparent; border: 0; border-radius: 0; padding: 20px 5px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-sticky { position: fixed; top: 0; left: 0; right: 0; }
.site-header--overlay.is-sticky { top: 12px; animation: drop .3s ease; }
@keyframes drop { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 920px; display: flex; align-items: center; justify-content: center;
  background: #090909 url("../img/hero.jpg") center / cover no-repeat;
  border-top: 5px solid var(--orange); color: var(--white); overflow: hidden;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before, .hero::after { content: ""; position: absolute; left: 0; right: 0; height: 294px; pointer-events: none; z-index: 1; }
.hero::before { top: 0; background: linear-gradient(#090909 3%, rgba(26,26,26,0) 98%); }
.hero::after { bottom: 0; background: linear-gradient(0deg, #090909 3%, rgba(26,26,26,0) 98%); }
.hero__content {
  position: relative; z-index: 2; max-width: 1210px; padding: 180px 20px 80px;
  display: flex; flex-direction: column; align-items: center; gap: 50px; text-align: center;
  filter: drop-shadow(0 4px 25px rgba(0,0,0,.8));
}
.hero h1 { font-size: 70px; line-height: 80px; font-weight: 700; }
.hero__lead { font-size: 24px; line-height: 40px; margin-top: 20px; }
.hero__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 50px; font-size: 30px; line-height: 30px; font-weight: 700; list-style: none; padding: 0; }
.hero__tags li + li::before { content: "/"; color: var(--orange); margin-right: 50px; }

/* ---------- Értékajánlat ---------- */
.about {
  background: var(--grey); border-radius: var(--radius-lg); padding: 100px;
  display: flex; gap: 60px; align-items: center;
}
.about__text { flex: 0 0 430px; display: flex; flex-direction: column; gap: 33px; }
.about__media { flex: 1; min-width: 0; }
.about__media img { width: 100%; aspect-ratio: 1140 / 620; object-fit: cover; border-radius: var(--radius-md); }

/* ---------- Felhasználási területek ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.area {
  border: 2px solid var(--grey); border-radius: var(--radius-md); min-height: 370px; padding: 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.area:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.06); }
.area img { width: 80px; height: 80px; }
.area h3 { font-size: 20px; line-height: 24px; }
.area p { font-size: 16px; line-height: 24px; }

/* ---------- Márkák ---------- */
.brands { display: flex; flex-direction: column; gap: 60px; align-items: center; }
.brands__band {
  background: var(--orange); color: var(--white); font-weight: 700; font-size: 35px; line-height: 45px; text-align: center;
  padding: 20px 60px; align-self: center; width: 100vw; max-width: none; margin-inline: calc(50% - 50vw);
}
.brand { display: flex; flex-direction: column; align-items: center; gap: 60px; width: 100%; }
.brand__head { display: flex; flex-direction: column; align-items: center; gap: 33px; text-align: center; max-width: 1212px; }
.brand__head .rule { width: 101px; }
.brand__logo { height: 63px; width: auto; }
.tile-link { display: block; border-radius: var(--radius-md); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.tile-link:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.tile-link img { width: 100%; height: auto; }

.bh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 450px)); justify-content: space-between; gap: 20px; width: 100%; }

.ffit {
  background: var(--dark); color: var(--white); border-radius: var(--radius-lg); padding: 100px;
  display: flex; gap: 60px; align-items: center; width: 100%;
}
.ffit__text { flex: 0 0 430px; display: flex; flex-direction: column; gap: 33px; align-items: flex-start; }
.ffit__logo { width: 258px; height: auto; }
.ffit__tiles { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; min-width: 0; }
.ffit__mobile-btn { display: none !important; }
.ffit__mobile { display: contents; }

.flow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 400px)); justify-content: center; gap: 30px; width: 100%; }
.virtu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 640px)); justify-content: center; width: calc(100% + 2 * var(--page-pad)); margin: 0 calc(-1 * var(--page-pad)); }
/* Márkakártyák – Figma Components: Default / Variant2 (hover) */
.tile { position: relative; display: block; overflow: hidden; container-type: inline-size; color: var(--white); text-align: center; font-weight: 700; }
.tile img { display: block; width: 100%; height: auto; }
.tile__circle, .tile__label { position: absolute; }
.tile__title { display: block; line-height: normal; }
.tile__more { display: block; font-size: max(13px, 4.44cqw); text-decoration: underline; max-height: 0; opacity: 0; transition: opacity .3s, max-height .3s; }
.tile:hover .tile__more, .tile:focus-visible .tile__more { max-height: 2em; opacity: 1; }
.tile, .tile * { transition-timing-function: cubic-bezier(.2,.7,.2,1); }

/* BH Fitness: tömör kör → nagyobb, áttetsző gradiens kör + „Megnézem” */
.tile--bh .tile__circle { inset: 19.33%; border-radius: 50%; background: var(--orange-80); border: 1px solid transparent; transition: inset .35s, background .35s, border-color .35s; }
.tile--bh .tile__label { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.tile--bh .tile__title { font-size: 11.11cqw; }
.tile--bh .tile__title--sm { font-size: 8.9cqw; }
.tile--bh:hover .tile__circle, .tile--bh:focus-visible .tile__circle { inset: 11.9%; background: radial-gradient(circle, rgba(229,120,37,.8) 15%, rgba(229,120,37,0) 100%); border-color: rgba(229,120,37,.3); }
.tile--bh:hover .tile__label, .tile--bh:focus-visible .tile__label { gap: 3.33cqw; }
.tile--bh:hover .tile__title, .tile--bh:focus-visible .tile__title { text-shadow: 0 5px 10px rgba(0,0,0,.3); }

/* FFittech: kisebb tömör kör → nagyobb gradiens kör, nagyobb felirat */
.tile--ff { border-radius: var(--radius-md); background: var(--dark); }
.tile--ff img { aspect-ratio: 340 / 510; object-fit: cover; }
.tile--ff .tile__circle { left: 50%; top: 50%; width: 58.82cqw; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--orange-80); border: 1px solid transparent; transition: width .35s, background .35s, border-color .35s; }
.tile--ff .tile__title { font-size: 7.35cqw; transition: font-size .35s; }
.tile--ff:hover .tile__circle, .tile--ff:focus-visible .tile__circle { width: 80.59cqw; background: radial-gradient(circle, rgba(229,120,37,.8) 15%, rgba(229,120,37,0) 100%); border-color: rgba(229,120,37,.3); }
.tile--ff:hover .tile__title, .tile--ff:focus-visible .tile__title { font-size: 10.29cqw; }

/* Flow Fitness: alsó félkör felcsúszik a termék mögé + „Megnézem” */
.tile--flow { aspect-ratio: 400 / 574; border-radius: var(--radius-md); background: var(--grey); }
.tile--flow img { position: absolute; top: 0; left: 0; border-radius: var(--radius-md); pointer-events: none; }
.tile--flow .tile__circle { left: 10%; width: 81%; aspect-ratio: 1; top: 74.04%; border-radius: 50%; background: var(--orange); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 20cqw 0 12.5cqw; transition: top .4s, padding .4s; }
.tile--flow .tile__title { font-size: 7.5cqw; }
.tile--flow .tile__more { font-size: max(12px, 4.5cqw); }
.tile--flow:hover .tile__circle, .tile--flow:focus-visible .tile__circle { top: 36.59%; padding-top: 0; justify-content: flex-end; gap: 2cqw; }

/* VirtuFit: sötét fedés + leírás + gomb */
.tile--virtu { aspect-ratio: 640 / 690; }
.tile__media { position: absolute; inset: 0; overflow: hidden; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 62% 40%; transition: transform .6s; }
.tile__media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .35s; }
.tile--virtu .tile__label { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 15cqw; gap: 0; transition: gap .35s; }
.tile--virtu .tile__title { font-size: max(28px, 9.375cqw); }
.tile__rule, .tile__desc, .tile__btn { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s, opacity .35s; }
.tile__rule { width: 100px; flex: none; border-top: 1px solid var(--orange); height: 0; }
.tile__desc { font-weight: 400; font-size: max(14px, 3.125cqw); line-height: 1.5; }
.tile__btn { pointer-events: none; font-weight: 400; }
.tile--virtu:hover .tile__media img, .tile--virtu:focus-visible .tile__media img { transform: scale(1.21); }
.tile--virtu:hover .tile__media::after, .tile--virtu:focus-visible .tile__media::after { background: rgba(0,0,0,.8); }
.tile--virtu:hover .tile__label, .tile--virtu:focus-visible .tile__label { gap: min(70px, 7cqw); }
.tile--virtu:hover .tile__desc, .tile--virtu:focus-visible .tile__desc { max-height: 8em; opacity: 1; }
.tile--virtu:hover .tile__btn, .tile--virtu:focus-visible .tile__btn { max-height: 60px; opacity: 1; overflow: visible; }
.tile--virtu:hover .tile__rule, .tile--virtu:focus-visible .tile__rule { max-height: 1px; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .tile, .tile * { transition: none !important; } .hero__video { display: none; } }

.brands__note { max-width: 1212px; text-align: center; }

/* Pöttyök (mobil karusszelek) */
.dots { display: none; justify-content: center; gap: 6px; margin-top: 16px; }
.dots button { width: 8px; height: 8px; border-radius: 8px; background: var(--grey); transition: width .2s, background .2s; }
.dots button[aria-current="true"] { width: 22px; background: var(--orange); }
.ffit .dots button { background: #555; }
.ffit .dots button[aria-current="true"] { background: var(--orange); }

/* ---------- Miért a VitalForce ---------- */
.why {
  border-top: 1px solid var(--orange); border-bottom: 1px solid var(--orange);
  background: radial-gradient(ellipse 42% 75% at 50% 50%, #e57825 0%, #ec9a57 55%, #f7d6ba 100%);
  padding: 50px var(--page-pad); display: flex; flex-direction: column; align-items: center; gap: 33px;
}
.why__logo { width: 253px; height: auto; }
.why__title { text-align: center; font-weight: 700; }
.why__title p:first-child { font-size: 24px; line-height: 30px; }
.why__title h2 { font-size: 35px; line-height: 45px; color: var(--white); }
.why__row { display: flex; gap: 33px; align-items: center; width: 100%; }
.why__fig { flex: none; width: 23px; height: auto; opacity: .9; }
.why-card {
  flex: 1; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-sm);
  padding: 20px 40px; display: flex; flex-direction: column; gap: 10px;
}
.why-card h3 { display: flex; align-items: center; gap: 20px; font-size: 20px; line-height: 24px; }
.why-card h3 svg { flex: none; }
.why-card p { font-size: 16px; line-height: 24px; }

/* ---------- 3D ---------- */
.plan3d { background: var(--grey); border-radius: var(--radius-lg); padding: 50px; display: flex; gap: 60px; align-items: center; }
.plan3d__media { flex: 0 1 797px; min-width: 0; }
.plan3d__media img { width: 100%; border-radius: var(--radius-md); }
.plan3d__text { flex: 0 1 717px; display: flex; flex-direction: column; gap: 33px; align-items: flex-start; }
.plan3d__list { padding-left: 30px; }

/* ---------- Folyamat ---------- */
.steps { display: flex; align-items: center; gap: 30px; margin-top: 30px; list-style: none; padding: 0; }
.step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; position: relative; }
.step + .step::before { content: ""; position: absolute; left: -15px; top: 50%; width: 1px; height: 100px; transform: translateY(-50%); background: rgba(229,120,37,.4); }
.step__num { width: 50px; height: 50px; border-radius: 50%; background: var(--orange); color: var(--white); font-weight: 700; font-size: 24px; display: grid; place-items: center; }
.step h3 { font-size: 24px; line-height: 30px; }
.step p { font-size: 16px; line-height: 24px; }
.step__body { display: contents; }

/* ---------- Referenciák ---------- */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.ref { background: var(--grey); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 30px; padding-bottom: 30px; }
.ref img { width: 100%; aspect-ratio: 590 / 297; object-fit: cover; }
.ref dl { margin: 0; width: 100%; padding: 0 30px; display: flex; flex-direction: column; gap: 15px; font-size: 16px; line-height: 20px; }
.ref dl div { display: flex; justify-content: space-between; gap: 16px; }
.ref dt { font-weight: 700; }
.ref dd { margin: 0; text-align: right; }

/* ---------- GYIK ---------- */
.faq { display: flex; flex-direction: column; gap: 20px; }
.faq__item { background: var(--grey); border: 1px solid var(--grey); border-radius: var(--radius-sm); transition: background .25s; }
.faq__item.is-open { background: var(--white); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left;
  padding: 40px; font-size: 20px; line-height: 30px; font-weight: 700;
}
.faq__icon { flex: none; width: 20px; height: 20px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; background: var(--dark); transition: transform .25s; }
.faq__icon::after { transform: rotate(90deg); }
.is-open .faq__icon::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0 40px 40px; padding-top: 15px; border-top: 1px solid var(--grey); font-size: 16px; line-height: 24px; }

/* ---------- Kapcsolat ---------- */
.contact { border: 2px solid var(--grey); border-radius: 25px; padding: 50px; display: flex; gap: 60px; align-items: stretch; background: var(--white); }
.contact__info { flex: 0 0 483px; display: flex; flex-direction: column; gap: 30px; }
.contact__info .h2 { line-height: 40px; }
.contact__facts { margin: auto 0 0; }
.contact__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--grey); font-size: 16px; line-height: 30px; }
.contact__facts div:last-child { border-bottom: 1px solid var(--grey); }
.contact__facts dt { font-weight: 700; }
.contact__facts dd { margin: 0; text-align: right; color: #23262d; }
.contact__divider { width: 1px; background: var(--grey); flex: none; }
.form { flex: 1; display: flex; flex-direction: column; gap: 15px; align-items: flex-start; }
.field { width: 100%; display: flex; flex-direction: column; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--grey); transition: border-color .2s; }
.field:focus-within { border-color: var(--orange); }
.field label, .field .label { font-weight: 700; font-size: 20px; line-height: 30px; }
.field input, .field textarea {
  border: 0; padding: 0; font-family: "Mulish", "Roboto", sans-serif; font-size: 16px; line-height: 30px; color: var(--dark); background: transparent; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(23,23,23,.3); }
.field input:focus, .field textarea:focus { outline: none; }
.field.has-error { border-color: #d93025; }
.field .error { color: #d93025; font-size: 14px; line-height: 18px; display: none; }
.field.has-error .error { display: block; }
/* Figma: attach ikon 18×18 (#313D4D), Mulish Regular 16/30, #23262D, aláhúzva */
.field label.file { display: inline-flex; align-items: center; gap: 10px; font-family: "Mulish", "Roboto", sans-serif; font-weight: 400; font-size: 16px; line-height: 30px; color: #23262d; cursor: pointer; }
.file__icon { flex: none; width: 18px; height: 18px; }
.file__text { text-decoration: underline; text-underline-position: from-font; }
.file__text--mobile { display: none; }
.file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-name { font-size: 14px; color: var(--text-grey); }
.form__success { display: none; background: #eaf7ef; border: 1px solid var(--green); color: #0a5c30; border-radius: 12px; padding: 14px 18px; font-size: 16px; width: 100%; }
.form.is-sent .form__success { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--white); border-bottom: 10px solid var(--orange); padding: 50px var(--page-pad); }
.footer__top { display: flex; align-items: center; justify-content: space-between; padding: 0 40px; gap: 40px; }
.footer__rule { border: 0; border-top: 1px solid rgba(255,255,255,.3); margin: 60px 0; }
.footer__copy { text-align: center; font-size: 16px; line-height: 24px; }

/* ---------- Kategória ---------- */
.brand-head { display: flex; flex-direction: column; align-items: center; gap: 33px; text-align: center; padding-top: 30px; }
.brand-head .rule { width: 101px; }
.brand-head .brand__logo { width: 402px; max-width: 80%; height: auto; }
.cat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.cat-tile { position: relative; width: calc((100% - 60px) / 3); max-width: 590px; aspect-ratio: 590 / 300; border-radius: var(--radius-md); overflow: hidden; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.15); transition: background .3s; }
.cat-tile span { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: var(--white); font-weight: 700; font-size: 40px; line-height: 40px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile:hover::after { background: rgba(229,120,37,.35); }

/* ---------- Terméklista ---------- */
.list-head h1 { font-size: 40px; line-height: 40px; }
.toolbar { background: var(--grey); border-radius: 10px; padding: 20px 30px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; line-height: 24px; }
.sort { position: relative; background: var(--white); border-radius: 50px; display: flex; align-items: center; gap: 10px; padding: 10px 20px; }
.sort select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; color: inherit; padding-right: 28px; cursor: pointer; }
.sort svg { position: absolute; right: 18px; pointer-events: none; }
.products { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.product {
  width: calc((100% - 90px) / 4); max-width: 435px; background: var(--white); border: 1px solid var(--grey); border-radius: var(--radius-md);
  padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.product:hover { box-shadow: 0 14px 34px rgba(0,0,0,.08); transform: translateY(-4px); }
.product img { width: 258px; max-width: 100%; aspect-ratio: 1; object-fit: contain; }
.product h2 { font-size: 16px; line-height: 20px; }
.product p { font-size: 16px; line-height: 20px; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.badge { color: var(--white); font-weight: 700; font-size: 14px; line-height: 20px; padding: 5px 20px; border-radius: 5px; }
.badge--green { background: var(--green); }
.badge--purple { background: var(--purple); }
.pager { display: flex; align-items: center; justify-content: center; gap: 20px; }
.pager__arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--grey); display: grid; place-items: center; transition: background .2s; }
.pager__arrow:hover:not(:disabled) { background: var(--orange); }
.pager__arrow:disabled { opacity: .5; cursor: default; }
.pager__pages { display: flex; gap: 5px; list-style: none; padding: 0; margin: 0; }
.pager__pages button, .pager__pages span { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 5px; border: 1px solid var(--grey); color: var(--grey); display: grid; place-items: center; font-size: 16px; }
.pager__pages span { border-color: transparent; }
.pager__pages button:hover { color: var(--dark); border-color: var(--dark); }
.pager__pages button[aria-current="page"] { background: var(--grey); color: #000; }

/* ---------- Termékrészletek ---------- */
.pd-hero { background: var(--dark); color: var(--white); display: grid; grid-template-columns: 945px 1fr; min-height: 690px; }
.pd-hero__media { position: relative; }
.pd-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero__media::after { content: ""; position: absolute; right: -5px; top: 99px; bottom: 101px; width: 5px; background: var(--orange); }
.pd-hero__text { padding: 135px 60px 60px 144px; max-width: 800px; display: flex; flex-direction: column; gap: 42px; }
.pd-hero h1 { font-size: 60px; line-height: 70px; }
.pd-hero__body { font-size: 24px; line-height: 34px; display: flex; flex-direction: column; gap: 34px; }
.pd-hero__body .warranty { color: var(--orange); font-weight: 700; }
.pd-hero__body strong { font-weight: 700; }
.gallery { display: flex; align-items: center; justify-content: center; gap: 30px; }
.gallery__track { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; max-width: 1335px; padding: 20px; margin: -20px; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track img { flex: 0 0 425px; width: 425px; height: 425px; object-fit: cover; border-radius: var(--radius-md); scroll-snap-align: start; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.gallery__arrow { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.gallery__arrow:hover { background: rgba(84,84,84,.08); }
.pd-desc { max-width: 892px; margin: 0 auto; text-align: center; font-size: 20px; line-height: 30px; color: var(--text-grey); }
.tech { max-width: 1516px; margin: 0 auto; border: 2px solid rgba(84,84,84,.2); border-radius: 50px; padding: 84px 129px; color: var(--text-grey); font-size: 24px; line-height: 34px; }
.tech h2 { color: var(--orange); font-size: 40px; line-height: 34px; margin-bottom: 34px; }
.tech h3 { font-size: 24px; line-height: 34px; margin-top: 34px; }
.tech ul { padding-left: 1.5em; }
.tech a { text-decoration: underline; }

/* ======================================================
   TABLET (769–1279px)
   ====================================================== */
@media (max-width: 1500px) {
  :root { --page-pad: 32px; }
  .about, .ffit { padding: 60px; }
  .ffit__tiles { gap: 24px; }
  .tech { padding: 60px 80px; }
  .pd-hero { grid-template-columns: 1fr 1fr; }
  .pd-hero__text { padding: 90px 50px 50px 80px; }
}

@media (max-width: 1279px) {
  :root { --section-gap: 72px; --h2: 30px; --h2-lh: 38px; --body: 18px; --body-lh: 28px; }
  .nav__links { gap: 22px; }
  .nav__links li { gap: 22px; }
  .nav__menu { gap: 24px; }
  .nav__links a, .btn { font-size: 16px; }
  .hero { min-height: 760px; }
  .hero h1 { font-size: 52px; line-height: 62px; }
  .hero__lead { font-size: 20px; line-height: 32px; }
  .hero__tags { font-size: 24px; gap: 28px; }
  .hero__tags li + li::before { margin-right: 28px; }
  .about { flex-direction: column; align-items: stretch; }
  .about__media, .plan3d__media, .plan3d__text { flex: none; }
  .about__text { flex: none; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .bh-grid { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
  .ffit { flex-direction: column; align-items: stretch; }
  .ffit__text { flex: none; }
  .flow-grid { grid-template-columns: repeat(2, minmax(0, 340px)); }
  .brands__band { font-size: 28px; line-height: 36px; }
  .why__row { flex-wrap: wrap; justify-content: center; }
  .why__fig { display: none; }
  .why-card { flex: 1 1 280px; }
  .plan3d { flex-direction: column; align-items: stretch; }
  .steps { flex-wrap: wrap; justify-content: center; }
  .step { flex: 0 1 calc(33.333% - 20px); }
  .step + .step::before { display: none; }
  .refs { grid-template-columns: repeat(2, 1fr); }
  .contact { flex-direction: column; }
  .contact__info { flex: none; }
  .contact__divider { width: 100%; height: 1px; }
  .footer__top { flex-direction: column; padding: 0; }
  .cat-tile { width: calc((100% - 30px) / 2); }
  .cat-tile span { font-size: 32px; }
  .product { width: calc((100% - 60px) / 3); }
  .pd-hero { grid-template-columns: minmax(0, 1fr); }
  .pd-hero__media { aspect-ratio: 945 / 690; }
  .pd-hero__media::after { display: none; }
  .pd-hero__text { padding: 50px var(--page-pad); max-width: none; border-top: 5px solid var(--orange); }
  .pd-hero h1 { font-size: 44px; line-height: 52px; }
  .gallery__track img { flex-basis: 320px; width: 320px; height: 320px; }
  .tech { padding: 50px; font-size: 20px; line-height: 30px; }
}

/* ======================================================
   MOBIL (≤768px) – a 390-es Figma keretek alapján
   ====================================================== */
@media (max-width: 768px) {
  :root { --page-pad: 16px; --section-gap: 56px; --h2: 26px; --h2-lh: 32px; --body: 16px; --body-lh: 26px; }
  html { scroll-padding-top: 90px; }
  .eyebrow { font-size: 16px; line-height: 24px; }

  /* Header + hamburger */
  .site-header--overlay { top: 15px; }
  .site-header--overlay .container { padding: 0 12px; }
  .nav { padding: 10px 12px 10px 16px; border-radius: 20px; background: rgba(31,31,31,.92); }
  .site-header--bar .nav { padding: 12px 0; }
  .nav__logo img { width: 110px; }
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: 0; z-index: -1; background: rgba(23,23,23,.98);
    flex-direction: column; justify-content: center; gap: 36px; padding: 100px 24px 40px;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nav-open .nav__menu { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav__links { flex-direction: column; gap: 22px; }
  .nav__links li { flex-direction: column; gap: 22px; }
  .nav__links li + li::before { display: none; }
  .nav__links a { font-size: 24px; }
  .nav__menu .btn { width: 100%; max-width: 358px; font-size: 18px; padding: 18px; }
  .btn { white-space: normal; }

  /* Hero */
  .hero { min-height: 658px; align-items: flex-start; background-position: 30% center; }
  .hero__content { padding: 127px 20px 56px; gap: 24px; }
  .hero h1 { font-size: 36px; line-height: 44px; }
  .hero__lead { font-size: 16px; line-height: 26px; margin-top: 16px; }
  .hero__content { width: 100%; }
  .hero__tags { font-size: 16px; line-height: 20px; gap: 6px 10px; flex-wrap: wrap; white-space: nowrap; }
  .hero__tags li + li::before { margin-right: 10px; }
  .hero .btn { width: 100%; font-size: 16px; }

  .about { padding: 32px 20px; gap: 28px; border-radius: 20px; }
  .about__text { gap: 20px; }
  .section-title.left { gap: 20px; }
  .about__media img { border-radius: 15px; }

  .areas { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .area { min-height: 0; padding: 32px 24px; }

  .brands { gap: 40px; }
  .brands__band { font-size: 22px; line-height: 30px; padding: 16px 20px; }
  .brand { gap: 28px; }
  .brand__head { gap: 20px; }
  .brand__logo { height: 44px; }
  .bh-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tile--flow { border-radius: 12px; }
  .brand .btn { width: 100%; }

  .ffit { padding: 28px 20px; gap: 24px; border-radius: 20px; }
  .ffit__text { gap: 20px; }
  .ffit__text .btn { display: none; }
  .ffit__logo { width: 190px; }
  .ffit__mobile-btn { display: flex !important; justify-content: center; }
  .ffit__mobile { display: block; width: 100%; }

  /* Mobil karusszelek: FFitTech, VirtuFit, Referenciák, galéria */
  .carousel-m { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; }
  .carousel-m::-webkit-scrollbar { display: none; }
  .carousel-m > * { flex: 0 0 100%; scroll-snap-align: center; }
  .dots { display: flex; }
  .ffit__tiles > * { flex-basis: 100%; }
  .virtu-grid { width: 100%; margin: 0; }
  .virtu-grid > * { flex-basis: 88%; border-radius: 20px !important; overflow: hidden; }
  .refs.carousel-m { margin-top: 24px; margin-right: calc(-1 * var(--page-pad)); padding-right: var(--page-pad); }
  .refs.carousel-m > * { flex-basis: 92%; }

  .why { padding: 48px 16px; gap: 24px; }
  .why__logo { width: 180px; }
  .why__title p:first-child { font-size: 20px; }
  .why__title h2 { font-size: 26px; line-height: 34px; }
  .why__row { flex-direction: column; gap: 16px; }
  .why-card { flex: none; width: 100%; padding: 20px; }
  .why-card h3 { gap: 12px; font-size: 18px; }

  .plan3d { padding: 28px 20px; gap: 24px; border-radius: 20px; }
  .plan3d__text { gap: 20px; }
  .plan3d__list { padding-left: 22px; }
  .plan3d .btn { width: 100%; }

  /* Folyamat: függőleges idővonal */
  .steps { flex-direction: column; align-items: stretch; gap: 0; margin-top: 28px; }
  .step { flex: none; flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; padding-bottom: 28px; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: 4px; width: 2px; background: rgba(229,120,37,.45); }
  .step__num { flex: none; width: 44px; height: 44px; font-size: 20px; }
  .step__body { display: flex; flex-direction: column; gap: 8px; }
  .step h3 { font-size: 20px; line-height: 44px; }

  .ref dl { padding: 0 20px; }
  .ref .btn { width: calc(100% - 40px); }

  .faq__q { padding: 24px 20px; font-size: 17px; line-height: 24px; }
  .faq__a p { margin: 0 20px 24px; }

  .contact { padding: 28px 20px; gap: 32px; }
  .contact__facts div { font-size: 14px; }
  .field label, .field .label { font-size: 18px; line-height: 26px; }
  .field label.file { font-size: 16px; line-height: 24px; }
  .file__text--desktop { display: none; }
  .file__text--mobile { display: inline; text-decoration: none; }
  .form .btn { width: 100%; }

  .footer { padding: 40px 16px; }
  .footer .nav__links { flex-direction: column; gap: 14px; }
  .footer .nav__links li { flex-direction: column; gap: 14px; }
  .footer .nav__links li + li::before { display: none; }
  .footer .nav__links a { font-size: 20px; }
  .footer__top { gap: 32px; }
  .footer__top .nav__menu { position: static; opacity: 1; visibility: visible; background: none; padding: 0; z-index: auto; gap: 32px; width: 100%; align-items: center; }
  .footer__top .btn { width: 100%; }
  .footer__rule { margin: 32px 0; }
  .footer__copy { font-size: 14px; line-height: 22px; }

  .cat-grid { gap: 16px; }
  .cat-tile { width: 100%; border-radius: 15px; }
  .cat-tile span { font-size: 28px; }

  .list-head h1 { font-size: 28px; line-height: 34px; }
  .toolbar { flex-direction: column; align-items: stretch; padding: 16px; gap: 12px; }
  .sort { justify-content: space-between; }
  .product { width: 100%; max-width: none; }
  .pager { gap: 10px; }
  .pager__pages button, .pager__pages span { min-width: 34px; height: 34px; padding: 0 6px; }

  .pd-hero__text { padding: 32px 16px 40px; gap: 20px; }
  .pd-hero h1 { font-size: 32px; line-height: 38px; }
  .pd-hero__body { font-size: 16px; line-height: 24px; gap: 16px; }
  .gallery__arrow { display: none; }
  .gallery { flex-direction: column; gap: 0; }
  .gallery__track { width: 100%; padding: 10px 16px 20px; margin: 0; gap: 12px; }
  .gallery__track img { flex: 0 0 82%; width: 82%; height: auto; aspect-ratio: 1; scroll-snap-align: center; }
  .pd-desc { font-size: 16px; line-height: 24px; text-align: left; padding: 0 16px; }
  .tech { padding: 28px 20px; border-radius: 24px; font-size: 15px; line-height: 23px; }
  .tech h2 { font-size: 26px; line-height: 32px; margin-bottom: 20px; }
  .tech h3 { font-size: 15px; line-height: 23px; margin-top: 20px; }
  .tech ul { padding-left: 1.2em; }
}

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