/* ============================================================
   Dr. Bezzegh Szakértő Iroda — prémium landing page
   Paletta: mély éjkék/petrol · meleg papír · borostyán akcent
   Tipográfia: Fraunces (display) · Schibsted Grotesk (szöveg)
   ============================================================ */

:root {
  /* Színek */
  --ink-900: #081722;
  --ink-800: #0b1e2d;
  --ink-700: #10283a;
  --ink-600: #16344a;
  --paper: #f5f2ea;
  --paper-warm: #efeadf;
  --white: #ffffff;
  --amber: #e0a43c;
  --amber-deep: #c8892a;
  --petrol: #4fb3bf;
  --text-dark: #1b2b36;
  --text-mid: #4d5e6a;
  --text-light: rgba(245, 242, 234, 0.78);
  --text-faint: rgba(245, 242, 234, 0.45);
  --line-dark: rgba(8, 23, 34, 0.12);
  --line-light: rgba(245, 242, 234, 0.14);

  /* Tipográfia */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Schibsted Grotesk", "Segoe UI", sans-serif;

  /* Méretskála */
  --container: 1180px;
  --radius: 18px;
  --shadow-card: 0 18px 50px -18px rgba(8, 23, 34, 0.25);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Alapok ---------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 860px; }

/* ---------- Preloader ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink-900);
  display: grid;
  place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader img {
  width: 170px;
  animation: preloaderLogo 1.2s var(--ease-out) both;
}
.preloader__lens {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(224, 164, 60, 0.35);
  animation: preloaderRing 1.6s ease-in-out infinite;
}
.preloader__lens span {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px dashed rgba(79, 179, 191, 0.3);
  animation: preloaderSpin 6s linear infinite;
}
@keyframes preloaderLogo {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes preloaderRing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: 0.6; }
}
@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}

/* ---------- Egyedi kurzor-gyűrű ---------- */

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1.5px solid var(--amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 150;
  opacity: 0;
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease,
              opacity 0.3s ease, border-color 0.25s ease;
  mix-blend-mode: difference;
}
.cursor-ring.active { opacity: 0.85; }
.cursor-ring.hover {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-color: var(--petrol);
}
@media (hover: none), (pointer: coarse) {
  .cursor-ring { display: none; }
}

/* ---------- Gombok ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.btn--amber {
  background: var(--amber);
  color: var(--ink-900);
  box-shadow: 0 10px 30px -10px rgba(224, 164, 60, 0.55);
}
.btn--amber:hover {
  background: var(--amber-deep);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px -12px rgba(224, 164, 60, 0.65);
}

.btn--ghost {
  border: 1.5px solid rgba(245, 242, 234, 0.35);
  color: var(--paper);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(245, 242, 234, 0.08);
  transform: translateY(-3px);
}

.btn--small { padding: 11px 24px; font-size: 0.9rem; }

/* ---------- Szekciófejek ---------- */

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 22px;
}
.section-label span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0;
}
.section-label::after {
  content: "";
  width: 56px;
  height: 1.5px;
  background: var(--amber);
}
.section-label--center { justify-content: center; }
.section-label--light { color: var(--amber); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink-800);
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--amber-deep);
}
.section-title--light { color: var(--paper); }
.section-title--light em { color: var(--amber); }

.section-lead {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 560px;
}
.section-lead--light { color: var(--text-light); }

.section-head { margin-bottom: 64px; }
.section-head--center {
  text-align: center;
}
.section-head--center .section-lead { margin: 0 auto; }

