/*
Theme Name: MindClub
Theme URI: https://mindclub.hu
Description: MindClub — Reset & Recovery. Custom theme generated from the MindClub Claude Design System (design-system project "MindClub Design System"). Deep warm-dark palette, Oxanium + Exo type, three-page site: Homepage, Az élményről, Időpontfoglalás.
Author: Balázs Pászli
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: mindclub
*/

/* ── Design tokens ─────────────────────────────────── */
:root {
  --mc-bg:            rgb(11,12,13);
  --mc-warm:          rgb(36,31,31);
  --mc-card:          rgb(20,19,18);
  --mc-elevated:      rgb(38,36,31);
  --mc-accent:        rgb(169,125,75);
  --mc-accent-warm:   rgb(178,123,66);
  --mc-text:          rgb(218,203,189);
  --mc-text-body:     rgb(134,122,111);
  --mc-text-bright:   rgb(245,242,239);
  --mc-on-button:     rgb(22,16,10);
  --mc-olive:         rgb(75,71,55);
  --mc-hairline:      rgb(77,57,37);
  --mc-pad-x:         142px;
}

/* ── Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.mindclub {
  background: var(--mc-bg);
  color: var(--mc-text);
  font-family: 'Exo', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }

/* WP admin bar offset for the fixed nav */
body.admin-bar .mc-nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .mc-nav { top: 46px; }
}

/* ── Nav ──────────────────────────────────────────── */
.mc-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 100px;
  background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.04) 100%);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mc-nav__links { display: flex; gap: 32px; justify-self: start; }
.mc-nav__link {
  font-family: 'Oxanium', sans-serif; font-weight: 400; font-size: 17px;
  color: var(--mc-text); cursor: pointer; text-decoration: none;
  transition: color 0.25s;
}
.mc-nav__link:hover, .mc-nav__link.active { color: var(--mc-accent); }
.mc-nav__logo {
  grid-column: 2; justify-self: center;
  display: flex; flex-direction: column; align-items: center; cursor: pointer;
  text-decoration: none;
}
.mc-nav__right { justify-self: end; display: flex; align-items: center; gap: 20px; }
.mc-nav__wordmark { height: 48px; width: auto; display: block; }
.mc-nav__cta {
  background: rgba(218,203,189,0.92); padding: 14px 28px; cursor: pointer;
  font-family: 'Oxanium', sans-serif; font-weight: 700; font-size: 14px;
  color: var(--mc-on-button); letter-spacing: 0.4px; transition: opacity 0.2s;
  border: none; white-space: nowrap; text-decoration: none; display: inline-block;
}
.mc-nav__cta:hover { opacity: 0.85; }
.mc-nav__cta-short { display: none; }
.mc-nav__toggle { display: none; }

/* ── Language switcher ────────────────────────────── */
.mc-lang { display: flex; align-items: center; gap: 8px; }
.mc-lang__link {
  font-family: 'Oxanium', sans-serif; font-weight: 500; font-size: 14px;
  letter-spacing: 0.06em; color: var(--mc-text); text-decoration: none;
  opacity: 0.6; transition: opacity 0.2s, color 0.2s;
}
.mc-lang__link:hover { opacity: 1; }
.mc-lang__link.active { opacity: 1; color: var(--mc-accent); }
.mc-lang__sep { color: rgba(255,255,255,0.25); font-size: 12px; }

