/* Café & Laundrette · shared structure for every design.
   Mobile first. Each design sets the variables below and adds its own character in style.css. */

:root {
  --bg: #F6F1E8; --bg-alt: #FBF8F2; --surface: #FFFFFF; --surface-2: #F1EBE0;
  --text: #2B211B; --muted: #5E4B3D; --line: #DCCDB8;
  --accent: #A8492A; --accent-h: #8E3B20; --on-accent: #FFFFFF;
  --dark: #2B211B; --on-dark: #FAF6EF; --on-dark-muted: rgba(250, 246, 239, .8);
  --display: Georgia, serif; --body: system-ui, sans-serif; --label: var(--body);
  --dw: 400; --h1: clamp(2.5rem, 10.5vw, 4.6rem); --h2: clamp(1.8rem, 7vw, 2.8rem); --h3: 1.25rem;
  --r: 12px; --r-lg: 18px; --r-btn: 999px; --r-img: 12px;
  --wrap: 1180px; --gut: 20px; --sec: 64px;
  --shadow: 0 24px 50px -36px rgba(0, 0, 0, .45);
  --focus: 0 0 0 3px rgba(168, 73, 42, .3);
  --kicker-c: var(--accent);
  --field-b: #D5C6B1; --field-bg: #FFFFFF;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--text); background: var(--bg); padding-bottom: 92px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-h); text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: var(--dw); line-height: 1.1; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1.02; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.2em; }
figure { margin: 0; }
strong, b { font-weight: 700; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i--fill { fill: currentColor; stroke: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--dark); color: var(--on-dark); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: var(--sec) 0; }
.tone-alt { background: var(--bg-alt); }
.tone-dark { background: var(--dark); color: var(--on-dark); }

.kicker { font: 700 .76rem/1.3 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--kicker-c); margin: 0 0 1em; }
.head { max-width: 680px; margin-bottom: 30px; }
.head--center { text-align: center; margin-left: auto; margin-right: auto; }
.head__intro { color: var(--muted); font-size: 1.06rem; }
.tone-dark .head__intro { color: var(--on-dark-muted); }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: var(--r-btn); border: 1.5px solid transparent; font: 700 1rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; text-align: center; }
.btn:active { transform: scale(.98); }
.btn .i { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-h); }
.btn--line { border-color: currentColor; color: var(--text); background: transparent; }
.btn--line:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.btn--cream { background: var(--on-dark); color: var(--dark); }
.btn--line-light { border-color: color-mix(in srgb, var(--on-dark) 55%, transparent); color: var(--on-dark); }
.btn--block { width: 100%; }
.btns .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .btns .btn { flex: 0 0 auto; } }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; padding: 6px 0; }
.textlink .i { width: 18px; height: 18px; transition: transform .2s; }
.textlink:hover .i { transform: translateX(3px); }