/* ---------- Navigáció ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s var(--ease-out), background 0.4s ease,
              box-shadow 0.4s ease;
}
.nav--scrolled {
  padding: 12px 0;
  background: rgba(8, 23, 34, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.5);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img { width: 210px; height: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  transition: color 0.25s ease;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:not(.btn):hover { color: var(--paper); }
.nav__links a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__lang {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  border: 1.5px solid rgba(245, 242, 234, 0.28);
  border-radius: 100px;
  padding: 7px 14px;
  color: var(--text-light) !important;
}
.nav__lang::after { display: none !important; }
.nav__lang:hover {
  border-color: var(--amber);
  color: var(--amber) !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(165deg, var(--ink-900) 0%, var(--ink-800) 45%, var(--ink-700) 100%);
  color: var(--paper);
  overflow: hidden;
  padding: 140px 0 110px;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }

/* Finom "aurora" fényfolt */
.hero__aurora {
  position: absolute;
  top: -28%;
  right: -16%;
  width: 75vw;
  height: 75vw;
  max-width: 1000px;
  max-height: 1000px;
  background:
    radial-gradient(circle at 38% 42%, rgba(79, 179, 191, 0.20) 0%, transparent 52%),
    radial-gradient(circle at 62% 58%, rgba(224, 164, 60, 0.13) 0%, transparent 48%);
  filter: blur(50px);
  animation: aurora 16s ease-in-out infinite alternate;
}
@keyframes aurora {
  from { transform: translate(0, 0) rotate(0deg) scale(1); }
  to   { transform: translate(-7%, 9%) rotate(10deg) scale(1.12); }
}

/* Laboratóriumi kalibrációs "+" rács */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 242, 234, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 234, 0.05) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
}

/* Lencse-motívum: a logó nagyítójára rímelő körvonalak */
.hero__lens {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 242, 234, 0.10);
}
.hero__lens--1 {
  width: 560px; height: 560px;
  top: 8%; right: -120px;
  border-color: rgba(79, 179, 191, 0.22);
  animation: lensFloat 12s ease-in-out infinite alternate;
}
.hero__lens--2 {
  width: 380px; height: 380px;
  top: 22%; right: 40px;
  border-style: dashed;
  border-color: rgba(224, 164, 60, 0.20);
  animation: lensFloat 15s ease-in-out infinite alternate-reverse;
}
.hero__lens--3 {
  width: 180px; height: 180px;
  bottom: 10%; left: -60px;
  border-color: rgba(245, 242, 234, 0.12);
  animation: lensFloat 10s ease-in-out infinite alternate;
}
@keyframes lensFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-26px); }
}

/* DNS-helix canvas a hero jobb oldalán */
.hero__helix {
  position: absolute;
  top: 0;
  right: 0;
  width: min(50vw, 780px);
  height: 100%;
}
@media (max-width: 860px) {
  .hero__helix { width: 100%; opacity: 0.3; }
}

.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 34px;
}
.hero__eyebrow-mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(224, 164, 60, 0.18);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(2.9rem, 8.2vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}
.hero__title span { display: block; }
.hero__title em {
  font-style: italic;
  color: var(--amber);
}

.hero__lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.7;
  color: var(--text-light);
  max-width: 620px;
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 54px;
}

.hero__trust {
  font-size: 0.9rem;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}
.hero__trust strong { color: var(--text-light); font-weight: 600; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 1.5px solid rgba(245, 242, 234, 0.3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: var(--amber);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%      { transform: translateY(14px); opacity: 0; }
}

/* ---------- Számok sáv ---------- */

.stats {
  background: var(--ink-900);
  border-top: 1px solid var(--line-light);
  color: var(--paper);
  padding: 58px 0;
}

.stats__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat {
  text-align: center;
  position: relative;
}
.stat:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  height: 56px;
  width: 1px;
  background: var(--line-light);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 450;
  color: var(--amber);
  line-height: 1.1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 0.92rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

/* ---------- Szolgáltatások ---------- */

.services {
  padding: 130px 0 120px;
  position: relative;
}
.services::before {
  /* halvány kalibrációs keresztek a papír háttéren */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(8, 23, 34, 0.06) 1.2px, transparent 1.2px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 55%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 55%);
  pointer-events: none;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 38px 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
              border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: rgba(224, 164, 60, 0.45);
}