/* ── Section helpers ──────────────────────────────── */
.section-label {
  font-family: 'Oxanium', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: 1.8px; color: var(--mc-accent); text-transform: uppercase;
}
.page-label {
  font-family: 'Oxanium', sans-serif; font-weight: 500; font-size: 20px;
  letter-spacing: 0.3em; color: var(--mc-accent);
}
.display-xl {
  font-family: 'Oxanium', sans-serif; font-weight: 200; font-size: clamp(42px, 4.8vw, 74px);
  color: var(--mc-text); line-height: 1;
}
.display-lg {
  font-family: 'Oxanium', sans-serif; font-weight: 200; font-size: clamp(36px, 4vw, 62px);
  color: var(--mc-text); line-height: 1;
}
.heading-lg {
  font-family: 'Oxanium', sans-serif; font-weight: 300; font-size: clamp(28px, 3vw, 48px);
  color: var(--mc-text); line-height: 1;
}
.heading-md {
  font-family: 'Oxanium', sans-serif; font-weight: 300; font-size: clamp(22px, 2.2vw, 36px);
  color: var(--mc-text); line-height: 1.1;
}
.body-text {
  font-family: 'Exo', sans-serif; font-weight: 400; font-size: 18px;
  color: var(--mc-text-body); line-height: 34px;
}
.body-sm {
  font-family: 'Exo', sans-serif; font-weight: 400; font-size: 15px;
  color: rgb(141,132,121); line-height: 1.5;
}
.btn-primary {
  display: inline-block; background: rgba(218,203,189,0.92); padding: 18px 32px;
  font-family: 'Oxanium', sans-serif; font-weight: 700; font-size: 15px;
  color: var(--mc-on-button); cursor: pointer; border: none;
  letter-spacing: 0.4px; transition: opacity 0.2s; white-space: nowrap; text-decoration: none;
}
.btn-primary:hover { opacity: 0.85; }
.btn-secondary {
  display: inline-block; padding: 17px 32px;
  box-shadow: inset 0 0 0 1px var(--mc-accent-warm);
  font-family: 'Oxanium', sans-serif; font-weight: 500; font-size: 15px;
  color: var(--mc-accent-warm); cursor: pointer; border: none; background: transparent;
  transition: opacity 0.2s; white-space: nowrap; text-decoration: none;
}
.btn-secondary:hover { opacity: 0.8; }

/* ── Hero (homepage) ──────────────────────────────── */
.mc-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-kicker {
  font-family: 'Oxanium', sans-serif; font-weight: 400;
  font-size: clamp(17px, 2vw, 28px); color: rgb(165,151,133); line-height: 1.2;
}
.hero-title {
  font-family: 'Oxanium', sans-serif; font-weight: 300;
  font-size: clamp(44px, 6.2vw, 94px); color: var(--mc-text-bright);
  line-height: 1; text-transform: uppercase; letter-spacing: 0.01em;
}

/* ── Deco circles ─────────────────────────────────── */
.deco-circle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at center, var(--mc-olive) 0%, rgba(75,71,55,0) 70%);
  opacity: 0.6; filter: blur(80px); pointer-events: none;
}

/* ── Device-specific visibility (desktop vs mobile imagery) ── */
.mc-only-mobile { display: none; }
.mc-detox-orb { display: none; }

/* ── Hairline ─────────────────────────────────────── */
.hairline { height: 1px; background: var(--mc-hairline); }

/* ── Hero background video ────────────────────────────────── */
.mc-hero-video { position: absolute; inset: 0; overflow: hidden; }
.mc-hero-video video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.mc-hero-video__poster {
  display: none; position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
@media (prefers-reduced-motion: reduce) {
  .mc-hero-video video { display: none; }
  .mc-hero-video__poster { display: block; }
}

/* ── Photo (picture/img) ──────────────────────────────────── */
picture { display: block; }

/* ── Photo placeholder (used when a real photo is not present) ── */
.mc-photo-ph {
  position: relative; display: block; overflow: hidden;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(169,125,75,0.14) 0%, rgba(169,125,75,0) 55%),
    linear-gradient(135deg, rgb(40,34,31) 0%, rgb(24,22,20) 55%, rgb(11,12,13) 100%);
}
.mc-photo-ph::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 84px; height: 52px;
  background: var(--mc-accent);
  opacity: 0.10;
  -webkit-mask: url('assets/logo-mark.svg') center/contain no-repeat;
  mask: url('assets/logo-mark.svg') center/contain no-repeat;
}

