/* ==========================================================================
   Driftwood Cottage - shared styles for every page
   --------------------------------------------------------------------------
   REBRANDING: edit the custom properties in :root below.
   - --sand / --sand-2 / --shell   sandy beige backgrounds and panels
   - --ocean / --ocean-deep        ocean blue for buttons, links and dark bands
   - --foam                        pale sea-foam tint for highlights
   - --text / --muted              text colors (keep 4.5:1 contrast on the backgrounds)
   - --font-display / --font-body  heading and body fonts. If you change them,
     also update the Google Fonts <link> in the <head> of every page.
   ========================================================================== */
:root {
  --sand: #f3eadb;
  --sand-2: #e8d9c0;
  --shell: #fffcf6;
  --ocean: #1b5d85;
  --ocean-deep: #0f3550;
  --ocean-soft: #7fb6cf;
  --foam: #dcefef;
  --sun: #f0c27a;
  --text: #1f2a33;
  --muted: #55606a;
  --line: #e0d2ba;
  --error: #a3321c;
  --success: #1d5c48;
  --booked: #e6dccb;

  --font-display: "Young Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 22px 44px -26px rgba(15, 53, 80, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--text); font-family: var(--font-body); font-size: 1.07rem; line-height: 1.65; overflow-wrap: break-word; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; color: var(--ocean-deep); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; }
a { color: var(--ocean); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ocean-deep); }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--sun); }
::selection { background: var(--ocean); color: #fff; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--ocean-deep); color: #fff; padding: .7rem 1.1rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; color: #fff; }
[hidden] { display: none !important; }

.kicker { display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ocean); margin-bottom: .9rem; }
.dark .kicker { color: var(--sun); }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 36rem; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 44rem; margin-bottom: 2.4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }
.shell { background: var(--shell); }
.dark { background: var(--ocean-deep); color: #e4eef2; }
.dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark p { color: #c6d7df; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.6rem; border: 2px solid transparent; border-radius: 999px; cursor: pointer; font: 600 1rem/1.2 var(--font-body); text-decoration: none; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-ocean { background: var(--ocean); color: #fff; }
.btn-ocean:hover { background: var(--ocean-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--ocean-deep); border-color: var(--ocean-deep); }
.btn-outline:hover { background: var(--ocean-deep); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ocean-deep); }
.btn-sun:hover { background: #f5d39d; color: var(--ocean-deep); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(243, 234, 219, .93); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--ocean-deep); text-decoration: none; }
.logo:hover { color: var(--ocean-deep); }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-text { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; }
.logo-text small { display: block; font-family: var(--font-body); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.nav-toggle { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .5rem 1rem; border: 2px solid var(--ocean-deep); border-radius: 999px; background: transparent; color: var(--ocean-deep); cursor: pointer; font-weight: 600; }
.nav-toggle .bars { position: relative; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.nav-toggle .bars::before { top: -5px; }
.nav-toggle .bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--shell); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .5rem var(--gutter) 1.4rem; }
.site-nav a { display: block; padding: .85rem 0; color: var(--ocean-deep); text-decoration: none; font-family: var(--font-display); font-size: 1.4rem; border-bottom: 1px dashed var(--line); }
.site-nav a[aria-current="page"] { color: var(--ocean); }
.site-nav a[aria-current="page"]::before { content: "~ "; }
.site-nav .nav-cta { margin-top: 1rem; border: 0; text-align: center; background: var(--ocean); color: #fff; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; }
.site-nav .nav-cta[aria-current="page"] { color: #fff; background: var(--ocean-deep); }
.site-nav .nav-cta[aria-current="page"]::before { content: none; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: 1.9rem; padding: 0; }
  .site-nav a { padding: .35rem 0; border: 0; font-family: var(--font-body); font-size: 1rem; font-weight: 500; }
  .site-nav a[aria-current="page"]::before { content: none; }
  .site-nav a:not(.nav-cta)[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--sun); }
  .site-nav a:not(.nav-cta):hover { color: var(--ocean); }
  .site-nav .nav-cta { margin: 0; padding: .6rem 1.3rem; font-size: .98rem; }
  .site-nav .nav-cta:hover { background: var(--ocean-deep); color: #fff; }
}

/* ---------- Scene placeholders ---------- */
.ph { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--foam); }
.ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-label { position: absolute; z-index: 2; left: .8rem; bottom: .8rem; font-size: .76rem; font-weight: 600; background: rgba(255, 252, 246, .92); color: var(--ocean-deep); padding: .25rem .7rem; border-radius: 999px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(5rem, 10vw, 8rem); background: radial-gradient(circle at 90% 0%, rgba(240, 194, 122, .35), transparent 40%), linear-gradient(180deg, var(--sand) 0%, #f6efe3 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
.hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 6vw, 4.1rem); }
.quick-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.quick-facts li { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; border-radius: 999px; background: var(--shell); border: 1px solid var(--line); font-size: .92rem; font-weight: 500; }
.quick-facts svg { width: 18px; height: 18px; color: var(--ocean); }
.postcard { position: relative; background: var(--shell); padding: .9rem .9rem 3.4rem; border-radius: 10px; box-shadow: var(--shadow); transform: rotate(2.5deg); max-width: 540px; justify-self: center; width: 100%; }
.postcard .ph { border-radius: 6px; aspect-ratio: 5 / 4; }
.postcard-caption { position: absolute; left: 1.1rem; bottom: .9rem; font-family: var(--font-display); font-size: 1.15rem; color: var(--ocean-deep); }
.stamp { position: absolute; z-index: 3; right: -10px; top: -18px; width: 92px; height: 108px; background: var(--sun); border-radius: 6px; display: grid; place-items: center; text-align: center; color: var(--ocean-deep); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; transform: rotate(6deg); box-shadow: 0 0 0 4px var(--shell), 0 0 0 5px var(--line); }
.stamp strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; color: var(--shell); }
.hero-waves svg { width: 100%; height: 100%; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

/* ---------- Highlights ---------- */
.highlights { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.highlight h3 { margin-top: 1.1rem; }
.highlight p { color: var(--muted); margin: 0; }

/* ---------- Amenities ---------- */
.amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .amenities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .amenities { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.amenities li { display: flex; align-items: center; gap: .8rem; padding: 1rem; border-radius: var(--radius-sm); background: var(--sand); font-weight: 500; }
.amenities .ico { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--shell); display: grid; place-items: center; color: var(--ocean); }
.amenities svg { width: 24px; height: 24px; }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: grid; gap: .8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery li { list-style: none; }
.gallery { margin: 0; padding: 0; }
.gallery-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); }
.gallery-btn .ph { transition: transform .35s var(--ease); }
.gallery-btn:hover .ph { transform: scale(1.02); }
@media (min-width: 820px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .gallery li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery li:nth-child(4) { grid-column: span 2; }
  .gallery-btn, .gallery-btn .ph { height: 100%; aspect-ratio: auto; }
}
.lightbox { width: min(980px, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0; border: 0; border-radius: var(--radius); background: var(--ocean-deep); color: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox::backdrop { background: rgba(8, 26, 40, .78); }
.lightbox-inner { position: relative; padding: 1rem; }
.lightbox .ph { aspect-ratio: 16 / 10; border-radius: 14px; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem .3rem .2rem; }
.lightbox-bar p { margin: 0; color: #d7e5eb; }
.lb-controls { display: flex; gap: .5rem; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.round-btn:hover { border-color: var(--sun); color: var(--sun); }
.round-btn svg { width: 20px; height: 20px; }
.lb-close { position: absolute; top: 1.6rem; right: 1.6rem; z-index: 3; background: rgba(15, 53, 80, .85); }

/* ---------- Location ---------- */
.loc-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.map { border-radius: var(--radius); overflow: hidden; background: #cfe6ec; aspect-ratio: 1 / 1; max-height: 520px; width: 100%; }
.map svg { width: 100%; height: 100%; }
.nearby { list-style: none; margin: 0; padding: 0; }
.nearby li { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .25); }
.nearby .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--sun); font-weight: 700; font-size: .85rem; }
.nearby strong { color: #fff; font-weight: 600; display: block; }
.nearby span { font-size: .9rem; color: #b9cdd6; }
.nearby .dist { font-weight: 600; color: var(--sun); white-space: nowrap; }

/* ---------- Rules ---------- */
.rules-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .rules-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rule { background: var(--shell); border-radius: var(--radius-sm); padding: 1.3rem; border: 1px solid var(--line); }
.rule h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.rule p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review { margin: 0; background: var(--shell); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; gap: .8rem; position: relative; }
.review::before { content: "\201C"; position: absolute; right: 1.2rem; top: .2rem; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--foam); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.review-tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ocean); background: var(--foam); padding: .2rem .6rem; border-radius: 999px; position: relative; }
.stars { display: flex; gap: 2px; color: #b77a16; }
.stars svg { width: 18px; height: 18px; }
.stars .off { color: #d9cbb2; }
.review blockquote { margin: 0; font-size: 1.08rem; color: var(--text); }
.review blockquote p { margin: 0; }
.review figcaption { margin-top: auto; font-size: .92rem; color: var(--muted); }
.review figcaption strong { color: var(--ocean-deep); }
.rating-summary { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--shell); border-radius: var(--radius-sm); margin-bottom: .7rem; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-weight: 600; color: var(--ocean-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid var(--ocean); border-bottom: 2px solid var(--ocean); transform: rotate(45deg); transition: transform .25s var(--ease); flex: none; margin-top: -6px; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 6px; }
.faq .faq-body { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq .faq-body p { margin: 0; }

.cta { text-align: center; }
.cta .lead { margin: 0 auto 1.6rem; }

/* ---------- Booking page ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 3vw, 2rem); }
.page-head h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); margin-bottom: .2em; }
.page-head p { color: var(--muted); max-width: 42rem; margin: 0; }
.book-grid { display: grid; gap: 1.6rem; padding-bottom: clamp(3rem, 7vw, 5rem); }
@media (min-width: 980px) { .book-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 2rem; align-items: start; } .summary { position: sticky; top: 96px; } }
.panel { background: var(--shell); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.8rem); border: 1px solid var(--line); }
.panel + .panel { margin-top: 1.6rem; }
.panel h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.cal-head h3 { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.cal-head .round-btn { border-color: var(--line); color: var(--ocean-deep); background: var(--sand); }
.cal-head .round-btn:hover:not(:disabled) { border-color: var(--ocean); color: var(--ocean); }
.cal-head .round-btn:disabled { opacity: .4; cursor: not-allowed; }
.cal { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.cal th { font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .3rem 0; }
.cal td { padding: 0; }
.day { width: 100%; aspect-ratio: 1 / 1; min-height: 38px; border: 1px solid transparent; border-radius: 10px; background: var(--sand); color: var(--text); font-weight: 600; font-size: .95rem; cursor: pointer; display: grid; place-items: center; position: relative; padding: 0; }
.day:hover:not(:disabled) { border-color: var(--ocean); }
.day:disabled { cursor: not-allowed; }
.day[data-state="past"] { background: transparent; color: #9aa1a6; font-weight: 400; }
.day[data-state="booked"] { background: repeating-linear-gradient(135deg, var(--booked) 0 5px, #efe7d8 5px 10px); color: #7c756b; text-decoration: line-through; font-weight: 400; }
.day[data-state="checkout-only"] { background: repeating-linear-gradient(135deg, var(--booked) 0 5px, #efe7d8 5px 10px); color: var(--text); border-color: var(--ocean-soft); }
.day[data-weekend="true"]:not(:disabled)::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: #b77a16; }
.day.in-range { background: var(--foam); color: var(--ocean-deep); border-radius: 6px; }
.day.is-start, .day.is-end { background: var(--ocean); color: #fff; border-radius: 10px; }
.day.is-start::after, .day.is-end::after { background: #fff !important; }
.day.is-today { box-shadow: inset 0 0 0 2px var(--sun); }
.legend { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin: 1rem 0 0; padding: 0; list-style: none; font-size: .86rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: .45rem; }
.legend .sw { width: 16px; height: 16px; border-radius: 5px; background: var(--sand); border: 1px solid var(--line); }
.legend .sw.sel { background: var(--ocean); border-color: var(--ocean); }
.legend .sw.rng { background: var(--foam); }
.legend .sw.bk { background: repeating-linear-gradient(135deg, var(--booked) 0 4px, #efe7d8 4px 8px); }
.legend .sw.we { width: 8px; height: 8px; border-radius: 50%; background: #b77a16; border: 0; }
.cal-status { margin: 1rem 0 0; padding: .75rem 1rem; border-radius: var(--radius-sm); background: var(--sand); font-size: .95rem; min-height: 3rem; }
.cal-status.is-error { background: #f8e1da; color: var(--error); font-weight: 600; }

.summary h2 { margin-bottom: .8rem; }
.dates-row { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 1rem; }
.dates-row div { padding: .7rem .9rem; }
.dates-row div + div { border-left: 1px solid var(--line); }
.dates-row span { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dates-row strong { font-weight: 600; }
.guests { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0 1rem; border-bottom: 1px solid var(--line); }
.guests .legend-label { font-weight: 600; }
.guests small { display: block; color: var(--muted); font-size: .85rem; }
.stepper { display: inline-flex; align-items: center; gap: .3rem; }
.stepper .round-btn { width: 40px; height: 40px; border-color: var(--line); color: var(--ocean-deep); font-size: 1.2rem; font-weight: 600; }
.stepper .round-btn:hover:not(:disabled) { border-color: var(--ocean); color: var(--ocean); }
.stepper .round-btn:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font-weight: 700; font-size: 1.1rem; }
.price-lines { list-style: none; margin: 1rem 0 0; padding: 0; }
.price-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.price-lines .total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .8rem; font-weight: 700; font-size: 1.15rem; color: var(--ocean-deep); }
.summary-empty { color: var(--muted); margin: 1rem 0 0; }
.note { font-size: .86rem; color: var(--muted); margin: 1rem 0 0; }

.field { display: grid; gap: .35rem; margin-bottom: 1rem; align-content: start; }
label, .legend-label { font-weight: 600; font-size: .95rem; color: var(--ocean-deep); }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 48px; padding: .7rem .95rem; border: 1px solid #b9a988; border-radius: var(--radius-sm); background: #fff; color: var(--text); }
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ocean); outline-offset: 1px; border-color: var(--ocean); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.error { color: var(--error); font-size: .88rem; font-weight: 500; margin: 0; min-height: 1.3em; }
.check { display: flex; gap: .7rem; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--ocean); flex: none; }
.check label { font-weight: 500; color: var(--text); }
.form-grid { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .full { grid-column: 1 / -1; } }
.confirm { margin-top: 1.2rem; padding: 1.3rem 1.4rem; border-radius: var(--radius-sm); background: #dcefe6; color: var(--success); border: 1px solid #a9d3c0; }
.confirm:empty { display: none; }
.confirm h3 { color: var(--success); margin-bottom: .3rem; }
.confirm p { margin: 0; color: #24493c; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ocean-deep); color: #c6d7df; padding: 0 0 1.5rem; position: relative; }
.footer-wave { display: block; width: 100%; height: 60px; color: var(--ocean-deep); background: var(--sand); }
.footer-wave.on-shell { background: var(--shell); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 2.5rem; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .logo, .footer-brand .logo:hover { color: #fff; }
.footer-brand .logo-text small { color: #b9cdd6; }
.footer-brand p { max-width: 24rem; margin-top: .9rem; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: .8rem; font-weight: 700; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer-list a { color: #fff; text-decoration: none; }
.footer-list a:hover { color: var(--sun); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.built { font-size: .76rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .btn:hover, .gallery-btn:hover .ph { transform: none; }
}
