/* Dr Khadijah Consulting — design system. Cairo is loaded from Google Fonts in the page <head> (weights 400/600/700, display=swap). */
:root {
  /* Brand palette */
  --ivory: #F7F4EF; --charcoal: #24262B; --teal: #0F6D73; --copper: #B67A42; --gray: #888178;
  /* Derived (kept minimal, all contrast-checked in test/contrast.test.js) */
  --white: #FFFFFF; --teal-dark: #0B5257; --teal-tint: #E3EEEE; --ivory-deep: #EEE9E0; --muted: #4A4B50;
  --danger: #9A2B2B; --danger-tint: #F7E5E2; --ok-tint: #E0EEE9; --warn-tint: #F5EBD6; --info-tint: #E3EEEE;
  --radius: 14px; --radius-sm: 8px; --shadow: 0 1px 2px rgb(36 38 43 / .06), 0 8px 24px rgb(36 38 43 / .06);
  --font: "Cairo", "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, -apple-system, sans-serif;
  --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--charcoal); font-family: var(--font); font-size: 1.0625rem; line-height: 1.75;
  text-rendering: optimizeLegibility; overflow-wrap: anywhere;
}
html[lang="en"] body { line-height: 1.65; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.3; margin: 0 0 .6em; color: var(--charcoal); text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); } h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); } h3 { font-size: 1.2rem; } h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; } ul, ol { padding-inline-start: 1.4em; }
a { color: var(--teal); text-underline-offset: .2em; text-decoration-thickness: .08em; } a:hover { color: var(--teal-dark); }
img, svg, video { max-width: 100%; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .demo-bar :focus-visible { outline-color: var(--ivory); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--charcoal); color: var(--ivory); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 8px; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)); }
@media (min-width: 720px) { :root { --gutter: 28px; } }
.narrow { max-width: 780px; } .narrow-left { max-width: 760px; }
.center { text-align: center; justify-content: center; } .muted { color: var(--muted); } .fine { font-size: .9rem; color: var(--muted); }
.row { display: flex; align-items: center; } .row.wrap { flex-wrap: wrap; } .row.between { justify-content: space-between; gap: 12px; }
.gap { gap: 14px; } .gap-sm { gap: 8px; } .stack { display: grid; gap: 16px; } .stack-lg { display: grid; gap: 32px; }
.ltr { unicode-bidi: isolate; direction: ltr; } .money { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.tbc { color: var(--muted); font-style: normal; } .free-tag { font-weight: 700; color: var(--teal-dark); unicode-bidi: isolate; }
.icon { flex: none; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } [dir="rtl"] .icon-dir, [dir="rtl"] .flip { transform: scaleX(-1); } .flip { transform: scaleX(-1); } [dir="rtl"] .flip { transform: none; }
.spin { animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.noscript, .page-loading { padding: 24px; text-align: center; } .page-loading { display: flex; gap: 10px; align-items: center; justify-content: center; min-height: 40vh; color: var(--muted); }

/* ---------- header ---------- */
.demo-bar { background: var(--charcoal); color: var(--ivory); text-align: center; font-size: .9rem; padding: 6px var(--gutter); display: flex; gap: 8px; align-items: center; justify-content: center; }
.demo-bar .icon { color: var(--ivory); }
.site-header { background: var(--ivory); border-bottom: 1px solid color-mix(in srgb, var(--gray) 45%, transparent); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-block: 10px; }
.brand { min-width: 0; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--charcoal); font-weight: 700; font-size: 1.1rem; margin-inline-end: auto; }
.brand img { border-radius: 50%; } .brand:hover { color: var(--teal-dark); }
.menu-btn { background: none; border: 1.5px solid var(--gray); border-radius: 10px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--charcoal); cursor: pointer; }
.site-nav { display: none; width: 100%; order: 5; flex-direction: column; border-top: 1px solid color-mix(in srgb, var(--gray) 35%, transparent); padding-top: 8px; }
.nav-open .site-nav { display: flex; }
.site-nav > a { padding: 12px 6px; text-decoration: none; color: var(--charcoal); font-weight: 600; border-radius: 8px; }
.site-nav > a:hover { background: var(--ivory-deep); }
.site-nav > a[aria-current="page"] { color: var(--teal-dark); box-shadow: inset 0 -3px 0 var(--copper); }
.header-actions { display: flex; align-items: center; gap: 10px; order: 2; }
.header-actions .cta-book, .header-actions .acct { display: none; } .nav-extras { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 6px 16px; border-top: 1px solid color-mix(in srgb, var(--gray) 35%, transparent); margin-top: 6px; }
.menu-btn { order: 3; }
.lang-switch { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--charcoal); border-radius: 999px; padding: 3px 12px; background: var(--white); }
.lang-opt { text-decoration: none; padding: 4px 8px; white-space: nowrap; border-radius: 999px; color: var(--charcoal); font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.lang-opt.is-current { background: var(--charcoal); color: var(--ivory); } .lang-opt:not(.is-current):hover { background: var(--ivory-deep); } .lang-sep { color: var(--muted); }
@media (min-width: 1040px) {
  .menu-btn { display: none; } .nav-extras { display: none; } .header-actions .acct { display: block; }
  .site-nav { display: flex; flex-direction: row; width: 100%; order: 5; padding-top: 0; gap: 4px; margin-top: -2px; }
  .header-actions .cta-book { display: inline-flex; } .site-nav > a { padding: 10px 14px; border-radius: 8px 8px 0 0; }
  .header-row { padding-block-end: 0; } .site-nav > a[aria-current="page"] { background: var(--ivory-deep); }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 2px solid transparent; font-family: var(--font); font-size: 1rem; font-weight: 600; line-height: 1.3; cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.btn-sm { min-height: 40px; padding: 4px 14px; font-size: .95rem; } .btn-lg { min-height: 52px; padding: 10px 28px; font-size: 1.1rem; } .btn-block { width: 100%; }
.btn-primary { background: var(--teal); color: var(--white); } .btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-secondary { background: transparent; color: var(--teal-dark); border-color: var(--teal); } .btn-secondary:hover { background: var(--teal-tint); color: var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--teal-dark); } .btn-ghost:hover { background: var(--ivory-deep); }
.btn-light { background: var(--ivory); color: var(--charcoal); } .btn-light:hover { background: var(--white); color: var(--charcoal); }
.btn-danger { background: var(--danger); color: var(--white); } .btn-danger-ghost { background: transparent; color: var(--danger); border-color: var(--danger); } .btn-danger-ghost:hover { background: var(--danger-tint); color: var(--danger); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: not-allowed; }

/* ---------- sections ---------- */
.hero { padding-block: clamp(36px, 7vw, 88px); background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-deep) 100%); }
.hero-grid { display: grid; gap: 32px; align-items: center; } .hero-art img { width: 100%; height: auto; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.eyebrow { color: var(--teal-dark); font-weight: 700; letter-spacing: .02em; margin-bottom: .4em; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 36px; height: 3px; background: var(--copper); border-radius: 2px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; } .hero-note { margin-top: 14px; }
.page-hero { background: var(--ivory-deep); padding-block: clamp(28px, 5vw, 56px); border-bottom: 1px solid color-mix(in srgb, var(--gray) 35%, transparent); }
.page-hero h1 { margin-bottom: .3em; } .page-hero .lead { margin: 0; }
.section { padding-block: clamp(32px, 6vw, 72px); } .section-tint { background: var(--ivory-deep); }
.section-dark { background: var(--charcoal); color: var(--ivory); } .section-dark h2, .section-dark h3 { color: var(--ivory); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.section-head h2 { margin: 0 0 .2em; position: relative; padding-block-end: 12px; } .section-head h2::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 48px; height: 3px; background: var(--copper); border-radius: 2px; }
.section-head .lead { margin: 0; font-size: 1.05rem; }
.cta-band { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; } .cta-band p { color: color-mix(in srgb, var(--ivory) 85%, transparent); margin: 0; max-width: 60ch; }
.two-col { display: grid; gap: 32px; } @media (min-width: 960px) { .two-col { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); align-items: start; } .sticky { position: sticky; top: 16px; } }
.steps-list { list-style: none; padding: 0; display: grid; gap: 20px; counter-reset: s; } @media (min-width: 800px) { .steps-list { grid-template-columns: repeat(3, 1fr); } }
.steps-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 20px; border: 1px solid color-mix(in srgb, var(--gray) 40%, transparent); }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.steps-list h3 { margin-bottom: .2em; } .steps-list p { margin: 0; color: var(--muted); }

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card, .panel, .form-card { background: var(--white); border: 1px solid color-mix(in srgb, var(--gray) 40%, transparent); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card { display: flex; flex-direction: column; gap: 10px; } .card h3 { margin: 0; } .card h3 a { color: var(--charcoal); text-decoration: none; } .card h3 a:hover { color: var(--teal-dark); text-decoration: underline; }
.card-text { color: var(--muted); margin: 0; flex: 1; } .card-tags { display: flex; flex-wrap: wrap; gap: 8px; } .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.card-cta { align-self: flex-start; } .when-line { display: flex; gap: 8px; align-items: flex-start; margin: 0; } .when-line .icon { margin-top: .35em; color: var(--teal); }
.meta-row { display: flex; gap: 24px; margin: 0; flex-wrap: wrap; } .meta-row dt { font-size: .85rem; color: var(--muted); } .meta-row dd { margin: 0; font-weight: 600; }
.person-card .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-dark); display: grid; place-items: center; border: 2px solid var(--copper); }
.person-title { color: var(--muted); margin: 0; } .form-card { padding: clamp(18px, 4vw, 32px); } .panel h2 { font-size: 1.3rem; }
.tz .tz-alt, .tz-alt { color: var(--muted); font-size: .9em; } .tz { color: var(--muted); }
.legend { list-style: none; padding: 0; display: grid; gap: 8px; margin: 0 0 24px; } .legend li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- badges & notes (never colour-only: each has an icon and text) ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: .85rem; font-weight: 600; line-height: 1.6; border: 1.5px solid var(--gray); background: var(--white); color: var(--charcoal); }
.badge-ok { background: var(--ok-tint); border-color: var(--teal); } .badge-ok .icon { color: var(--teal-dark); }
.badge-wait { background: var(--warn-tint); border-color: var(--copper); } .badge-wait .icon { color: #7A4A1C; }
.badge-bad { background: var(--danger-tint); border-color: var(--danger); } .badge-bad .icon { color: var(--danger); }
.badge-info { background: var(--info-tint); border-color: var(--teal); } .badge-draft { border-style: dashed; background: var(--warn-tint); }
.badge-public .icon { color: var(--teal-dark); } .badge-purchased { border-color: var(--copper); }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--info-tint); border-inline-start: 4px solid var(--teal); padding: 12px 14px; border-radius: var(--radius-sm); margin: 0 0 1em; }
.note .icon { margin-top: .3em; color: var(--teal-dark); } .note-ok { background: var(--ok-tint); } .note-warn { background: var(--warn-tint); border-color: var(--copper); }
.placeholder, mark.placeholder { background: var(--warn-tint); color: var(--charcoal); border: 1px dashed var(--copper); border-radius: 6px; padding: 0 6px; font-weight: 600; }
.placeholder-block { background: var(--warn-tint); border: 1px dashed var(--copper); padding: 12px 14px; border-radius: var(--radius-sm); }
.locked-preview { background: var(--ivory-deep); border: 1.5px dashed var(--gray); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; } .check-list li { display: flex; gap: 10px; align-items: flex-start; } .check-list .icon { margin-top: .3em; color: var(--teal); }
.todo .icon { color: #7A4A1C; } .plain-list { list-style: none; padding: 0; display: grid; gap: 6px; } .plain-ol { padding-inline-start: 1.4em; display: grid; gap: 4px; }
.prose { max-width: 75ch; } .prose h2 { margin-top: 1.6em; font-size: 1.4rem; } .policy h2 { font-size: 1.25rem; } .policy ul { display: grid; gap: 6px; }

/* ---------- facts / price lines ---------- */
.facts { display: grid; gap: 14px; margin: 0 0 16px; } .fact { display: flex; gap: 12px; align-items: flex-start; } .fact dt { font-size: .85rem; color: var(--muted); } .fact dd { margin: 0; font-weight: 600; } .fact-ic { color: var(--teal); margin-top: .3em; }
.panel-cta { display: grid; gap: 10px; margin-top: 8px; } .panel-cta .btn { width: 100%; }
.price-lines { display: grid; gap: 4px; margin: 0; border-block: 1px solid color-mix(in srgb, var(--gray) 50%, transparent); padding-block: 10px; } .price-lines > div { display: flex; justify-content: space-between; gap: 12px; } .price-lines dt { color: var(--muted); } .price-lines dd { margin: 0; } .price-lines .total { font-weight: 700; font-size: 1.1rem; } .price-lines .total dt { color: var(--charcoal); }
.review-list { display: grid; gap: 10px; margin: 0; } .review-list dt { font-size: .85rem; color: var(--muted); } .review-list dd { margin: 0; font-weight: 600; }
.contact-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; } .contact-dl dt { color: var(--muted); font-size: .9rem; } .contact-dl dd { margin: 0; }
.site-footer .contact-dl dt { color: color-mix(in srgb, var(--ivory) 80%, transparent); }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; } .field label { font-weight: 600; } .req { color: var(--danger); } .opt { font-weight: 400; color: var(--muted); font-size: .9rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="url"], input[type="number"], input[type="date"], input[type="time"], input[type="datetime-local"], input[type="search"], input:not([type]), select, textarea {
  width: 100%; min-height: 46px; padding: 9px 14px; font-family: var(--font); font-size: 1rem; line-height: 1.5; color: var(--charcoal); background: var(--white); border: 1.5px solid var(--gray); border-radius: 10px;
}
textarea { resize: vertical; min-height: 96px; } input[dir="ltr"] { text-align: start; } [dir="rtl"] input[dir="ltr"] { text-align: left; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--charcoal); } input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
[aria-invalid="true"] { border-color: var(--danger) !important; border-width: 2px; }
input[readonly] { background: var(--ivory-deep); }
.field-check { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: flex-start; } .field-check input { width: 24px; height: 24px; margin: 3px 0 0; accent-color: var(--teal); flex: none; } .field-check label { flex: 1; font-weight: 400; min-width: 0; } .field-check .hint { flex-basis: 100%; margin-inline-start: 36px; }
.hint { margin: 0; font-size: .9rem; color: var(--muted); }
.field-error { display: flex; gap: 6px; align-items: flex-start; margin: 0; color: var(--danger); font-weight: 600; font-size: .95rem; } .field-error .icon { margin-top: .25em; }
.form-alert { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--danger); background: var(--danger-tint); color: var(--charcoal); margin: 0 0 12px; font-weight: 600; }
.form-alert .icon { margin-top: .3em; flex: none; } .form-alert > span { flex: 1; min-width: 12ch; }
.alert-info { border-color: var(--teal); background: var(--info-tint); } .alert-success { border-color: var(--teal); background: var(--ok-tint); } .alert-error .icon { color: var(--danger); }
.pw-wrap { display: flex; gap: 6px; align-items: stretch; } .pw-wrap input { flex: 1; }
.auth-wrap { max-width: 520px; } .filters { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: end; margin-bottom: 18px; background: var(--white); padding: 18px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--gray) 40%, transparent); }
.filter-actions { display: flex; gap: 8px; flex-wrap: wrap; } .result-count { color: var(--muted); }
.admin-fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } .admin-fields .field:has(textarea) { grid-column: 1 / -1; }
.avail-day { border: 1px solid color-mix(in srgb, var(--gray) 50%, transparent); border-radius: var(--radius-sm); padding: 10px 14px; margin: 0 0 10px; } .avail-day legend { font-weight: 700; padding-inline: 6px; } .avail-row { align-items: end; }
fieldset { border: 1px solid color-mix(in srgb, var(--gray) 50%, transparent); border-radius: var(--radius-sm); } legend { padding-inline: 6px; font-weight: 700; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--gray) 40%, transparent); }
.table { width: 100%; border-collapse: collapse; } .table th { text-align: start; background: var(--ivory-deep); font-size: .9rem; padding: 10px 12px; white-space: nowrap; } .table td { padding: 10px 12px; border-top: 1px solid color-mix(in srgb, var(--gray) 30%, transparent); vertical-align: top; }
@media (max-width: 760px) { .responsive thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .responsive tr { display: block; border-top: 6px solid var(--ivory); padding: 6px 0; } .responsive td { display: flex; gap: 12px; justify-content: space-between; border: 0; padding: 6px 12px; } .responsive td::before { content: attr(data-label); font-weight: 600; color: var(--muted); flex: none; } .responsive td[data-label=""]::before { content: none; } }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } .stat { background: var(--white); border: 1px solid color-mix(in srgb, var(--gray) 40%, transparent); border-radius: var(--radius); padding: 16px; display: grid; } .stat strong { font-size: 1.6rem; color: var(--teal-dark); } .stat span { color: var(--muted); }

