/* ==========================================================================
   Audio by Wilchi — Kvantum Audió
   style.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokenek
   -------------------------------------------------------------------------- */
:root {
  /* Felületek */
  --bg-cream:      #faf9f6;
  --bg-cream-2:    #f6f7f1;
  --bg-sage:       #f1f4eb;
  --bg-footer:     #eaeedf;
  --surface:       #fdfdfb;
  --surface-alt:   #ffffff;

  /* Vonalak */
  --border:        #e4e8de;
  --border-soft:   #eceee6;

  /* Szöveg */
  --ink:           #1f2e23;
  --ink-soft:      #3e4b40;
  --muted:         #78857b;
  --muted-2:       #96a197;

  /* Kiemelés */
  --accent:        #4f7b4c;
  --accent-dark:   #3d6139;
  --sage:          #bac8ae;
  --sage-hover:    #a9bb9b;
  --sage-soft:     #e3e8e0;
  --btn-ink:       #22382a;

  /* Tipográfia */
  --font-serif: "Newsreader", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:  "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Méretek */
  --container: 1157px;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Árnyékok */
  --shadow-sm: 0 1px 2px rgba(31, 46, 35, .04);
  --shadow:    0 4px 24px rgba(31, 46, 35, .05);
  --shadow-lg: 0 18px 50px rgba(31, 46, 35, .08);

  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / 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(--bg-cream);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.98;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button, input, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0;
}

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--sage); color: var(--btn-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Akadálymentes „ugrás a tartalomra” link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-size: 14px;
}
.skip-link:focus { left: 0; }

.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;
}

/* --------------------------------------------------------------------------
   3. Layout segédosztályok
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 104px 0; position: relative; }
.section--sage   { background: var(--bg-sage); }
.section--cream2 { background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-cream-2) 100%); }

/* Szekció-felcímke: —— A HÁTTÉR */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.85px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  opacity: .75;
  flex: none;
}

.lead { font-size: 15.7px; line-height: 1.76; color: var(--muted); max-width: 56ch; }

/* --------------------------------------------------------------------------
   4. Gombok
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 12.85px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .01em;
  padding: 9px 21px;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--sage);
  color: var(--btn-ink);
  box-shadow: var(--shadow-sm);
}
.header__cta { font-size: 14.5px; padding: 11px 25px; }
.btn--primary:hover { background: var(--sage-hover); box-shadow: var(--shadow); }

.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
  padding: 10px 29px;
  font-size: 16.1px;
}
.btn--ghost:hover { background: var(--ink); color: var(--bg-cream); }

.btn--soft {
  background: var(--sage);
  color: var(--btn-ink);
  font-size: 12.85px;
  padding: 7px 15px;
}
.btn--soft:hover { background: var(--sage-hover); }

.btn--submit {
  background: var(--sage);
  color: var(--btn-ink);
  font-size: 16.25px;
  padding: 9px 28px;
  border-radius: var(--radius);
  line-height: 1.4;
  width: 100%;
}
.btn--submit:hover { background: var(--sage-hover); }
.btn--submit[disabled] { opacity: .6; cursor: progress; transform: none; }

/* --------------------------------------------------------------------------
   5. Fejléc
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 246, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logó */
.logo { display: block; text-align: center; line-height: 1; margin-right: auto; }
.logo__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: .005em;
}
.logo__sub {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #7c5f4a;
}

/* Navigáció */
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav__link {
  position: relative;
  font-size: 15px;
  color: var(--ink);
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--accent); }
.nav__link:hover::after { transform: scaleX(1); }

.header__cta { margin-left: 22px; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 20px; height: 12px; }
.nav-toggle__bars span {
  position: absolute; left: 0;
  width: 100%; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 55px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  left: -160px; top: 30%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(186, 200, 174, .28) 0%, rgba(186, 200, 174, 0) 68%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px; top: -60px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(186, 200, 174, .22) 0%, rgba(186, 200, 174, 0) 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 72px;
  align-items: center;
}
.hero__title {
  font-size: clamp(38px, 4.55vw, 58px);
  line-height: 1.07;
  margin-bottom: 30px;
  max-width: 6.2em;
}
.hero__text {
  font-size: 15.7px;
  line-height: 1.76;
  margin-bottom: 36px;
  max-width: 480px;
}