.card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--ink-800), var(--ink-600));
  color: var(--amber);
  margin-bottom: 6px;
  transition: transform 0.45s var(--ease-out);
}
.card__icon svg { width: 34px; height: 34px; }
.card:hover .card__icon { transform: rotate(-6deg) scale(1.06); }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 550;
  color: var(--ink-800);
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.99rem;
  color: var(--text-mid);
  flex-grow: 1;
}

.card__tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-deep);
  border-top: 1px solid var(--line-dark);
  padding-top: 16px;
}

.card--cta {
  background: linear-gradient(160deg, var(--ink-800), var(--ink-600));
  border: 0;
  color: var(--paper);
  justify-content: center;
}
.card--cta h3 { color: var(--paper); font-size: 1.7rem; }
.card--cta p { color: var(--text-light); flex-grow: 0; }
.card--cta .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Bemutatkozás ---------- */

.about {
  background: var(--paper-warm);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.about::after {
  /* nagy, halvány lencse-kör dekoráció */
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  border: 1px solid rgba(8, 23, 34, 0.08);
  right: -260px;
  bottom: -300px;
  pointer-events: none;
}

.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__portrait {
  position: relative;
  border-radius: 24px 24px 200px 24px;
  overflow: hidden;
  box-shadow: 0 35px 70px -25px rgba(8, 23, 34, 0.45);
}
.about__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(245, 242, 234, 0.25);
  pointer-events: none;
}
.about__portrait img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  filter: saturate(0.92);
}

.about__badge {
  position: absolute;
  bottom: -26px;
  left: -26px;
  background: var(--ink-800);
  color: var(--paper);
  border-radius: 18px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 45px -15px rgba(8, 23, 34, 0.5);
  border: 1px solid rgba(224, 164, 60, 0.35);
}
.about__badge-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--amber);
  line-height: 1;
}
.about__badge-text {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

.about__role {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-mid);
  margin: -10px 0 26px;
}

.about__quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-style: italic;
  font-weight: 450;
  line-height: 1.4;
  color: var(--ink-700);
  border-left: 3px solid var(--amber);
  padding-left: 24px;
  margin-bottom: 28px;
}

.about__content > p {
  color: var(--text-mid);
  margin-bottom: 18px;
}

.about__highlights {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin-top: 28px;
}
.about__highlights li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-700);
}
.about__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(140deg, var(--amber), var(--amber-deep));
}

/* ---------- Partnerek ---------- */

.partners {
  padding: 120px 0;
  background: var(--paper);
}

/* Végtelenített partner-logósáv */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

.partner {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  width: 210px;
  min-height: 110px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              border-color 0.3s ease;
}
.partner:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(79, 179, 191, 0.5);
}
.partner img {
  max-height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.65);
  transition: filter 0.35s ease;
}
.partner:hover img { filter: grayscale(0) opacity(1); }

.partner--text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 550;
  color: var(--ink-600);
  text-align: center;
  line-height: 1.2;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out), border-color 0.3s ease;
}
.partner--text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-top: 4px;
}
.partner--text:hover { opacity: 1; }

/* ---------- Karrier-idővonal ---------- */

.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 100px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(8, 23, 34, 0.18) 8%, rgba(8, 23, 34, 0.18) 92%, transparent);
}

.timeline__item {
  position: relative;
  padding-top: 34px;
}
.timeline__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--paper-warm);
  border: 3px solid var(--amber);
  box-shadow: 0 0 0 5px var(--paper-warm);
}

.timeline__year {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: 6px;
}

.timeline__text {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-700);
}
.timeline__text small {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-mid);
}

/* ---------- GYIK ---------- */

.faq {
  background: var(--paper);
  padding: 120px 0;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq__item[open] {
  border-color: rgba(224, 164, 60, 0.5);
  box-shadow: var(--shadow-card);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 550;
  color: var(--ink-800);
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--ink-800), var(--ink-600));
  transition: transform 0.35s var(--ease-out), background 0.3s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--amber);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }

.faq__answer {
  padding: 0 26px 24px;
  color: var(--text-mid);
  font-size: 0.99rem;
  max-width: 700px;
}
.faq__answer a {
  color: var(--amber-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Kapcsolat ---------- */

.contact {
  position: relative;
  background: linear-gradient(170deg, var(--ink-800) 0%, var(--ink-900) 100%);
  padding: 130px 0 140px;
  color: var(--paper);
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 242, 234, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 234, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}

.contact-card {
  background: rgba(245, 242, 234, 0.05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(6px);
  transition: transform 0.4s var(--ease-out), background 0.3s ease,
              border-color 0.3s ease;
}
a.contact-card:hover {
  transform: translateY(-6px);
  background: rgba(245, 242, 234, 0.09);
  border-color: rgba(224, 164, 60, 0.5);
}

.contact-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--petrol);
}

.contact-card__value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--paper);
}

.contact-card__hint {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--amber);
}
.contact-card--static .contact-card__hint { color: var(--text-faint); }

/* Kapcsolat — kétoszlopos elrendezés űrlappal */
.contact__layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  position: relative;
  align-items: start;
}
.contact__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact__layout .contact-card { padding: 26px 24px; }
.contact__layout .contact-card__value { font-size: 1.18rem; }

.contact-form {
  background: rgba(245, 242, 234, 0.05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 36px 34px;
  backdrop-filter: blur(6px);
}
.contact-form__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 8px;
}
.contact-form__sub {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 26px;
}
.field { margin-bottom: 18px; }
.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(8, 23, 34, 0.45);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--paper);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(8, 23, 34, 0.7);
  box-shadow: 0 0 0 3px rgba(224, 164, 60, 0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.contact-form .btn { width: 100%; margin-top: 6px; }
.contact-form__status {
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 1.2em;
  text-align: center;
}
.contact-form__status.ok { color: var(--petrol); }
.contact-form__status.err { color: #e8836a; }
.contact-form__consent {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 14px;
  text-align: center;
}

@media (max-width: 980px) {
  .contact__layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact__cards { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 22px; }
}

/* ---------- Lábléc ---------- */

.footer {
  background: var(--ink-900);
  color: var(--text-light);
  border-top: 1px solid var(--line-light);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-top: 70px;
  padding-bottom: 56px;
}

.footer__brand img { width: 190px; margin-bottom: 18px; }
.footer__brand p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-faint);
  line-height: 1.5;
}

.footer__links,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
}
.footer__links a:hover,
.footer__contact a:hover { color: var(--amber); }
.footer__contact span { color: var(--text-faint); }

.footer__bottom {
  border-top: 1px solid var(--line-light);
  padding: 22px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* ---------- Kártya "Részletek" link ---------- */

.card__more,
.about__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-700);
  margin-top: 2px;
  transition: color 0.25s ease, gap 0.25s ease;
}
.about__more { margin-top: 26px; font-size: 1rem; }
.card__more:hover,
.about__more:hover { color: var(--amber-deep); gap: 13px; }

/* ============================================================
   ALOLDALAK
   ============================================================ */

.page-hero {
  position: relative;
  background: linear-gradient(165deg, var(--ink-900) 0%, var(--ink-800) 45%, var(--ink-700) 100%);
  color: var(--paper);
  padding: 190px 0 110px;
  overflow: hidden;
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 242, 234, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 234, 0.05) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
}

.page-hero__lens {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(79, 179, 191, 0.20);
  width: 480px;
  height: 480px;
  top: -140px;
  right: -120px;
  pointer-events: none;
}
.page-hero__lens--dashed {
  width: 300px;
  height: 300px;
  top: 60px;
  right: 80px;
  border-style: dashed;
  border-color: rgba(224, 164, 60, 0.22);
}

.page-hero__canvas {
  position: absolute;
  top: 0;
  right: 0;
  width: min(52vw, 800px);
  height: 100%;
}
.page-hero__canvas--full {
  width: 100%;
  opacity: 0.5;
}

