@import url("fonts.css");

/* ============================================================
   biztonsagneked.hu v2 — Elevated modern
   Palette derived from the live brand: deep navy + #7ddcfa accent.
   Signature: camera "focus frame" corner brackets on framed media.
   ============================================================ */

:root {
  --bg:         #051a2e;
  --bg-alt:     #071f38;
  --panel:      #0b2742;
  --panel-2:    #0e3054;
  --line:       rgba(125, 220, 250, 0.16);
  --line-soft:  rgba(148, 157, 193, 0.16);

  --accent:     #7ddcfa;
  --accent-2:   #49b6e7;
  --accent-deep:#2b8fc7;

  --white:      #f3f9ff;
  --text:       #cddcf0;
  --text-dim:   #8f9cbe;

  --maxw: 1180px;
  --pad: clamp(1.15rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 16px;
  --radius-sm: 11px;

  --mono: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient background: a couple of soft accent glows fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(50rem 40rem at 82% -8%, rgba(125, 220, 250, 0.10), transparent 60%),
    radial-gradient(46rem 40rem at -12% 12%, rgba(43, 143, 199, 0.10), transparent 60%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--white); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.section-head { max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }

/* ---------- Eyebrow (mono monitoring label) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 1.85rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

h2.section-title { font-size: clamp(1.9rem, 4vw, 3rem); }
.lead {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  color: var(--text);
  margin-top: 1.15rem;
  max-width: 46ch;
}
.section-head .lead { color: var(--text); }
.muted { color: var(--text-dim); }

/* ---------- Buttons ---------- */
.btn {
  --bh: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #032034;
  box-shadow: 0 10px 30px -12px rgba(125, 220, 250, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(125, 220, 250, 0.85); }
.btn-ghost {
  background: rgba(125, 220, 250, 0.05);
  border-color: var(--line);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(125, 220, 250, 0.12); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(5, 20, 32, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.28s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(125, 220, 250, 0.05);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 5px); }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .nav-toggle span::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding-block: clamp(7rem, 14vw, 10rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,20,32,0.55) 0%, rgba(5,20,32,0.35) 40%, var(--bg) 96%),
    linear-gradient(90deg, rgba(5,20,32,0.85), rgba(5,20,32,0.15));
}
.hero-inner { max-width: 46rem; }
.hero h1 {
  font-size: clamp(2.1rem, 6.4vw, 5rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--white);
  overflow-wrap: break-word;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--white) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { max-width: 40ch; margin-top: 1.5rem; font-size: clamp(1.1rem, 1.9vw, 1.4rem); color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.2rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  margin-top: 2.6rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5em; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* ---------- Signature: camera focus frame ---------- */
.framed { position: relative; }
.framed .corner {
  position: absolute;
  width: 26px; height: 26px;
  border: 2px solid var(--accent);
  opacity: 0.9;
  z-index: 3;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), opacity 0.4s var(--ease);
}
.framed .corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.framed .corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.framed .corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.framed .corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.hero .framed .corner { border-color: rgba(125, 220, 250, 0.55); }

/* ---------- Services overview grid ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.6rem 1.5rem;
  background: linear-gradient(180deg, var(--panel), rgba(11, 39, 66, 0.55));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.svc-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(18rem 12rem at 50% -20%, rgba(125, 220, 250, 0.16), transparent 70%);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 24px 50px -30px rgba(125, 220, 250, 0.6); }
.svc-card:hover::after { opacity: 1; }
.svc-ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: rgba(125, 220, 250, 0.10);
  border: 1px solid var(--line);
  color: var(--accent);
}
.svc-ico svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.16rem; }
.svc-card p { font-size: 0.92rem; color: var(--text-dim); line-height: 1.55; margin: 0; }
.svc-card .go {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.5em;
}
.svc-card .go svg { width: 1em; height: 1em; transition: transform 0.3s var(--ease); }
.svc-card:hover .go svg { transform: translateX(4px); }

/* ---------- Detail section (media + content) ---------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.detail.reverse .detail-media { order: 2; }
.detail-media { position: relative; }
.detail-media .shot {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.detail-media .shot img { width: 100%; height: 100%; object-fit: cover; }
.detail-media .shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 20, 32, 0.55));
}
.detail-copy .lead { max-width: none; }

/* checklist ("Szeretné, ha…") */
.checklist { display: grid; gap: 0.7rem; margin-top: 1.6rem; }
.checklist li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--text);
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 0.15rem;
  width: 1.35rem; height: 1.35rem;
  border-radius: 50%;
  background: rgba(125, 220, 250, 0.12);
  border: 1px solid var(--line);
}
.checklist li::after {
  content: "";
  position: absolute; left: 0.44rem; top: 0.42rem;
  width: 0.42rem; height: 0.7rem;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* tag / pill list ("Szolgáltatásaink…") */
.taglist { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.taglist li {
  font-size: 0.86rem;
  color: var(--text);
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.taglist li:hover { border-color: var(--accent); color: var(--white); }

/* ---------- Feature grid (cards from h4 + p) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.05rem; margin-top: clamp(2rem, 4vw, 3rem); }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature {
  padding: 1.5rem 1.45rem;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: var(--line); background: var(--panel-2); }
.feature .fnum {
  font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.12em; color: var(--accent);
  display: block; margin-bottom: 0.7rem;
}
.feature h4 { font-size: 1.06rem; margin-bottom: 0.55rem; letter-spacing: -0.01em; }
.feature p { font-size: 0.92rem; color: var(--text-dim); line-height: 1.6; }

/* compact "why us" chips */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.why {
  padding: 1.15rem 1.2rem;
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, rgba(125, 220, 250, 0.06), transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.why h4 { font-size: 0.98rem; margin-bottom: 0.35rem; }
.why p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.55; }

.section-cta { margin-top: clamp(2rem, 4vw, 3rem); }

/* subsection heading inside a detail block */
.subhead { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: clamp(2.4rem, 5vw, 3.6rem); }
.subhead + .muted { margin-top: 0.6rem; max-width: 60ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 4vw, 3.2rem); align-items: start; }
.form {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.3rem);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.field label .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(5, 20, 32, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #5f6f8e; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(125, 220, 250, 0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.86rem; color: var(--text-dim); }
.check input { margin-top: 0.2rem; width: 1.05rem; height: 1.05rem; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-note { font-size: 0.78rem; color: var(--text-dim); margin-top: 0.9rem; }

.info-panel { display: grid; gap: 1.5rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .ico {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(125, 220, 250, 0.09);
  border: 1px solid var(--line);
  color: var(--accent);
}
.info-item .ico svg { width: 22px; height: 22px; }
.info-item .k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); }
.info-item .v { color: var(--white); font-weight: 600; font-size: 1.02rem; }
.info-item .v a:hover { color: var(--accent); }
.info-map {
  margin-top: 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--panel);
}
.info-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.9) hue-rotate(170deg) contrast(0.9); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line-soft); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.footer .brand img { height: 34px; }
.footer-about { color: var(--text-dim); font-size: 0.92rem; max-width: 34ch; margin-top: 1.1rem; }
.footer h5 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.1rem; font-weight: 600; }
.footer-links { display: grid; gap: 0.6rem; }
.footer-links a { color: var(--text-dim); font-size: 0.94rem; transition: color 0.2s var(--ease); width: fit-content; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.84rem; color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 50%; bottom: 1.1rem;
  transform: translateX(-50%) translateY(140%);
  z-index: 200;
  width: min(680px, calc(100% - 1.6rem));
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.2rem;
  padding: 1rem 1.25rem;
  background: rgba(8, 27, 45, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
  opacity: 0;
}
.cookie.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie p { font-size: 0.86rem; color: var(--text-dim); flex: 1 1 260px; margin: 0; }
.cookie a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie .btn { padding: 0.6rem 1.2rem; font-size: 0.88rem; }

/* ---------- Article (policy pages) ---------- */
.page-hero { padding-block: clamp(8rem, 14vw, 11rem) clamp(2rem, 5vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -0.03em; }
.article { max-width: 74ch; margin-inline: auto; padding-bottom: var(--section-y); }
.article h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.6rem 0 0.9rem; }
.article h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; color: var(--white); }
.article p { margin: 0 0 1rem; color: var(--text); line-height: 1.75; }
.article ul { list-style: none; margin: 0 0 1.2rem; display: grid; gap: 0.5rem; }
.article ul li { position: relative; padding-left: 1.5rem; color: var(--text); }
.article ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.article a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article strong { color: var(--white); }
.article .data-row { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1.2rem; margin: 1.2rem 0; padding: 1.2rem 1.4rem; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); }
.article .data-row dt { font-weight: 700; color: var(--white); }
.article .data-row dd { margin: 0; color: var(--text-dim); }
.back-link { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 2rem; }
.back-link svg { width: 1em; height: 1em; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .svc-card, .feature, .nav-links a::after { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .feature-grid.cols-2, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .detail.reverse .detail-media { order: 0; }
  .detail-media { max-width: 560px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem var(--pad) 1.5rem;
    background: rgba(6, 22, 37, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
    transform: translateY(-140%);
    transition: transform 0.4s var(--ease);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  body.menu-open .nav-links { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 0.95rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .nav .btn-primary { display: none; }
}

@media (max-width: 560px) {
  .services, .feature-grid, .feature-grid.cols-2, .why-grid, .footer-top { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