/* ---------- tabs ---------- */
.tablist { display: flex; gap: 4px; overflow-x: auto; border-bottom: 2px solid color-mix(in srgb, var(--gray) 45%, transparent); margin-bottom: 20px; scrollbar-width: thin; }
.tab { background: none; border: 0; padding: 10px 16px; font: 600 1rem var(--font); color: var(--charcoal); cursor: pointer; border-bottom: 4px solid transparent; margin-bottom: -2px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.tab:hover { background: var(--ivory-deep); } .tab[aria-selected="true"] { color: var(--teal-dark); border-bottom-color: var(--copper); } .tab-count { background: var(--charcoal); color: var(--ivory); border-radius: 999px; font-size: .78rem; padding: 0 8px; line-height: 1.7; }
.tabpanel:focus-visible { outline-offset: 6px; } .appt-card { margin-bottom: 14px; }

/* ---------- state boxes, toasts, dialog ---------- */
.state-box { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 36px 16px; background: var(--white); border: 1px dashed var(--gray); border-radius: var(--radius); } .state-box .icon { color: var(--teal); } .state-box h1, .state-box h2 { margin: 0; font-size: 1.4rem; } .state-box p { margin: 0; max-width: 56ch; color: var(--muted); }
.toasts { position: fixed; inset-inline-end: 16px; bottom: 16px; display: grid; gap: 10px; z-index: 90; max-width: min(92vw, 420px); }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--charcoal); color: var(--ivory); box-shadow: var(--shadow); } .toast .icon { margin-top: .25em; }
.toast-error { border-inline-start: 6px solid var(--copper); } .toast-success { border-inline-start: 6px solid #6FC1B6; }
.dialog { border: 0; border-radius: var(--radius); padding: 0; max-width: min(92vw, 560px); width: 100%; background: var(--ivory); color: var(--charcoal); box-shadow: 0 20px 60px rgb(0 0 0 / .35); } .dialog-wide { max-width: min(96vw, 860px); }
.dialog::backdrop { background: rgb(36 38 43 / .6); } .dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid color-mix(in srgb, var(--gray) 40%, transparent); } .dialog-head h2 { margin: 0; font-size: 1.25rem; }
.dialog-body { padding: 20px; max-height: 72vh; overflow: auto; } .dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 0 20px 20px; } .dialog-body .dialog-actions { padding: 0; }

