/* ==========================================================================
   Public website
   ========================================================================== */

.pattern-fill {
  position: absolute; inset: 0; pointer-events: none;
  background-color: var(--pattern-color, var(--brand));
  -webkit-mask: url("../img/pattern.b4fbe6ba109e.svg") repeat; mask: url("../img/pattern.b4fbe6ba109e.svg") repeat;
  -webkit-mask-size: var(--pattern-size, 64px); mask-size: var(--pattern-size, 64px);
  opacity: var(--pattern-opacity, 0.18);
}

/* ── Announcement bar ───────────────────────────────────────────────────── */
.announce { font-size: 0.86rem; font-weight: 500; }
.announce-item { display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.55rem var(--gutter); text-align: center; }
.announce-brand { background: var(--brand-100); color: var(--brand-deep); }
.announce-dark { background: var(--ink-deep); color: #f3f3ee; }
.announce-warning { background: var(--warning-bg); color: var(--warning); }
.announce-item a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.announce-item + .announce-item { border-top: 1px solid rgb(0 0 0 / 0.05); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgb(251 251 248 / 0.86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgb(var(--ink-rgb) / 0.05); }
.site-header { transition: border-color 0.25s, box-shadow 0.25s, transform 0.3s var(--ease); }
.site-header.is-hidden { transform: translateY(-105%); }
.header-inner { display: flex; align-items: center; gap: 1rem; height: 76px; }
.brand-link { display: flex; align-items: center; flex: none; }
.brand-link img { height: 54px; width: auto; }
.brand-text { font-family: var(--font-script); font-size: 2.1rem; color: var(--ink-deep); line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 0.15rem; margin-inline: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a {
  position: relative; display: block; padding: 0.55rem 0.8rem; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: 0.93rem;
}
.nav-links a:hover { color: var(--brand-deep); background: var(--brand-50); }
.nav-links a.is-active { color: var(--brand-deep); }
.nav-links a.is-active::after { content: ""; position: absolute; inset-inline: 0.8rem; bottom: 0.2rem; height: 2px; border-radius: 2px; background: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 0.4rem; margin-inline-start: auto; }
.nav-links + .nav-actions { margin-inline-start: 0; }
.menu-btn { display: none; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgb(var(--ink-rgb) / 0.4); backdrop-filter: blur(2px); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.drawer {
  position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 100;
  width: min(360px, 88vw); background: var(--surface); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; padding: 1.25rem; gap: 1rem;
  transform: translateX(105%); transition: transform 0.35s var(--ease);
  overflow-y: auto;
}
[dir="rtl"] .drawer { transform: translateX(-105%); }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-head img { height: 44px; }
.drawer nav a { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 0.6rem; border-radius: 14px; color: var(--ink-deep); font-weight: 600; font-size: 1.02rem; }
.drawer nav a:hover, .drawer nav a.is-active { background: var(--brand-50); color: var(--brand-deep); }
.drawer nav a .icon { color: var(--brand-strong); }
.drawer-foot { margin-top: auto; display: grid; gap: 0.6rem; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .header-cta { display: none; }
}
@media (max-width: 760px) {
  .header-inner { height: 64px; gap: 0.5rem; }
  .brand-link img { height: 46px; }
  .wordmark { font-size: 1.8rem; }
  .nav-actions { gap: 0.35rem; }
  .icon-btn { width: 40px; height: 40px; }
  .lang-btn { padding-inline: 0.7rem; }
}
@media (max-width: 359px) {
  .nav-actions .icon-btn.hide-xs { display: none; }
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); position: relative; }
.section-tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-alt { background: var(--surface); }
.section-soft { background: linear-gradient(180deg, var(--brand-50), var(--bg)); }
.section-head { max-width: 680px; margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 0.6rem; }
.section-head .lead { margin: 0; }
.section-head.center .lead { margin-inline: auto; }
.section-foot { margin-top: 2.5rem; display: flex; justify-content: center; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.25rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 5vw, 6.5rem); }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; inset-inline-end: -320px; top: -380px;
  background: radial-gradient(circle at center, rgb(var(--brand-rgb) / 0.26), transparent 62%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 640px; height: 640px; inset-inline-start: -360px; bottom: -380px;
  background: radial-gradient(circle at center, rgb(var(--accent-rgb) / 0.16), transparent 65%); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.5rem); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 1.25rem; }
[dir="rtl"] .hero h1 { line-height: 1.3; letter-spacing: 0; font-size: clamp(2.2rem, 1.6rem + 3vw, 3.9rem); }
.hero h1 .script-accent { font-size: 1.5em; display: inline-block; transform: translateY(0.06em); }
[dir="rtl"] .hero h1 .script-accent { font-size: 1.15em; transform: none; }
.hero .lead { font-size: clamp(1.05rem, 1rem + 0.45vw, 1.28rem); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.25rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-points .icon { color: var(--brand-strong); }

.hero-visual { position: relative; min-height: 520px; }
.arch {
  position: absolute; inset: 0 13% 2% 13%;
  border-radius: 999px 999px 36px 36px;
  background: linear-gradient(170deg, var(--brand-200) 0%, var(--brand-100) 45%, var(--accent-100) 100%);
  overflow: hidden; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6);
}
.arch > .arch-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch .pattern-fill { --pattern-color: var(--brand-deep); --pattern-opacity: 0.1; --pattern-size: 56px; }
.arch-inner { position: absolute; inset: 9% 11% 11%; border-radius: 999px 999px 26px 26px; border: 1.5px dashed rgb(255 255 255 / 0.7); }
.arch-mark { position: absolute; inset-inline: 0; bottom: 14%; margin-inline: auto; width: 62%; opacity: 0.9; filter: drop-shadow(0 6px 18px rgb(0 0 0 / 0.06)); }
.hero-swoosh { position: absolute; inset: -4% -2% auto auto; width: 92%; height: auto; pointer-events: none; overflow: visible; }
[dir="rtl"] .hero-swoosh { inset: -4% auto auto -2%; transform: scaleX(-1); }
.hero-swoosh path { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s 0.4s var(--ease) forwards; opacity: 0.85; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.float-card {
  position: absolute; z-index: 2;
  background: rgb(255 255 255 / 0.94); backdrop-filter: blur(8px);
  border: 1px solid rgb(255 255 255 / 0.8);
  border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 0.95rem 1.05rem; font-size: 0.86rem;
  animation: floaty 7s ease-in-out infinite;
}
.float-card .fc-label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--soft); margin-bottom: 0.4rem; }
[dir="rtl"] .float-card .fc-label { letter-spacing: 0; font-size: 0.8rem; }
.float-card .fc-value { font-family: var(--font-heading); font-weight: 800; font-size: 1.45rem; color: var(--ink-deep); line-height: 1.1; }
.float-card .fc-value small { font-size: 0.8rem; color: var(--success); font-weight: 700; margin-inline-start: 0.3rem; }
.fc-progress { top: 7%; inset-inline-start: -2%; width: 230px; animation-delay: -1s; }
.fc-progress .spark { display: block; width: 100%; height: 56px; margin-top: 0.4rem; }
.fc-inbody { bottom: 12%; inset-inline-end: -3%; width: 196px; display: flex; gap: 0.8rem; align-items: center; animation-delay: -3s; }
.ring { --p: 64; width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--brand-strong) calc(var(--p) * 1%), var(--brand-100) 0); }
.ring > span { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--brand-strong); }
.fc-appt { bottom: -1%; inset-inline-start: 4%; display: flex; gap: 0.75rem; align-items: center; animation-delay: -5s; }
.fc-appt .cal { width: 44px; height: 48px; border-radius: 12px; background: var(--ink-deep); color: #fff; display: grid; place-items: center; text-align: center; line-height: 1.05; font-family: var(--font-heading); }
.fc-appt .cal b { font-size: 1.15rem; } .fc-appt .cal span { font-size: 0.62rem; text-transform: uppercase; color: var(--brand-300); }
.fc-plan { top: 30%; inset-inline-end: -6%; width: 210px; animation-delay: -2s; }
.fc-plan ul { list-style: none; padding: 0; margin: 0.3rem 0 0; display: grid; gap: 0.35rem; }
.fc-plan li { display: flex; align-items: center; gap: 0.45rem; font-weight: 500; color: var(--ink); }
.fc-plan li .tick { width: 18px; height: 18px; border-radius: 50%; background: var(--brand-100); color: var(--brand-strong); display: grid; place-items: center; flex: none; }
.fc-plan li.done .tick { background: var(--brand-strong); color: #fff; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 440px; max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 520px) {
  .hero-visual { min-height: 380px; }
  .arch { inset: 0 8% 4% 8%; }
  .float-card { padding: 0.7rem 0.8rem; font-size: 0.78rem; border-radius: 16px; }
  .float-card .fc-value { font-size: 1.15rem; }
  .fc-progress { width: 176px; inset-inline-start: -1%; }
  .fc-progress .spark { height: 40px; }
  .fc-plan { width: 168px; inset-inline-end: -1%; top: 36%; }
  .fc-inbody { width: 168px; inset-inline-end: 0; bottom: 14%; }
  .ring { width: 46px; height: 46px; } .ring > span { width: 34px; height: 34px; }
}

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.15rem; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.93rem; color: var(--ink); }
.trust-item .ti-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-strong); }