.page-hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--text-faint); transition: color 0.25s ease; }
.breadcrumb a:hover { color: var(--paper); }
.breadcrumb span { color: var(--amber); }

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14em;
  margin-bottom: 26px;
}
.page-hero__title em { font-style: italic; color: var(--amber); }

.page-hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-light);
  max-width: 600px;
}

/* Tartalmi blokk */

.page-body {
  padding: 100px 0 110px;
}
.page-body .container { max-width: 880px; }

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink-800);
  margin: 56px 0 20px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 550;
  color: var(--ink-800);
  margin: 36px 0 12px;
}
.prose p {
  color: var(--text-mid);
  margin-bottom: 18px;
}
.prose strong { color: var(--ink-700); }
.prose ul {
  list-style: none;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prose ul li {
  position: relative;
  padding-left: 26px;
  color: var(--text-mid);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(140deg, var(--amber), var(--amber-deep));
}
.prose a {
  color: var(--amber-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 12px auto 28px;
  box-shadow: var(--shadow-card);
}
.prose iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 14px;
  margin: 12px 0 28px;
  box-shadow: var(--shadow-card);
}
.prose sup, .prose a[href*="#:~:"] {
  font-size: 0.82em;
}
.prose h3 strong { font-weight: inherit; }

/* Cikk fejléc meta (szerző, dátum) */
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--text-light);
}
.article-meta__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--amber), var(--amber-deep));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-900);
  flex-shrink: 0;
}
.article-meta strong { color: var(--paper); font-weight: 600; }

/* Cikk-navigáció (vissza a tudástárhoz) */
.article-nav {
  display: flex;
  justify-content: center;
  padding: 0 0 90px;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink-700);
  transition: gap 0.25s ease, color 0.25s ease;
}
.article-back:hover { gap: 16px; color: var(--amber-deep); }

/* Kiemelt idézet/lead doboz */
.prose .callout {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--amber);
  border-radius: 0 14px 14px 0;
  padding: 26px 30px;
  margin: 0 0 36px;
  font-size: 1.12rem;
  color: var(--ink-700);
}

/* Info-rács (pl. teszttípusok, szolgáltatáscsomagok) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 36px 0 14px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              border-color 0.3s ease;
}
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(224, 164, 60, 0.45);
}
.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 550;
  color: var(--ink-800);
  margin-bottom: 10px;
}
.info-card p { color: var(--text-mid); font-size: 0.96rem; margin: 0; }
.info-card .info-card__badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-deep);
  background: rgba(224, 164, 60, 0.12);
  border-radius: 100px;
  padding: 5px 12px;
  margin-bottom: 14px;
}
.info-card .info-card__price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--ink-700);
  margin: 12px 0 4px;
}

/* Tudástár cikk-kártyák */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.article-item {
  display: flex;
  align-items: baseline;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 24px 28px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              border-color 0.3s ease;
}
.article-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(79, 179, 191, 0.5);
}
.article-item__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--amber-deep);
  flex-shrink: 0;
}
.article-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 550;
  color: var(--ink-800);
  margin-bottom: 4px;
}
.article-item p { color: var(--text-mid); font-size: 0.94rem; margin: 0; }

/* Aloldal-záró CTA sáv */
.page-cta {
  background: linear-gradient(170deg, var(--ink-800) 0%, var(--ink-900) 100%);
  color: var(--paper);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 242, 234, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 234, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, black 20%, transparent 75%);
  pointer-events: none;
}
.page-cta h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 500;
  margin-bottom: 16px;
}
.page-cta h2 em { font-style: italic; color: var(--amber); }
.page-cta p {
  position: relative;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 34px;
}
.page-cta .btn { position: relative; }

@media (max-width: 860px) {
  .page-hero { padding: 150px 0 80px; }
  .page-hero__canvas { width: 100%; opacity: 0.3; }
  .page-body { padding: 70px 0 80px; }
  .info-grid { grid-template-columns: 1fr; }
  .article-item { flex-direction: column; gap: 8px; padding: 20px 22px; }
}

/* ---------- Csapat-szekció ---------- */