.dot { width: 8px; height: 8px; border-radius: 50%; background: #C9A27F; display: inline-block; flex: none; }
[data-state="open"] .dot { background: #5BC985; box-shadow: 0 0 0 3px rgba(91, 201, 133, .22); }
[data-state="closed"] .dot { background: #E1795B; }
.openbadge, .nav__open, .sign__open { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; margin: 0; }
.stars { color: var(--accent); letter-spacing: .12em; }

/* ---------------------------------------------------------------- Header & navigation */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow .2s, background .2s; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; position: relative; z-index: 2; }
.brand img { width: 52px; height: auto; }
.header__tools { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
.header__book, .header__call { display: none; }
.header__call, .header__book { white-space: nowrap; }
.menu-btn, .icon-btn { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: 700 .92rem var(--body); cursor: pointer; text-decoration: none; }
.menu-btn__close { display: none; }
.menu-open .menu-btn__open { display: none; }
.menu-open .menu-btn__close { display: inline-flex; align-items: center; gap: 8px; }
.menu-open body { overflow: hidden; }

.nav { position: fixed; inset: 0; z-index: 1; background: var(--bg); padding: calc(var(--header-h) + 18px) var(--gut) 40px; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
.nav__link { display: block; font: var(--dw) 1.7rem/1.2 var(--display); color: inherit; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nav__item--dd { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--line); }
.nav__item--dd > .nav__link { border-bottom: 0; }
.nav__ddbtn { display: none; }
.nav__dd { grid-column: 1 / -1; display: grid; gap: 2px; padding: 0 0 14px; }
.nav__dd a { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: inherit; text-decoration: none; font-weight: 600; font-size: 1.02rem; }
.nav__dd .nav__ddi { width: 22px; height: 22px; color: var(--accent); }
.nav__ddall { display: none !important; }
.nav__extra { display: grid; gap: 10px; margin-top: 26px; }
.nav__open { margin-top: 6px; justify-content: center; }
.nav [aria-current="page"] { color: var(--accent); }

/* ---------------------------------------------------------------- Page hero (inner pages) */
.phero { padding: 18px 0 40px; }
.phero__grid { display: grid; gap: 26px; align-items: center; }
.phero__title { margin-bottom: .35em; }
.phero__lead { font-size: 1.14rem; color: var(--muted); max-width: 36em; }
.phero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-img); }
.phero__note { margin-top: 18px; }
.phero--sm { padding-bottom: 28px; }
.phero--plain .phero__grid { max-width: 820px; }
.pricetag { display: inline-flex; gap: 8px; align-items: baseline; margin: 0; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); font-weight: 600; }
.pricetag b { color: var(--accent); }

.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; opacity: .5; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* At a glance */
.glance { padding: 0 0 8px; }
.glance__list { margin: 0; display: grid; grid-template-columns: 1fr; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); }
.glance__list div { padding: 14px 18px; display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.glance__list div + div { border-top: 1px solid var(--line); }
.glance__list dt { color: var(--muted); font-size: .9rem; }
.glance__list dd { margin: 0; font-weight: 700; text-align: right; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { position: relative; padding: 20px 20px 18px 76px; background: var(--surface); border-radius: var(--r); min-height: 92px; }
.steps__n { position: absolute; left: 18px; top: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: var(--on-dark); font: var(--dw) 1.2rem var(--display); }
.steps h3 { margin-bottom: 2px; }
.steps p { margin: 0; color: var(--muted); }
.steps-sec .btns { justify-content: center; }

/* Split */
.split__grid { display: grid; gap: 28px; align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-img); }
.split__media figcaption, .gallery figcaption { font-size: .9rem; font-style: italic; color: var(--muted); margin-top: 10px; }
.split__text > p { color: var(--muted); }
.tone-dark .split__text > p { color: var(--on-dark-muted); }
.split__sub { font-size: 1.1rem; margin-top: 22px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--on-accent); stroke-width: 2.4; margin-top: 2px; }
.ticks--small { gap: 8px; font-size: .98rem; }
.ticks--small .i { width: 20px; height: 20px; }

/* Column cards */
.colcards { display: grid; gap: 14px; }
.colcard { background: var(--surface); border-radius: var(--r-lg); padding: 24px 22px; border: 1px solid var(--line); }
.colcard__i { width: 34px; height: 34px; color: var(--accent); margin-bottom: 12px; }

/* Quote */
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; }
.quote blockquote p { font: var(--dw) clamp(1.45rem, 5.4vw, 2.3rem)/1.3 var(--display); }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote figcaption { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted); font-size: .94rem; }

/* Reviews */
.reviews { display: grid; gap: 14px; }
.review, .rating { background: var(--surface); border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--line); }
.review blockquote { margin: 8px 0 12px; font-size: 1.06rem; }
.review figcaption { font-weight: 700; color: var(--muted); font-size: .92rem; }
.rating { display: flex; flex-direction: column; align-items: flex-start; }
.rating__score { font: var(--dw) 4rem/1 var(--display); margin: 0 0 6px; }
.rating__text { color: var(--muted); margin: 4px 0 6px; }