/* ── Footer ───────────────────────────────────────── */
.mc-footer {
  background: rgb(8,9,10); padding: 48px 142px 40px;
}
.mc-footer__grid {
  display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 64px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}
.footer-col-title {
  font-family: 'Oxanium', sans-serif; font-weight: 600; font-size: 11px;
  letter-spacing: 1.6px; color: var(--mc-accent); margin-bottom: 14px;
  text-transform: uppercase;
}
.footer-link {
  font-family: 'Exo', sans-serif; font-size: 15px;
  color: var(--mc-text-body); cursor: pointer; text-decoration: none;
  display: block; margin-bottom: 8px; transition: color 0.2s;
}
.footer-link:hover { color: var(--mc-text); }
.footer-copy {
  font-family: 'Exo', sans-serif; font-size: 13px; color: rgb(86,82,76);
}

/* ── Gallery strip ────────────────────────────────── */
.gallery-strip { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 0; }
.gallery-strip img, .gallery-strip .mc-photo-ph { width: 100%; height: 360px; object-fit: cover; display: block; }
.gallery-strip picture, .gallery-strip .mc-photo-ph {
  cursor: zoom-in; transition: opacity 0.2s;
}
.gallery-strip picture:hover img { opacity: 0.88; }

/* ── Gallery lightbox ─────────────────────────────── */
.mc-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 40px; background: rgba(8,9,10,0.92);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.mc-lightbox.is-open { display: flex; }
.mc-lightbox img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  display: block; box-shadow: 0 20px 60px rgba(0,0,0,0.5); border-radius: 4px;
}
.mc-lightbox__close {
  position: absolute; top: 24px; right: 24px; width: 44px; height: 44px;
  border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.08); color: var(--mc-text);
  font-family: 'Oxanium', sans-serif; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.mc-lightbox__close:hover { background: rgba(255,255,255,0.16); }
@media (max-width: 600px) {
  .mc-lightbox { padding: 20px; }
  .mc-lightbox__close { top: 16px; right: 16px; width: 38px; height: 38px; }
}

/* ── Booking widget ───────────────────────────────── */
.booker {
  background: var(--mc-card); border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  display: flex; max-width: 1200px; margin: 0 auto;
}
.booker__info {
  width: 360px; flex-shrink: 0; padding: 28px;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex; flex-direction: column; gap: 14px;
}
.booker__calendar {
  flex: 1; padding: 28px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.booker__slots {
  width: 280px; flex-shrink: 0; padding: 24px;
  display: flex; flex-direction: column; gap: 10px; justify-content: space-between;
}
.cal-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;
}
.cal-month {
  font-family: 'Oxanium', sans-serif; font-weight: 500; font-size: 18px;
  color: var(--mc-text);
}
.cal-nav { display: flex; gap: 6px; }
.cal-navbtn {
  width: 34px; height: 34px; border-radius: 8px; border: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  background: transparent; cursor: pointer;
  font-family: 'Exo', sans-serif; font-size: 18px; color: rgb(163,160,154);
  display: flex; align-items: center; justify-content: center;
}
.cal-navbtn:disabled, .cal-navbtn.disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow {
  font-family: 'Oxanium', sans-serif; font-size: 11px; font-weight: 600;
  color: var(--mc-accent); text-align: center; padding: 6px 0;
  letter-spacing: 0.5px;
}
.cal-day {
  font-family: 'Exo', sans-serif; font-size: 16px; font-weight: 400;
  color: rgb(230,228,224); text-align: center; padding: 10px 0;
  border-radius: 10px; cursor: pointer; transition: background 0.15s;
}
.cal-day:hover { background: var(--mc-elevated); }
.cal-day.selected { background: var(--mc-accent); color: var(--mc-on-button); font-weight: 600; }
.cal-day.empty { cursor: default; }
.cal-day.disabled { color: rgb(90,88,84); cursor: default; pointer-events: none; }
.slot-header {
  font-family: 'Exo', sans-serif; font-size: 17px; color: var(--mc-text);
}
.time-slot {
  border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  padding: 13px 16px; cursor: pointer; transition: background 0.15s;
}
.time-slot:hover { background: var(--mc-elevated); }
.time-slot.selected { background: var(--mc-elevated); box-shadow: inset 0 0 0 1px var(--mc-accent); }
.time-slot.disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.time-slot__time {
  font-family: 'Oxanium', sans-serif; font-weight: 500; font-size: 16px;
  color: rgb(230,228,224);
}
.booking-note {
  border-radius: 10px; background: rgba(169,125,75,0.09);
  box-shadow: inset 0 0 0 1px rgba(169,125,75,0.32);
  padding: 13px 14px;
  font-family: 'Exo', sans-serif; font-size: 13px; color: rgb(205,191,169); line-height: 1.5;
}
.submit-btn {
  border-radius: 10px; background: var(--mc-accent); border: none;
  padding: 16px; cursor: pointer; width: 100%;
  font-family: 'Oxanium', sans-serif; font-weight: 600; font-size: 15px;
  letter-spacing: 0.6px; color: var(--mc-on-button); transition: opacity 0.2s;
}
.submit-btn:hover { opacity: 0.88; }
.submit-btn[disabled] { opacity: 0.55; cursor: default; }