.team {
  background: var(--paper-warm);
  padding: 110px 0;
  border-top: 1px solid var(--line-dark);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.member {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 34px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              border-color 0.3s ease;
}
.member:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(224, 164, 60, 0.45);
}
.member__photo {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 10px 24px -10px rgba(8, 23, 34, 0.4);
}
.member__avatar {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink-900);
  background: linear-gradient(150deg, var(--petrol), #3a8f99);
}
.member__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 550;
  color: var(--ink-800);
  margin-bottom: 4px;
}
.member__role {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--amber-deep);
  margin-bottom: 12px;
}
.member__bio {
  font-size: 0.97rem;
  color: var(--text-mid);
}
@media (max-width: 760px) {
  .team { padding: 70px 0; }
  .team__grid { grid-template-columns: 1fr; }
  .member { padding: 26px 22px; gap: 18px; }
  .member__photo, .member__avatar { width: 72px; height: 72px; }
}

/* ---------- Média / videók szekció ---------- */

.media {
  background: linear-gradient(170deg, var(--ink-800) 0%, var(--ink-900) 100%);
  color: var(--paper);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 242, 234, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 234, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
}
.media .section-title { color: var(--paper); }
.media .section-lead { color: var(--text-light); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}
.video-card {
  background: rgba(245, 242, 234, 0.05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              border-color 0.3s ease;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
  border-color: rgba(224, 164, 60, 0.5);
}
.video-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background: var(--ink-900);
  overflow: hidden;
}
.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out), opacity 0.3s ease;
}
.video-card:hover .video-card__thumb img { transform: scale(1.05); opacity: 0.85; }
.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(224, 164, 60, 0.95);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease-out), background 0.3s ease;
}
.video-card__thumb:hover .video-card__play { transform: translate(-50%, -50%) scale(1.1); }
.video-card__play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--ink-900);
  margin-left: 4px;
}
.video-card__body { padding: 20px 22px 24px; }
.video-card__src {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 8px;
  display: block;
}
.video-card__title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--paper);
}
.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .media { padding: 70px 0; }
}

/* ---------- Scroll-reveal animációk ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.42s; }
.reveal.d5 { transition-delay: 0.54s; }
.reveal.d6 { transition-delay: 0.68s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__aurora, .hero__lens, .hero__scroll span,
  .marquee__track, .preloader img, .preloader__lens,
  .preloader__lens span { animation: none; }
  .preloader { display: none; }
  .cursor-ring { display: none; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Reszponzivitás ---------- */

@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { gap: 56px; }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 40px 18px; }
}

@media (max-width: 860px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 70px;
  }
  .about__visual { max-width: 440px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .stat:nth-child(3)::before { display: none; }
}

@media (max-width: 760px) {
  .nav__burger { display: flex; z-index: 110; }
  .nav__logo img { width: 175px; }

  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(8, 23, 34, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    font-size: 1.3rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav__links.open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a:not(.btn) { font-size: 1.25rem; }

  .hero { padding: 120px 0 90px; }
  .hero__actions .btn { width: 100%; }

  .services { padding: 90px 0 80px; }
  .services__grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 44px; }

  .about { padding: 90px 0; }
  .about__badge { left: 12px; bottom: -22px; padding: 16px 20px; }

  .partners { padding: 80px 0; }

  .timeline {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 70px;
    padding-left: 8px;
  }
  .timeline::before {
    top: 0;
    bottom: 0;
    left: 9px;
    right: auto;
    width: 1.5px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(8, 23, 34, 0.18) 6%, rgba(8, 23, 34, 0.18) 94%, transparent);
  }
  .timeline__item { padding: 0 0 0 36px; }
  .timeline__item::before { top: 6px; left: 2px; }

  .faq { padding: 80px 0; }
  .faq__item summary { padding: 18px 20px; font-size: 1.05rem; }
  .faq__answer { padding: 0 20px 20px; }

  .contact { padding: 90px 0 100px; }
  .contact__grid { grid-template-columns: 1fr; }
}
