/* ==========================================================================
   AlAadiyaat AlHaditha — workshop site
   Paper / charcoal / logo-red. Alexandria (display) + IBM Plex Sans Arabic.
   ========================================================================== */
:root {
  --paper:   #f5f2ed;
  --paper-2: #ebe6dd;
  --card:    #fffdfa;
  --ink:     #16181b;
  --ink-2:   #3a3d42;
  --muted:   #6e695f;
  --line:    #dbd4c8;
  --line-2:  #c9c1b3;
  --red:     #b3121b;
  --red-2:   #8f0e15;
  --red-tint:#f5e2e0;
  --char:    #1b1e22;
  --char-2:  #272b30;
  --char-line: rgba(255,255,255,.1);
  --ok:      #1e7a46;
  --display: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --body:    'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --r: 6px;
  --gut: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink-2); font: 400 16.5px/1.75 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.ic { flex-shrink: 0; }
[dir="rtl"] .ic-arrow { transform: scaleX(-1); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; inset-inline-start: -9999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { inset-inline-start: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 600 .98rem/1.2 var(--body); padding: .8rem 1.25rem; border-radius: var(--r); border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-lg { padding: 1rem 1.5rem; font-size: 1.02rem; }
.link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--red); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--red-2); }
.link:hover .ic { translate: 3px 0; }
[dir="rtl"] .link:hover .ic { translate: -3px 0; }
.link .ic { transition: translate .15s; }

