/*
 * Sample websites (demos/*): shared styles. Each demo sets its own colours on <body class="demo demo--NAME">.
 * Front end only: no database, buttons open a "this is a sample" window (demo.js).
 */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../../assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oswald"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../../assets/fonts/oswald-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("fraunces-latin.woff2") format("woff2");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body.demo {
  --bg: #faf7f2; --surface: #fff; --soft: #f2ece3; --ink: #221a15; --muted: #6f6359; --line: rgba(34, 26, 21, .11);
  --brand: #7a4a2b; --brand-hover: #643b21; --on-brand: #fff; --brand-soft: rgba(122, 74, 43, .1); --accent: #c8763a;
  --display: "Fraunces", Georgia, serif; --display-weight: 600;
  --radius: 18px; --radius-sm: 12px; --shadow: 0 18px 50px -18px rgba(30, 20, 10, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: var(--display-weight); line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
svg.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- WEBSITEMO bar (always on top of a sample) ---------- */
.demo-bar { background: #0d1326; color: #e6e9f5; font-size: .82rem; position: relative; z-index: 60; }
.demo-bar .wrap { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.demo-bar-tag { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.demo-bar-tag b { font-weight: 700; color: #fff; letter-spacing: .02em; }
.demo-bar-dot { width: 8px; height: 8px; border-radius: 50%; background: #2f5bff; box-shadow: 0 0 0 4px rgba(47, 91, 255, .25); flex: none; }
.demo-bar-links { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.demo-bar a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.demo-bar .demo-back { color: #aab2cc; }
.demo-bar .demo-back:hover { color: #fff; }
.demo-bar .demo-get { background: #2f5bff; color: #fff; font-weight: 600; }
.demo-bar .demo-get:hover { background: #1f47e6; }

/* ---------- Buttons, pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-brand:hover { background: var(--brand-hover); }
.btn-line { border-color: var(--line); background: var(--surface); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: #111; }
.btn-light:hover { background: rgba(255, 255, 255, .86); }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .24); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .76rem; font-weight: 600; white-space: nowrap; }
.pill-brand { background: var(--brand-soft); color: var(--brand); }

/* ---------- Top menu ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); }
.nav .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); }
.logo-mark svg.i { width: 20px; height: 20px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .93rem; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--soft); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-signin { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 0; background: none; color: var(--ink); font-weight: 600; font-size: .93rem; cursor: pointer; border-radius: 999px; }
.nav-signin:hover { background: var(--soft); }
.nav-cart { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.nav-cart b { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); }
.nav-cart b.has { transform: scale(1); }
.nav-cart.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.15); } }
.nav-menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); place-items: center; cursor: pointer; }
.mobile-menu { display: none; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.lead { color: var(--muted); font-size: 1.06rem; margin-top: 14px; }

/* ---------- Hero (photo on the side) ---------- */
.hero { padding: 48px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--brand); }
.hero-text .lead { font-size: 1.12rem; max-width: 30em; margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.hero-facts div { padding: 16px 16px 0 0; }
.hero-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-facts b { display: block; font-size: 1.35rem; font-weight: 700; }
.hero-facts span { font-size: .84rem; color: var(--muted); }
.hero-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .9); color: #1b1410; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-badge .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; flex: none; }
.hero-badge b { display: block; font-size: .92rem; }
.hero-badge span { display: block; font-size: .8rem; color: #6a5d54; }
.open-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fa866; box-shadow: 0 0 0 4px rgba(47, 168, 102, .18); margin-right: 6px; vertical-align: 1px; }

/* ---------- Tabs ---------- */
.tabs { min-width: 0; display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 26px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--brand); color: var(--on-brand); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Lists in a box (menu, services, hours) ---------- */
.list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.list-row { display: grid; grid-template-columns: var(--cols, minmax(0, 1fr) 110px 130px); gap: 18px; align-items: center; padding: 16px 22px; }
.list-row + .list-row { border-top: 1px solid var(--line); }
.list-row:nth-child(even) { background: color-mix(in srgb, var(--soft) 45%, transparent); }
.list-head { padding-top: 12px; padding-bottom: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface) !important; }
.list-main { min-width: 0; }
.list-title { font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.list-sub { font-size: .87rem; color: var(--muted); margin-top: 2px; }
.list-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.list-thumb { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.list-act { display: flex; justify-content: flex-start; }
.add-btn { min-width: 112px; }
.add-btn.added { background: #2fa866; color: #fff; border-color: #2fa866; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-photo { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-photo img { transform: scale(1.05); }
.card-photo .pill { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .92); color: #222; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.3rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--muted); }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-big { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-big small { font-size: .8rem; font-weight: 500; color: var(--muted); }

/* ---------- Facts as tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tile .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.tile-label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tile-value { font-size: 1.15rem; font-weight: 700; margin-top: 4px; }
.tile-note { font-size: .86rem; color: var(--muted); margin-top: 4px; }

/* ---------- Story (photo + text) ---------- */
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.story-photos { position: relative; padding: 0 0 48px 0; }
.story-photos img { border-radius: var(--radius); width: 78%; aspect-ratio: 4 / 4.6; object-fit: cover; box-shadow: var(--shadow); }
.story-photos img + img { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 6px solid var(--bg); }
.story-text p + p { margin-top: 14px; }
.story-text .lead { margin-top: 18px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg.i { color: var(--brand); margin-top: 4px; }

/* ---------- Gallery and photo viewer ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.gallery button { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; position: relative; background: var(--soft); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.viewer { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; overflow: visible; }
.viewer::backdrop { background: rgba(8, 8, 10, .88); }
.viewer img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 14px; }
.viewer p { color: #ddd; text-align: center; margin-top: 12px; font-size: .9rem; }
.viewer-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #111; display: grid; place-items: center; cursor: pointer; }
.viewer-prev { left: -12px; }
.viewer-next { right: -12px; }
.viewer-close { top: -16px; right: -12px; transform: none; }

/* ---------- Reviews ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 2px; color: #e6a23c; }
.stars svg.i { fill: currentColor; stroke: none; width: 17px; height: 17px; }
.quote blockquote { margin: 0; font-size: 1.02rem; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; flex: none; }
.quote footer b { display: block; font-size: .93rem; }
.quote footer span { font-size: .82rem; color: var(--muted); }

/* ---------- Visit (hours + map) ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; }
.visit .list-row { --cols: minmax(0, 1fr) 150px; padding: 13px 22px; }
.visit .today { color: var(--brand); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px; border: 1px solid var(--line); background: #ebe7df url("map.svg") center / cover no-repeat; }
.map-pin { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.map-pin span { background: var(--surface); padding: 8px 12px; border-radius: 12px; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow); white-space: nowrap; margin-bottom: 8px; }
.map-pin i { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand); border: 3px solid #fff; box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .4), 0 0 0 10px color-mix(in srgb, var(--brand) 18%, transparent); animation: pinpulse 2.4s ease-out infinite; }
@keyframes pinpulse { 0%, 100% { box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .4), 0 0 0 0 color-mix(in srgb, var(--brand) 30%, transparent); } 60% { box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .4), 0 0 0 16px transparent; } }
.map-pin i::after { content: ""; position: absolute; }
.map-open { position: absolute; right: 14px; bottom: 14px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field-label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: .88rem; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip .avatar { width: 26px; height: 26px; font-size: .72rem; }
.chip[aria-pressed="true"] .avatar { background: rgba(255, 255, 255, .22); color: inherit; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; display: flex; gap: 8px; align-items: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg.i { transition: transform .3s var(--ease); color: var(--muted); }
.faq details[open] summary svg.i { transform: rotate(45deg); color: var(--brand); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 680px; }

/* ---------- Call to action band ---------- */
main > section.wrap:last-child { margin-bottom: 0 !important; }
section.wrap:has(> .band) { margin-bottom: 96px; }
.band { position: relative; border-radius: 28px; overflow: hidden; color: #fff; padding: 72px 56px; isolation: isolate; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 8, 6, .78), rgba(10, 8, 6, .25)); }
.band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 16em; }
.band p { margin-top: 14px; max-width: 34em; color: rgba(255, 255, 255, .85); }
.band .hero-cta { margin-top: 26px; }

/* ---------- Footer ---------- */
.foot { padding: 64px 0 28px; border-top: 1px solid var(--line); margin-top: 96px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h4 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; }
.foot ul a:hover, .foot ul button:hover { color: var(--brand); }
.foot ul button { border: 0; background: none; padding: 0; cursor: pointer; font-size: inherit; }
.foot-about p { color: var(--muted); font-size: .93rem; margin-top: 14px; max-width: 26em; }
.foot-social { display: flex; gap: 8px; margin-top: 18px; }
.foot-social button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.foot-social button:hover { color: var(--brand); border-color: var(--brand); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: var(--muted); }
.foot-bottom a { color: var(--ink); font-weight: 600; }

/* ---------- Windows (sample notice, sign in, cart) ---------- */
dialog.win { border: 0; padding: 0; border-radius: 22px; width: min(440px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); overflow: hidden; }
dialog.win::backdrop { background: rgba(12, 10, 8, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
dialog[open].win, dialog[open].drawer { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.win-body { padding: 30px 28px 26px; }
.win-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); display: grid; place-items: center; cursor: pointer; }
.win-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(47, 91, 255, .1); color: #2f5bff; margin-bottom: 16px; }
.win-ic svg.i { width: 26px; height: 26px; }
.win h3 { padding-right: 40px; font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.win-text { color: var(--muted); margin-top: 6px; font-size: .95rem; line-height: 1.55; }
.win-text b { color: var(--ink); }
.win-tip { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: .86rem; line-height: 1.5; color: var(--muted); }
.win-tip b { display: block; color: var(--ink); font-size: .9rem; margin-bottom: 2px; }
.win-actions { display: grid; gap: 10px; margin-top: 22px; }
.win-get { background: #2f5bff; color: #fff; }
.win-get:hover { background: #1f47e6; }
.win-by { margin-top: 16px; font-size: .78rem; color: var(--muted); text-align: center; }
.win .form-grid { margin-top: 18px; grid-template-columns: 1fr; }
.win .link-row { display: flex; justify-content: space-between; font-size: .85rem; margin-top: 4px; }
.win .link-row button { border: 0; background: none; padding: 0; color: var(--brand); font-weight: 600; cursor: pointer; }

dialog.drawer { margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(420px, 100vw); border: 0; padding: 0; background: var(--surface); color: var(--ink); display: none; flex-direction: column; }
dialog.drawer[open] { display: flex; }
dialog.drawer::backdrop { background: rgba(12, 10, 8, .5); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.15rem; font-weight: 700; }
.drawer-list { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; }
.cart-row + .cart-row { border-top: 1px solid var(--line); }
.cart-row img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.cart-row b { display: block; font-size: .93rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }
.drawer-empty { text-align: center; color: var(--muted); padding: 60px 10px; }
.drawer-empty svg.i { width: 40px; height: 40px; margin: 0 auto 12px; display: block; opacity: .5; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.sum-row { display: flex; justify-content: space-between; font-size: .93rem; color: var(--muted); }
.sum-row.total { color: var(--ink); font-weight: 700; font-size: 1.08rem; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, calc(100% + 40px)); opacity: 0; visibility: hidden; background: #17120f; color: #fff; padding: 12px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); transition: transform .45s var(--ease), opacity .3s, visibility .45s; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast svg.i { color: #6ee7a1; }

/* Floating order button (phones) */
.float-cta { display: none; }

/* Appear on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero over a full photo (resort) ---------- */
.hero-full { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; padding: 120px 0 0; }
.hero-full > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-full::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 20, 30, .2) 0%, rgba(0, 20, 30, .32) 45%, rgba(0, 20, 30, .78) 100%); }
.hero-full .wrap { padding-bottom: 56px; }
.hero-full h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); max-width: 11em; }
.hero-full .lead { color: rgba(255, 255, 255, .88); max-width: 34em; font-size: 1.12rem; }
.hero-full .eyebrow { color: #fff; opacity: .9; }
.book-bar { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; padding: 14px; border-radius: 22px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--shadow); max-width: 900px; }
.book-bar .field label { color: var(--muted); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.book-bar .btn { min-height: 48px; }

/* Photo shapes and a gallery of equal photos */
.hero-photo.arch { border-radius: 260px 260px 28px 28px; aspect-ratio: 4 / 5; }
.gallery.even { grid-auto-rows: 300px; }
.gallery.even button:first-child { grid-column: auto; grid-row: auto; }
.gallery.even button:nth-child(even) { transform: translateY(28px); }
.flash-pick { animation: flashpick 1.2s var(--ease); }
@keyframes flashpick { 30% { box-shadow: 0 0 0 6px var(--brand-soft); border-color: var(--brand); } }

/* ---------- More building blocks (used by the 20 newer samples) ---------- */
/* Headings in a tall, strong letter (gym, garage, builders) */
body.caps h1, body.caps h2 { text-transform: uppercase; letter-spacing: .005em; line-height: 1.02; }
body.caps .logo { text-transform: uppercase; letter-spacing: .04em; }

/* Hero with the photo on the left */
.hero.flip .hero-photo { order: -1; }
/* Hero over a full photo, text in the middle */
.hero-full.center { align-items: center; text-align: center; }
.hero-full.center::before { background: radial-gradient(ellipse at center, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .2) 60%, rgba(0, 0, 0, .35) 100%); }
.hero-full.center .wrap { display: flex; flex-direction: column; align-items: center; padding-bottom: 72px; }
.hero-full.center .lead { margin-left: auto; margin-right: auto; }
.hero-full.center .hero-cta { justify-content: center; }
.hero-full .hero-cta { margin-top: 28px; }
.hero-full .hero-facts { border-color: rgba(255, 255, 255, .25); max-width: 640px; width: 100%; text-align: left; }
.hero-full .hero-facts div + div { border-color: rgba(255, 255, 255, .25); }
.hero-full .hero-facts span { color: rgba(255, 255, 255, .75); }

/* Numbers in a row */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stats div { padding: 26px 24px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: var(--display-weight); color: var(--brand); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 6px; font-size: .88rem; color: var(--muted); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.step-card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; margin-bottom: 16px; }
.step-card h3 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; text-transform: none; }
.step-card p { margin-top: 6px; color: var(--muted); font-size: .92rem; }

/* Price plans */
.plans { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan.featured .plan-tag { position: absolute; top: -13px; left: 26px; }
.plan-tag { background: var(--brand); color: var(--on-brand); }
.plan h3 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; text-transform: none; }
.plan-sub { font-size: .9rem; color: var(--muted); margin-top: -8px; }
.plan-price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.plan-price small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .93rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg.i { color: var(--brand); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.billing { margin: -18px 0 30px; }

/* Booking or estimate form with a summary beside it */
.split-form { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.split-form .summary { position: sticky; top: 96px; display: grid; gap: 16px; }
.summary .list-row { --cols: 110px minmax(0, 1fr); padding: 13px 20px; }
.summary .list-row > span:first-child { color: var(--muted); font-size: .86rem; }
.summary .list-row > span:last-child { font-weight: 600; }
.summary .list-head { display: block !important; }
.total-tile { background: var(--brand); color: var(--on-brand); border-color: transparent; }
.total-tile .tile-label, .total-tile .tile-note { color: inherit; opacity: .8; }
.total-tile .tile-value { font-size: 2rem; font-variant-numeric: tabular-nums; }
.checks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); font-size: .9rem; cursor: pointer; }
.field label.check { display: flex; margin: 0; font-size: .9rem; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.check span { flex: 1; min-width: 0; }
.check b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.field input[type=number] { font-variant-numeric: tabular-nums; }

/* Filter chips above cards */
.filters { margin-bottom: 24px; align-items: center; }
.filters .count { margin-left: auto; font-size: .88rem; color: var(--muted); }
.cards [hidden] { display: none; }
.cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles-n { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.card-photo.tall { aspect-ratio: 4 / 4.6; }
.card .list-sub { margin-top: -4px; }

/* Two lists side by side */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.list-cap { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }

/* ---------- Finishing touches ---------- */
.hero { position: relative; isolation: isolate; overflow-x: clip; }
.hero::before { content: ""; position: absolute; z-index: -1; top: -120px; right: -160px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 14%, transparent) 0%, transparent 65%); pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: -1; bottom: -80px; left: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 12%, transparent) 0%, transparent 65%); pointer-events: none; }
.hero-photo { overflow: visible; }
.hero-photo > img { border-radius: inherit; }
.hero-rate { position: absolute; top: 22px; left: -22px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .96); color: #1b1b1b; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .35); animation: floaty 6s ease-in-out infinite; }
.hero-rate .stars svg.i { width: 15px; height: 15px; }
.hero-rate b { display: block; font-size: .95rem; line-height: 1.1; }
.hero-rate span { display: block; font-size: .76rem; color: #6b6b6b; }
@keyframes floaty { 50% { transform: translateY(-6px); } }
@media (max-width: 1240px) { .hero-rate { left: 14px; } }
.btn-brand { box-shadow: 0 12px 26px -14px var(--brand); }
.btn-brand:hover { transform: translateY(-1px); }
.tile { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile .ic { width: 46px; height: 46px; border-radius: 14px; }
.tile .ic svg.i { width: 22px; height: 22px; }
.tile-value + .tile-note { margin-top: 6px; }
.avatar-lg { width: 54px; height: 54px; font-size: 1.15rem; margin-bottom: 14px; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 62%, #fff)); color: #fff; box-shadow: 0 10px 22px -12px var(--brand); }
.quote { position: relative; }
.quote::after { content: "\201C"; position: absolute; top: 6px; right: 22px; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--brand-soft); color: color-mix(in srgb, var(--brand) 16%, transparent); pointer-events: none; }
.section-head h2 { text-wrap: balance; }
.hero h1, .hero-full h1, .band h2 { text-wrap: balance; }
.lead { text-wrap: pretty; }

/* ---------- Tablets ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-menu { display: grid; }
  .nav-actions { margin-left: auto; }
  .mobile-menu { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 16px 18px; transform-origin: top; transform: scaleY(.96); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
  .mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a, .mobile-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 8px; border: 0; background: none; text-align: left; font-weight: 600; cursor: pointer; }
  .mobile-menu a + a, .mobile-menu a + button { border-top: 1px solid var(--line); }
  .hero .wrap, .story, .visit { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-photo { aspect-ratio: 16 / 11; }
  .hero::before { width: 480px; height: 480px; right: -200px; }
  .cards, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .split-form { grid-template-columns: minmax(0, 1fr); }
  .split-form .summary { position: static; }
  .cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles-n { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: minmax(0, 1fr); }
  .book-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .book-bar .btn { grid-column: 1 / -1; }
  .gallery.even { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
  .gallery.even button:nth-child(even) { transform: none; }
  .foot-about { grid-column: 1 / -1; }
  .story-photos { max-width: 520px; }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  body.demo { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .demo-bar .wrap { gap: 8px; min-height: 40px; }
  .demo-bar-tag .long, .demo-bar .demo-back .long { display: none; }
  .demo-bar a { padding: 5px 10px; }
  .nav .wrap { min-height: 62px; gap: 10px; }
  .logo { font-size: 1.12rem; }
  .logo-mark { width: 32px; height: 32px; }
  .nav-signin .label, .nav-cta { display: none; }
  .nav-signin { padding: 8px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 30px; }
  .hero { padding: 24px 0 48px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-facts b { font-size: 1.1rem; }
  .hero-facts div + div { padding-left: 12px; }
  .hero-facts div { padding-right: 8px; }
  .list-row { grid-template-columns: var(--cols-phone, minmax(0, 1fr) auto); gap: 6px 14px; padding: 14px 16px; }
  .list-row .list-price { grid-row: 2; grid-column: 1; }
  .list-row .list-act { grid-row: 1 / span 2; grid-column: 2; }
  .list-head { display: none; }
  .tabs { flex-wrap: wrap; width: auto; border-radius: 20px; }
  .tab { padding: 8px 14px; }
  .add-btn { min-width: 0; }
  .add-btn .label { display: none; }
  .add-btn { width: 44px; padding: 0; }
  .cards, .quotes { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 10px; }
  .form-card { padding: 20px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .band { padding: 48px 22px; border-radius: 22px; }
  .foot { margin-top: 64px; }
  section.wrap:has(> .band) { margin-bottom: 64px; }
  .foot-grid { gap: 26px; }
  .viewer-prev { left: 6px; } .viewer-next { right: 6px; } .viewer-close { right: 6px; top: -54px; }
  .map { min-height: 280px; }
  .hero-rate { left: 12px; top: 12px; padding: 8px 12px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .stats div { padding: 18px 16px; }
  .cards.cols-4 { grid-template-columns: minmax(0, 1fr); }
  .checks-grid { grid-template-columns: minmax(0, 1fr); }
  .summary .list-row { grid-template-columns: 110px minmax(0, 1fr); }
  .filters .count { width: 100%; margin-left: 0; }
  .hero.flip .hero-photo { order: 0; }
  .hero-full { min-height: 0; padding-top: 180px; }
  .hero-full .wrap { padding-bottom: 28px; }
  .book-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; }
  .book-bar .guests { grid-column: 1 / -1; }
  .gallery.even { grid-auto-rows: 170px; }
  .hero-photo.arch { aspect-ratio: 4 / 4.4; border-radius: 180px 180px 22px 22px; }
  .float-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; box-shadow: var(--shadow); transform: translateY(160%); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility .45s; }
  .float-cta.show { transform: none; opacity: 1; visibility: visible; }
  .toast { bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
