/* ── Open Sans – self-hosted (latin + latin-ext for Hungarian) ────────────── */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/open-sans-latinext.woff2?v=7f28d9acd0a8') 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/open-sans-latin.woff2?v=23145c714161') 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;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/open-sans-latinext-italic.woff2?v=b4742d44b1ab') 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/open-sans-latin-italic.woff2?v=25deb805dcae') 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;
}

/* ── Design tokens ───────────────────────────────────────────────────────────  */
:root {
  --pine:        #1B4332;   /* deep forest green – primary, nav, strong headings */
  --sage:        #52946B;   /* restrained sage – UI accent, borders, icon tones */
  --sage-dark:   #2D6A4F;   /* deeper sage – text-safe on white (≥5.5:1) */
  --mist:        #F5F8F5;   /* page background – barely green-tinted warm white */
  --cream:       #E9F2EC;   /* card / section alternate background */
  --white:       #FFFFFF;
  --ink:         #0D1A12;   /* headings – very dark green */
  --slate:       #2C3F35;   /* body text – dark green-grey */
  --stone:       #4A6657;   /* secondary / muted – ≥6:1 on white */
  --border:      #BDD4C6;   /* dividers – green-tint */
  --font:        'Open Sans', Arial, sans-serif;
  --radius:      4px;
  --max-w:       1140px;
  --section-v:   72px;
}

/* ── Reset ───────────────────────────────────────────────────────────────────  */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); text-decoration: underline; }
a:hover { color: var(--pine); }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 0.25em; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ── Typography ──────────────────────────────────────────────────────────────  */
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.3;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 300; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);   font-weight: 300; letter-spacing: -0.005em; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem;    font-weight: 600; }

/* Eyebrow label above headings */
.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.6rem;
}

/* Section heading with vertical accent rule */
.section-heading {
  padding-left: 1rem;
  border-left: 3px solid var(--sage);
  margin-bottom: 1.5rem;
}
.section-heading h2, .section-heading h3 { margin: 0; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }

/* ── Layout helpers ──────────────────────────────────────────────────────────  */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-v) 0;
}
.section--alt {
  background: var(--cream);
}
.section--dark {
  background: var(--pine);
  color: #D4EAD9;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--sage); }
.section--dark .section-heading { border-left-color: var(--sage); }

/* ── Site header ─────────────────────────────────────────────────────────────  */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}

/* Top contact bar */
.site-topbar {
  background: var(--pine);
  padding: 6px 0;
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #B8D9C6;
  text-decoration: none;
  transition: color 0.2s;
}
.topbar-link:hover { color: #fff; }
.topbar-social {
  margin-left: auto;
  display: flex;
  gap: 12px;
}
.topbar-social a {
  color: #B8D9C6;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color 0.2s;
}
.topbar-social a:hover { color: #fff; }

/* Brand / logo */
.site-brand {
  border-bottom: 1px solid var(--border);
}
.brand-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
}
.brand-logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}
.brand-name {
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--pine);
  line-height: 1.2;
}
.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Navigation */
.site-nav {
  background: var(--white);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
}
.nav-links {
  display: flex;
  gap: 0;
  flex: 1;
}
.nav-links ul {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  gap: 0;
  flex-wrap: wrap;
}
.nav-links ul li a {
  display: block;
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links ul li a:hover,
.nav-links ul li a.active {
  color: var(--pine);
  border-bottom-color: var(--sage);
}

/* Compact phone link (shown in nav bar only on mobile when scrolled) */
.nav-phone-compact {
  display: none;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 0;
  margin-left: auto;
}
.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle-icon span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pine);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* ── Hero (home page) ────────────────────────────────────────────────────────  */
.hero {
  background: var(--pine);
  color: #D4EAD9;
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(82, 148, 107, 0.12);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}
.hero-text .eyebrow { color: var(--sage); }
.hero-text h1 {
  color: #fff;
  margin: 0 0 1.2rem;
  font-weight: 300;
}
.hero-text h1 strong {
  color: #fff;
  font-weight: 700;
  display: block;
}
.hero-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #B2D4BE;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}
.btn--primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}
.btn--green {
  background: var(--pine);
  color: #fff;
  border-color: var(--pine);
}
.btn--green:hover {
  background: #102819;
  border-color: #102819;
  color: #fff;
}

.hero-photo {
  position: relative;
}
.hero-photo-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid rgba(82,148,107,0.3);
  background: rgba(0,0,0,0.2);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Intro / about section ───────────────────────────────────────────────────  */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.intro-portrait {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(27,67,50,0.12);
}