/* ── Booking form fields ──────────────────────────────────── */
.mc-field { display: flex; flex-direction: column; gap: 6px; }
.mc-field label {
  font-family: 'Oxanium', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 1px; color: var(--mc-accent); text-transform: uppercase;
}
.mc-field input {
  background: rgb(15,14,13); border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  padding: 12px 14px; font-family: 'Exo', sans-serif; font-size: 15px;
  color: rgb(230,228,224); border: none; outline: none; width: 100%;
}
.mc-field input::placeholder { color: rgb(110,104,97); }
.mc-field input:focus { box-shadow: inset 0 0 0 1px var(--mc-accent); }
.mc-field.has-error input { box-shadow: inset 0 0 0 1px rgb(196,90,70); }
.mc-field__error {
  font-family: 'Exo', sans-serif; font-size: 12px; color: rgb(196,90,70); display: none;
}
.mc-field.has-error .mc-field__error { display: block; }
.mc-form-error {
  font-family: 'Exo', sans-serif; font-size: 13px; color: rgb(196,90,70);
  text-align: center; display: none; margin-top: 8px;
}
.mc-form-error.show { display: block; }
.mc-booking-success { text-align: center; padding: 24px 4px; }
.mc-booking-success__icon {
  width: 44px; height: 44px; border-radius: 22px; background: var(--mc-elevated);
  color: var(--mc-accent); font-family: 'Oxanium', sans-serif; font-size: 20px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.mc-booking-success__title {
  font-family: 'Oxanium', sans-serif; font-weight: 500; font-size: 18px;
  color: var(--mc-text); margin-bottom: 8px;
}

/* ── "Miért más" 2×2 quadrant grid ────────────────── */
.mc-why-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 1636px; margin: 0 auto; }
.mc-why-cell { padding: 44px 60px; }
.mc-why-cell:nth-child(1) { padding-top: 0; padding-left: 0; }
.mc-why-cell:nth-child(2) { padding-top: 0; padding-right: 0; }
.mc-why-cell:nth-child(3) { padding-bottom: 0; padding-left: 0; }
.mc-why-cell:nth-child(4) { padding-bottom: 0; padding-right: 0; }
.mc-why-cell:nth-child(1), .mc-why-cell:nth-child(3) { border-right: 1px solid var(--mc-hairline); }
.mc-why-cell:nth-child(1), .mc-why-cell:nth-child(2) { border-bottom: 1px solid var(--mc-hairline); }
.why-num {
  font-family: 'Oxanium', sans-serif; font-weight: 300; font-size: 28px;
  color: rgb(77,57,37); margin-bottom: 10px;
}
.why-title {
  font-family: 'Oxanium', sans-serif; font-weight: 300; font-size: clamp(26px, 3vw, 36px);
  color: var(--mc-text); margin-bottom: 18px;
}
.why-body {
  font-family: 'Exo', sans-serif; font-weight: 400; font-size: 18px;
  line-height: 1.7; color: var(--mc-text-body);
}
.why-body strong { font-weight: 600; color: var(--mc-text-body); }