/* ── About / founder ────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.portrait { position: relative; max-width: 440px; width: 100%; margin-inline: auto; aspect-ratio: 4 / 5; }
.portrait .arch { inset: 0; }
.portrait .monogram { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-script); font-size: clamp(6rem, 4rem + 8vw, 10rem); color: var(--brand-strong); opacity: 0.85; line-height: 1; }
.portrait .monogram-ar { font-size: clamp(4.5rem, 3rem + 6vw, 7.5rem); padding-bottom: 0.15em; text-shadow: 0 10px 30px rgb(var(--brand-strong-rgb) / 0.12); }
.portrait-badge { position: absolute; bottom: 8%; inset-inline-start: -6%; background: var(--surface); border-radius: 20px; padding: 0.85rem 1.1rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.7rem; }
.portrait-badge .icon { color: var(--brand-strong); }
.signature { font-family: var(--font-script); font-size: 2.6rem; color: var(--brand-text); line-height: 1; margin: 0.4rem 0 0; }
[dir="rtl"] .signature { font-size: 2rem; }
.about-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; margin: 1.75rem 0; padding: 0; list-style: none; }
.about-points li { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 500; }
.about-points .icon { color: var(--brand-strong); margin-top: 3px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .about-points { grid-template-columns: minmax(0, 1fr); } }

.grid > .reveal:nth-child(3n + 2) { --delay: 0.08s; }
.grid > .reveal:nth-child(3n + 3) { --delay: 0.16s; }

/* ── Generic split layouts ─────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-items: start; }
.sticky-side { position: sticky; top: 96px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .sticky-side { position: static; } }

/* ── Services ───────────────────────────────────────────────────────────── */
.service-card { position: relative; padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; overflow: hidden; height: 100%; }
.service-card .svc-icon {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-strong); margin-bottom: 0.4rem;
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.service-card:hover .svc-icon { background: var(--brand-strong); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-card h3 { margin: 0; }
.service-card p { color: var(--muted); margin: 0; flex: 1; }
.service-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.84rem; color: var(--soft); font-weight: 600; }
.service-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.service-card .price-tag { font-family: var(--font-heading); font-weight: 800; color: var(--ink-deep); }
.service-card::after {
  content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; inset-inline-end: -60px; top: -60px;
  background: radial-gradient(circle, var(--brand-100), transparent 70%); transition: transform 0.4s var(--ease);
}
.service-card:hover::after { transform: scale(1.6); }