/* ── Qualifications list ─────────────────────────────────────────────────────  */
.qual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 2rem;
}
.qual-block h3 {
  margin-bottom: 0.8rem;
  color: var(--pine);
}
.qual-block ul {
  list-style: none;
  padding: 0;
}
.qual-block ul li {
  padding: 6px 0 6px 1.4rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--slate);
}
.qual-block ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 2px;
  background: var(--sage);
  border-radius: 2px;
}

/* ── Condition chips ─────────────────────────────────────────────────────────  */
.cond-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}
.cond-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.85rem;
  color: var(--slate);
  margin: 0;
}

/* ── CTA strip ───────────────────────────────────────────────────────────────  */
.cta-strip {
  text-align: center;
  padding: var(--section-v) 0;
  background: var(--cream);
}
.cta-strip h2 { margin-bottom: 0.5rem; }
.cta-strip p { color: var(--stone); margin-bottom: 1.5rem; }

/* ── Treatment cards (kezelesek) ─────────────────────────────────────────────  */
.treatment-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.treatment-item {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: start;
}
.treatment-item:nth-child(even) {
  grid-template-columns: 1fr 360px;
}
.treatment-item:nth-child(even) .treatment-img {
  order: 2;
}
.treatment-item:nth-child(even) .treatment-body {
  order: 1;
}
.treatment-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(27,67,50,0.10);
  background: var(--cream);
}
.treatment-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
}
.treatment-body .eyebrow {
  font-size: 0.7rem;
  margin-bottom: 0.4rem;
}
.treatment-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.treatment-body p {
  font-size: 0.95rem;
}
.treatment-detail {
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.treatment-detail ul {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* ── Price section (arak) ────────────────────────────────────────────────────  */
.price-intro {
  max-width: 680px;
  margin-bottom: 2.5rem;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.price-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--pine);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.price-table th:last-child { text-align: right; }
.price-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--slate);
  vertical-align: middle;
}
.price-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--pine);
  white-space: nowrap;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--cream); }
.price-note {
  font-size: 0.85rem;
  color: var(--stone);
}
.price-note strong { color: var(--slate); }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 2.5rem;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
}
.info-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--sage);
  line-height: 1.4;
}
.info-card ul {
  font-size: 0.9rem;
  list-style: disc;
  padding-left: 1.2em;
}
.info-card p { font-size: 0.9rem; }

/* ── Testimonials (velemenyek) ───────────────────────────────────────────────  */
.testimonials-intro {
  max-width: 600px;
  margin-bottom: 3rem;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  position: relative;
}
.testimonial-card::before {
  content: '\201E';
  position: absolute;
  top: 12px; left: 20px;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--sage);
  opacity: 0.35;
  font-family: Georgia, serif;
}
.testimonial-text {
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--slate);
  padding-top: 1.2rem;
  margin-bottom: 1.2rem;
}
.testimonial-author {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--pine);
}

/* ── Contact (kapcsolat) ─────────────────────────────────────────────────────  */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-detail-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
}
.contact-detail-text {
  display: flex;
  flex-direction: column;
}
.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 2px;
}
.contact-detail-value {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
}
.contact-detail-value a {
  color: var(--ink);
  text-decoration: none;
}
.contact-detail-value a:hover {
  color: var(--sage-dark);
  text-decoration: underline;
}

.map-wrap {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-wrap iframe {
  width: 100%;
  height: 300px;
  display: block;
  border: 0;
}

/* ── Contact form ────────────────────────────────────────────────────────────  */
.contact-form-wrap h2 { margin-bottom: 0.5rem; }
.contact-form-lead { color: var(--stone); margin-bottom: 1.5rem; font-size: 0.9rem; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form label span.note {
  font-weight: 400;
  color: var(--stone);
  font-size: 0.8rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--slate);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sage);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button[type=submit] {
  align-self: flex-start;
  background: var(--pine);
  color: #fff;
  border: 2px solid var(--pine);
  padding: 12px 32px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.contact-form button[type=submit]:hover { background: #102819; border-color: #102819; }
.contact-form .hp { display: none; }

/* ── FAQ accordion ───────────────────────────────────────────────────────────  */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: var(--sage-dark);
  border-radius: 50%;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  mask-size: contain;
  -webkit-mask-size: contain;
  transition: transform 0.2s ease;
}
.faq-item[open] > .faq-question::after {
  transform: rotate(180deg);
}
.faq-item[open] > .faq-question {
  color: var(--pine);
}
.faq-answer {
  padding: 0 0 20px;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.8;
}
.faq-answer p:last-child { margin-bottom: 0; }

/* ── Legal pages ─────────────────────────────────────────────────────────────  */
.legal-wrap {
  max-width: 780px;
}
.legal-wrap h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2rem 0 0.6rem;
  color: var(--pine);
}
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap p { font-size: 0.95rem; color: var(--slate); }
.legal-wrap strong { color: var(--ink); }
.legal-wrap ul { font-size: 0.95rem; margin-bottom: 1em; }
.legal-wrap a { color: var(--sage-dark); }

/* ── Footer ──────────────────────────────────────────────────────────────────  */
.site-footer {
  background: var(--ink);
  color: #9DBDAA;
  padding: 56px 0 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.4rem;
}
.footer-subtitle {
  font-size: 0.82rem;
  color: #8BAFA0;
  line-height: 1.6;
}
.footer-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.8rem;
}
.footer-link {
  display: block;
  font-size: 0.88rem;
  color: #9DBDAA;
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}
.footer-link:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: 0.78rem;
  color: #5C7E6B;
}

