/* ===== Design tokens ===== */
:root {
  --cream: #F5EDE6;
  --off-white: #FFFBF7;
  --peach: #F0D4C8;
  --terracotta: #B26B58;
  --terracotta-hover: #9C5A48;
  --rust: #7C2D1E;
  --text: #4A2E22;
  --text-soft: #5A3B2C;
  --text-muted: #9C6B54;
  --border-soft: #E4CDBE;

  --font-serif: 'EB Garamond', Georgia, serif;
  --container: 1200px;
  --container-narrow: 1000px;

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

/* ===== Reset ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-serif);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--rust); }
::selection { background: var(--peach); color: #5A2A1B; }
h1, h2, h3 { font-weight: 500; margin: 0; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--rust);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.section-inner-narrow { max-width: var(--container-narrow); }

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-heading p { font-size: 17px; line-height: 1.6; color: var(--text-soft); margin: 14px 0 0; }

.eyebrow {
  display: block;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.eyebrow-dark { color: var(--rust); }

.section-heading h2,
.about-copy h2,
.contact-info h2 {
  font-size: 42px;
  color: var(--rust);
  text-wrap: pretty;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 17px;
  border-radius: 30px;
  padding: 14px 32px;
  cursor: pointer;
  border: none;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-primary {
  background: var(--terracotta);
  color: var(--off-white);
  box-shadow: 0 4px 14px rgba(178,107,88,0.35);
}
.btn-primary:hover { background: var(--terracotta-hover); color: var(--off-white); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--terracotta);
  color: var(--terracotta);
  padding: 14px 32px;
}
.btn-outline:hover { background: var(--terracotta); color: var(--off-white); }
.btn-nav { padding: 11px 22px; font-size: 16px; }
.btn-hero { font-size: 19px; padding: 17px 40px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,237,230,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(124,45,30,0.1);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 56px; width: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav a:not(.btn) {
  font-size: 17px;
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin: 0 auto;
  background: var(--rust);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.2) 45%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 32px 100px;
  text-align: center;
}
.hero h1 {
  font-size: 58px;
  line-height: 1.15;
  color: #FFF8F3;
  margin: 0 0 22px;
  text-wrap: pretty;
}
.hero-subtitle {
  font-size: 22px;
  line-height: 1.5;
  color: #FFFFFF;
  margin: 0 0 40px;
  font-style: italic;
  text-wrap: pretty;
}

/* ===== About / generic split (image + copy) block ===== */
/* .split-block is the generic version of this pattern, reused by every
   subpage intro; .about-inner is the homepage's instance of the same rules. */
.about-inner,
.split-block {
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px 32px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.split-block--reverse { grid-template-columns: 1.15fr 0.85fr; }
.split-block--reverse .split-media { order: 2; }
.about-portrait,
.split-media { position: relative; }
.portrait-backdrop {
  position: absolute;
  top: 28px; left: -28px; right: 28px; bottom: -28px;
  background: var(--peach);
  border-radius: 50% 50% 16px 16px / 38% 38% 16px 16px;
  z-index: 0;
}
.portrait-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% 16px 16px / 38% 38% 16px 16px;
  overflow: hidden;
  background: #e8cabb;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-frame.is-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(160deg, var(--peach), var(--cream));
}
.portrait-frame.is-placeholder img {
  width: 32%;
  height: auto;
  opacity: .4;
  object-fit: contain;
}
.placeholder-label {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-copy p,
.split-copy p { font-size: 19px; line-height: 1.7; margin: 0 0 20px; color: var(--text-soft); text-wrap: pretty; }
.about-copy h2 { margin: 0 0 26px; }
.split-copy h1 {
  font-size: 42px;
  color: var(--rust);
  margin: 12px 0 22px;
  font-weight: 500;
  text-wrap: pretty;
}
.split-copy p:last-of-type { margin-bottom: 32px; }

/* ===== Services ===== */
.services { background: var(--off-white); padding: 110px 32px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Featured-testimonial cards embedded on a subpage/homepage — same .card-grid
   + .testimonial component as the Vélemények page, just count-adaptive so a
   single card doesn't get stranded in an otherwise-empty 3-column row. */
.featured-quotes { margin: 0 auto 48px; }
.featured-quotes--1 { grid-template-columns: minmax(0, 480px); justify-content: center; }
.featured-quotes--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--cream);
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow: 0 6px 20px rgba(124,45,30,0.06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(124,45,30,0.14);
}
.card-icon { font-size: 30px; color: var(--terracotta); margin-bottom: 16px; }
.card h3 { font-size: 23px; color: var(--rust); margin: 0 0 12px; font-weight: 600; }
.card p { font-size: 17px; line-height: 1.55; margin: 0 0 18px; color: var(--text-soft); }
.card a { font-size: 16px; font-weight: 600; }

/* ===== Process ===== */
.process { padding: 110px 32px; background: var(--cream); }
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: left;
}
.step-num {
  font-size: 56px;
  font-style: italic;
  color: var(--peach);
  line-height: 1;
  margin-bottom: 8px;
}
.step h3 { font-size: 22px; color: var(--rust); margin: 0 0 10px; font-weight: 600; }
.step p { font-size: 17px; line-height: 1.55; color: var(--text-soft); }

/* ===== Testimonials ===== */
.testimonials { background: var(--peach); padding: 110px 32px; }
.testimonial {
  background: var(--off-white);
  border-radius: 24px;
  padding: 38px 32px;
  box-shadow: 0 10px 28px rgba(124,45,30,0.1);
  margin: 0;
}
.quote-mark {
  font-size: 52px;
  line-height: 1;
  color: var(--terracotta);
  font-family: Georgia, serif;
  margin-bottom: 6px;
}
.testimonial p { font-size: 18px; line-height: 1.6; margin: 0 0 22px; font-style: italic; color: var(--text-soft); }
.testimonial footer { display: flex; flex-direction: column; }
.testimonial cite { font-size: 17px; font-weight: 600; color: var(--rust); font-style: normal; }
.testimonial footer span { font-size: 15px; color: var(--text-muted); }

/* Horizontally scrollable/pageable testimonial row — used instead of the
   card-grid once more than 3 quotes are featured on the same page. */
.quote-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto 48px;
}
.quote-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  flex: 1;
  scrollbar-width: thin;
}
.quote-carousel .testimonial { flex: 0 0 340px; scroll-snap-align: start; }
.quote-carousel-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--terracotta);
  background: transparent;
  color: var(--terracotta);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.quote-carousel-nav:hover { background: var(--terracotta); color: var(--off-white); }