/* ── Steps (journey) ────────────────────────────────────────────────────── */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: end; counter-reset: step; }
.steps-path { position: absolute; inset: auto 2% 34px 2%; height: 160px; width: 96%; pointer-events: none; }
[dir="rtl"] .steps-path { transform: scaleX(-1); }
.steps-path path { fill: none; stroke: var(--brand-300); stroke-width: 2.5; stroke-dasharray: 6 10; stroke-linecap: round; }
.step { position: relative; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
@media (min-width: 901px) {
  .step { min-height: 228px; }
  .step:nth-child(3) { margin-bottom: 36px; } .step:nth-child(4) { margin-bottom: 72px; } .step:nth-child(5) { margin-bottom: 108px; }
}
.step-num { font-family: var(--font-script); font-size: 3.2rem; line-height: 1; color: var(--brand-text); display: block; margin-bottom: 0.5rem; }
[dir="rtl"] .step-num { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.step-foot { margin-top: 0.9rem; color: var(--brand-strong); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .step:nth-child(n) { margin-bottom: 0; }
  .steps-path { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ── Pricing ────────────────────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1.25rem; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.price-card h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.price-card .tagline { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.25rem; min-height: 2.6em; }
.price { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.3rem; }
.price strong { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 800; color: var(--ink-deep); letter-spacing: -0.03em; line-height: 1; }
.price s { color: var(--soft); font-weight: 600; }
.price-note { font-size: 0.85rem; color: var(--soft); margin-bottom: 1.5rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 0.7rem; flex: 1; }
.price-card li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.94rem; }
.price-card li .icon { color: var(--brand-strong); margin-top: 3px; }
.price-card.is-popular { background: var(--ink-deep); color: #e9eae4; border-color: var(--ink-deep); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.price-card.is-popular h3, .price-card.is-popular .price strong { color: #fff; }
.price-card.is-popular .tagline, .price-card.is-popular .price-note { color: #b9bbb3; }
.price-card.is-popular li .icon { color: var(--brand); }
.price-card .popular-tag { position: absolute; top: -13px; inset-inline-start: 1.75rem; background: var(--brand); color: var(--on-brand); font-size: 0.75rem; font-weight: 800; padding: 0.3rem 0.8rem; border-radius: 999px; letter-spacing: 0.04em; }
.price-card.is-popular .pattern-fill { --pattern-color: #fff; --pattern-opacity: 0.04; border-radius: inherit; }
@media (max-width: 700px) { .price-card.is-popular { transform: none; } }

/* ── Results band ───────────────────────────────────────────────────────── */
.stats-band { position: relative; overflow: hidden; background: var(--ink-deep); color: #e7e8e2; border-radius: clamp(24px, 3vw, 40px); padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }
.stats-band .pattern-fill { --pattern-color: #fff; --pattern-opacity: 0.045; }
.stats-band::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; inset-inline-end: -180px; top: -260px; background: radial-gradient(circle, rgb(var(--brand-rgb) / 0.35), transparent 65%); }
.stats-head { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2.25rem; }
.stats-head h2 { color: #fff; margin: 0; max-width: 18ch; }
.stats-head p { margin: 0; color: #b6b8af; max-width: 40ch; }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 1rem; }
.stat-tile { padding: 1.25rem 1.35rem; border-radius: 22px; background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.08); }
.stat-tile strong { display: block; font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.1rem, 1.6rem + 1.8vw, 3rem); color: var(--brand); line-height: 1; letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.stat-tile span { color: #c9cbc3; font-size: 0.92rem; font-weight: 500; }

/* ── Testimonials ───────────────────────────────────────────────────────── */
.slider-wrap { position: relative; }
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 84vw); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0.25rem 1.5rem; scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; }
.slider-controls { display: flex; gap: 0.5rem; }
.quote-card { padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.quote-card blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); flex: 1; }
.quote-card blockquote::before { content: "“"; display: block; font-family: Georgia, serif; font-size: 3.4rem; line-height: 0.7; color: var(--brand); margin-bottom: 0.4rem; }
.stars { display: flex; gap: 2px; color: var(--accent); }
.stars .icon { fill: currentColor; }
.quote-person { display: flex; align-items: center; gap: 0.75rem; }
.quote-person strong { display: block; color: var(--ink-deep); }
.result-pill { display: inline-flex; align-items: center; gap: 0.35rem; background: var(--brand-50); color: var(--brand-deep); padding: 0.3rem 0.75rem; border-radius: 999px; font-weight: 700; font-size: 0.82rem; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.before-after figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; background: var(--surface-2); }
.before-after img { width: 100%; height: 100%; object-fit: cover; }
.before-after figcaption { position: absolute; bottom: 0.4rem; inset-inline-start: 0.4rem; background: rgb(0 0 0 / 0.55); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 999px; }

/* ── Team ───────────────────────────────────────────────────────────────── */
.team-card { text-align: center; padding: 1.75rem 1.5rem; }
.team-card .avatar { margin: 0 auto 1rem; }
.team-card h3 { margin-bottom: 0.2rem; font-size: 1.1rem; }

/* ── Tools ──────────────────────────────────────────────────────────────── */
.tool-card { padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.tool-card h3 { display: flex; align-items: center; gap: 0.6rem; }
.tool-card h3 .icon { color: var(--brand-strong); }
.segmented { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; padding: 0.4rem 1rem; border-radius: 999px; font-weight: 600; font-size: 0.88rem; color: var(--muted); transition: background-color 0.2s, color 0.2s; }
.segmented input:checked + span { background: var(--surface); color: var(--ink-deep); box-shadow: var(--shadow-xs); }
.segmented input:focus-visible + span { outline: 3px solid rgb(var(--brand-strong-rgb) / 0.5); }
.gauge { position: relative; max-width: 320px; margin: 0.5rem auto 0; }
.gauge svg { width: 100%; height: auto; overflow: visible; }
.gauge .needle { transform-origin: 160px 160px; transition: transform 1s var(--ease); }
.gauge-value { text-align: center; margin-top: 0.35rem; }
.gauge-value strong { display: block; font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--ink-deep); }
.gauge-value span { font-weight: 700; font-size: 0.92rem; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 0.75rem; }
.result-box { padding: 1rem; border-radius: var(--radius); background: var(--surface-2); text-align: center; }
.result-box strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--ink-deep); }
.result-box span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.result-box.is-key { background: var(--brand-strong); }
.result-box.is-key strong, .result-box.is-key span { color: #fff; }
.disclaimer { font-size: 0.8rem; color: var(--soft); margin-top: 1rem; }

/* ── Store ──────────────────────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1.25rem; }
.product-card { position: relative; display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.product-media { position: relative; display: block; aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--brand-50), var(--surface-2)); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-media .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand-300); }
.product-media .sale { position: absolute; top: 0.75rem; inset-inline-start: 0.75rem; background: var(--danger); color: #fff; font-size: 0.75rem; font-weight: 800; padding: 0.25rem 0.6rem; border-radius: 999px; }
.product-media .soldout { position: absolute; inset: 0; background: rgb(255 255 255 / 0.65); display: grid; place-items: center; font-weight: 800; color: var(--ink-deep); }
.product-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-body h3 { font-size: 1rem; margin: 0; }
.product-body h3 a { color: var(--ink-deep); }
.product-body p { margin: 0; color: var(--muted); font-size: 0.86rem; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding-top: 0.25rem; }
.product-price { font-family: var(--font-heading); font-weight: 800; color: var(--ink-deep); font-size: 1.08rem; }
.product-price s { font-family: var(--font-body); font-weight: 500; color: var(--soft); font-size: 0.85rem; margin-inline-start: 0.3rem; }
.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 2rem; align-items: start; }
.shop-filters { position: sticky; top: 96px; display: grid; gap: 1.5rem; }
.shop-filters h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--soft); margin-bottom: 0.6rem; }
.filter-list { display: grid; gap: 0.15rem; list-style: none; padding: 0; margin: 0; }
.filter-list a { display: flex; justify-content: space-between; padding: 0.5rem 0.75rem; border-radius: 12px; color: var(--ink); font-weight: 500; }
.filter-list a:hover, .filter-list a.is-active { background: var(--brand-50); color: var(--brand-deep); font-weight: 700; }
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.shop-search { flex: 1; max-width: 420px; }
.shop-sort { width: auto; }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .shop-filters { position: static; display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 0.5rem; padding: 0.1rem var(--gutter) 0.25rem; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
  .shop-filters::-webkit-scrollbar { display: none; }
  .shop-filters > div { display: contents; }
  .shop-filters h4 { display: none; }
  .filter-list { display: flex; gap: 0.4rem; }
  .filter-list a { white-space: nowrap; border: 1px solid var(--line); background: var(--surface); padding: 0.4rem 0.8rem; border-radius: 999px; font-size: 0.85rem; }
}
.product-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.product-gallery { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--brand-50), var(--surface-2)); position: relative; }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.nutrition-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin: 1.25rem 0; }
.nutrition-facts div { text-align: center; padding: 0.75rem 0.25rem; border-radius: 16px; background: var(--surface-2); }
.nutrition-facts strong { display: block; font-family: var(--font-heading); font-size: 1.1rem; color: var(--ink-deep); }
.nutrition-facts span { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; overflow: hidden; background: var(--surface); }
.qty button { width: 40px; height: 44px; border: 0; background: none; display: grid; place-items: center; color: var(--ink); }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 46px; border: 0; text-align: center; font-weight: 700; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty-sm button { width: 32px; height: 34px; } .qty-sm input { width: 36px; font-size: 0.9rem; }
@media (pointer: coarse) {
  .qty-sm button { width: 38px; height: 40px; }
  .qty input, .qty-sm input { font-size: 16px; } /* below 16px iPhones zoom in on focus */
}
@media (max-width: 800px) { .product-page { grid-template-columns: minmax(0, 1fr); } .nutrition-facts { grid-template-columns: repeat(2, 1fr); } }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line .thumb { width: 72px; height: 72px; border-radius: 16px; }
.cart-line h3 { font-size: 0.98rem; margin: 0 0 0.2rem; }
.cart-line-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.summary-card { position: sticky; top: 96px; }
.summary-rows { display: grid; gap: 0.6rem; margin: 0 0 1.25rem; }
.summary-rows div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; }
.summary-rows .total { border-top: 1px dashed var(--line-strong); padding-top: 0.8rem; font-weight: 800; font-size: 1.15rem; color: var(--ink-deep); }
.summary-rows .discount { color: var(--success); font-weight: 600; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: minmax(0, 1fr); } .summary-card { position: static; } }
@media (max-width: 520px) { .cart-line { grid-template-columns: 56px minmax(0, 1fr); } .cart-line .thumb { width: 56px; height: 56px; } .cart-line-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }

.option-cards { display: grid; gap: 0.75rem; }
.option-cards + .field { margin-top: 1.25rem; }
.option-card { position: relative; display: flex; align-items: flex-start; gap: 0.9rem; padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; }
.option-card:hover { border-color: var(--brand-300); }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card .oc-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--brand-50); color: var(--brand-strong); display: grid; place-items: center; flex: none; transition: background-color 0.2s, color 0.2s; }
.option-card .oc-body { flex: 1; min-width: 0; }
.option-card .oc-title { font-weight: 700; color: var(--ink-deep); display: block; }
.option-card .oc-sub { font-size: 0.86rem; color: var(--muted); }
.option-card .oc-side { text-align: end; font-weight: 700; color: var(--ink-deep); white-space: nowrap; font-size: 0.92rem; }
.option-card .oc-check { position: absolute; top: 0.8rem; inset-inline-end: 0.8rem; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: transparent; background: var(--surface); transition: all 0.2s; }
.option-card:has(input:checked) { border-color: var(--brand-strong); background: var(--brand-50); box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / 0.22); }
.option-card:has(input:checked) .oc-icon { background: var(--brand-strong); color: #fff; }
.option-card:has(input:checked) .oc-check { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.option-card:has(input:focus-visible) { outline: 3px solid rgb(var(--brand-strong-rgb) / 0.5); outline-offset: 2px; }
.option-card.has-check { padding-inline-end: 2.75rem; }
.option-cards.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* ── Order tracking ─────────────────────────────────────────────────────── */
.order-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; list-style: none; padding: 0; margin: 1.5rem 0; counter-reset: os; }
.order-steps li { position: relative; text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--soft); padding-top: 2.2rem; }
.order-steps li::before { counter-increment: os; content: counter(os); position: absolute; top: 0; inset-inline-start: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-weight: 800; z-index: 1; }
[dir="rtl"] .order-steps li::before { transform: translateX(50%); }
.order-steps li::after { content: ""; position: absolute; top: 13px; inset-inline-start: calc(50% + 14px); width: calc(100% - 28px + 0.5rem); height: 2px; background: var(--surface-3); }
.order-steps li:last-child::after { display: none; }
.order-steps li.done { color: var(--ink-deep); }
.order-steps li.done::before { background: var(--brand-strong); color: #fff; content: "✓"; }
.order-steps li.done::after { background: var(--brand); }
.order-steps li.current::before { box-shadow: 0 0 0 5px rgb(var(--brand-rgb) / 0.3); }

/* ── Booking ────────────────────────────────────────────────────────────── */
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
.book-step { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); margin-bottom: 1.25rem; }
.book-step-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.25rem; }
.book-step-head .n { width: 34px; height: 34px; border-radius: 50%; background: var(--ink-deep); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; flex: none; font-family: var(--font-heading); }
.book-step-head h2 { font-size: 1.15rem; margin: 0; }
.book-step.is-locked { opacity: 0.55; pointer-events: none; }
.date-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 0.55rem; overflow-x: auto; padding: 0.25rem 0.1rem 0.75rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
@media (pointer: coarse) { .date-strip { scrollbar-width: none; } .date-strip::-webkit-scrollbar { display: none; } }
.date-chip { position: relative; display: grid; place-items: center; gap: 0.1rem; padding: 0.7rem 0.3rem; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; scroll-snap-align: start; transition: all 0.2s; text-align: center; }
.date-chip input { position: absolute; opacity: 0; pointer-events: none; }
.date-chip .dw { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--soft); letter-spacing: 0.04em; }
.date-chip .dd { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: var(--ink-deep); line-height: 1.1; }
.date-chip .dm { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.date-chip:hover { border-color: var(--brand-300); }
.date-chip.is-closed { cursor: not-allowed; background: var(--surface-2); opacity: 0.55; }
.date-chip.is-closed .dd { text-decoration: line-through; text-decoration-color: var(--soft); }
.date-chip:has(input:checked) { background: var(--ink-deep); border-color: var(--ink-deep); }
.date-chip:has(input:checked) .dd, .date-chip:has(input:checked) .dw, .date-chip:has(input:checked) .dm { color: #fff; }
.date-chip.is-today::after { content: ""; position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-strong); }
.slot-group { margin-bottom: 1rem; }
.slot-group h4 { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--soft); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.6rem; }
[dir="rtl"] .slot-group h4 { letter-spacing: 0; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.5rem; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span { display: block; text-align: center; padding: 0.65rem 0.4rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.18s; font-variant-numeric: tabular-nums; }
.slot span:hover { border-color: var(--brand); color: var(--brand-deep); }
.slot input:checked + span { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; box-shadow: 0 6px 16px rgb(var(--brand-strong-rgb) / 0.3); }
.slot input:focus-visible + span { outline: 3px solid rgb(var(--brand-strong-rgb) / 0.5); outline-offset: 2px; }
.slots-empty { padding: 1.25rem; border-radius: var(--radius); background: var(--surface-2); color: var(--muted); text-align: center; font-size: 0.93rem; }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 14px; height: 44px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.staff-options { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.staff-option { position: relative; display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 1rem 0.5rem 0.5rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--surface); font-weight: 600; font-size: 0.92rem; transition: all 0.2s; }
[dir="rtl"] .staff-option { padding: 0.5rem 0.5rem 0.5rem 1rem; }
.staff-option input { position: absolute; opacity: 0; pointer-events: none; }
.staff-option:has(input:checked) { border-color: var(--brand-strong); background: var(--brand-50); }
.book-summary { position: sticky; top: 96px; }
.summary-list { display: grid; gap: 0.9rem; margin: 0 0 1.25rem; }
.summary-list > div { display: flex; gap: 0.75rem; align-items: flex-start; }
.summary-list .icon { color: var(--brand-strong); margin-top: 2px; }
.summary-list dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--soft); font-weight: 700; }
[dir="rtl"] .summary-list dt { letter-spacing: 0; }
.summary-list dd { margin: 0; font-weight: 700; color: var(--ink-deep); }
.summary-list .is-empty dd { color: var(--soft); font-weight: 500; }
.mobile-book-bar { display: none; }
@media (max-width: 960px) {
  .book-layout { grid-template-columns: minmax(0, 1fr); }
  .book-summary { position: static; }
  .mobile-book-bar {
    display: flex; position: sticky; bottom: 0; z-index: 40; gap: 0.75rem; align-items: center; justify-content: space-between;
    padding: 0.75rem var(--gutter); background: rgb(255 255 255 / 0.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    margin-inline: calc(var(--gutter) * -1);
  }
}

/* ── Page hero (inner pages) ────────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3.25rem); background: linear-gradient(180deg, var(--brand-50), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero .pattern-fill { --pattern-opacity: 0.12; -webkit-mask-image: url("../img/pattern.b4fbe6ba109e.svg"), linear-gradient(90deg, transparent 30%, #000); }
.page-hero .container { position: relative; }
.page-hero h1 { margin-bottom: 0.6rem; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); }
.page-hero .lead { margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; font-size: 0.85rem; color: var(--soft); margin-bottom: 1rem; list-style: none; padding: 0; }
.breadcrumbs a { color: var(--muted); font-weight: 600; }
.breadcrumbs .icon { opacity: 0.6; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item[open] { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; font-weight: 700; color: var(--ink-deep); }
.faq-item summary .pm { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-50); display: grid; place-items: center; flex: none; color: var(--brand-strong); transition: transform 0.3s var(--ease), background-color 0.2s; }
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--brand-strong); color: #fff; }
.faq-item .faq-body { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq-item .faq-body p:last-child { margin: 0; }

/* ── Visit / contact ────────────────────────────────────────────────────── */
.visit-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 1.5rem; align-items: stretch; }
.visit-card { padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); }
.contact-lines { display: grid; gap: 1rem; margin: 1.5rem 0; }
.contact-line { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-line .cl-icon { width: 42px; height: 42px; border-radius: 14px; background: var(--brand-50); color: var(--brand-strong); display: grid; place-items: center; flex: none; }
.contact-line small { display: block; color: var(--soft); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
[dir="rtl"] .contact-line small { letter-spacing: 0; font-size: 0.82rem; }
.contact-line strong, .contact-line a { color: var(--ink-deep); font-weight: 600; }
.hours-table { width: 100%; font-size: 0.92rem; }
.hours-table td { padding: 0.42rem 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: end; font-variant-numeric: tabular-nums; }
.hours-table tr.is-today td { font-weight: 800; color: var(--brand-deep); }
.hours-table .closed { color: var(--soft); }
.map-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; border: 1px solid var(--line); background: var(--surface-2); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.85) contrast(1.02); }
@media (max-width: 900px) { .visit-grid { grid-template-columns: minmax(0, 1fr); } .map-frame { min-height: 300px; } }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; border-radius: clamp(24px, 3vw, 40px); padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); background: linear-gradient(120deg, var(--brand-strong), var(--brand-deep)); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band .pattern-fill { --pattern-color: #fff; --pattern-opacity: 0.08; }
.cta-band h2 { color: #fff; margin: 0 0 0.4rem; position: relative; }
.cta-band p { margin: 0; color: rgb(255 255 255 / 0.85); position: relative; max-width: 52ch; }
.cta-band .btn-group { position: relative; }

/* ── Posts ──────────────────────────────────────────────────────────────── */
.post-card { position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
/* The whole card opens the item; buttons inside stay clickable on top. */
.post-body h3 a::after, .product-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-body .link-arrow, .product-foot form { position: relative; z-index: 2; }
.post-cover { aspect-ratio: 16 / 10; background: linear-gradient(140deg, var(--brand-100), var(--accent-100)); position: relative; overflow: hidden; display: block; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.04); }
.post-cover .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand-strong); opacity: 0.5; }
.post-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-body h3 { margin: 0; font-size: 1.1rem; }
.post-body h3 a { color: var(--ink-deep); }
.post-body p { margin: 0; color: var(--muted); font-size: 0.92rem; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.8rem; color: var(--soft); font-weight: 600; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; margin-bottom: 2rem; background: var(--surface-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ── Auth ───────────────────────────────────────────────────────────────── */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-aside { position: relative; overflow: hidden; background: var(--ink-deep); color: #e5e6df; padding: clamp(2rem, 1rem + 4vw, 4rem); display: flex; flex-direction: column; justify-content: space-between; }
.auth-aside .pattern-fill { --pattern-color: #fff; --pattern-opacity: 0.05; }
.auth-aside::after { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; inset-inline-end: -220px; bottom: -260px; background: radial-gradient(circle, rgb(var(--brand-rgb) / 0.4), transparent 65%); }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside img.logo { height: 92px; width: auto; }
.auth-aside h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); max-width: 16ch; }
.auth-aside ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.85rem; }
.auth-aside li { display: flex; gap: 0.7rem; align-items: center; color: #d2d4cc; }
.auth-aside li .icon { color: var(--brand); }
.auth-main { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 1rem + 4vw, 4rem); }
.auth-card { width: 100%; max-width: 440px; margin-inline: auto; }
.auth-card h1 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.2rem); margin-bottom: 0.4rem; }
.auth-top { display: flex; justify-content: space-between; align-items: center; max-width: 440px; width: 100%; margin: 0 auto 2.5rem; }
.auth-top .mobile-logo { display: none; }
.auth-top .mobile-logo img { height: 54px; }
@media (pointer: coarse) { .auth-card a.small { display: inline-block; padding-block: 0.6rem; } }
@media (max-width: 860px) {
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-aside { display: none; }
  .auth-top .mobile-logo { display: block; }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { position: relative; overflow: hidden; background: var(--ink-deep); color: #c6c8c0; padding-top: clamp(3rem, 2rem + 4vw, 5rem); margin-top: clamp(3rem, 2rem + 4vw, 5rem); }
.site-footer .pattern-fill { --pattern-color: #fff; --pattern-opacity: 0.03; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand img { height: 84px; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 36ch; font-size: 0.93rem; }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
[dir="rtl"] .site-footer h4 { letter-spacing: 0; font-size: 0.95rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-links a { color: #c6c8c0; font-size: 0.93rem; }
.footer-links a:hover { color: var(--brand); }
.footer-hours td { padding: 0.18rem 0; font-size: 0.88rem; }
.footer-hours td:last-child { text-align: end; padding-inline-start: 1rem; }
.footer-hours tr.is-today td { color: var(--brand); font-weight: 700; }
.socials { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 0.14); color: #e3e4de; transition: all 0.2s; }
.socials a:hover { background: var(--brand); color: var(--ink-deep); border-color: var(--brand); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; padding-block: 1.5rem; margin-top: 3rem; border-top: 1px solid rgb(255 255 255 / 0.08); font-size: 0.85rem; color: #9a9c94; }
.footer-bottom a { color: #c6c8c0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* WhatsApp floating button */
.wa-float {
  position: fixed; inset-block-end: 1.25rem; inset-inline-end: 1.25rem; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgb(23 152 72 / 0.42);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { color: #fff; transform: scale(1.07); }
.wa-float { transition: transform 0.3s var(--ease), opacity 0.3s; }
.wa-float.is-tucked { transform: translateY(160%); opacity: 0; pointer-events: none; }
@media (max-width: 760px) {
  .wa-float { width: 52px; height: 52px; inset-block-end: calc(1rem + env(safe-area-inset-bottom)); inset-inline-end: 1rem; }
  .wa-float .icon { width: 26px; height: 26px; }
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.6s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }
body.has-bottom-bar .wa-float { inset-block-end: 5.5rem; }
/* On phones the booking bar is the one call to action; WhatsApp stays in the page text. */
@media (max-width: 760px) { body.has-bottom-bar .wa-float { display: none; } }

/* Error pages */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 3rem var(--gutter); }
.error-page .code { font-family: var(--font-script); font-size: clamp(6rem, 4rem + 8vw, 10rem); color: var(--brand-text); line-height: 1; }


/* ==========================================================================
   Phones — tuned layouts (≤ 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .section { padding-block: 2.75rem; }
  .section-tight { padding-block: 1.75rem; }
  .section-foot { margin-top: 1.25rem; }
  .section-head .lead { font-size: 1rem; }

  /* Long stacks become swipeable rows with the next card peeking in. */
  .rail-sm {
    display: grid !important;
    grid-auto-flow: column;
    grid-template-columns: none !important;
    grid-auto-columns: 84%;
    gap: 0.85rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0.35rem var(--gutter) 1rem;
    scroll-padding-inline: var(--gutter);
    align-items: stretch;
  }
  .rail-sm::-webkit-scrollbar { display: none; }
  .rail-sm > * { scroll-snap-align: start; }
  .rail-sm.rail-narrow { grid-auto-columns: 64%; }
  /* Cards hidden off to the side would otherwise wait for a swipe to fade in. */
  .rail-sm > .reveal { opacity: 1; transform: none; transition: none; }
  .pricing.rail-sm { padding-top: 1.1rem; }

  /* Hero */
  .hero { padding-block: 1.25rem 2.25rem; }
  .hero .lead { margin-bottom: 1.4rem; }
  .hero-actions { margin-bottom: 1.4rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { min-height: 350px; }
  /* Three floating cards in a zig-zag; the fourth would only crowd them. */
  .fc-plan { display: none; }
  .fc-progress { top: 2%; width: 172px; }
  .fc-inbody { top: 40%; bottom: auto; inset-inline-end: 0; width: auto; max-width: 66%; }
  .fc-inbody .fc-label { white-space: nowrap; }
  .fc-appt { bottom: 3%; inset-inline-start: 1%; }

  /* Trust strip: all four, two per row */
  .trust-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 0.9rem; padding-block: 0.95rem; }
  .trust-item { font-size: 0.86rem; line-height: 1.35; gap: 0.55rem; }
  .trust-item .ti-icon { width: 34px; height: 34px; flex: none; border-radius: 10px; }

  /* Founder */
  .portrait { max-width: 280px; }
  .portrait-badge { inset-inline-start: 0; bottom: 6%; }
  .about-points { margin: 1.25rem 0; gap: 0.7rem; }
  .signature { font-size: 2.2rem; }

  /* Journey: compact rows, number beside the text */
  .steps { gap: 0.7rem; }
  .step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; align-items: start; padding: 1.05rem 1.15rem; }
  .step-num { grid-row: span 2; font-size: 2.4rem; margin: 0; }
  [dir="rtl"] .step-num { font-size: 1.7rem; }
  .step h3 { margin-bottom: 0.2rem; font-size: 1.02rem; }

  /* Results band: two per row */
  .stats-band { padding: 1.5rem 1.25rem; }
  .stats-head { margin-bottom: 1.25rem; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  .stat-tile { padding: 0.95rem 1rem; }
  .stat-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* Pricing cards a little tighter */
  .price-card { padding: 1.6rem 1.35rem; }
  .price strong { font-size: 2.2rem; }

  /* Shop: search on its own row, two products per row */
  .shop-search { flex-basis: 100%; max-width: none; }
  .shop-sort { flex: 1; }
  .product-grid:not(.rail-sm) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .product-grid:not(.rail-sm) .product-body { padding: 0.8rem 0.85rem 0.95rem; }
  .product-grid:not(.rail-sm) .product-body p { display: none; }
  .product-grid:not(.rail-sm) .product-body h3 { font-size: 0.92rem; }
  .product-grid:not(.rail-sm) .tag-list { display: none; }

  /* Visit / contact */
  .map-frame { min-height: 240px; }
  .visit-card .btn-group .btn { flex: 1; }

  /* CTA band */
  .cta-band { padding: 1.6rem 1.35rem; }
  .cta-band .btn-group { width: 100%; }
  .cta-band .btn-group .btn { flex: 1 1 100%; }

  /* Footer: link columns side by side */
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-brand img { height: 64px; }
  .footer-links { overflow-wrap: anywhere; gap: 0.15rem; }
  .footer-links a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 40px; }
  .footer-links a[href^="tel:"], .footer-links a[href^="mailto:"] { padding-block: 0; }
  .footer-bottom { flex-direction: column; margin-top: 2rem; }
}