/* Ív alakú képkeret */
.arch {
  position: relative;
  border-radius: 50vw 50vw var(--radius) var(--radius);
  overflow: hidden;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

.hero__media {
  aspect-ratio: 482 / 553;
  max-width: 482px;
  margin-left: auto;
  box-shadow: var(--shadow-lg);
  background: #fff;
}

/* --------------------------------------------------------------------------
   7. Rólam / A háttér
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr);
  gap: 119px;
  align-items: center;
}
.about__media {
  aspect-ratio: 391 / 539;
  max-width: 391px;
}
.about__title {
  font-size: clamp(30px, 3.16vw, 40.5px);
  line-height: 1.28;
  margin-bottom: 26px;
}
.about__body p { margin-bottom: 14px; }

.factgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 33px;
}
.fact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
}
.fact__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: 14px;
}
.fact p { font-size: 12.6px; line-height: 1.75; }

/* --------------------------------------------------------------------------
   8. Megoldások
   -------------------------------------------------------------------------- */
.solutions__head {
  display: grid;
  grid-template-columns: minmax(0, 1.66fr) minmax(0, 1fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 46px;
}
.solutions__title {
  font-size: clamp(30px, 3.16vw, 40.5px);
  line-height: 1.28;
  max-width: 13.5em;
}
.solutions__intro { font-size: 14px; line-height: 1.98; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage);
}
.card__media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-cream);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0 18px;
}
.badge {
  display: inline-block;
  background: var(--sage-soft);
  color: var(--accent-dark);
  border-radius: var(--radius-pill);
  padding: 5px 15px;
  font-size: 11.3px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.card__icon { color: var(--accent); flex: none; }
.card__icon svg { display: block; width: 20px; height: 20px; }

.card__title {
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.card__text { font-size: 12px; line-height: 2.04; margin-bottom: 24px; }
.card__cta { margin-top: auto; align-self: flex-start; }

/* --------------------------------------------------------------------------
   9. Technológia
   -------------------------------------------------------------------------- */
.tech__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.tech__title {
  font-size: clamp(30px, 3.16vw, 40.5px);
  line-height: 1.28;
  margin-bottom: 34px;
  max-width: 14em;
}
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 17px 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__title {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.35;
}
.feature__title::before {
  content: "";
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.feature p { font-size: 14px; line-height: 1.46; padding-left: 22px; }

.tech__media {
  aspect-ratio: 531 / 601;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tech__media img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   10. Kapcsolat
   -------------------------------------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .815fr) minmax(0, 1fr);
  gap: 35px;
  align-items: start;
}
.contact__title {
  font-size: clamp(30px, 3.16vw, 40.5px);
  line-height: 1.28;
  margin-bottom: 24px;
  max-width: 12.5em;
}
.contact__text { font-size: 14px; line-height: 1.98; margin-bottom: 34px; max-width: 470px; }

.linkcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 484px;
}
.linkcard {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 17px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.linkcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage); }
.linkcard__icon { color: var(--accent); flex: none; }
.linkcard__icon svg { display: block; width: 22px; height: 22px; }
.linkcard__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 2px;
}
.linkcard__value { display: block; font-size: 14px; color: var(--ink); line-height: 1.35; }

/* Űrlap */
.formcard {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow);
}
.formrow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.field { margin-bottom: 20px; }
.field__label {
  display: block;
  font-size: 11.4px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.field__label .req { color: var(--accent); }

.input, .textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 18px;
  font-size: 15.7px;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(186, 200, 174, .35);
}
.textarea { min-height: 104px; resize: vertical; line-height: 1.7; }

.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #c0674f; }
.field__error {
  display: none;
  margin-top: 7px;
  font-size: 13px;
  color: #b4573f;
}
.field__error.is-visible { display: block; }