/* ── Centered heading helper (left-aligned on mobile, see 600px block) ── */
.mc-heading-center { text-align: center; }

/* ── "Miért működik" bullet list (about) — bullet and text share one color ── */
.mc-includes-list {
  list-style: disc; padding-left: 22px; margin: 0;
  font-family: 'Exo', sans-serif; font-size: 16px; line-height: 68px;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgb(245,242,239);
}

/* ── Vertical zigzag process timeline (about "what's included") ──
   The connector line gets progressively lighter towards the bottom, ending
   in the same bright ivory as the last dot marker. */
.mc-process { position: relative; max-width: 1100px; margin: 0 auto; }
.mc-process__line {
  /* Starts exactly at the first dot's center (top: 16px, same formula as .mc-process__dot). */
  position: absolute; left: 50%; top: 16px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, var(--mc-hairline) 0%, rgb(218,203,189) 100%);
  transform: translateX(-50%);
}
.mc-process__item { position: relative; width: 50%; padding: 0 64px 56px; }
.mc-process__item--right { margin-left: 50%; text-align: left; }
.mc-process__item--left { margin-left: 0; text-align: right; }
.mc-process__dot {
  /* Vertical center must match the icon's center: icon top -6px + height/2 (44/2) = 16px. */
  position: absolute; top: 16px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--mc-hairline);
  transform: translateY(-50%);
}
.mc-process__item--right .mc-process__dot { left: -5.5px; }
.mc-process__item--left .mc-process__dot { right: -5.5px; }
.mc-process__item:last-child .mc-process__dot { background: rgb(218,203,189); }
/* Icon sits beside the line, offset from it rather than centered on it. */
.mc-process__icon {
  position: absolute; top: -6px; width: 44px; height: 44px;
  color: var(--mc-accent); display: flex; align-items: center; justify-content: center;
}
.mc-process__item--right .mc-process__icon { left: 14px; }
.mc-process__item--left .mc-process__icon { right: 14px; }
.mc-process__icon svg { width: 28px; height: 28px; }
.mc-process__title {
  font-family: 'Oxanium', sans-serif; font-weight: 300; font-size: 24px;
  color: var(--mc-text); margin-bottom: 8px;
}
.mc-process__body { font-family: 'Exo', sans-serif; font-size: 18px; color: var(--mc-text-body); line-height: 1.6; }
@media (max-width: 900px) {
  /* Starts at the mobile dot's center (top: 12px, same formula as .mc-process__dot). */
  .mc-process__line { left: 14px; top: 12px; }
  .mc-process__item, .mc-process__item--right, .mc-process__item--left {
    /* padding-left leaves more breathing room after the icon (26px + 28px wide = ends
       at 54px) than the text needs, so icon and title don't crowd each other. */
    width: 100%; margin-left: 0; text-align: left; padding: 0 0 40px 74px;
  }
  .mc-process__item--right .mc-process__dot, .mc-process__item--left .mc-process__dot {
    /* Match the mobile icon's center: icon top -2px + height/2 (28/2) = 12px. */
    left: 8.5px; right: auto; top: 12px;
  }
  .mc-process__item--right .mc-process__icon, .mc-process__item--left .mc-process__icon {
    left: 26px; right: auto; top: -2px; width: 28px; height: 28px;
  }
  .mc-process__icon svg { width: 20px; height: 20px; }
}

/* ── Info card grid (about) ───────────────────────── */
.info-card {
  padding: 28px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); border-radius: 4px;
}
.info-card__icon {
  width: 44px; height: 44px; margin-bottom: 16px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--mc-accent);
}
.info-card__icon.bg { background: var(--mc-elevated); }
.info-card__icon svg { width: 100%; height: 100%; }
.info-card__title {
  font-family: 'Oxanium', sans-serif; font-weight: 500; font-size: 20px;
  color: var(--mc-text); margin-bottom: 10px;
}