/* FAQ */
.faq { display: grid; gap: 6px; }
.faq__list details { border-bottom: 1.5px solid var(--line); }
.faq__list details:first-child { border-top: 1.5px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; padding: 14px 0; font: var(--dw) 1.1rem/1.3 var(--display); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font: 400 1.6rem/1 var(--body); color: var(--accent); transition: transform .2s; flex: none; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { margin: 0 0 18px; color: var(--muted); max-width: 46em; }
.faqgroups { display: grid; gap: 44px; max-width: 900px; }
.faqgroup h2 { font-size: clamp(1.5rem, 5.6vw, 2rem); }

/* CTA band */
.cta { padding: 56px 0; background: var(--dark); color: var(--on-dark); }
.cta__inner { display: grid; gap: 8px; }
.cta p { color: var(--on-dark-muted); max-width: 36em; }
.cta .kicker { color: var(--kicker-on-dark, var(--accent)); }

/* Service cards */
.cards { display: grid; gap: 16px; }
.card { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); margin-bottom: 12px; }
.card__price { font-weight: 700; color: var(--text) !important; font-size: .95rem; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-h); }
.card__more .i { width: 18px; height: 18px; transition: transform .2s; }
.card:hover .card__more .i { transform: translateX(3px); }

/* Price board */
.board { background: var(--surface); border-radius: var(--r); padding: 30px 22px; }
.board__head { text-align: center; margin-bottom: 24px; }
.board__head h2 { margin-bottom: .2em; }
.board__head p:not(.kicker) { color: var(--muted); }
.board__cols { display: grid; gap: 30px; }
.board h3 { font-size: 1.2rem; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1.5px solid currentColor; }
.leaders, .plain { list-style: none; margin: 0 0 26px; padding: 0; }
.leaders li { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; font-size: 1.04rem; }
.leaders li::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 16px; }
.leaders span { order: 0; }
.leaders b { order: 2; white-space: nowrap; }
.plain li { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.board__aside { font-style: italic; color: var(--muted); }
.board__foot { text-align: center; font-size: .88rem; color: var(--muted); margin: 6px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-img); }
.gallery__item--1 { grid-column: 1 / -1; }
.gallery__item--1 img { aspect-ratio: 16 / 10; }

/* Visit */
.visit__grid { display: grid; gap: 30px; }
.sign { background: var(--dark); color: var(--on-dark); border-radius: var(--r-lg); padding: 26px 22px; }
.sign .kicker { color: var(--kicker-on-dark, var(--accent)); }
.sign__open { margin-bottom: 10px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 0; text-align: left; font-weight: 400; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { text-align: right; opacity: .88; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; opacity: 1; color: var(--today, var(--accent)); }
.hours tr.is-today td::after { content: " · today"; font-size: .82rem; }
.visit__addr { color: var(--muted); }
.map { position: relative; margin-top: 20px; border-radius: var(--r-img); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.map img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); }
.map button { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; min-height: 48px; padding: 0 22px; background: var(--surface); color: var(--text); border: 0; border-radius: 999px; font: 700 1rem var(--body); cursor: pointer; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .6); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__note { font-size: .82rem; color: var(--muted); margin-top: 8px; }

/* Contact cards */
.ccards { display: grid; gap: 12px; }
.ccard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.ccard__i { width: 28px; height: 28px; color: var(--accent); margin-bottom: 10px; }
.ccard h3 { margin-bottom: 4px; }
.ccard__main { font-weight: 700; margin-bottom: 4px; }
.ccard__main a { color: inherit; }
.ccard__sub { color: var(--muted); font-size: .92rem; }