/* ---------- booking ---------- */
.stepper { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0; margin: 0 0 28px; }
.stepper li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; } .step-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--gray); background: var(--white); color: var(--charcoal); font-size: .9rem; }
.stepper .current { color: var(--charcoal); } .stepper .current .step-dot { background: var(--teal); border-color: var(--teal); color: var(--white); } .stepper .done .step-dot { background: var(--ok-tint); border-color: var(--teal); color: var(--teal-dark); }
.choice-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.choice { width: 100%; text-align: start; display: grid; gap: 6px; background: var(--white); border: 2px solid var(--gray); border-radius: var(--radius); padding: 16px; font: inherit; color: var(--charcoal); cursor: pointer; }
.choice:hover:not([disabled]) { border-color: var(--teal); background: var(--teal-tint); } .choice[disabled] { cursor: not-allowed; background: var(--ivory-deep); border-style: dashed; } .choice-title { font-weight: 700; font-size: 1.1rem; } .choice-meta { color: var(--muted); } .choice-note { display: flex; gap: 6px; font-size: .9rem; color: var(--charcoal); }
.slot-layout { display: grid; gap: 20px; } @media (min-width: 760px) { .slot-layout { grid-template-columns: minmax(350px, 400px) 1fr; align-items: start; } }
.calendar { background: var(--white); border: 1px solid color-mix(in srgb, var(--gray) 45%, transparent); border-radius: var(--radius); padding: 12px; } .cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .cal-title { margin: 0; font-size: 1.05rem; text-align: center; }
.cal-grid { display: grid; gap: 4px; margin-top: 8px; } .cal-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; } .cal-wd { text-align: center; font-size: .74rem; font-weight: 700; color: var(--muted); padding: 4px 0; white-space: nowrap; } .cal-empty { display: block; }
.cal-day { width: 100%; min-height: 48px; border-radius: 10px; border: 1.5px solid transparent; background: transparent; font: 600 1rem var(--font); color: var(--charcoal); display: grid; place-items: center; align-content: center; gap: 0; padding: 2px; cursor: pointer; line-height: 1.2; }
.cal-day.has { border-color: var(--teal); background: var(--white); } .cal-day.has:hover { background: var(--teal-tint); } .cal-day.none { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; cursor: not-allowed; font-weight: 400; }
.cal-day.sel { background: var(--teal); color: var(--white); border-color: var(--teal); } .cal-count { font-size: .7rem; font-weight: 600; display: inline-flex; align-items: center; } .cal-day.has .cal-count { color: var(--teal-dark); } .cal-day.sel .cal-count { color: var(--white); }
.slot-list { background: var(--white); border: 1px solid color-mix(in srgb, var(--gray) 45%, transparent); border-radius: var(--radius); padding: 16px; min-height: 120px; } .slot-list h3 { font-size: 1.05rem; }
.slot-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); } .slot-day { margin: 0 0 12px; }
.slot { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: 48px; border-radius: 10px; border: 2px solid var(--teal); background: var(--white); color: var(--teal-dark); font: 700 1rem var(--font); cursor: pointer; padding: 4px 8px; }
.slot:hover { background: var(--teal-tint); } .slot.sel { background: var(--teal); color: var(--white); } .slot-alt { font-size: .75rem; font-weight: 400; } .slot.sel .slot-alt { color: var(--white); }
.tz-note { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .95rem; } .countdown { font-variant-numeric: tabular-nums; font-weight: 700; } .media { width: 100%; border-radius: var(--radius-sm); margin-block: 12px; background: var(--charcoal); }