.quote-carousel-nav:disabled { opacity: .35; cursor: default; }
.quote-carousel-nav:disabled:hover { background: transparent; color: var(--terracotta); }

@media (max-width: 640px) {
  .quote-carousel-nav { display: none; }
  .quote-carousel .testimonial { flex-basis: 82%; }
}

/* ===== Contact ===== */
.contact { padding: 110px 32px; background: var(--cream); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 0;
}
.contact-info p { font-size: 19px; line-height: 1.7; margin: 0 0 36px; color: var(--text-soft); }
.contact-list { display: flex; flex-direction: column; gap: 20px; font-size: 18px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list svg { flex-shrink: 0; }

.contact-form {
  background: var(--off-white);
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 10px 30px rgba(124,45,30,0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
  color: var(--rust);
}
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 17px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-soft);
  background: var(--off-white);
  color: var(--text);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.contact-form button { margin-top: 8px; }
.form-success { color: var(--rust); font-size: 16px; text-align: center; margin: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--peach); color: var(--rust); padding: 64px 32px 28px; }
.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(124,45,30,0.15);
}
.footer-logo { height: 150px; width: auto; }
.footer-nav { display: flex; gap: 30px; flex-wrap: wrap; font-size: 17px; justify-content: center; }
.footer-nav a { color: var(--rust); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 22px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Reveal animations ===== */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal { transform: translateY(16px); }
.reveal-up { transform: translateY(28px); }
.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }

.reveal.is-visible,
.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* stagger service/testimonial/step cards within a grid */
.card-grid .is-visible:nth-child(1),
.step-grid .is-visible:nth-child(1) { transition-delay: 0s; }
.card-grid .is-visible:nth-child(2),
.step-grid .is-visible:nth-child(2) { transition-delay: .1s; }
.card-grid .is-visible:nth-child(3),
.step-grid .is-visible:nth-child(3) { transition-delay: .2s; }
.card-grid .is-visible:nth-child(4) { transition-delay: .3s; }
.card-grid .is-visible:nth-child(5) { transition-delay: .4s; }
.card-grid .is-visible:nth-child(6) { transition-delay: .5s; }

.hero [data-reveal="1"] { transition-delay: .1s; }
.hero [data-reveal="2"] { transition-delay: .3s; }
.hero [data-reveal="3"] { transition-delay: .5s; }

.split-block--intro .split-copy { transition-delay: .15s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card:hover { transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 46px; }
  .about-inner, .split-block { gap: 48px; padding: 90px 32px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .primary-nav {
    position: fixed;
    top: 77px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    border-bottom: 1px solid rgba(124,45,30,0.1);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .primary-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .primary-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(124,45,30,0.08); }
  .primary-nav .btn-nav { margin-top: 16px; text-align: center; }
  .nav-toggle { display: flex; }

  .about-inner, .split-block, .split-block--reverse { grid-template-columns: 1fr; }
  .split-block--reverse .split-media { order: 0; }
  .about-portrait, .split-media { max-width: 380px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-inner { padding: 10px 20px; }
  .brand-logo { height: 44px; }

  .hero { min-height: 560px; }
  .hero-content { padding: 90px 20px 70px; }
  .hero h1 { font-size: 34px; }
  .hero-subtitle { font-size: 18px; }

  .section-heading h2,
  .about-copy h2,
  .split-copy h1,
  .contact-info h2 { font-size: 32px; }

  .about-inner, .split-block, .services, .process, .contact { padding: 70px 20px; }
  .section-inner { padding: 0 20px; }
  .page-intro { padding: 80px 20px 24px; }
  .cta-banner { padding: 64px 20px; }

  .card-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; gap: 32px; }

  .contact-form { padding: 28px; }
  .testimonials { padding: 70px 20px; }

  .footer-logo { height: 110px; }
  .footer-nav { gap: 18px 24px; }
}

/* ===== Subpage components ===== */

/* Active nav state */
.primary-nav a.is-active:not(.btn) { color: var(--rust); font-weight: 600; }
.footer-nav a.is-active { font-weight: 600; text-decoration: underline; }

/* Simple centered intro for collection-style pages (no split image) */
.page-intro {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 100px 32px 24px;
  text-align: center;
}
.page-intro h1 { font-size: 44px; color: var(--rust); margin: 12px 0 20px; text-wrap: pretty; }
.page-intro p { font-size: 19px; line-height: 1.7; color: var(--text-soft); max-width: 680px; margin: 0 auto; text-wrap: pretty; }

/* Back link */
.back-nav { max-width: var(--container); margin: 0 auto; padding: 28px 32px 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--text-muted); }
.back-link:hover { color: var(--rust); }

/* Section link ("Összes szolgáltatás →", "Több vélemény →") */
.section-link-more { display: block; text-align: center; margin-top: 48px; font-size: 17px; font-weight: 600; }
.section-heading .section-heading-link { display: block; margin-top: 14px; font-size: 16px; font-weight: 600; }