/* Forms */
.book__grid { display: grid; gap: 28px; align-items: start; }
.book__alt { color: var(--muted); }
.book__alt a { font-weight: 700; }
.mini-steps { list-style: none; counter-reset: m; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.mini-steps li { counter-increment: m; display: flex; gap: 12px; align-items: center; font-weight: 600; }
.mini-steps li::before { content: counter(m); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text); font-size: .9rem; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin-bottom: 14px; }
.aside-card h2 { font-size: 1.35rem; }
.aside-card p a { font-weight: 700; font-size: 1.2rem; }
.aside-card__sub { color: var(--muted); font-size: .9rem; margin-top: 12px; }

.formcard { background: var(--surface); border-radius: var(--r-lg); padding: 22px 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form__title { font-size: 1.5rem; margin-bottom: 18px; }
.form { display: grid; gap: 18px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field label { display: block; font-weight: 700; font-size: .98rem; margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.row { display: grid; gap: 18px; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--field-b); border-radius: calc(var(--r) - 2px); background: var(--field-bg); font: 400 16px/1.4 var(--body); color: var(--text); -webkit-appearance: none; appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.hint { margin: 0; padding: 12px 14px; background: var(--surface-2); border-radius: var(--r); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .seg label { position: relative; cursor: pointer; }
.chip input, .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--field-b); border-radius: 999px; font-weight: 600; font-size: .95rem; transition: background .15s, color .15s, border-color .15s; }
.chip input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip input:focus-visible + span, .seg input:focus-visible + span { box-shadow: var(--focus); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 999px; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--muted); text-align: center; padding: 0 8px; }
.seg input:checked + span { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.fine { font-size: .86rem; color: var(--muted); }
.form .btn--block + .btn--block { margin-top: -6px; }

/* Prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose li { margin-bottom: 6px; }

/* Thank-you & 404 */
.thanks__inner, .notfound__inner { max-width: 640px; text-align: center; padding-top: 30px; padding-bottom: 30px; }
.thanks__tick { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: var(--accent); color: var(--on-accent); }
.thanks__tick .i { width: 34px; height: 34px; stroke-width: 2.4; }
.thanks__lead { font-size: 1.15rem; color: var(--muted); }
.thanks__list { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 16px 16px 36px; color: var(--muted); }
.thanks .btns, .notfound .btns { justify-content: center; }
.notfound__code { font: var(--dw) clamp(5rem, 30vw, 9rem)/1 var(--display); color: var(--accent); margin: 0 0 10px; }

/* Footer */
.footer { background: var(--dark); color: var(--on-dark-muted); padding: 56px 0 26px; font-size: .96rem; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__top { display: grid; gap: 30px; }
.footer__brand img { width: 116px; }
.footer__brand p { margin-top: 14px; max-width: 26em; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.fcol h3 { font: 700 .76rem var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--kicker-on-dark, var(--accent)); margin-bottom: 12px; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fhours li { display: flex; justify-content: space-between; gap: 10px; max-width: 200px; }
.fsocial { display: flex; gap: 10px; }
.fsocial a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--on-dark) 25%, transparent); }
.flegal { margin-top: 36px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--on-dark) 14%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; font-size: .84rem; }