.licensed { margin-top: 2.2em; padding-top: 1.2em; border-top: 2px solid color-mix(in srgb, var(--copper) 60%, transparent); } .licensed .check-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: var(--ivory); padding-block: 40px 20px; margin-top: 0; }
.site-footer a { color: var(--ivory); } .site-footer a:hover { color: var(--white); text-decoration-color: var(--copper); } .site-footer :focus-visible { outline-color: var(--ivory); }
.site-footer .fine, .site-footer p { color: color-mix(in srgb, var(--ivory) 85%, transparent); } .site-footer .placeholder { color: var(--charcoal); }
.footer-grid { display: grid; gap: 28px; } @media (min-width: 860px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-h { color: var(--ivory); font-size: 1.05rem; padding-block-end: 8px; border-block-end: 2px solid var(--copper); display: inline-block; } .footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid color-mix(in srgb, var(--ivory) 25%, transparent); margin-top: 28px; padding-top: 16px; } .footer-base p { margin: 0; }

/* ---------- demo gateway page ---------- */
.gw-body { display: grid; place-items: center; min-height: 100vh; padding: 16px; } .gw-card { background: var(--white); border-radius: var(--radius); padding: 28px; max-width: 460px; width: 100%; box-shadow: var(--shadow); border: 1px solid var(--gray); }
.gw-banner { background: var(--charcoal); color: var(--ivory); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 700; } .gw-actions { display: grid; gap: 10px; margin: 16px 0; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .btn, .badge, .slot, .cal-day.has { border: 2px solid ButtonText; } .cal-day.sel, .slot.sel { outline: 3px solid Highlight; } }

