/* Beluga Holidays – calm coastal look. Own brand, not the Pixel Masonry style. */
:root {
  --ink: #10303b;
  --muted: #4a636d;
  --sea: #0d5c73;
  --sea-dark: #083f50;
  --foam: #eef5f6;
  --line: #d6e2e5;
  --sun: #b4491a;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 48, 59, .06), 0 8px 24px rgba(16, 48, 59, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 1.0625rem; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--sea-dark); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 650; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3, .h3 { font-size: 1.2rem; }
.h3 { margin: 0 0 .6em; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--white); color: var(--ink); padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 760px) { .wrap { padding-inline: 32px; } }

/* demo bar */
.demobar { background: var(--ink); color: #e6f0f2; font-size: .8125rem; text-align: center; padding: 7px 12px; line-height: 1.35; }

/* header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); z-index: 20; }
@media (min-width: 640px) { .site-header { position: sticky; top: 0; } }
.header-in { display: flex; align-items: center; gap: 8px 28px; flex-wrap: wrap; padding-block: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--sea); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; margin-right: auto; }
.logo span { color: var(--ink); }
.nav { display: flex; gap: 6px; order: 3; width: 100%; }
.nav a, .lang a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 550; font-size: .98rem; min-height: 40px; display: inline-flex; align-items: center; }
.nav a:hover, .lang a:hover { background: var(--foam); }
.nav a[aria-current], .lang a[aria-current] { background: var(--foam); color: var(--sea-dark); }
.lang { display: flex; gap: 2px; }
.lang a { font-size: .9rem; letter-spacing: .04em; }
@media (min-width: 640px) { .nav { order: 0; width: auto; } .logo { margin-right: 0; } .lang { margin-left: auto; } }

/* buttons & fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--sea); color: var(--white); border: 2px solid var(--sea); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--sea-dark); border-color: var(--sea-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--sea); }
.btn-ghost:hover { background: var(--foam); color: var(--sea-dark); border-color: var(--sea-dark); }
.btn[aria-disabled="true"] { cursor: default; }
.btn-block { width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .checks legend { font-size: .875rem; font-weight: 600; color: var(--muted); }
select, input[type=date], input[type=number] { font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #9eb5bb; border-radius: 10px; min-height: 48px; padding: 0 12px; width: 100%; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2310303b' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select:hover, input:hover { border-color: var(--sea); }
.field.inline { flex-direction: row; align-items: center; }
.field.inline select { width: auto; min-width: 0; max-width: 100%; }
.field-msg { color: var(--sun); font-size: .9rem; margin: -4px 0 0; font-weight: 600; }

/* hero + search bar */
.hero { position: relative; min-height: clamp(440px, 64vh, 640px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--sea-dark); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 40, 50, .25) 0%, rgba(8, 40, 50, .15) 40%, rgba(8, 40, 50, .72) 100%); }
.hero-in { position: relative; padding-bottom: 88px; padding-top: 56px; }
.hero h1 { color: var(--white); max-width: 16ch; text-wrap: balance; text-shadow: 0 1px 14px rgba(0, 0, 0, .25); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 36em; margin: 0; color: #f1f7f8; }
.search-float { position: relative; margin-top: -56px; z-index: 5; }
.searchbar { background: var(--white); border-radius: 18px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; align-items: end; border: 1px solid var(--line); }
.searchbar .field:first-child, .searchbar .btn { grid-column: 1 / -1; }
@media (min-width: 900px) { .searchbar { grid-template-columns: 1.3fr 1fr 1fr .8fr auto; padding: 18px 20px; } .searchbar .field:first-child, .searchbar .btn { grid-column: auto; } .searchbar .btn { width: auto; padding: 0 34px; } }

/* sections */
.section { padding-block: clamp(48px, 8vw, 96px); }
.section-head { max-width: 40em; margin-bottom: 28px; }
.section-head h2 { margin-bottom: .25em; }
.section-head p { color: var(--muted); margin: 0; }
.band { background: var(--foam); }
.page-head { padding-top: 40px; padding-bottom: 8px; }
.lead-sm { color: var(--muted); font-size: 1.1rem; max-width: 40em; }
.note { color: var(--muted); font-size: .9rem; }

/* cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { display: block; aspect-ratio: 3 / 2; background: var(--foam); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-meta { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--sea); margin: 0; }
.card-title { font-size: 1.25rem; margin: 0; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-facts { color: var(--muted); font-size: .95rem; margin: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; }
.chips li { background: var(--foam); color: var(--sea-dark); font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.card-price { margin: auto 0 0; padding-top: 10px; color: var(--ink); }
.card-price strong { font-size: 1.15rem; }
.card-price span { color: var(--muted); font-size: .9rem; }

/* places */
.places { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.places a { display: grid; gap: 4px; background: var(--white); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); height: 100%; border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s; }
.places a:hover { box-shadow: var(--shadow); border-color: var(--sea); }
.place-count { font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; color: var(--sea); line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.place-count small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.place-name { font-size: 1.3rem; font-weight: 650; margin-top: 6px; }
.place-blurb { color: var(--muted); font-size: .98rem; }

.why { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.why div { border-top: 3px solid var(--sea); padding-top: 16px; }
.why p { color: var(--muted); margin: 0; }
.owners-teaser { background: var(--sea-dark); color: var(--white); border-radius: 22px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.owners-teaser h2 { color: var(--white); margin-bottom: .3em; }
.owners-teaser p { margin: 0; max-width: 34em; color: #dbe9ed; }
.owners-teaser .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .7); }

/* footer */
.site-footer { background: var(--foam); border-top: 1px solid var(--line); margin-top: 64px; padding-block: 36px; font-size: .95rem; color: var(--muted); }
.footer-in { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.footer-brand { font-weight: 700; color: var(--ink); margin-bottom: .3em; }
.fine { font-size: .875rem; }

/* search page */
.search-layout { display: grid; gap: 20px; padding-top: 16px; }
@media (min-width: 900px) { .search-layout { grid-template-columns: 290px 1fr; gap: 36px; align-items: start; } .filters-toggle { display: none; } .filters { display: grid !important; position: sticky; top: 76px; } }
.filters { display: none; gap: 14px; background: var(--foam); border-radius: var(--radius); padding: 18px; margin-top: 10px; }
.filters.is-open { display: grid; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks { border: 0; padding: 0; margin: 0; display: grid; gap: 2px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-weight: 550; }
.check input { width: 22px; height: 22px; accent-color: var(--sea); flex: none; }
.filters-toggle { width: 100%; }
.results-bar { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.results-count { margin: 0; font-size: 1.4rem; }
.grid-results { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); margin-top: 16px; }
.empty { text-align: center; padding: 56px 16px; background: var(--foam); border-radius: var(--radius); margin-top: 16px; }

/* unit page */
.unit-wrap { padding-top: 20px; }
.crumb { font-size: .95rem; margin-bottom: 8px; }
.unit-head h1 { margin-bottom: .2em; }
.gallery { margin-block: 20px 36px; }
.gallery-main { position: relative; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: var(--foam); max-height: 70vh; width: 100%; }
.g-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.g-img.is-on { opacity: 1; }
.g-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.g-btn:hover { background: var(--white); }
.g-prev { left: 12px; } .g-next { right: 12px; }
.g-count { position: absolute; right: 12px; bottom: 12px; margin: 0; background: rgba(8, 40, 50, .78); color: var(--white); font-size: .82rem; padding: 4px 10px; border-radius: 999px; }
.gallery-thumbs { list-style: none; display: flex; gap: 8px; padding: 0; margin: 10px 0 4px; overflow-x: auto; scroll-snap-type: x proximity; }
.gallery-thumbs li { flex: none; width: 96px; scroll-snap-align: start; }
.g-thumb { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .75; }
.g-thumb.is-on { border-color: var(--sea); opacity: 1; }
.g-thumb img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.unit-cols { display: grid; gap: 32px; }
@media (min-width: 960px) { .unit-cols { grid-template-columns: 1fr 340px; gap: 56px; align-items: start; } .price-box { position: sticky; top: 84px; } }
.unit-main section { margin-bottom: 36px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
@media (min-width: 560px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts div { background: var(--foam); border-radius: 12px; padding: 12px 14px; }
.facts dt { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 650; }
.amen, .rules { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.amen li, .rules li { position: relative; padding-left: 26px; }
.amen li::before, .rules li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 6px; border-left: 2.5px solid var(--sea); border-bottom: 2.5px solid var(--sea); transform: rotate(-45deg) translateY(-30%); }
.rules { grid-template-columns: 1fr; }
.times { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }
.price-box { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.price-table th, .price-table td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th { font-weight: 600; }
.price-table th small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.price-table td { text-align: right; font-weight: 700; white-space: nowrap; }
.price-table .sub th, .price-table .sub td { border-bottom: 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
dialog#demo-popup { border: 0; border-radius: 18px; padding: 28px; max-width: min(92vw, 440px); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); color: var(--ink); }
dialog#demo-popup::backdrop { background: rgba(8, 40, 50, .6); }
dialog#demo-popup h2 { font-size: 1.4rem; }

/* Phase 2 additions (joined to style.css at build time) */
.nav { flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; }
.footer-links a { color: var(--ink); }
.section-sm { padding-block: clamp(32px, 5vw, 56px); }
.muted { color: var(--muted); }

@media (min-width: 900px) { .filters .row-dates { grid-template-columns: 1fr; } }

/* date field */
.df-box { position: relative; }
.df-text { font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #9eb5bb; border-radius: 10px; min-height: 48px; padding: 0 50px 0 12px; width: 100%; }
.df-text:hover { border-color: var(--sea); }
.df-text[aria-invalid="true"] { border-color: var(--sun); background: #fff6f1; }
.df-pick { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--sea); display: grid; place-items: center; cursor: pointer; }
.df-pick:hover { background: var(--foam); }
.df-native { position: absolute; right: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
textarea { font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #9eb5bb; border-radius: 10px; padding: 10px 12px; width: 100%; resize: vertical; }
input[type=text], input[type=email], input[type=tel], input[type=number] { font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #9eb5bb; border-radius: 10px; min-height: 48px; padding: 0 12px; width: 100%; }
.df-text { padding-right: 50px; }
.req { color: var(--sun); }
.err { color: var(--sun); font-size: .875rem; font-weight: 600; margin: 0; }
.err:empty { display: none; }
[aria-invalid="true"] { border-color: var(--sun) !important; }

/* forms and result panels */
.form { display: grid; gap: 16px; max-width: 560px; }
.form-error { background: #fff2ec; border: 1px solid #e9b49b; color: #7a2e0d; border-radius: 10px; padding: 12px 14px; font-weight: 600; }
.demo-warn { margin: 0; }
.done { background: var(--foam); border-radius: var(--radius); padding: 28px; max-width: 640px; }
.done:focus { outline: none; }
.booking-page { display: grid; gap: 32px; padding-bottom: 32px; }
@media (min-width: 900px) { .booking-page { grid-template-columns: minmax(0, 560px) 1fr; gap: 56px; align-items: start; } .booking-page .done { grid-column: 1 / -1; } }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.sum-unit { margin: 0 0 12px; font-weight: 650; }
.q-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.q-row small { color: var(--muted); }
.q-total { border-bottom: 0; font-size: 1.2rem; padding-top: 12px; }
.q-ok { color: #1c6b43; font-weight: 650; margin: 0 0 8px; }
.q-warn { background: #fff2ec; border: 1px solid #e9b49b; color: #7a2e0d; border-radius: 10px; padding: 10px 12px; font-weight: 600; margin: 8px 0; }
.q-title { margin: 6px 0 4px; font-size: 1.05rem; }

/* booking section on the unit page */
.booking { background: var(--foam); border-radius: 18px; padding: clamp(16px, 3vw, 26px); }
.booking-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .booking-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.cal { background: var(--white); border-radius: 14px; padding: 14px; border: 1px solid var(--line); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { margin: 0; font-size: 1.05rem; text-transform: capitalize; letter-spacing: 0; }
.cal-nav { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.cal-nav:hover:not(:disabled) { background: var(--foam); border-color: var(--sea); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow span { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.day-blank { min-height: 42px; }
.day { min-height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-size: .95rem; cursor: pointer; position: relative; }
.day:hover:not([aria-disabled="true"]) { background: var(--foam); }
.day.is-booked { background: repeating-linear-gradient(135deg, #e7eef0, #e7eef0 4px, #f3f7f8 4px, #f3f7f8 8px); color: #64808a; text-decoration: line-through; cursor: not-allowed; }
.day.is-booked:not([aria-disabled="true"]) { cursor: pointer; }
.day.in-range { background: #cfe5ea; border-radius: 0; }
.day.is-from, .day.is-to { background: var(--sea); color: var(--white); text-decoration: none; }
.day.is-from { border-radius: 10px 0 0 10px; }
.day.is-to { border-radius: 0 10px 10px 0; }
.day.is-from.is-to { border-radius: 10px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 10px 0 6px; font-size: .85rem; color: var(--muted); }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; border: 1px solid var(--line); }
.sw-booked { background: repeating-linear-gradient(135deg, #e7eef0, #e7eef0 3px, #f3f7f8 3px, #f3f7f8 6px); }
.sw-sel { background: var(--sea); border-color: var(--sea); }
.quote-panel { display: grid; gap: 14px; align-content: start; }
.quote { min-height: 72px; }
#cta[aria-disabled="true"] { background: #b9c9ce; border-color: #b9c9ce; color: #fff; cursor: not-allowed; }

/* owners, about, contact, tables */
.benefits { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-top: 20px; }
.benefit { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.benefit-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sea); color: #fff; font-weight: 700; margin-bottom: 10px; }
.benefit p { color: var(--muted); margin: 0; }
.badge { display: inline-block; vertical-align: middle; background: #fff3dc; color: #7a4a05; border: 1px solid #ecc982; border-radius: 999px; font-size: .8rem; font-weight: 700; padding: 3px 12px; margin-left: 8px; letter-spacing: 0; }
.report { max-width: 560px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; margin-top: 16px; }
.report table { width: 100%; border-collapse: collapse; }
.report caption { text-align: left; font-weight: 650; padding: 16px 18px 8px; }
.report th, .report td { padding: 10px 18px; border-top: 1px solid var(--line); text-align: left; }
.report thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-top: 0; }
.report thead th:last-child { text-align: right; }
.report td { text-align: right; font-weight: 650; white-space: nowrap; }
.report tbody th { font-weight: 500; }
.report .total th, .report .total td { background: var(--foam); font-weight: 700; }
.prose { max-width: 46em; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 40px; padding: 0; margin: 28px 0 0; }
.stats li { display: grid; }
.stats strong { font-size: 2.6rem; line-height: 1; color: var(--sea); letter-spacing: -.03em; }
.stats span { color: var(--muted); }
.contact-grid { display: grid; gap: 32px; padding-bottom: 24px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.details { margin: 0; display: grid; gap: 14px; }
.details dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.details dd { margin: 2px 0 0; font-weight: 550; }
.table-wrap { overflow-x: auto; }
.credits { width: 100%; border-collapse: collapse; }
.credits th, .credits td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.credits thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.credits img { width: 96px; height: auto; border-radius: 8px; }
.form-section h2 { margin-bottom: .2em; }

/* Phase 3: assistant, guest guide, QR card, "how this would work" (joined to style.css at build time) */

/* ---- assistant ---- */
.chat-fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--sea-dark); color: var(--white); font: inherit; font-weight: 650; cursor: pointer; box-shadow: 0 6px 24px rgba(8, 40, 50, .35); }
.chat-fab:hover { background: var(--sea); }
.chat-bubble.is-open .chat-fab { display: none; }
.chat-panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-bubble .chat-panel { position: fixed; z-index: 50; right: 16px; bottom: 16px; width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 32px)); box-shadow: 0 16px 48px rgba(8, 40, 50, .35); }
@media (max-width: 520px) { .chat-bubble .chat-panel { right: 0; left: 0; bottom: 0; width: 100%; height: 86dvh; border-radius: 18px 18px 0 0; } }
.chat-inline .chat-panel { height: min(560px, 80dvh); margin-top: 12px; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--sea-dark); color: var(--white); padding: 12px 14px 12px 18px; }
.chat-head strong { display: block; line-height: 1.2; }
.chat-head span { font-size: .82rem; color: #cfe3e8; }
.chat-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--white); display: grid; place-items: center; cursor: pointer; }
.chat-close:hover { background: rgba(255, 255, 255, .15); }
.chat-log { flex: 1; min-height: 110px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f7fafb; }
.msg { margin: 0; max-width: 88%; padding: 9px 13px; border-radius: 16px; line-height: 1.45; font-size: .98rem; overflow-wrap: anywhere; }
.msg-bot { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-user { background: var(--sea); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg-note, .msg-typing { align-self: center; background: transparent; color: var(--muted); font-size: .85rem; text-align: center; max-width: 100%; }
.msg-typing { animation: pulse 1.2s ease-in-out infinite; }
.msg-typing::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: dots 1.2s steps(4, end) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75%, 100% { content: "..."; } }
@keyframes pulse { 50% { opacity: .45; } }
.handoff { align-self: stretch; display: grid; gap: 8px; }
.handoff-chip { margin: 0; justify-self: start; background: #e3f4ea; color: #14633a; border: 1px solid #b4dcc5; border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: .85rem; }
.sample-card { background: #fffaf0; border: 1.5px dashed #e0b866; border-radius: 12px; padding: 10px 12px; font-size: .88rem; }
.sample-title { margin: 0 0 6px; font-weight: 700; color: #7a4a05; }
.sample-rows { margin: 0; display: grid; gap: 4px; }
.sample-rows div { display: flex; gap: 8px; }
.sample-rows dt { color: var(--muted); min-width: 7.5em; }
.sample-rows dd { margin: 0; font-weight: 600; }
.sample-note { margin: 8px 0 0; color: #7a4a05; font-weight: 600; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px; background: #f7fafb; border-top: 1px solid var(--line); }
.chip { min-height: 40px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--sea); background: var(--white); color: var(--sea-dark); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; text-align: left; }
.chip:hover:not(:disabled) { background: var(--foam); }
.chip:disabled { opacity: .5; cursor: default; }
.chat-form { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--white); }
.chat-form input { flex: 1; min-width: 0; }
.chat-form .btn { min-height: 48px; padding: 0 18px; }
.chat-note { margin: 0; padding: 0 14px 10px; font-size: .78rem; color: var(--muted); background: var(--white); }

/* ---- guest guide (mobile first) ---- */
.guide { max-width: 640px; padding-bottom: 40px; }
.guide-head { padding: 24px 0 8px; }
.guide-head h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
.sample-note { background: #fff3dc; border: 1px solid #ecc982; color: #6b4306; border-radius: 10px; padding: 8px 12px; }
.g-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px; margin: 14px 0; box-shadow: 0 1px 2px rgba(16, 48, 59, .05); }
.g-card .h3 { margin-bottom: .5em; }
.g-card p:last-child { margin-bottom: 0; }
.g-rows { margin: 0; display: grid; gap: 12px; }
.g-rows dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.g-rows dd { margin: 4px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: center; gap: 10px; }
.g-rows dd .copy { width: 104px; justify-self: end; }
.g-rows code { justify-self: start; font-size: 1.15rem; font-weight: 700; background: var(--foam); border-radius: 8px; padding: 6px 10px; letter-spacing: .02em; overflow-wrap: anywhere; }
.copy { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--sea); background: var(--white); color: var(--sea-dark); font: inherit; font-weight: 650; cursor: pointer; }
.copy:hover { background: var(--foam); }
.copy.is-done { background: #e3f4ea; border-color: #14633a; color: #14633a; }
.g-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.g-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.g-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.partners { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 14px; }
.partners li { display: grid; gap: 2px; }
.partner-meta { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #7a4a05; }
.partner-name { font-size: 1.08rem; line-height: 1.25; }
.partner-note { color: var(--muted); }
.g-emergency { border-color: #e9b49b; background: #fffaf7; }
.emerg-main a { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: #8a2b0b; font-size: 1.15rem; min-height: 48px; }
.emerg-main strong { font-size: 2.4rem; letter-spacing: -.02em; line-height: 1; }
.g-emergency .g-list a { color: var(--ink); text-decoration: none; }
.g-emergency .g-list strong { font-size: 1.2rem; }
.guide-link .guide-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- QR card ---- */
.qr-page { padding-block: 24px 48px; display: grid; gap: 24px; justify-items: center; grid-template-columns: minmax(0, 1fr); }
.qr-tools { max-width: 640px; justify-self: start; }
.qr-card { width: min(105mm, 100%); max-width: 100%; min-width: 0; box-sizing: border-box; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; padding: 8mm 7mm; text-align: center; display: grid; gap: 4mm; }
.qr-brand { margin: 0; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--sea); }
.qr-unit { margin: 0; font-size: 1.5rem; }
.qr-code { width: 62mm; max-width: 100%; margin: 0 auto; }
.qr-code svg { display: block; width: 100%; height: auto; }
.qr-scan { margin: 0; font-weight: 650; font-size: .92rem; line-height: 1.4; }
.qr-url { margin: 0; font-size: .72rem; color: var(--muted); overflow-wrap: anywhere; }
.qr-sample { margin: 0; font-size: .7rem; color: #7a4a05; }
@media print {
  .demobar, .site-header, .site-footer, .no-print, .chat, dialog { display: none !important; }
  body { background: #fff; }
  .qr-page { padding: 0; }
  .qr-card { border-color: #000; break-inside: avoid; margin: 10mm auto; }
}

/* ---- how this would work ---- */
.how-sec { padding-block: clamp(28px, 5vw, 56px); }
.how-sec > p, .how-sec > ul { max-width: 46em; }
.how-sec .benefit-n { margin-bottom: 12px; }
.how-sec h2 { margin-bottom: .4em; }
.how-wa { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .how-wa { grid-template-columns: 1fr 340px; gap: 64px; } }
.phone { position: relative; width: 300px; max-width: 100%; margin-inline: auto; background: #1b2b30; border-radius: 38px; padding: 14px; box-shadow: 0 18px 50px rgba(8, 40, 50, .3); }
.phone-label { position: absolute; top: -12px; right: 18px; z-index: 2; background: #fff3dc; color: #7a4a05; border: 1px solid #ecc982; border-radius: 999px; padding: 3px 12px; font-size: .78rem; font-weight: 700; }
.phone-screen { background: #ece5dd; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; height: 520px; }
.wa-head { background: #0b6b57; color: #fff; display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.wa-head small { display: block; color: #cfe8e0; font-size: .75rem; }
.wa-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: #0b6b57; display: grid; place-items: center; font-weight: 800; }
.wa-chat { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.wa-msg { margin: 0; max-width: 84%; padding: 7px 10px; border-radius: 10px; font-size: .88rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.wa-guest { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.wa-bot { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.wa-handoff { margin: 4px 0 0; align-self: center; background: #e3f4ea; color: #14633a; border: 1px solid #b4dcc5; border-radius: 999px; padding: 4px 12px; font-size: .78rem; font-weight: 700; }
.wa-chat.is-anim .wa-msg, .wa-chat.is-anim .wa-handoff { opacity: 0; transform: translateY(10px); }
.wa-chat.is-anim .is-in { opacity: 1; transform: none; transition: opacity .35s, transform .35s; }
@media (prefers-reduced-motion: reduce) { .wa-chat.is-anim .wa-msg, .wa-chat.is-anim .wa-handoff { opacity: 1; transform: none; } }