/* ── Process steps ────────────────────────────────── */
.step-list { position: relative; padding-left: 28px; }
.step-list::before {
  /* Starts at the first dot's center: padding-top (20px) + half the text row
     height (line-height 1.2 * 16px / 2 = 9.6px). Symmetric at the bottom. */
  content: ''; position: absolute; left: 3px; top: 29.6px; bottom: 29.6px;
  width: 1px; background: rgba(165,151,133,0.3);
}
.step-item { position: relative; padding: 20px 0; display: flex; align-items: center; gap: 20px; }
.step-dot {
  position: absolute; left: -28px; width: 8px; height: 8px; border-radius: 50%;
  background: rgb(165,151,133); flex-shrink: 0;
}
.step-text {
  font-family: 'Exo', sans-serif; font-size: 16px; font-weight: 400;
  line-height: 1.2; letter-spacing: 0.2em; color: rgb(165,151,133);
}

/* ── Stats row ────────────────────────────────────── */
.stat-row { display: flex; gap: 60px; align-items: flex-end; }
.stat-value {
  font-family: 'Oxanium', sans-serif; font-weight: 200; font-size: 74px;
  color: var(--mc-text); line-height: 1;
}
.stat-label {
  font-family: 'Exo', sans-serif; font-size: 16px; color: var(--mc-accent);
  letter-spacing: 0.2em; margin-top: 4px;
}