/* =====================================================================================
   DESIGN LAYER v2 — spacing, imagery, motion. Brand tokens unchanged.
   All decorative motion lives inside prefers-reduced-motion: no-preference.
   ===================================================================================== */
:root {
  --space-section: clamp(64px, 9vw, 132px); --space-head: clamp(28px, 4vw, 52px); --gap-card: clamp(20px, 2.4vw, 32px);
  --radius-lg: 22px; --ease: cubic-bezier(.22, .8, .24, 1); --shadow-lg: 0 2px 4px rgb(36 38 43 / .05), 0 18px 48px rgb(36 38 43 / .12);
  --ink-overlay: rgb(36 38 43 / .66);
}
body { font-size: 1.0625rem; letter-spacing: .005em; }
.section { padding-block: var(--space-section); }
.section-head { margin-bottom: var(--space-head); align-items: flex-end; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section-head .lead { margin-top: .4em; }
.card-grid { gap: var(--gap-card); }
.container { max-width: 1240px; }
h1 { letter-spacing: -.01em; } .lead { line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }

/* ---- sticky, calmer header ---- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--ivory) 92%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .25s var(--ease); }
.site-header.scrolled { box-shadow: 0 6px 24px rgb(36 38 43 / .10); }
.brand img { width: 46px; height: 44px; border-radius: 0; object-fit: contain; }
.brand-name { font-size: 1.05rem; line-height: 1.2; max-width: 12ch; }
.header-row { padding-block: 8px; }
@media (min-width: 1240px) {
  .site-header .container.header-row { max-width: 1400px; flex-wrap: nowrap; gap: 16px; }
  .site-nav { order: 0 !important; width: auto !important; flex: 1; justify-content: center; margin: 0 !important; gap: 2px !important; }
  .site-nav > a { padding: 10px 9px !important; border-radius: 10px !important; font-size: .96rem; position: relative; white-space: nowrap; flex: none; }
  .header-actions { gap: 8px !important; } .header-actions .lang-switch { padding-inline: 8px; } .header-actions .btn-sm { padding-inline: 12px; }
  .brand { flex: none; }
  .site-nav > a[aria-current="page"] { background: transparent !important; box-shadow: none !important; }
  .site-nav > a::after { content: ""; position: absolute; inset-inline: 9px; bottom: 4px; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: center; transition: transform .25s var(--ease); border-radius: 2px; }
  .site-nav > a:hover::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); }
  .header-actions { order: 0 !important; flex: none; }
}

/* ---- hero with video ---- */
.hero { position: relative; isolation: isolate; color: var(--ivory); background: var(--charcoal); padding: 0; min-height: clamp(560px, 86vh, 820px); display: grid; align-items: center; overflow: hidden; }
.hero-bg, .hero-bg > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg { z-index: -2; } .hero-bg video { opacity: 0; transition: opacity 1.2s var(--ease); } .hero-bg video.on { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgb(24 26 30 / .84) 0%, rgb(24 26 30 / .72) 48%, rgb(15 109 115 / .34) 100%); }
[dir="rtl"] .hero::before { background: linear-gradient(255deg, rgb(24 26 30 / .84) 0%, rgb(24 26 30 / .72) 48%, rgb(15 109 115 / .34) 100%); }
.hero h1, .hero .lead { color: var(--ivory); } .hero .lead { max-width: 56ch; font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.8rem); max-width: 18ch; }
.hero-inner { padding-block: clamp(72px, 12vw, 150px); display: grid; gap: 28px; }
.hero .eyebrow { color: var(--ivory); } .hero .eyebrow::before { background: var(--copper); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-outline-light { background: transparent; color: var(--ivory); border-color: color-mix(in srgb, var(--ivory) 70%, transparent); }
.btn-outline-light:hover { background: var(--ivory); color: var(--charcoal); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 8px 0 0; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgb(247 244 239 / .12); border: 1px solid rgb(247 244 239 / .32); backdrop-filter: blur(6px); font-size: .93rem; }
.hero-toggle { position: absolute; inset-inline-end: 18px; bottom: 18px; z-index: 3; display: none; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; border-radius: 999px; background: rgb(24 26 30 / .72); color: var(--ivory); border: 1px solid rgb(247 244 239 / .45); font: 600 .9rem var(--font); cursor: pointer; }
.hero-toggle.show { display: inline-flex; } .hero-toggle:hover { background: var(--ivory); color: var(--charcoal); }
.scroll-cue { position: absolute; bottom: 14px; inset-inline-start: 50%; width: 26px; height: 42px; border: 2px solid rgb(247 244 239 / .6); border-radius: 14px; display: none; }
.scroll-cue::after { content: ""; position: absolute; top: 8px; inset-inline-start: 50%; width: 4px; height: 8px; margin-inline-start: -2px; border-radius: 2px; background: var(--ivory); }
@media (min-width: 900px) { .scroll-cue { display: block; } }

/* ---- trust strip ---- */
.trust { background: var(--white); border-bottom: 1px solid color-mix(in srgb, var(--gray) 35%, transparent); }
.trust ul { list-style: none; display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 0; padding: 22px 0; }
.trust li { display: flex; align-items: center; gap: 12px; } .trust .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-dark); }
.trust small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.3; } .trust strong { display: block; line-height: 1.35; }