/* ── Responsive ──────────────────────────────────────────────────────────────  */
@media (max-width: 900px) {
  :root { --section-v: 52px; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    z-index: 200;
  }
  .nav-links.open { display: block; }
  .nav-links ul {
    flex-direction: column;
    padding: 8px 0;
  }
  .nav-links ul li a {
    border-bottom: none;
    border-left: 3px solid transparent;
    padding: 12px 24px;
  }
  .nav-links ul li a:hover,
  .nav-links ul li a.active {
    border-left-color: var(--sage);
    border-bottom-color: transparent;
  }
  .site-nav { position: relative; }

  /* ── Compact header on scroll (mobile only) ── */
  .site-topbar {
    transition: max-height 0.22s ease, padding 0.22s ease, opacity 0.18s ease;
    max-height: 100px;
    overflow: hidden;
    opacity: 1;
  }
  .site-header.is-scrolled .site-topbar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
  }
  .brand-inner {
    transition: padding 0.22s ease;
  }
  .site-brand {
    transition: max-height 0.22s ease, opacity 0.18s ease;
    max-height: 120px;
    overflow: hidden;
    opacity: 1;
  }
  .site-header.is-scrolled .site-brand {
    max-height: 0;
    opacity: 0;
  }
  .site-header.is-scrolled .brand-inner {
    padding-top: 0;
    padding-bottom: 0;
  }
  /* Show compact phone icon when topbar is hidden */
  .site-header.is-scrolled .nav-phone-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pine);
    text-decoration: none;
    padding: 10px 10px;
    min-width: 44px;
    min-height: 44px;
  }
  .site-header.is-scrolled .nav-phone-compact:hover {
    color: var(--sage);
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-photo { max-width: 280px; }
  .hero-photo-frame { aspect-ratio: 3/4; }

  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-portrait { max-width: 240px; }

  .qual-grid { grid-template-columns: 1fr; gap: 24px; }

  .treatment-item,
  .treatment-item:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .treatment-item:nth-child(even) .treatment-img,
  .treatment-item:nth-child(even) .treatment-body {
    order: unset;
  }
  .treatment-img img { height: 220px; }

  .info-grid { grid-template-columns: 1fr; gap: 16px; }

  .testimonial-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  :root { --section-v: 40px; }

  body { font-size: 15px; }

  .topbar-inner { gap: 12px; }
  .topbar-link:last-of-type { display: none; } /* hide email on small screens */
  .topbar-social { margin-left: auto; }

  .brand-name { font-size: 1.15rem; }

  .hero { padding: 44px 0 56px; }
  .hero::before { display: none; }

  .hero-text h1 { font-size: 1.7rem; }
  .hero-ctas { flex-direction: column; }
  .btn { text-align: center; }

  .hero-photo { display: none; } /* portrait shows in about section instead */

  .price-table { font-size: 0.85rem; }
  .price-table th, .price-table td { padding: 10px 10px; }

  .contact-form button[type=submit] { align-self: stretch; text-align: center; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Stack price table on very small screens */
  .price-table thead { display: none; }
  .price-table tr { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .price-table td { padding: 2px 10px; border-bottom: none; text-align: left !important; white-space: normal; }
  .price-table td:last-child::before { content: 'Díj: '; font-weight: 400; color: var(--stone); }
  .price-table tr:nth-child(even) td { background: transparent; }
  .price-table tr:nth-child(even) { background: var(--cream); border-radius: var(--radius); }
}

@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .topbar-inner { padding: 0 14px; }
  .nav-inner { padding: 0 14px; }
  .brand-inner { padding: 12px 14px; }
}