/* Price box */
.price-box {
  background: var(--off-white);
  border: 1.5px solid var(--border-soft);
  border-radius: 20px;
  padding: 4px 28px;
  margin: 0 0 32px;
}
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 20px 0; }
.price-row + .price-row { border-top: 1px solid rgba(124,45,30,0.1); }
.price-row-label { font-size: 18px; color: var(--text); }
.price-row-label small { display: block; font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.price-row-value { font-size: 22px; font-weight: 600; color: var(--terracotta); white-space: nowrap; }
.price-row-value .price-was { font-size: 15px; font-weight: 400; color: var(--text-muted); text-decoration: line-through; margin-right: 10px; }
.price-row-value--stacked { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.price-was-label { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.price-now { font-size: 22px; font-weight: 600; color: var(--terracotta); }
.price-note { font-size: 15px; color: var(--text-muted); margin: 0 0 32px; }

/* Numbered topic list (e.g. Női kör havi témák) */
.topic-list { display: grid; gap: 14px; margin: 0 0 40px; }
.topic-list li { display: flex; align-items: flex-start; gap: 18px; font-size: 18px; line-height: 1.5; color: var(--text-soft); }
.topic-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--peach);
  color: var(--rust);
  font-weight: 600;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}

/* Bulleted feature list (diamond marker, matches the ✦ used elsewhere) */
.feature-list { display: grid; gap: 12px; margin: 0 0 32px; }
.feature-list li { position: relative; padding-left: 28px; font-size: 18px; line-height: 1.6; color: var(--text-soft); }
.feature-list li::before { content: '\2726'; position: absolute; left: 0; top: 1px; color: var(--terracotta); font-size: 14px; }

/* Two-column grouped lists (e.g. anyai oldal / baba oldala) */
.two-col { display: grid; grid-template-columns: 1fr; gap: 40px; margin: 0 0 40px; }
.two-col h3 { font-size: 21px; color: var(--rust); margin: 0 0 16px; font-weight: 600; }
@media (min-width: 861px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}

/* ===== Blog ===== */
.blog-list-section { background: var(--off-white); padding: 40px 32px 110px; }
.blog-list { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.blog-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 44px;
  align-items: center;
  background: var(--cream);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 6px 20px rgba(124,45,30,0.06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(124,45,30,0.12); }
.blog-card-media { position: relative; }
.blog-card-media .portrait-backdrop { top: 14px; left: -14px; right: 14px; bottom: -14px; }
.blog-card-copy h2 { font-size: 27px; color: var(--rust); margin: 0 0 14px; font-weight: 500; text-wrap: pretty; }
.blog-card-copy p { font-size: 17px; line-height: 1.65; color: var(--text-soft); margin: 0 0 24px; }

.back-nav--blog { padding-bottom: 56px; }
.blog-post { background: var(--off-white); padding: 100px 32px 110px; }
.blog-post-inner { max-width: var(--container-narrow); }
.blog-post h1 { font-size: 40px; color: var(--rust); margin: 0 0 40px; font-weight: 500; text-wrap: pretty; }
.blog-post-body p { font-size: 18px; line-height: 1.8; color: var(--text-soft); margin: 0 0 22px; }
.blog-post-body h3 { font-size: 27px; color: var(--rust); margin: 44px 0 18px; font-weight: 500; }
.blog-post-body h4 { font-size: 20px; color: var(--text); margin: 30px 0 10px; font-weight: 600; }
.blog-post-body .feature-list { margin: 0 0 22px; }
.blog-post-nav { margin-top: 48px; }

@media (max-width: 860px) {
  .blog-card { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .blog-post h1 { font-size: 30px; }
  .blog-post-body h3 { font-size: 23px; }
}

/* Detail cards (training / sub-service blocks with a quote) */
.detail-grid { display: grid; gap: 28px; margin: 0 0 40px; }
@media (min-width: 861px) {
  .detail-grid--2 { grid-template-columns: 1fr 1fr; }
}
.detail-card {
  background: var(--off-white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 6px 20px rgba(124,45,30,0.06);
}
.detail-card .tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--terracotta);
  background: var(--peach);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 18px;
}
.detail-card h3 { font-size: 24px; color: var(--rust); margin: 0 0 14px; font-weight: 600; }
.detail-card p { font-size: 17px; line-height: 1.65; color: var(--text-soft); margin: 0 0 14px; }
.mini-quote {
  border-left: 3px solid var(--terracotta);
  padding-left: 18px;
  margin: 20px 0 0;
  font-style: italic;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
}
.mini-quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; color: var(--rust); font-size: 15px; }

/* Closing CTA banner, reused at the bottom of every subpage */
.cta-banner { background: var(--cream); padding: 96px 32px; text-align: center; }
.cta-banner-inner { max-width: 640px; margin: 0 auto; }
.cta-banner h2 { font-size: 34px; color: var(--rust); margin: 0 0 16px; text-wrap: pretty; }
.cta-banner p { font-size: 18px; color: var(--text-soft); margin: 0 0 32px; }

/* Testimonial filter tabs (Rólam írták) */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 0 48px; }
.filter-tab {
  font-family: inherit;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: 30px;
  border: 1.5px solid var(--border-soft);
  background: var(--off-white);
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.filter-tab:hover { border-color: var(--terracotta); color: var(--terracotta); }
.filter-tab.is-active { background: var(--terracotta); border-color: var(--terracotta); color: var(--off-white); }
.filter-tab--muted { color: var(--text-muted); }
.filter-tab--muted:hover { color: var(--terracotta); }
.testimonial[hidden] { display: none; }

/* Expandable "Tovább olvasom" content — shared by testimonial cards and
   any other card that needs one (e.g. a training block).
   grid-template-rows 0fr -> 1fr animates height without measuring
   scrollHeight in JS, and never stretches sibling cards in the grid. */
.testimonials .card-grid,
.detail-grid { align-items: start; }
.expand-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.expand-body-inner { overflow: hidden; }
.expand-body-inner > *:first-child { margin-top: 6px; }
.is-expandable.is-expanded .expand-body { grid-template-rows: 1fr; }
.expand-toggle {
  display: inline-block;
  margin: 6px 0 0;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--terracotta);
  cursor: pointer;
}
.expand-toggle:hover { color: var(--terracotta-hover); }