/* ---- photo cards ---- */
.svc-card, .ev-card { padding: 0; overflow: hidden; border-radius: var(--radius-lg); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ivory-deep); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card-media .badge { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; box-shadow: 0 4px 14px rgb(36 38 43 / .18); }
.card-body { padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 1.25rem; }
.next-slot { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--teal-dark); margin: 0; }
.badge-soon { background: var(--warn-tint); border-color: var(--copper); } .badge-soon .icon { color: #7A4A1C; }
.badge-live { background: var(--ok-tint); border-color: var(--teal); }

/* ---- feature / process ---- */
.steps-list li { flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.steps-list li::after { content: attr(data-n); position: absolute; inset-inline-end: 18px; top: 4px; font-size: 5rem; font-weight: 700; line-height: 1; color: color-mix(in srgb, var(--copper) 18%, transparent); pointer-events: none; }
.step-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--teal); color: var(--white); }

/* ---- coming soon panel ---- */
.soon { position: relative; display: grid; border-radius: calc(var(--radius-lg) + 4px); overflow: hidden; background: var(--charcoal); color: var(--ivory); box-shadow: var(--shadow-lg); isolation: isolate; }
.soon > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.soon::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(24 26 30 / .9), rgb(24 26 30 / .72)); }
[dir="rtl"] .soon::before { background: linear-gradient(260deg, rgb(24 26 30 / .9), rgb(24 26 30 / .72)); }
.soon-inner { padding: clamp(28px, 6vw, 72px); display: grid; gap: 18px; max-width: 640px; }
.soon h2, .soon h3 { color: var(--ivory); margin: 0; } .soon p { margin: 0; color: color-mix(in srgb, var(--ivory) 92%, transparent); }
.soon .pill { justify-self: start; display: inline-flex; gap: 8px; align-items: center; padding: 4px 14px; border-radius: 999px; background: var(--ivory); color: var(--charcoal); font-weight: 700; font-size: .9rem; }
.soon form { display: grid; gap: 12px; margin-top: 6px; } .soon .row-form { display: flex; flex-wrap: wrap; gap: 10px; }
.soon input[type="email"] { flex: 1 1 240px; border-color: var(--ivory); } .soon .field label, .soon .field-check label { color: var(--ivory); } .soon a { color: var(--ivory); }
.soon .field-error { color: #FFD9D3; } .soon .hint { color: color-mix(in srgb, var(--ivory) 85%, transparent); }
.soon .field-check input { accent-color: var(--copper); }

/* ---- photo band / CTA ---- */
.photo-band { position: relative; isolation: isolate; color: var(--ivory); background: var(--charcoal); overflow: hidden; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(24 26 30 / .9), rgb(24 26 30 / .72)); }
[dir="rtl"] .photo-band::before { background: linear-gradient(260deg, rgb(24 26 30 / .9), rgb(24 26 30 / .72)); }
.photo-band h2, .photo-band h3 { color: var(--ivory); } .quote { font-size: clamp(1.35rem, 2.8vw, 2rem); line-height: 1.6; max-width: 30ch; font-weight: 600; margin: 0; }
.quote::before { content: ""; display: block; width: 56px; height: 4px; background: var(--copper); border-radius: 2px; margin-bottom: 22px; }

