/* Faith Morris Photography: public site + booking flow. Mobile-first. */
:root {
  --ink: #1f1a17;
  --ink-2: #3a322c;
  --muted: #7d6f63;
  --line: #e7ddd1;
  --cream: #f8f4ee;
  --sand: #efe6da;
  --paper: #ffffff;
  --accent: #a87b52;
  --accent-dark: #8a6240;
  --ok: #3f7d5a;
  --danger: #b2432f;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(31, 26, 23, .18);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--cream); font-weight: 400; overflow-x: hidden; }
body.no-scroll, body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, Menlo, monospace; letter-spacing: .06em; }
.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 500; color: var(--accent); margin-bottom: .9rem; }
.eyebrow.light { color: #e8cfb5; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 640px; }
.center .lede, .section-head .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; letter-spacing: .04em; font-size: .95rem; cursor: pointer; transition: background .2s, color .2s, transform .15s, border-color .2s; white-space: nowrap; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; background: var(--ink); border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.linklike { background: none; border: 0; padding: 0; color: var(--accent-dark); text-decoration: underline; cursor: pointer; }
.linklike.danger { color: var(--danger); }
.link-arrow { color: var(--accent-dark); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: ' →'; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: background .3s, box-shadow .3s, color .3s; color: var(--ink); background: rgba(248, 244, 238, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.home .site-header:not(.is-scrolled) { background: transparent; box-shadow: none; color: #fff; backdrop-filter: none; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; letter-spacing: .01em; }
.brand-sub { font-size: .62rem; letter-spacing: .42em; text-transform: uppercase; margin-top: 4px; opacity: .8; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-size: .92rem; letter-spacing: .04em; position: relative; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right .25s; }
.nav a:not(.btn):hover::after { right: 0; }
.home .site-header:not(.is-scrolled) .nav .btn { background: #fff; color: var(--ink); border-color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; z-index: 60; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .brand-name { font-size: 1.4rem; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0; background: var(--cream); color: var(--ink); flex-direction: column; justify-content: center; gap: 22px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 2rem; }
  .nav .btn { margin-top: 12px; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { color: var(--ink) !important; }
  .home.nav-open .site-header .nav .btn { background: var(--ink); color: #fff; border-color: var(--ink); }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; animation: heroZoom 18s ease-out forwards; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,14,.45) 0%, rgba(20,16,14,.1) 35%, rgba(20,16,14,.75) 100%); }
.hero-inner { position: relative; padding-bottom: clamp(56px, 10vh, 110px); padding-top: 120px; }
.hero h1 { max-width: 820px; font-weight: 400; text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { font-size: .88rem; letter-spacing: .06em; opacity: .85; }
/* Wide screens: portrait photos sit on the right, headline on a solid panel. */
@media (min-width: 901px) {
  .hero { align-items: center; }
  .hero-img { left: 46%; width: 54%; object-position: 50% 20%; }
  .hero-shade { background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 44%, rgba(31,26,23,.55) 52%, rgba(31,26,23,0) 70%), linear-gradient(0deg, rgba(31,26,23,.35), rgba(31,26,23,0) 30%); }
  .hero-inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
  .hero h1 { max-width: 560px; font-size: clamp(3rem, 5.2vw, 4.8rem); }
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; } html { scroll-behavior: auto; } }

/* Values strip */
.values { background: var(--paper); border-bottom: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.values-grid > div { padding: 40px 28px; border-left: 1px solid var(--line); }
.values-grid > div:first-child { border-left: 0; padding-left: 0; }
.values h3 { font-size: 1.35rem; }
.values p { color: var(--muted); margin: 0; font-size: .95rem; }
.v-num { display: block; font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.1rem; margin-bottom: 8px; }
@media (max-width: 760px) {
  .values-grid { grid-template-columns: 1fr; }
  .values-grid > div { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0; }
  .values-grid > div:first-child { border-top: 0; }
}

/* Sections */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-tint { background: var(--sand); }
.section-dark { background: var(--ink); color: #f3ece4; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { text-wrap: balance; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; padding: 2px 16px 6px; margin-left: -16px; margin-right: -16px; scroll-snap-type: x proximity; }
.chips-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .section .chips-scroll { justify-content: center; flex-wrap: wrap; } }
.chip { flex: 0 0 auto; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 18px; font-size: .9rem; cursor: pointer; transition: all .2s; scroll-snap-align: start; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 14px; }
.g-item { display: block; overflow: hidden; border-radius: 10px; background: var(--sand); aspect-ratio: 4 / 5; }
.g-item:nth-child(7n + 1) { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .6s ease; }
.g-item:hover img { transform: scale(1.04); }

@media (max-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } .g-item { border-radius: 8px; } }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15, 12, 10, .94); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox img { max-height: 88vh; max-width: min(92vw, 1100px); width: auto; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.18); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } }

/* Packages (home) */
.cat-blurb { text-align: center; color: var(--muted); margin-bottom: 28px; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.pkg-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .3s; }
.pkg-card:hover { transform: translateY(-4px); }
.pkg-card.is-featured { outline: 2px solid var(--accent); }
.pkg-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.pkg-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.pkg-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.pkg-body h3 { margin-bottom: 4px; }
.pkg-meta { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); font-size: .9rem; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.price { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); }
.pkg-body > p { color: var(--ink-2); font-size: .95rem; }
.pkg-body .btn { margin-top: auto; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; font-size: .92rem; }
.ticks li { position: relative; padding-left: 24px; margin-bottom: 6px; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.steps span { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; border: 1px solid var(--accent); color: var(--accent); font-family: var(--serif); font-size: 1.2rem; margin-bottom: 14px; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-img { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about p { color: var(--ink-2); }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } .about-img { max-width: 420px; margin: 0 auto; } }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.quote { margin: 0; padding: 32px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); display: flex; flex-direction: column; }
.stars { color: #d8b48c; letter-spacing: 4px; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; font-style: italic; flex: 1; }
.quote figcaption { display: flex; flex-direction: column; font-size: .9rem; }
.quote figcaption span { opacity: .65; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-family: var(--serif); font-size: 1.35rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p, .faq details ul { color: var(--ink-2); padding-bottom: 18px; margin: 0; }
.faq details ul { padding-left: 20px; }

/* CTA */
.cta-band { background: linear-gradient(rgba(31,26,23,.72), rgba(31,26,23,.72)), url('/assets/img/g2.jpg') center 30% / cover; color: #fff; text-align: center; padding: clamp(70px, 12vw, 130px) 0; }
.cta-inner p { opacity: .85; margin-bottom: 26px; }

.mobile-book { display: none; }
@media (max-width: 700px) {
  .mobile-book { display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; min-height: 52px; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; letter-spacing: .04em; box-shadow: 0 10px 30px rgba(0,0,0,.25); transform: translateY(140%); transition: transform .3s; }
  .past-hero .mobile-book { transform: none; }
  .home .site-footer { padding-bottom: 90px; }
}

/* Footer */
.site-footer { background: #171310; color: #d9cfc4; padding: 64px 0 24px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 500; }
.brand-light { color: #fff; margin-bottom: 16px; }
.muted-light { color: #a69a8e; max-width: 320px; }
.ig-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
.hours, .contact { list-style: none; padding: 0; margin: 0 0 18px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; max-width: 260px; }
.contact li { margin-bottom: 6px; }
.contact a { text-decoration: none; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 20px; font-size: .84rem; color: #8f8478; }
.footer-base a { text-decoration: none; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* --------------------------------------------------------------- booking flow */
.booking-page main, .booking-status main, .message-page { padding-top: var(--header-h); }
.book-hero { padding: 48px 0 24px; text-align: center; }
.book-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; padding-bottom: 80px; }
.stepper { grid-column: 1 / -1; list-style: none; margin: 0 0 8px; padding: 0; display: flex; gap: 8px; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 2px solid var(--line); color: var(--muted); font-size: .9rem; transition: color .2s, border-color .2s; }
.stepper li span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; flex: 0 0 auto; }
.stepper li em { font-style: normal; white-space: nowrap; }
.stepper li.is-current { color: var(--ink); border-color: var(--ink); font-weight: 500; }
.stepper li.is-done { color: var(--accent-dark); border-color: var(--accent); }
.stepper li.is-done span { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-title { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 6px; }
.step-sub { color: var(--muted); margin-bottom: 22px; }
.step .chips { justify-content: flex-start; margin: 18px 0 8px; }

.pkg-group { margin-top: 26px; }
.pkg-group-title { font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.pkg-option { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; overflow: hidden; }
.pkg-option:hover { border-color: #cdbfae; }
.pkg-option.is-selected { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pkg-option-main { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center; width: 100%; padding: 14px; background: none; border: 0; text-align: left; cursor: pointer; }
.pkg-option-main img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; }
.pkg-option-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pkg-option-text strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.2; }
.pkg-option-meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .86rem; }
.mini-badge { background: var(--sand); color: var(--accent-dark); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.pkg-option-summary { color: var(--ink-2); font-size: .92rem; }
.pkg-option-price { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.pkg-option-price strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.radio-dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c9bcad; position: relative; }
.is-selected .radio-dot { border-color: var(--ink); }
.is-selected .radio-dot::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); }
.pkg-option-more { padding: 0 14px 12px 122px; }
.pkg-option-more summary { cursor: pointer; color: var(--accent-dark); font-size: .88rem; list-style: none; }
.pkg-option-more summary::-webkit-details-marker { display: none; }
.pkg-option-more summary::after { content: ' ▾'; }
.pkg-option-more[open] summary::after { content: ' ▴'; }
.pkg-option-more .ticks { margin: 10px 0 4px; }
@media (max-width: 560px) {
  .pkg-option-main { grid-template-columns: 64px 1fr; gap: 12px; padding: 12px; }
  .pkg-option-main img { width: 64px; height: 64px; grid-row: span 2; align-self: start; }
  .pkg-option-summary { display: none; }
  .pkg-option-price { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
  .pkg-option-more { padding: 0 12px 12px 88px; }
}

.addon { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 10px; transition: border-color .2s; }
.addon.is-on { border-color: var(--ink); }
.addon-text { min-width: 0; }
.addon-text strong { display: block; font-weight: 500; }
.addon-price { color: var(--accent-dark); font-size: .9rem; }
.addon-text p { color: var(--muted); font-size: .88rem; margin: 4px 0 0; }
.toggle { min-width: 84px; min-height: 40px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: .88rem; }
.toggle.is-on { background: var(--ink); color: #fff; }
.stepper-ctl { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; flex: 0 0 auto; }
.stepper-ctl button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; border-radius: 50%; }
.stepper-ctl button:disabled { opacity: .3; cursor: default; }
.stepper-ctl span { min-width: 24px; text-align: center; font-weight: 500; }

/* Calendar + slots */
.picker { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.cal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-title { font-size: 1.35rem; margin: 0; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 1.3rem; line-height: 1; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow span { font-size: .74rem; color: var(--muted); letter-spacing: .1em; padding: 4px 0; }
.cal-grid.is-loading { opacity: .4; }
.cal-day { aspect-ratio: 1; border: 0; background: none; border-radius: 50%; font-size: .95rem; color: #bdb2a6; cursor: default; position: relative; max-height: 52px; }
.cal-day.is-open { color: var(--ink); background: var(--sand); cursor: pointer; font-weight: 500; }
.cal-day.is-open:hover { background: #e3d5c4; }
.cal-day.is-today::after { content: ''; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.cal-day.is-selected { background: var(--ink) !important; color: #fff; }
.slots-date { font-size: 1.35rem; margin-bottom: 4px; }
.slots-group { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 16px 0 8px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; cursor: pointer; font-size: .92rem; transition: border-color .15s; }
.slot:hover { border-color: var(--ink); }
.slot.is-selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.slots-empty { color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
@media (max-width: 760px) { .picker { grid-template-columns: 1fr; } }

/* Details form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-grid .field { margin-bottom: 0; }
.field > span { font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid #d9cdbf; border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(168, 123, 82, .18); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-group { border: 0; padding: 0; margin: 22px 0 6px; }
.field-group legend { font-size: .88rem; font-weight: 500; color: var(--ink-2); margin-bottom: 10px; padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid #d9cdbf; border-radius: 10px; background: var(--paper); font-size: .94rem; transition: all .2s; }
.seg input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-section { font-size: 1.5rem; margin: 30px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.file-field input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop { display: block; border: 1.5px dashed #cdbfae; border-radius: 10px; padding: 22px; text-align: center; background: var(--paper); color: var(--muted); cursor: pointer; font-size: .92rem; }
.file-drop strong { color: var(--accent-dark); font-weight: 500; }
.file-field:focus-within .file-drop { border-color: var(--ink); }
.file-names { font-size: .85rem; color: var(--ink-2); word-break: break-word; }
.checks { margin: 22px 0 8px; display: grid; gap: 12px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .92rem; color: var(--ink-2); cursor: pointer; padding: 4px; border-radius: 8px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.check.has-error { background: #fbeae6; }
.policy-box { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; font-size: .9rem; color: var(--ink-2); }
.policy-box ul { margin: 0; padding-left: 18px; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-card { cursor: pointer; }
.pay-card input { position: absolute; opacity: 0; }
.pay-card > span { display: flex; flex-direction: column; border: 1px solid #d9cdbf; border-radius: 12px; padding: 16px; background: var(--paper); height: 100%; transition: all .2s; }
.pay-card em { font-style: normal; font-family: var(--serif); font-size: 1.6rem; }
.pay-card small { color: var(--muted); }
.pay-card input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pay-card input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-error { background: #fbeae6; color: var(--danger); padding: 12px 16px; border-radius: 10px; margin-top: 16px; font-size: .92rem; }

/* Summary */
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary-card { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.summary-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.sum-when { display: flex; flex-direction: column; background: var(--cream); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; font-size: .92rem; }
.sum-when strong { font-weight: 500; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; padding: 6px 0; color: var(--ink-2); }
.sum-pkg { font-weight: 500; color: var(--ink); }
.sum-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.sum-due { color: var(--accent-dark); font-weight: 500; }
.sum-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.summary-actions { display: flex; gap: 10px; margin-top: 20px; }
.summary-actions .btn-outline { flex: 0 0 auto; padding: 0 20px; }
.sum-mini { display: none; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

@media (max-width: 900px) {
  .book-layout { grid-template-columns: minmax(0, 1fr); padding-bottom: 150px; }
  .stepper li em { display: none; }
  .stepper li.is-current em { display: inline; }
  .summary { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 45; }
  .summary-card { border-radius: 18px 18px 0 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px rgba(31,26,23,.15); }
  .summary-card h3 { font-family: var(--sans); font-size: .9rem; font-weight: 500; margin: 0; display: flex; justify-content: space-between; cursor: pointer; }
  .sum-mini { display: inline; font-weight: 600; margin-left: 4px; margin-right: auto; }
  .summary-card h3::after { content: 'Details ▴'; color: var(--accent-dark); font-weight: 400; }
  .summary.is-open .summary-card h3::after { content: 'Hide ▾'; }
  #summary-body { display: none; max-height: 45vh; overflow: auto; margin-top: 10px; }
  .summary.is-open #summary-body { display: block; }
  .summary-actions { margin-top: 10px; }
  body:not(.has-selection) .summary-card h3 { display: none; }
  .booking-page .site-footer { padding-bottom: 150px; }
}

/* Booking status page */
.status-wrap { padding-top: 40px; }
.status-card { background: var(--paper); border-radius: 20px; padding: clamp(28px, 5vw, 48px); box-shadow: var(--shadow); text-align: center; }
.status-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; background: var(--sand); color: var(--accent-dark); }
.status-confirmed .status-icon, .status-completed .status-icon { background: #e4f0e8; color: var(--ok); }
.status-cancelled .status-icon, .status-expired .status-icon { background: #f8e5e0; color: var(--danger); }
.status-card h1 { font-size: clamp(2rem, 5vw, 3rem); }
.details { text-align: left; margin: 28px 0; border-top: 1px solid var(--line); }
.details > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); font-size: .9rem; }
.details dd { margin: 0; }
.details small { color: var(--muted); }
@media (max-width: 520px) { .details > div { grid-template-columns: 1fr; gap: 2px; } }
.status-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.status-actions form { margin: 0; }
.next-steps, .manage { margin-top: 40px; }
.next-steps h2, .manage h2 { font-size: 1.9rem; }
.next-steps ol { padding-left: 20px; color: var(--ink-2); }
.next-steps li { margin-bottom: 8px; }
.manage-box > summary { list-style: none; display: inline-flex; margin-bottom: 18px; }
.manage-box > summary::-webkit-details-marker { display: none; }
.manage-box[open] > summary { background: var(--ink); color: #fff; }
.manage-box form { margin-top: 18px; }
.cancel-form { margin-top: 18px; }
.alert { background: var(--sand); padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; }
.alert-ok { background: #e4f0e8; color: #24543a; }
.alert-error { background: #f8e5e0; color: var(--danger); }
.message-page h1 { margin-top: 40px; }