/* ---------- Utility bar ---------- */
.util { background: var(--ink); color: #c9c4bb; font-size: .84rem; }
.util-in { display: flex; align-items: center; gap: 1.5rem; min-height: 36px; }
.util-link:hover { color: #fff; }
.util-status { display: inline-flex; align-items: center; gap: .5rem; margin: 0; }
.util-status i { width: 7px; height: 7px; border-radius: 50%; background: #8a857c; }
.util-status.on i { background: #3ecf7a; box-shadow: 0 0 0 3px rgba(62,207,122,.18); }
.util-lang { margin-inline-start: auto; font-weight: 600; color: #fff; padding: 2px 0; border-bottom: 1px solid rgba(255,255,255,.4); }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: rgba(245,242,237,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.mast-in { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .75rem; min-width: 0; margin-inline-end: auto; }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.brand-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.brand-txt b { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: .95rem; }
.brand-txt small { color: var(--red); font-weight: 600; font-size: .8rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { font-weight: 500; color: var(--ink-2); padding: .4rem 0; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.nav a:not(.btn):hover::after, .nav a.is-on::after { transform: scaleX(1); }
.nav-book { padding: .65rem 1.1rem; }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: var(--r); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { width: 18px; height: 2px; background: var(--ink); transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.kicker { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-weight: 600; font-size: .92rem; color: var(--ink-2); margin-bottom: 1.4rem; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.kicker span { color: var(--line-2); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.3rem); font-weight: 800; line-height: 1.08; margin-bottom: .45em; letter-spacing: -.025em; }
[dir="rtl"] .hero h1 { line-height: 1.3; letter-spacing: 0; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-lead { font-size: 1.15rem; max-width: 32em; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 2rem; }
.proof { display: inline-flex; align-items: center; gap: .6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .92rem; }
.proof b { font-family: var(--display); font-size: 1.1rem; color: var(--ink); }
.proof span { color: var(--muted); }
.proof:hover span { color: var(--ink); text-decoration: underline; }
.stars-static { display: inline-flex; gap: 2px; }
.stars-static i { width: 15px; height: 15px; background: linear-gradient(90deg, #e9a400 var(--f), var(--line-2) var(--f)); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
[dir="rtl"] .stars-static { transform: scaleX(-1); }

.hero-fig { margin: 0; }
.hero-fig img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--r); }
.art-panel { background: var(--char); border-radius: var(--r); padding: 1rem .75rem .5rem; position: relative; overflow: hidden; }
.art-panel::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: repeating-linear-gradient(-45deg, #e8d8a4 0 10px, var(--char) 10px 20px); opacity: .5; }
.hero-art { width: 100%; height: auto; display: block; }
.art-label { font: 600 13px var(--body); fill: #b9b3a8; letter-spacing: .08em; text-transform: uppercase; }
.art-label-after { fill: #fff; }
.hero-fig figcaption { margin-top: .75rem; font-size: .88rem; color: var(--muted); display: flex; gap: .5rem; align-items: center; }
.hero-fig figcaption::before { content: ""; width: 14px; height: 1px; background: var(--muted); }

/* ---------- Service strip ---------- */
.strip { background: var(--char); color: #e9e4db; }
.strip-in { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; padding-top: .95rem; padding-bottom: .95rem; }
.strip-in::-webkit-scrollbar { display: none; }
.strip span { white-space: nowrap; font-weight: 500; font-size: .95rem; display: inline-flex; align-items: center; }
.strip span + span::before { content: ""; width: 6px; height: 6px; background: var(--red); margin-inline: 1.3rem; transform: rotate(45deg); }

/* ---------- Sections ---------- */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-tint { background: var(--paper-2); }
.sec-dark { background: var(--char); color: #cfc9bf; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.label { display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: .8rem; }
.label b { font-family: var(--display); color: var(--red); font-weight: 700; }
.label::after { content: ""; flex: 0 0 36px; height: 1px; background: currentColor; opacity: .5; }
.sec-dark .label { color: #9a958b; }

/* Services list */
.split { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split-head { position: sticky; top: 110px; }
.split-head .muted { max-width: 24em; }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.svc li { border-bottom: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: 1rem; align-items: start; padding: 1.4rem .5rem; transition: background .15s; }
.svc-row:hover { background: var(--card); }
.svc-n { font-family: var(--display); font-weight: 600; color: var(--muted); font-size: .95rem; padding-top: .2rem; }
.svc-row:hover .svc-n { color: var(--red); }
.svc-body { display: flex; flex-direction: column; gap: .25rem; }
.svc-t { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.svc-d { color: var(--muted); font-size: .96rem; max-width: 40em; }
.svc-go { width: 42px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: all .2s; }
.svc-row:hover .svc-go { background: var(--red); border-color: var(--red); color: #fff; }

/* Process */
.process-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.process-head h2 { margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps li { border-top: 1px solid var(--char-line); padding-top: 1.3rem; position: relative; }
.steps li::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 40px; height: 2px; background: var(--red); }
.step-n { font-family: var(--display); font-weight: 600; color: #8f8a81; font-size: .9rem; display: block; margin-bottom: .8rem; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; font-size: .95rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); background: var(--paper-2); }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery figure:first-child img { aspect-ratio: auto; height: calc(100% - 2rem); min-height: 300px; }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-txt { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }
.facts { margin: 2.6rem 0 0; border-top: 1.5px solid var(--ink); }
.facts div { padding: 1rem 0; border-bottom: 1px solid var(--line-2); display: grid; gap: .15rem; }
.facts dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 600; color: var(--ink); }

/* Visit */
.visit { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; margin-top: 2rem; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--card); }
.map { min-height: 460px; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: saturate(.85); }
.visit-card { padding: 1.8rem; display: flex; flex-direction: column; gap: 1.6rem; border-inline-start: 1.5px solid var(--ink); }
.vc-block h3 { font-size: .82rem; font-family: var(--body); font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-bottom: .4rem; }
.vc-block p { margin: 0 0 .35rem; color: var(--ink); }
.vc-block .link { margin-top: .6rem; }
.hours { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .38rem 0; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours li.off { color: var(--muted); }
.hours li.today { font-weight: 700; color: var(--ink); }
.hours li.today span:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--red); border-radius: 50%; margin-inline-end: .5rem; vertical-align: middle; }
.vc-actions { display: grid; gap: .5rem; margin-top: auto; }
.vc-actions .btn { justify-content: flex-start; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #aaa49a; padding: 56px 0 0; font-size: .94rem; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 2.2rem; border-bottom: 1px solid var(--char-line); }
.foot-brand { display: flex; align-items: center; gap: 1rem; }
.foot-brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.foot-brand b { display: block; font-family: var(--display); color: #fff; font-size: 1.15rem; font-weight: 700; }
.foot-brand span { color: #d9757a; font-size: .88rem; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 2.2rem 0; }
.foot h4 { font-family: var(--body); color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .03em; margin-bottom: .8rem; }
.foot p { margin: 0 0 .45rem; }
.foot a:hover { color: #fff; }
.foot .dim { color: #77726a; }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 0; border-top: 1px solid var(--char-line); font-size: .84rem; color: #77726a; }

.quickbar { display: none; }
.wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.18); z-index: 60; transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; gap: .5rem; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a:hover { color: var(--red); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; margin-bottom: .3em; }
.page-hero p { max-width: 38em; font-size: 1.08rem; margin: 0; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 96px); }
.page-side { position: sticky; top: 96px; display: grid; gap: 1rem; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; }
.side-card h3 { font-size: 1.05rem; }
.side-card p { font-size: .95rem; }
.side-dark { background: var(--char); border-color: var(--char); color: #cfc9bf; }
.side-dark h3 { color: #fff; }
.side-dark .util-status { font-size: .88rem; margin-bottom: 1rem; }
.side-actions { display: grid; gap: .5rem; }
.mini-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: .9rem; }
.mini-steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: .7rem; font-size: .95rem; color: var(--ink-2); }
.mini-steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 600 .8rem var(--display); color: var(--ink); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 0; }
.fs { border: 0; margin: 0; padding: 0 0 2.2rem; display: grid; gap: 1.1rem; min-width: 0; }
.fs + .fs { border-top: 1px solid var(--line); padding-top: 2rem; }
.fs legend { float: left; width: 100%; display: flex; align-items: center; gap: .75rem; font: 700 1.2rem var(--display); color: var(--ink); margin-bottom: 1.2rem; padding: 0; }
[dir="rtl"] .fs legend { float: right; }
.fs legend + * { clear: both; }
.fs-n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .85rem; flex-shrink: 0; }
.sub-legend { font-weight: 600; color: var(--ink); margin: .6rem 0 0; }
.hint { color: var(--muted); font-size: .88rem; margin: 0; }
.fld { display: grid; gap: .4rem; }
.fld > span { font-weight: 600; font-size: .93rem; color: var(--ink); }
.fld em { color: var(--red); font-style: normal; }
.fld i { font-style: normal; font-weight: 400; color: var(--muted); font-size: .82rem; margin-inline-start: .25rem; }
.fld input, .fld select, .fld textarea {
  font: 400 1rem/1.5 var(--body); width: 100%; padding: .8rem .95rem; background: var(--card); color: var(--ink);
  border: 1.5px solid var(--line-2); border-radius: var(--r); transition: border-color .15s, box-shadow .15s; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--muted); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22,24,27,.1); }
.fld textarea { resize: vertical; }
[dir="rtl"] .fld input[dir="ltr"] { text-align: right; }
.has-error input, .has-error select, .has-error textarea { border-color: #c4262e !important; }
.field-error { color: #b4232a; font-size: .86rem; font-weight: 600; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.submit-row { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; padding-top: .5rem; }
.submit-row .hint { flex: 1; min-width: 200px; }

/* Choice cards (service) */
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; }
.choice input, .day input, .time input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; gap: .7rem; height: 100%; padding: .85rem .95rem; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--card); cursor: pointer; transition: border-color .15s, background .15s; }
.choice span .ic { color: var(--muted); }
.choice b { font-weight: 600; font-size: .94rem; color: var(--ink); line-height: 1.35; }
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--red); background: var(--red-tint); box-shadow: inset 0 0 0 1px var(--red); }
.choice input:checked + span .ic { color: var(--red); }
.choice input:focus-visible + span, .day input:focus-visible + span, .time input:focus-visible + span, .pill input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

/* Day chips */
.days { display: flex; gap: .5rem; overflow-x: auto; padding: 2px 2px .6rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day { flex: 0 0 auto; scroll-snap-align: start; }
.day span { width: 74px; display: flex; flex-direction: column; align-items: center; padding: .55rem .3rem; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--card); cursor: pointer; line-height: 1.3; transition: all .15s; }
.day small { font-size: .74rem; color: var(--muted); white-space: nowrap; }
.day b { font: 700 1.35rem var(--display); color: var(--ink); }
.day:hover span { border-color: var(--ink); }
.day input:checked + span { background: var(--ink); border-color: var(--ink); }
.day input:checked + span b, .day input:checked + span small { color: #fff; }
.day.is-closed span { cursor: not-allowed; opacity: .45; background: transparent; border-style: dashed; }
.day.is-closed b { text-decoration: line-through; }

/* Time chips */
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .45rem; }
.time span { display: block; text-align: center; padding: .55rem .3rem; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--card); cursor: pointer; font-weight: 500; font-size: .92rem; color: var(--ink); transition: all .15s; }
.time:hover span { border-color: var(--ink); }
.time input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.time[hidden] { display: none; }
.days.has-error .day span, .times.has-error .time span { border-color: #e3a6a9; }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill span { display: inline-block; padding: .55rem 1.1rem; border: 1.5px solid var(--line-2); border-radius: 99px; background: var(--card); cursor: pointer; font-weight: 500; color: var(--ink); transition: all .15s; }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills.has-error .pill span { border-color: #e3a6a9; }

/* Segmented control */
.seg { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; margin-bottom: 2rem; }
.seg a { padding: .65rem 1.3rem; font-weight: 600; color: var(--ink); }
.seg a + a { border-inline-start: 1.5px solid var(--ink); }
.seg a.is-on { background: var(--ink); color: #fff; }
.track-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; gap: 1rem; }

/* Ratings */
.rates { display: grid; border-top: 1px solid var(--line); }
.rate { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.rate-l { font-weight: 600; color: var(--ink); }
.rate-yn { border-bottom: 0; padding-top: 1.2rem; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { cursor: pointer; color: var(--line-2); transition: color .1s, transform .1s; display: block; }
.stars label .ic { fill: currentColor; stroke: none; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: #e9a400; }
.stars label:hover { transform: translateY(-2px); }
.stars input:focus-visible + label { outline: 2px solid var(--red); border-radius: 4px; }
.rates.has-error .rate-l::after { content: " *"; color: var(--red); }

/* Results */
.done { text-align: center; padding: 3rem 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin: 0 auto 1.2rem; }
.done h2 { font-size: 1.7rem; }
.done p { max-width: 30em; margin-inline: auto; }
.ticket { display: inline-flex; flex-direction: column; margin: .8rem 0 1.8rem; padding: .9rem 2.2rem; border: 1.5px dashed var(--ink); border-radius: var(--r); background: var(--paper); }
.ticket small { color: var(--muted); font-size: .82rem; }
.ticket strong { font: 700 1.5rem var(--display); color: var(--ink); letter-spacing: .04em; }
.track { margin-top: 1.5rem; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r); padding: 1.5rem; }
.track-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; margin-bottom: .5rem; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.1rem; color: var(--ink); }
.kv { margin: 0; }
.kv div { display: grid; grid-template-columns: 160px 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); font-size: .9rem; }
.kv dd { margin: 0; color: var(--ink); }
.status { display: inline-block; padding: .15rem .75rem; border-radius: 99px; font: 600 .8rem var(--body); }
.status-new { background: #fdf0d8; color: #8a5300; }
.status-under_review { background: #e4ecf8; color: #1d4580; }
.status-in_progress { background: #ece6f7; color: #5a2d9c; }
.status-resolved { background: #e1f2e8; color: #17623a; }
.status-closed { background: var(--paper-2); color: var(--ink-2); }
.status-rejected { background: #f8e1e1; color: #8f1d1d; }

.alert { padding: .9rem 1.1rem; border-radius: var(--r); margin: 1rem 0; font-weight: 500; border: 1px solid; border-inline-start-width: 4px; }
.alert-success { background: #ecf6ef; border-color: #a9d7b9; color: #17623a; }
.alert-error { background: #fbeeee; border-color: #e7b3b3; color: #8f1d1d; }
.alert-info { background: #eef1f5; border-color: #c4ccd8; color: #24364f; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .burger { display: inline-flex; }
  .nav { position: absolute; top: 100%; inset-inline: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gut) 1.2rem; display: none; box-shadow: 0 16px 30px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav-book { margin-top: 1rem; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .about, .page-grid { grid-template-columns: 1fr; }
  .split-head, .page-side { position: static; }
  .visit { grid-template-columns: 1fr; }
  .visit-card { border-inline-start: 0; border-top: 1.5px solid var(--ink); }
  .map, .map iframe { min-height: 320px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .facts { margin-top: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .hide-sm { display: none !important; }
  .util-in { gap: 1rem; font-size: .8rem; }
  .brand-txt b { font-size: .82rem; }
  .brand img { width: 40px; height: 40px; }
  .mast-in { min-height: 64px; gap: .75rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 2.2rem 1fr; padding: 1.1rem 0; }
  .svc-go { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: auto; grid-row: auto; }
  .gallery figure:first-child img { height: auto; min-height: 0; aspect-ratio: 4/3; }
  .foot-cols { grid-template-columns: 1fr; gap: 1.4rem; }
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr 1fr; }
  .times { grid-template-columns: repeat(3, 1fr); }
  .submit-row .btn { width: 100%; }
  .kv div { grid-template-columns: 1fr; gap: .1rem; }
  .seg { display: flex; }
  .seg a { flex: 1; text-align: center; }
  .wa-float { display: none; }
  .quickbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; inset: auto 0 0 0; z-index: 70; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #000; }
  .quickbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .55rem 0 .5rem; color: #e9e4db; font-size: .78rem; font-weight: 600; }
  .quickbar a + a { border-inline-start: 1px solid var(--char-line); }
  .quickbar .qb-book { background: var(--red); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
