/* ==========================================================================
   Neurofeedback Miskolc – onepage
   Szerző: maczko.eu · 2026
   ========================================================================== */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0f2420;
  --ink-soft: #334742;
  --muted: #5c6f69;
  --brand: #0d5b52;
  --brand-600: #0a4a43;
  --brand-050: #e7f1ed;
  --accent: #c9772a;
  --accent-text: #9e5b14;
  --accent-050: #fbf0e2;
  --paper: #f8f6f0;
  --surface: #ffffff;
  --line: #dfe4de;
  --line-strong: #c8d2cb;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(15, 36, 32, .05), 0 1px 3px rgba(15, 36, 32, .04);
  --shadow-md: 0 12px 30px -14px rgba(15, 36, 32, .22);
  --shadow-lg: 0 30px 60px -32px rgba(15, 36, 32, .3);
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --header-h: 76px;
  --container: 1160px;
}

/* --- Reset ---------------------------------------------------------------- */
*,
*::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(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
strong { font-weight: 750; }
button { font: inherit; color: inherit; }

::selection { background: #cfe6de; color: var(--ink); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4.5vw, 2.5rem);
}
.container--narrow { max-width: 860px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .7rem 1rem;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus-visible { top: 1rem; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--xs { width: 16px; height: 16px; }
.icon--sm { width: 18px; height: 18px; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px -14px rgba(13, 91, 82, .9);
}
.btn--primary:hover { background: var(--brand-600); }

.btn--ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--outline {
  border-color: rgba(255, 255, 255, .34);
  color: #fff;
}
.btn--outline:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }

.btn--lg { padding: .95rem 1.5rem; font-size: 1rem; }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 240, .82);
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(248, 246, 240, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -18px rgba(15, 36, 32, .5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--brand-050);
  color: var(--brand);
}
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-size: 1rem; font-weight: 800; letter-spacing: -.015em; }
.brand-text span {
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}
.site-nav__list a {
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
  background-image: linear-gradient(var(--brand), var(--brand));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  padding-block: .35rem;
  transition: background-size .25s ease, color .2s ease;
}
.site-nav__list a:hover { color: var(--brand); background-size: 100% 2px; }
.site-nav__cta { margin-left: .1rem; }

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.25rem, 5.5vw, 4.5rem) clamp(3rem, 6vw, 5.5rem);
  background:
    radial-gradient(1100px 520px at 82% -10%, #e4f0ea 0%, rgba(228, 240, 234, 0) 62%),
    radial-gradient(760px 420px at 8% 108%, #fbf1e3 0%, rgba(251, 241, 227, 0) 60%),
    var(--paper);
}
.hero__glow {
  position: absolute;
  inset: auto -12% -55% -12%;
  height: 62%;
  background: radial-gradient(closest-side, rgba(13, 91, 82, .09), transparent);
  filter: blur(6px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.1rem;
  padding: .4rem .85rem;
  border: 1px solid #d9e5df;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: var(--brand-600);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 119, 42, .16);
}

.hero h1 {
  font-size: clamp(2.05rem, 4.9vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  max-width: 18ch;
}
.hl {
  color: var(--brand);
  background: linear-gradient(180deg, transparent 60%, rgba(201, 119, 42, .26) 60%, rgba(201, 119, 42, .26) 94%, transparent 94%);
}
.hero__lead {
  margin-top: 1.15rem;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.62;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.75rem;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.35rem;
  margin-top: 1.9rem;
  list-style: none;
  color: var(--muted);
  font-size: .87rem;
  font-weight: 650;
}
.hero__facts li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__facts .icon { color: var(--brand); stroke-width: 2.4; }

.hero__visual {
  display: grid;
  gap: 1rem;
  align-content: center;
  justify-items: stretch;
}

.eeg-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.15rem 1.25rem 1rem;
  box-shadow: var(--shadow-lg);
}
.eeg-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .9rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: #e9f4ef;
  color: #14664b;
  font-size: .74rem;
  font-weight: 750;
}
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f9d6f;
  box-shadow: 0 0 0 3px rgba(31, 157, 111, .18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% { opacity: .45; box-shadow: 0 0 0 6px rgba(31, 157, 111, .08); }
}
.eeg-card__meta {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eeg {
  width: 100%;
  aspect-ratio: 440 / 150;
  border: 1px solid #e8efeb;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdfc, #f1f7f3);
}
.eeg__grid { stroke: #dbe7e1; stroke-width: 1; fill: none; }
.eeg__line {
  stroke-dasharray: 7 9;
  animation: dash 16s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -320; } }
.eeg-card__foot {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .85rem;
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .02em;
}
.eeg-card__ok {
  margin-left: auto;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: #e9f4ef;
  color: #14664b;
  font-weight: 750;
  font-size: .72rem;
}

.info-card {
  width: min(100%, 340px);
  margin-left: auto;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.info-card__label {
  margin: 0 0 .35rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.info-card__main {
  display: block;
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}
.info-card__main:hover { color: var(--brand); }
.info-card__mail {
  display: inline-block;
  margin-top: .15rem;
  color: var(--brand);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  word-break: break-word;
}
.info-card__mail:hover { text-decoration: underline; }
.info-card__addr {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: .75rem 0 0;
  padding-top: .7rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
}
.info-card__addr .icon { color: var(--brand); }

/* --- Célcsoport listák ---------------------------------------------------- */
.groups {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 1rem;
  align-items: start;
}
.groups > .group:first-child { grid-row: span 2; }
.group {
  padding: 1.4rem 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.group__head {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line);
}
.group__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  background: var(--brand-050);
  color: var(--brand);
}
.group h3 { font-size: 1.05rem; }
.checklist { display: grid; gap: .38rem; list-style: none; }
.checklist li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.5;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .52em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-050);
  border: 2px solid var(--brand);
}

/* --- Előnyök -------------------------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1rem;
  list-style: none;
}
.benefits li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.5;
}
.benefits__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  margin-top: .05rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.benefits__icon .icon { stroke-width: 3; }

/* --- Sections ------------------------------------------------------------- */
.section { padding-block: clamp(3.25rem, 6.5vw, 6rem); }
.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.section--dark {
  background: var(--ink);
  color: #eaf2ee;
}

.kicker {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .8rem;
  color: var(--brand);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.kicker--light { color: #9fd3c7; }

.section h2 { font-size: clamp(1.75rem, 3.5vw, 2.65rem); }
.section-head { max-width: 720px; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.section-head h2 { margin-bottom: .85rem; }
.section-lead {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
  max-width: 64ch;
}
.section--dark .section-lead { color: #c6dbd3; }
.muted { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.split__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.split__aside h2 { margin-bottom: .9rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.35rem;
  color: var(--brand);
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, gap .2s ease;
}
.link-arrow:hover { border-color: var(--brand); gap: .6rem; }

/* --- Cards ---------------------------------------------------------------- */
.cards { list-style: none; }
.cards--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.cards--stack { display: grid; gap: 1rem; }

.card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.section--surface .card { background: var(--paper); }
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--brand-050);
  color: var(--brand);
}
.card__icon .icon { width: 22px; height: 22px; }
.card h3 { margin: .9rem 0 .35rem; font-size: 1.05rem; }
.card p { color: var(--muted); font-size: .94rem; line-height: 1.62; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.75rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  border: 1px solid #d6e6e0;
  border-radius: 999px;
  background: var(--brand-050);
  color: var(--brand-600);
  font-size: .84rem;
  font-weight: 650;
}
.chip .icon { color: var(--brand); }

/* --- Steps ---------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
}
.step {
  position: relative;
  padding: 1.4rem 1.3rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.step::after {
  content: '';
  position: absolute;
  top: 33px;
  right: -1rem;
  width: 1rem;
  height: 2px;
  background: var(--line-strong);
}
.step:last-child::after { display: none; }
.step__num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: .9rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
.step h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.step__time {
  margin-bottom: .55rem;
  color: var(--accent-text);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.step p:last-child { color: var(--muted); font-size: .91rem; line-height: 1.6; }

.note {
  display: flex;
  gap: .6rem;
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid #f0dcc4;
  border-radius: var(--radius);
  background: var(--accent-050);
  color: #6b4a26;
  font-size: .91rem;
  line-height: 1.6;
  max-width: 78ch;
}

/* --- FAQ ------------------------------------------------------------------ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--brand-600); }
.faq__body {
  padding: 0 0 1.25rem;
  max-width: 70ch;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.65;
}

/* --- Contact -------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.contact h2 { margin-bottom: .9rem; }
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.6rem;
}
.contact__list { display: grid; gap: .75rem; list-style: none; }
.contact__list li {
  display: flex;
  gap: .9rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
}
.contact__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 11px;
  background: rgba(159, 211, 199, .14);
  color: #9fd3c7;
}
.contact__label {
  margin: 0;
  color: #9fbdb6;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact__value { margin: .15rem 0 0; color: #fff; font-size: 1rem; font-weight: 700; }
.contact__value a { color: #fff; text-decoration: none; }
.contact__value a:hover { text-decoration: underline; }
.contact__hint { margin: .3rem 0 0; color: #9fbdb6; font-size: .82rem; }
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .4rem;
  color: #9fd3c7;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}
.contact__link:hover { text-decoration: underline; }

.map {
  position: relative;
  display: grid;
  min-height: 300px;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(620px 240px at 50% 118%, rgba(159, 211, 199, .16), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 46px),
    rgba(255, 255, 255, .03);
}
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.map__placeholder {
  display: grid;
  place-items: center;
  gap: .55rem;
  padding: clamp(2rem, 5vw, 3.25rem) 1.5rem;
  border: 0;
  background: transparent;
  color: #e8f1ed;
  text-align: center;
  cursor: pointer;
}
.map__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(159, 211, 199, .16);
  color: #9fd3c7;
  transition: transform .2s ease;
}
.map__icon .icon { width: 26px; height: 26px; }
.map__placeholder:hover .map__icon { transform: translateY(-2px); }
.map__title { font-size: 1.05rem; font-weight: 800; }
.map__hint { max-width: 48ch; color: #9fbdb6; font-size: .84rem; line-height: 1.55; }
.map__noscript { padding: 1rem 1.5rem; color: #9fbdb6; text-align: center; font-size: .9rem; }

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(2.5rem, 5vw, 3.75rem) 1.5rem;
  background: var(--ink);
  color: #c9dcd6;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
.brand--footer { color: #fff; }
.brand--footer .brand-mark { background: rgba(159, 211, 199, .14); color: #9fd3c7; }
.brand--footer .brand-text span { color: #8db0a9; }
.footer__tagline {
  margin-top: 1rem;
  max-width: 34ch;
  color: #8db0a9;
  font-size: .88rem;
  line-height: 1.6;
}
.footer__nav ul {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem 1.1rem;
  list-style: none;
}
.footer__nav a {
  color: #c9dcd6;
  font-size: .88rem;
  text-decoration: none;
}
.footer__nav a:hover { color: #fff; text-decoration: underline; }
.footer__contact p { margin: 0 0 .45rem; font-size: .88rem; }
.footer__contact a { color: #c9dcd6; text-decoration: none; }
.footer__contact a:hover { color: #fff; text-decoration: underline; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.legal summary {
  color: #9fbdb6;
  font-size: .83rem;
  cursor: pointer;
}
.legal summary:hover { color: #fff; }
.legal__body {
  max-width: 72ch;
  margin-top: .75rem;
  color: #8db0a9;
  font-size: .82rem;
  line-height: 1.62;
}
.legal__body p { margin: .45rem 0; }
.footer__copy { margin: 0; color: #7c9a92; font-size: .8rem; }

/* --- Mobile bar ----------------------------------------------------------- */
.mobile-bar { display: none; }

/* --- Reveal --------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.2, .7, .3, 1), transform .6s cubic-bezier(.2, .7, .3, 1);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .site-nav__list { gap: 1rem; }
  .site-nav__list a { font-size: .88rem; }
}

@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .cards--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: inline-grid; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
    padding: 1rem clamp(1.1rem, 4.5vw, 2.5rem) 1.3rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a {
    display: block;
    padding: .8rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .site-nav__cta { justify-content: center; margin-top: .75rem; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 22ch; }
  .hero__visual { order: 2; }
  .info-card { width: 100%; max-width: none; }

  .split { grid-template-columns: minmax(0, 1fr); }
  .split__aside { position: static; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .step::after { top: 34px; }
  .step:nth-child(4)::after { display: none; }

  .groups { grid-template-columns: minmax(0, 1fr); }
  .groups > .group:first-child { grid-row: auto; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .mobile-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
    padding: .6rem .85rem calc(.6rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(248, 246, 240, .94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: calc(1.5rem + 78px); }
  .hero { padding-top: 1.5rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .section { padding-block: clamp(2.75rem, 9vw, 4rem); }
  .cards--grid { grid-template-columns: minmax(0, 1fr); }
  .groups { grid-template-columns: minmax(0, 1fr); }
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer__nav ul { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .footer__legal { flex-direction: column-reverse; }
  .map iframe { min-height: 340px; }
  .eeg-card__foot { flex-wrap: wrap; gap: .4rem .75rem; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step::after { display: none; }
  .hero__facts { gap: .45rem 1rem; }
  .contact__list li { flex-direction: row; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .eeg__line, .pill__dot { animation: none; }
  .btn:hover, .card:hover { transform: none; }
  .map__placeholder:hover .map__icon { transform: none; }
}

@media print {
  .site-header, .mobile-bar, .map, .hero__visual { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
  .section--dark, .site-footer { background: #fff; color: #000; }
  a { color: #000; }
}