/* ── Brand info row (booking) ─────────────────────── */
.brand-row { display: flex; align-items: center; gap: 12px; }
.brand-avatar {
  width: 88px; height: 88px; border-radius: 44px;
  background: var(--mc-elevated);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-dot { display: flex; align-items: center; gap: 10px; }
.info-dot::before { content: '•'; color: var(--mc-accent); font-size: 10px; }

/* ── Generic section paddings ─────────────────────── */
.mc-section { padding: 100px var(--mc-pad-x); position: relative; overflow: hidden; }
.mc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.mc-media { width: 100%; height: 460px; object-fit: cover; display: block; }

/* ── Full-bleed split section (image flush to one edge, full section height) ── */
.mc-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.mc-split__text { padding: 100px var(--mc-pad-x); display: flex; flex-direction: column; justify-content: center; }
.mc-split__media { position: relative; min-height: 420px; }
.mc-split__media picture, .mc-split__media img, .mc-split__media .mc-photo-ph {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (max-width: 900px) {
  .mc-split { grid-template-columns: 1fr; }
  .mc-split__text { padding: 64px 28px; }
  /* Follow DOM order on mobile (matches the Figma mobile frames): sections
     authored text-first stay text-first, media-first stay media-first. */
  .mc-split__media { min-height: 320px; }
}

.mc-cta { padding-top: 150px; padding-bottom: 150px; }

/* ── Desktop-only bumps ───────────────────────────── */
@media (min-width: 901px) {
  .mc-cta { padding-top: 300px; padding-bottom: 300px; }
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --mc-pad-x: 64px; }
  .mc-footer { padding: 48px 64px 40px; }
}
@media (max-width: 900px) {
  :root { --mc-pad-x: 28px; }
  .mc-nav { padding: 0 20px; height: 84px; }
  .mc-nav__links { display: none; }
  .mc-nav__wordmark { height: 35px; }
  .mc-grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .mc-why-grid { grid-template-columns: 1fr; max-width: 520px; }
  .mc-why-cell { padding: 32px 0 !important; border-right: none !important; border-bottom: 1px solid var(--mc-hairline) !important; }
  .mc-why-cell:last-child { border-bottom: none !important; }
  .mc-section { padding: 64px 28px; }
  .mc-footer { padding: 40px 28px 32px; }
  .mc-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .booker { flex-direction: column; }
  .booker__info, .booker__slots { width: 100%; }
  .booker__info, .booker__calendar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  [style*="position:sticky"] { position: static !important; }
}
@media (max-width: 520px) {
  .mc-footer__grid { grid-template-columns: 1fr; }
  .stat-row { gap: 32px; flex-wrap: wrap; row-gap: 24px; }
  .stat-value { font-size: 54px; }
}

/* ── Mobile design (≤600px) — matches the Figma 375px frames ─────────── */
@media (max-width: 600px) {
  :root { --mc-pad-x: 26px; }

  /* Nav: logo left, CTA + hamburger right */
  .mc-nav { display: flex; height: 85px; padding: 0 22px; }
  .mc-nav__links { display: none; }
  .mc-nav__logo { grid-column: auto; justify-self: auto; flex: 0 0 auto; align-items: flex-start; margin-right: auto; }
  .mc-nav__wordmark { height: 24px; }
  .mc-nav__right { display: flex; align-items: center; gap: 12px; }
  .mc-nav__right .mc-lang { display: none; } /* moves into the dropdown on mobile */
  .mc-nav__cta { font-size: 14px; padding: 13px 18px; letter-spacing: 0.6px; }
  .mc-nav__cta-full { display: none; }
  .mc-nav__cta-short { display: inline; }
  .mc-nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 26px; height: 26px; padding: 0; border: none; background: transparent;
    cursor: pointer;
  }
  .mc-nav__toggle span {
    display: block; height: 1.6px; width: 20px; margin: 0 auto;
    background: rgb(233,228,221); border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
  }
  .mc-nav__toggle.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  .mc-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .mc-nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

  /* Mobile dropdown menu */
  .mc-mobile-menu {
    position: fixed; top: 85px; left: 0; right: 0; z-index: 99;
    display: flex; flex-direction: column; gap: 4px;
    padding: 16px 26px 22px;
    background: rgba(16,16,18,0.96);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  body.admin-bar .mc-mobile-menu { top: 131px; }
  .mc-mobile-menu[hidden] { display: none; }
  .mc-mobile-menu .mc-nav__link {
    font-family: 'Oxanium', sans-serif; font-size: 16px; padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .mc-mobile-menu .mc-nav__link:last-child { border-bottom: none; }
  .mc-mobile-menu .mc-lang { gap: 10px; padding-top: 16px; }
  .mc-mobile-menu .mc-lang__link { font-size: 16px; }

  /* Hero */
  .mc-hero { min-height: 92vh; }
  .mc-hero > div[style*="max-width:1300px"] { padding: 96px 26px !important; }
  .hero-kicker { font-size: 16px; }
  .hero-title { font-size: 40px; letter-spacing: 0.5px; }
  .mc-hero .body-text { font-size: 14px; margin-bottom: 32px !important; }
  .mc-hero__actions { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .mc-hero__actions .btn-primary,
  .mc-hero__actions .btn-secondary { width: 100%; text-align: center; padding: 15px; }

  /* Section vertical rhythm — tighten the desktop inline paddings */
  section[style*="padding:100px"] { padding-top: 56px !important; padding-bottom: 56px !important; }
  section[style*="padding:220px"] { padding-top: 56px !important; padding-bottom: 60px !important; }
  section[style*="padding:160px"] { padding-top: 56px !important; padding-bottom: 56px !important; }
  section[style*="padding:260px"] { padding-top: 64px !important; padding-bottom: 72px !important; }
  section[style*="padding:140px"] { padding-top: 116px !important; padding-bottom: 56px !important; }
  .mc-split__text { padding: 56px 26px; }
  /* Section photos are inset (padded) on mobile, matching the Figma frames —
     the image sits in flow with the same 26px gutter as the text, not full-bleed. */
  .mc-split__media { min-height: 0; padding: 0 26px; }
  .mc-split__media picture,
  .mc-split__media img,
  .mc-split__media .mc-photo-ph {
    position: static; inset: auto;
    width: 100%; height: 240px; object-fit: cover; border-radius: 6px;
  }
  /* Trim the padding on the edge that faces the photo so the gap matches the design */
  .mc-split__text:first-child { padding-bottom: 20px; }
  .mc-split__text:last-child  { padding-top: 20px; }
  .mc-split__media:first-child { padding-top: 56px; }
  .mc-split__media:last-child  { padding-bottom: 56px; }

  /* Hero page-label on About: keep clear of the fixed nav without a huge gap */
  .page-label { padding-top: 120px !important; }

  /* Headings scale */
  .display-lg { font-size: 34px; }
  .heading-lg { font-size: 27px; }
  .heading-md { font-size: 26px; }

  /* "Miért más" quadrants — label is left-aligned on mobile (desktop centers it),
     and the number uses the same accent color as the "MIÉRT MÁS" label. */
  .section-label[style*="text-align:center"] { text-align: left !important; }
  .why-num { font-size: 13px; margin-bottom: 6px; color: var(--mc-accent); }
  .why-title { font-size: 21px; margin-bottom: 10px; }
  .why-body { font-size: 14px; line-height: 1.55; }

  /* Section headings that are centered on desktop (e.g. "Mit tartalmaz") are
     left-aligned on mobile. */
  .mc-heading-center { text-align: left; }

  /* "Miért működik" bullet list — tight row spacing instead of the desktop
     68px line-height, which is a fixed pixel value tuned for the 1920px frame. */
  .mc-includes-list { font-size: 14px; line-height: 1.3; letter-spacing: 0.05em; }
  .mc-includes-list li { margin-bottom: 20px; }
  .mc-includes-list li:last-child { margin-bottom: 0; }

  /* Stats: stack vertically, drop the desktop divider bars */
  .stat-row { flex-direction: column; align-items: center; gap: 28px; flex-wrap: nowrap; }
  .stat-row > div[style*="width:1px"] { display: none; }
  .stat-value { font-size: 36px; }
  .stat-label { font-size: 16px; }

  /* Gallery: 2×2 with a hairline gutter, shorter tiles */
  .gallery-strip { gap: 2px; }
  .gallery-strip img, .gallery-strip .mc-photo-ph { height: 150px; }

  /* Footer: single column */
  .mc-footer { padding: 48px 26px 40px; }
  .mc-footer__grid { grid-template-columns: 1fr; gap: 30px; }

  /* Standalone CTA button spans the column (matches the mobile frame) */
  section[style*="padding:220px"] .btn-primary,
  section[style*="padding:260px"] .btn-primary { display: block; width: 100%; text-align: center; }

  /* Device-specific imagery: the mobile frames use different photos than desktop */
  .mc-only-desktop { display: none !important; }
  .mc-only-mobile  { display: block !important; }

  /* "Az élményről" step list — gradient connector + accent dots (mobile only).
     Tighter proportions match the Figma mobile frame (14px text, small dots). */
  .step-list::before {
    /* Starts at the first dot's center: padding-top (13px) + half the text row
       height (line-height 1.2 * 14px / 2 = 8.4px). Symmetric at the bottom. */
    top: 21.4px; bottom: 21.4px;
    background: linear-gradient(180deg, rgb(169,125,75) 0%, rgba(169,125,75,0.12) 100%);
  }
  .step-item { padding: 13px 0; }
  .step-dot { width: 6px; height: 6px; background: var(--mc-accent); }
  .step-item:last-child .step-dot { background: rgb(233,228,221); }
  .step-text { font-size: 14px; line-height: 1.2; letter-spacing: 0.05em; color: rgb(196,189,179); }

  /* Digitális detox: single centered olive glow behind the stats (per the frame) */
  .mc-detox > .deco-circle { display: none; }
  .mc-detox-orb {
    display: block; position: absolute; left: 50%; top: 52%;
    transform: translate(-50%, -50%);
    width: 320px; height: 320px; border-radius: 50%;
    background: var(--mc-olive); opacity: 0.5; pointer-events: none;
  }
}