/* ---- social + whatsapp ---- */
.social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; flex-wrap: wrap; }
.social a { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; color: inherit; transition: transform .25s var(--ease), background-color .2s, color .2s; }
.site-footer .social a { color: var(--ivory); } .site-footer .social a:hover { background: var(--ivory); color: var(--charcoal); transform: translateY(-3px); }
.panel .social a { color: var(--teal-dark); } .panel .social a:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.wa-fab { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--teal); color: var(--white); text-decoration: none; font-weight: 700; box-shadow: var(--shadow-lg); border: 2px solid var(--ivory); }
.wa-fab:hover { background: var(--teal-dark); color: var(--white); } .wa-fab span { display: none; } @media (min-width: 720px) { .wa-fab span { display: inline; } }
.wa-fab .icon { width: 26px; height: 26px; }
.site-footer { padding-block: clamp(48px, 7vw, 88px) 24px; } .footer-logo { width: 74px; height: auto; margin-bottom: 14px; }
.hero-toggle:focus-visible, .wa-fab:focus-visible { outline: 3px solid var(--ivory); outline-offset: 3px; box-shadow: 0 0 0 6px var(--charcoal); }

/* ---- listing page heroes with a photo ---- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--charcoal); color: var(--ivory); padding-block: clamp(48px, 8vw, 104px); border: 0; }
.page-hero > .bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(24 26 30 / .88), rgb(24 26 30 / .72)); }
[dir="rtl"] .page-hero::before { background: linear-gradient(260deg, rgb(24 26 30 / .88), rgb(24 26 30 / .72)); }
.page-hero h1, .page-hero .lead { color: var(--ivory); } .page-hero .fine, .page-hero .card-tags .badge { color: var(--charcoal); } .page-hero a { color: var(--ivory); }

/* ---- skeleton loading ---- */
.skeleton { background: linear-gradient(90deg, var(--ivory-deep) 25%, color-mix(in srgb, var(--ivory-deep) 60%, var(--white)) 50%, var(--ivory-deep) 75%); background-size: 200% 100%; border-radius: var(--radius); min-height: 220px; }
.page-loading { min-height: 50vh; }