/* Subheadings + closing CTA inside an expanded detail-card (e.g. Tréningek) */
.detail-card h4 { font-size: 17px; color: var(--rust); margin: 20px 0 8px; font-weight: 600; }
.detail-card h4:first-child { margin-top: 0; }
.expand-cta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(124,45,30,0.12);
}
.expand-cta p { font-style: italic; color: var(--text-soft); margin: 0 0 14px; }

/* Small italic lead-in above a quote inside an expanded card, e.g. "Visszajelzés:" */
.quote-label { font-style: italic; color: var(--text-muted); font-size: 15px; margin: 20px 0 2px; }

/* Simple location card for the Kapcsolat page (no external map embed) */
.location-card {
  background: var(--off-white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 10px 28px rgba(124,45,30,0.08);
  display: flex;
  align-items: center;
  gap: 20px;
}
.location-card svg { flex-shrink: 0; }
.location-card h3 { font-size: 19px; color: var(--rust); margin: 0 0 6px; font-weight: 600; }
.location-card p { font-size: 16px; color: var(--text-soft); margin: 0; }

@media (max-width: 640px) {
  .page-intro h1 { font-size: 32px; }
  .detail-card { padding: 28px; }
  .cta-banner h2 { font-size: 28px; }
  .price-box { padding: 4px 20px; }
}

/* Scroll-to-top button — hidden until the page is scrolled, fixed bottom-right */
.scroll-top-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--terracotta);
  color: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(124,45,30,0.3);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s var(--ease);
  z-index: 40;
}
.scroll-top-btn.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top-btn:hover { background: var(--terracotta-hover); }
.scroll-top-btn:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

@media (max-width: 640px) {
  .scroll-top-btn { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .scroll-top-btn svg { width: 19px; height: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top-btn { transition: opacity .01s linear; }
}

/* ===== Galéria ===== */
.gallery-section { padding: 8px 32px 90px; }
.gallery-grid { column-count: 3; column-gap: 18px; max-width: var(--container); margin: 0 auto; }
.gallery-item {
  display: block; width: 100%; margin: 0 0 18px; padding: 0;
  border: none; background: none; cursor: pointer;
  border-radius: 16px; overflow: hidden; break-inside: avoid;
  box-shadow: 0 8px 24px rgba(124,45,30,0.10);
  line-height: 0;
}
.gallery-item img { display: block; width: 100%; height: auto; border-radius: 16px; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.045); }
@media (max-width: 860px) { .gallery-grid { column-count: 2; } }
@media (max-width: 520px) { .gallery-grid { column-count: 1; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center;
  background: rgba(40,20,14,0.92); padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55); }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,0.14); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; border-radius: 999px; transition: background .2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.28); }
.lightbox-close { top: 20px; right: 24px; width: 46px; height: 46px; font-size: 30px; line-height: 1; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 34px; line-height: 1; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@media (max-width: 560px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 28px; }
  .lightbox-prev { left: 10px; } .lightbox-next { right: 10px; }
  .lightbox-close { top: 12px; right: 14px; }
}