/* Adatkezelési hozzájárulás */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 22px;
}
.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px; height: 20px;
  margin: 2px 0 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.consent input[type="checkbox"]:checked {
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 13px;
  background-repeat: no-repeat;
  border-color: var(--accent);
}
.consent input[type="checkbox"][aria-invalid="true"] { border-color: #c0674f; }
.consent label { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.form__note {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-2);
  text-align: center;
}
.form__status {
  display: none;
  margin-top: 18px;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14.5px;
}
.form__status.is-visible { display: block; }
.form__status--ok  { background: var(--sage-soft); color: var(--accent-dark); }
.form__status--err { background: #f7e7e2; color: #a44f38; }

/* Honeypot (spam-csapda) — sosem látszik */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   11. Lábléc
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-footer);
  padding: 42px 0 34px;
  color: var(--muted);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 3.03fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  border-top: 1px solid rgba(31, 46, 35, .09);
  padding-top: 34px;
}
.footer__logo { text-align: left; margin-bottom: 18px; }
.footer__logo .logo__name { font-size: 27px; }
.footer__logo .logo__sub { letter-spacing: .28em; }
.footer__about { font-size: 12.1px; line-height: 1.85; max-width: 330px; }

.footer__heading {
  font-family: var(--font-sans);
  font-size: 11.4px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 10px; font-size: 12.4px; }
.footer__list a { transition: color .2s var(--ease); }
.footer__list a:hover { color: var(--accent); }
.footer__name { color: var(--ink); font-weight: 500; }
.footer__contact-link { display: inline-flex; align-items: center; gap: 9px; }
.footer__contact-link svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(31, 46, 35, .09);
  font-size: 13px;
  color: var(--muted-2);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   12. Belépő animációk
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* --------------------------------------------------------------------------
   13. Aloldalak (adatkezelés, impresszum, köszönjük)
   -------------------------------------------------------------------------- */
.page { padding: 78px 0 96px; font-size: 15.2px; line-height: 1.8; }
.page__inner { max-width: 780px; }
.page__title { font-size: clamp(32px, 4vw, 44px); margin-bottom: 12px; }
.page__meta { font-size: 13.5px; color: var(--muted-2); margin-bottom: 40px; }
.prose h2 {
  font-size: 22px;
  margin: 40px 0 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0;
}
.prose h3 { font-size: 17px; margin: 26px 0 10px; font-family: var(--font-sans); font-weight: 600; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-sage); color: var(--ink); font-weight: 600; }
.note {
  background: var(--bg-sage);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 14.5px;
  margin: 0 0 28px;
}

.thanks { text-align: center; padding: 120px 0 140px; }
.thanks__icon {
  width: 72px; height: 72px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--sage);
  display: grid;
  place-items: center;
  color: var(--btn-ink);
}
.thanks__icon svg { width: 32px; height: 32px; }

/* --------------------------------------------------------------------------
   14. Reszponzív
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .about__grid { gap: 56px; }
  .solutions__head { gap: 48px; }
  .tech__grid { gap: 44px; }
  .contact__grid { gap: 44px; }
  .nav { gap: 24px; }
}

@media (max-width: 960px) {
  .section { padding: 82px 0; }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-cream);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 26px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav { margin-left: 0; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--border-soft); font-size: 16px; }
  .nav__link::after { display: none; }
  .header__cta { display: none; }

  .hero { padding: 60px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__title { max-width: none; }
  .hero__media { margin: 0 auto; }

  .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .about__media { margin: 0 auto; }

  .solutions__head { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }

  .tech__grid { grid-template-columns: 1fr; gap: 44px; }
  .tech__media { max-width: 460px; margin-inline: auto; }

  .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .linkcards { max-width: none; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 14.5px; }
  .section { padding: 64px 0; }
  .container { padding-inline: 20px; }

  .logo__name { font-size: 25px; }
  .logo__sub { font-size: 8px; letter-spacing: .24em; }

  .hero__title { font-size: 38px; }
  .btn--ghost { width: 100%; }

  .factgrid { grid-template-columns: 1fr; gap: 14px; }
  .features { grid-template-columns: 1fr; }
  .formrow { grid-template-columns: 1fr; gap: 0; }
  .linkcards { grid-template-columns: 1fr; }

  .formcard { padding: 24px 20px; }
  .card { padding: 20px; }

  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   15. Mozgáscsökkentés / nyomtatás
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .footer, .nav-toggle, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