/* ---- motion (opt-in) ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
  .reveal.in { opacity: 1; transform: none; }
  .main > * { animation: pagein .5s var(--ease) both; } @keyframes pagein { from { opacity: 0; transform: translateY(10px); } }
  .hero-inner > * { animation: rise .9s var(--ease) both; } .hero-inner > *:nth-child(2) { animation-delay: .12s; } .hero-inner > *:nth-child(3) { animation-delay: .24s; } .hero-inner > *:nth-child(4) { animation-delay: .36s; } .hero-inner > *:nth-child(5) { animation-delay: .48s; }
  @keyframes rise { from { opacity: 0; transform: translateY(30px); } }
  .hero:not(.has-video) .hero-bg img { animation: kenburns 28s ease-in-out infinite alternate; } @keyframes kenburns { to { transform: scale(1.12) translate(-1.5%, -1%); } }
  .scroll-cue::after { animation: wheel 1.8s ease-in-out infinite; } @keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
  .svc-card:hover, .ev-card:hover, .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .svc-card:hover .card-media img, .ev-card:hover .card-media img { transform: scale(1.07); }
  .btn { transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s; } .btn:hover:not([disabled]) { transform: translateY(-2px); } .btn-primary:hover { box-shadow: 0 10px 24px rgb(15 109 115 / .35); } .btn:active { transform: translateY(0); }
  .btn .icon-dir { transition: transform .25s var(--ease); } .btn:hover .icon-dir { transform: translateX(4px); } [dir="rtl"] .btn:hover .icon-dir { transform: scaleX(-1) translateX(4px); }
  .wa-fab { animation: pop .6s var(--ease) 1.2s both, nudge 6s ease-in-out 3s 2; } @keyframes pop { from { opacity: 0; transform: scale(.6) translateY(20px); } } @keyframes nudge { 0%, 90%, 100% { transform: none; } 93% { transform: translateY(-6px); } 96% { transform: translateY(0); } }
  .skeleton { animation: shimmer 1.4s linear infinite; } @keyframes shimmer { to { background-position: -200% 0; } }
  .step-ic { transition: transform .35s var(--ease); } .steps-list li:hover .step-ic { transform: rotate(-6deg) scale(1.08); }
  .tab { transition: color .2s, border-color .2s, background-color .2s; }
  .card-media .badge { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-bg video { display: none; } .hero-toggle { display: none !important; } }
@media (max-width: 899px) { .hero-bg video { display: none; } }
.page-hero.plain { background: var(--ivory-deep); color: var(--charcoal); padding-block: clamp(28px, 5vw, 56px); border-bottom: 1px solid color-mix(in srgb, var(--gray) 35%, transparent); }
.page-hero.plain::before { display: none; } .page-hero.plain h1 { color: var(--charcoal); } .page-hero.plain .lead { color: var(--muted); } .page-hero.plain a { color: var(--teal); }

html, body { overflow-x: clip; }