/* Sticky action bar (phones) */
.actionbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 4px; padding: 5px; border-radius: 999px; background: var(--dark); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); transition: transform .25s ease, opacity .25s; }
.actionbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border-radius: 999px; color: var(--on-dark); font-weight: 700; font-size: .95rem; text-decoration: none; }
.actionbar .i { width: 18px; height: 18px; }
.actionbar a.is-main { background: var(--accent); color: var(--on-accent); }
.bar-hidden .actionbar, .menu-open .actionbar { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------------- Tablet */
@media (min-width: 640px) {
  :root { --gut: 32px; }
  .glance__list { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .glance__list div { flex-direction: column; justify-content: flex-start; gap: 2px; padding: 18px 22px; }
  .glance__list div + div { border-top: 0; border-left: 1px solid var(--line); }
  .glance__list dd { text-align: left; font-size: 1.1rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .colcards { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .board { padding: 44px 40px; }
  .board__cols { grid-template-columns: 1.2fr 1fr; gap: 48px; }
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 220px; }
  .gallery img, .gallery__item--1 img { aspect-ratio: auto; height: 100%; }
  .gallery__item { display: flex; flex-direction: column; }
  .gallery__item img { flex: 1; min-height: 0; }
  .gallery__item--1 { grid-column: auto; grid-row: span 2; }
  .gallery__item--4 { grid-column: span 2; }
  .ccards { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr 1fr; }
  .formcard { padding: 32px; }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
  .cta__inner { grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
  .cta .btns { margin-top: 0; }
}

/* ---------------------------------------------------------------- Desktop */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .actionbar { display: none; }
  :root { --sec: 96px; }
  .phero { padding: 30px 0 64px; }
  .phero--img .phero__grid { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .split__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--rev .split__media { order: 2; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 76px 22px 24px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .rating { grid-row: span 2; justify-content: center; }
  .faq { grid-template-columns: 1fr 2fr; gap: 64px; }
  .board { padding: 60px 72px; max-width: 1000px; margin: 0 auto; }
  .gallery { grid-auto-rows: 280px; }
  .visit__grid { grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
  .ccards { grid-template-columns: repeat(4, 1fr); }
  .book__grid { grid-template-columns: 1fr 1.3fr; gap: 64px; }
  .page-book .book__grid { grid-template-columns: 1.5fr 1fr; }
  .book__aside { position: sticky; top: calc(var(--header-h) + 24px); }
  .footer__top { grid-template-columns: 1fr 3fr; gap: 60px; }
}

/* Desktop navigation */
@media (min-width: 1100px) {
  .menu-btn { display: none; }
  .header__book { display: inline-flex; min-height: 46px; padding: 0 20px; }
  /* three equal-weight columns so the menu sits in the true centre of the page */
  .header__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; min-height: 80px; }
  .brand { justify-self: start; }
  .header__tools { justify-self: end; }
  :root { --header-h: 80px; }
  .nav { position: static; inset: auto; opacity: 1; visibility: visible; transform: none; background: none; padding: 0; overflow: visible; flex-direction: row; align-items: center; gap: 26px; margin: 0; justify-self: center; }
  .nav__link { font: 600 .98rem var(--body); border: 0; padding: 8px 0; }
  .nav__link:hover { color: var(--accent); }
  .nav__item--dd { position: relative; display: flex; align-items: center; gap: 2px; border: 0; }
  .nav__ddbtn { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 6px; padding: 0; }
  .nav__ddbtn .i { width: 16px; height: 16px; transition: transform .2s; }
  .nav__dd { position: absolute; top: calc(100% + 10px); left: -18px; width: 300px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 10; }
  .nav__dd::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav__item--dd:hover .nav__dd, .nav__item--dd:focus-within .nav__dd, .nav__item--dd.is-open .nav__dd { opacity: 1; visibility: visible; transform: none; }
  .nav__item--dd:hover .nav__ddbtn .i, .nav__item--dd.is-open .nav__ddbtn .i { transform: rotate(180deg); }
  .nav__dd a { padding: 10px 12px; border-radius: calc(var(--r) - 2px); font-size: .96rem; color: var(--text); }
  .nav__dd a:hover { background: var(--surface-2); }
  .nav__ddall { display: flex !important; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0 !important; color: var(--accent-h) !important; }
  .nav__ddall .i { width: 16px; height: 16px; }
  .nav__extra { display: none; }
  .nav__item--dd.is-active > .nav__link { color: var(--accent); }
}

/* Wide screens: show the full phone number instead of the round phone icon */
@media (min-width: 1280px) {
  .header__call { display: inline-flex; min-height: 46px; padding: 0 18px; font-size: .95rem; }
  .header__callicon { display: none; }
}
