/* ============================================================
   CROWNED — Design tokens: Brown & Sage
   ============================================================ */
:root {
  --bg:         #FBF9F4;   /* near-white warm cream */
  --panel:      #FFFFFF;   /* card background */
  --panel-alt:  #F4EFE4;   /* warm beige section background */
  --line:       #E9E2D3;   /* soft hairline */

  --brown:      #4B3B2E;   /* soft brown — headings */
  --brown-soft: #8A7A66;   /* warm taupe — body copy */
  --brown-deep: #2E2318;   /* deepest brown, reserved for footer */

  --sage:       #93A382;   /* primary sage accent */
  --sage-deep:  #6B7A5C;   /* deep sage — buttons / links */
  --sage-pale:  #ECEFE4;   /* pale sage wash */
  --sage-line:  #D4DCC7;

  --gold:       #B79B6B;   /* whisper-gold, used only for fine rules/marks */
  --clay:       #A98066;   /* muted, used only for gentle notices */
  --ok:         #6B7A5C;

  --cream-text: #FBF8F1;

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 4px;
  --shadow-1: 0 6px 22px rgba(75,59,46,.06);
  --shadow-2: 0 30px 70px rgba(75,59,46,.10);

  --font-display: 'Fraunces', 'Iowan Old Style', serif;
  --font-body:    'Work Sans', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--brown-soft);
  font-family: var(--font-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  color: var(--brown);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--sage-deep);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { position: relative; }

:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }

/* ---------- Quiet ornamental divider (signature element) ---------- */
.braid-divider {
  width: 100%;
  max-width: 220px;
  height: 1px;
  margin: 0 auto;
  border: none;
  background: var(--line);
  position: relative;
}
.braid-divider::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold);
}
.divider-wrap { display: flex; justify-content: center; padding: 6px 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,243,233,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .02em; color: var(--brown); text-decoration: none; display: flex; align-items: baseline; gap: 8px; }
.brand small { font-family: var(--font-body); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-deep); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .92rem; color: var(--brown-soft); transition: color .2s ease; }
.nav-links a:hover, .nav-links a.current { color: var(--sage-deep); font-weight: 600; }
.nav-cta { background: var(--brown); color: var(--cream-text) !important; padding: 11px 22px; border-radius: 2px; font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; text-decoration: none !important; transition: background .2s ease; }
.nav-cta:hover { background: var(--sage-deep); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--brown); width: 42px; height: 38px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; background: var(--panel);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s ease; z-index: 99; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { display: inline-block; text-align: center; margin-top: 10px; }
  .nav-toggle { display: block; }
}

/* ---------- Page hero (used at top of every page) ---------- */
.page-hero { padding: 64px 0 46px; border-bottom: 1px solid var(--line); background: var(--panel-alt); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 12px; }
.page-hero p { max-width: 60ch; color: var(--brown-soft); font-size: 1.05rem; margin: 0; }

/* ---------- Home hero ---------- */
.hero { padding: 76px 0 90px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 84% -10%, rgba(126,145,105,.16), transparent 60%),
    radial-gradient(600px 400px at -10% 50%, rgba(176,112,74,.10), transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--line);
  padding: 8px 16px 8px 8px; border-radius: 999px; font-size: .82rem; color: var(--brown-soft); margin-bottom: 26px;
  box-shadow: var(--shadow-1);
}
.hero-tag .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--sage-pale); display: grid; place-items: center; font-size: .8rem; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.1rem); line-height: 1.05; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--sage-deep); }
.hero p.lede { font-size: 1.14rem; color: var(--brown-soft); max-width: 46ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 2px; font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .12em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease, opacity .25s ease;
}
.btn-primary { background: var(--brown); color: var(--cream-text); }
.btn-primary:hover { background: var(--sage-deep); }
.btn-ghost { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-ghost:hover { border-color: var(--sage-deep); color: var(--sage-deep); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }
.btn-block { width: 100%; justify-content: center; }

.hero-facts { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-facts .fact strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--sage-deep); }
.hero-facts .fact span { font-size: .8rem; color: var(--brown-soft); text-transform: uppercase; letter-spacing: .08em; }

.hero-visual { position: relative; border-radius: var(--radius-l); background: var(--panel); border: 1px solid var(--line); padding: 30px; box-shadow: var(--shadow-2); }
.hero-visual .kit-card { background: var(--panel-alt); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; margin-bottom: 16px; }
.hero-visual .kit-card:last-child { margin-bottom: 0; }
.kit-card h4 { font-size: 1rem; margin-bottom: 6px; color: var(--sage-deep); }
.kit-card p { margin: 0; color: var(--brown-soft); font-size: .9rem; }
.kit-row { display: flex; gap: 14px; align-items: flex-start; }
.kit-row .ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--sage-pale); color: var(--sage-deep); display: grid; place-items: center; }

@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Section shells ---------- */
.section { padding: 130px 0; }
.section-alt { background: var(--panel-alt); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 14px 0 16px; }
.section-head p { color: var(--brown-soft); font-size: 1.05rem; margin: 0; }
.section-head.center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.how-step { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px 22px; background: var(--panel); box-shadow: var(--shadow-1); }
.how-step .n { font-family: var(--font-display); font-size: 2rem; color: var(--sage); display: block; margin-bottom: 14px; }
.how-step h4 { font-size: 1.02rem; margin-bottom: 8px; }
.how-step p { color: var(--brown-soft); font-size: .9rem; margin: 0; }
@media (max-width: 960px) { .how-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .how-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-chip { padding: 9px 20px; border-radius: 2px; border: 1px solid var(--line); background: transparent; color: var(--brown-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; transition: all .2s ease; }
.filter-chip.active, .filter-chip:hover { border-color: var(--brown); color: var(--brown); }
.upload-btn { border: 1px solid var(--line); color: var(--brown-soft); background: transparent; padding: 10px 18px; border-radius: 2px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.upload-btn:hover { border-color: var(--brown); color: var(--brown); }

.gallery-grid { columns: 4 220px; column-gap: 18px; }
.gallery-item { break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius-m); overflow: hidden; position: relative; border: 1px solid var(--line); background: var(--panel); cursor: pointer; box-shadow: var(--shadow-1); }
.gallery-item img { width: 100%; display: block; }
.gallery-item .tag { position: absolute; left: 12px; bottom: 12px; background: rgba(46,32,21,.78); backdrop-filter: blur(4px); color: var(--cream-text); font-size: .78rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); }
.gallery-item .remove { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: rgba(46,32,21,.75); border: 1px solid rgba(255,255,255,.2); color: var(--cream-text); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s ease; }
.gallery-item:hover .remove { opacity: 1; }

.gallery-empty { border: 1px dashed var(--line); border-radius: var(--radius-m); padding: 60px 30px; text-align: center; color: var(--brown-soft); grid-column: 1 / -1; background: var(--panel); }
.gallery-empty strong { display: block; color: var(--brown); font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 8px; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(46,32,21,.92); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; border-radius: var(--radius-m); box-shadow: var(--shadow-2); }
.lightbox-close { position: absolute; top: 26px; right: 30px; width: 42px; height: 42px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line); color: var(--brown); cursor: pointer; font-size: 1.1rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-m); padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: border-color .2s ease, transform .2s ease; box-shadow: var(--shadow-1); }
.service-card:hover { border-color: var(--sage-deep); transform: translateY(-3px); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.service-card h3 { font-size: 1.18rem; }
.badge { font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; padding: 5px 10px; border-radius: 2px; white-space: nowrap; font-weight: 600; border: 1px solid var(--line); color: var(--brown-soft); background: transparent; }
.service-meta { display: flex; gap: 18px; color: var(--brown-soft); font-size: .86rem; flex-wrap: wrap; }
.service-meta b { color: var(--brown); }
.service-price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.service-price .amount { font-family: var(--font-display); font-size: 1.5rem; color: var(--sage-deep); }
.service-price .dep { font-size: .82rem; color: var(--brown-soft); }
.service-custom-note { font-size: .78rem; color: var(--brown-soft); background: var(--panel-alt); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 8px 12px; }
.service-card .btn { align-self: flex-start; margin-top: 4px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Booking ---------- */
.book-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: flex-start; }
.book-side { position: sticky; top: 90px; }
.policy-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-m); padding: 26px; margin-top: 22px; box-shadow: var(--shadow-1); }
.policy-card h4 { font-size: .98rem; margin-bottom: 10px; color: var(--sage-deep); }
.policy-card ul { margin: 0; padding-left: 18px; color: var(--brown-soft); font-size: .88rem; }
.policy-card li { margin-bottom: 8px; }

.steps-track { display: flex; gap: 8px; margin-bottom: 34px; }
.steps-track .seg { flex: 1; height: 5px; border-radius: 4px; background: var(--line); overflow: hidden; }
.steps-track .seg i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--sage), var(--sage-deep)); transition: width .4s ease; }
.step-labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: .74rem; color: var(--brown-soft); text-transform: uppercase; letter-spacing: .06em; }
.step-labels span.active { color: var(--sage-deep); font-weight: 700; }

.booking-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-l); padding: 40px; box-shadow: var(--shadow-2); }
.step-panel { display: none; }
.step-panel.active { display: block; animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: translateY(0);} }

.style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 6px; }
.style-option { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px; cursor: pointer; transition: all .2s ease; background: var(--panel-alt); }
.style-option:hover { border-color: var(--sage-deep); }
.style-option.selected { border-color: var(--sage-deep); background: var(--sage-pale); }
.style-option .nm { font-weight: 600; font-size: .95rem; color: var(--brown); }
.style-option .meta { font-size: .78rem; color: var(--brown-soft); margin-top: 4px; }
@media (max-width: 560px) { .style-grid { grid-template-columns: 1fr; } }

/* Customize panel (size/length pickers) */
.customize-panel { margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); }
.customize-panel h4 { font-size: .95rem; margin-bottom: 6px; color: var(--brown); }
.customize-panel .sub { font-size: .82rem; color: var(--brown-soft); margin-bottom: 14px; }
.option-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.option-pill { border: 1px solid var(--line); background: var(--panel-alt); padding: 10px 16px; border-radius: var(--radius-s); cursor: pointer; font-size: .86rem; color: var(--brown-soft); transition: all .2s ease; text-align: center; min-width: 92px; }
.option-pill .op-price { display: block; font-size: .72rem; color: var(--sage-deep); margin-top: 3px; }
.option-pill.selected { border-color: var(--sage-deep); background: var(--sage-pale); color: var(--brown); font-weight: 600; }
.price-live { background: var(--panel-alt); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.price-live .lbl { font-size: .82rem; color: var(--brown-soft); text-transform: uppercase; letter-spacing: .05em; }
.price-live .val { font-family: var(--font-display); font-size: 1.5rem; color: var(--sage-deep); }
.price-live .dep-val { font-size: .82rem; color: var(--brown-soft); }

label.field-label { display: block; font-size: .82rem; color: var(--brown-soft); margin: 18px 0 8px; text-transform: uppercase; letter-spacing: .05em; }
label.field-label:first-child { margin-top: 0; }
input[type=text], input[type=date], input[type=tel], input[type=email], select, textarea {
  width: 100%; background: var(--panel-alt); border: 1px solid var(--line); color: var(--brown-deep);
  padding: 13px 16px; border-radius: var(--radius-s); font-size: .95rem; font-family: var(--font-body);
}
input:focus, select:focus, textarea:focus { border-color: var(--sage-deep); background: var(--panel); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .two-col { grid-template-columns: 1fr; } }

.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 4px; }
.time-slot { border: 1px solid var(--line); background: var(--panel-alt); color: var(--brown-soft); padding: 10px 6px; border-radius: var(--radius-s); font-size: .84rem; text-align: center; cursor: pointer; }
.time-slot.selected { border-color: var(--sage-deep); color: var(--sage-deep); background: var(--sage-pale); font-weight: 600; }
.time-slot.disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
@media (max-width: 560px) { .time-grid { grid-template-columns: repeat(3, 1fr); } }

.day-note { margin-top: 14px; font-size: .84rem; color: var(--brown-soft); background: var(--panel-alt); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; }
.day-note.warn { border-color: var(--clay); color: var(--clay); background: #F6E9DE; }

.map-box { margin-top: 14px; border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line); height: 220px; background: var(--panel-alt); display: flex; align-items: center; justify-content: center; color: var(--brown-soft); font-size: .85rem; text-align: center; padding: 20px; }
#map-canvas { width: 100%; height: 100%; }

.radio-row { display: flex; gap: 14px; margin-top: 4px; flex-wrap: wrap; }
.radio-pill { border: 1px solid var(--line); padding: 12px 18px; border-radius: var(--radius-s); cursor: pointer; font-size: .88rem; color: var(--brown-soft); flex: 1; min-width: 200px; background: var(--panel-alt); }
.radio-pill.selected { border-color: var(--sage-deep); color: var(--brown); background: var(--sage-pale); }
.radio-pill input { margin-right: 8px; }

.summary-box { background: var(--panel-alt); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; margin-bottom: 22px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.summary-row:last-child { border: none; font-weight: 700; color: var(--sage-deep); }
.summary-row span:first-child { color: var(--brown-soft); }

.step-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; }
.form-msg { font-size: .85rem; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-s); display: none; }
.form-msg.show { display: block; }
.form-msg.error { background: #F6E9DE; color: var(--clay); border: 1px solid var(--clay); }
.form-msg.ok { background: var(--sage-pale); color: var(--sage-deep); border: 1px solid var(--sage); }
.form-msg.loading { background: var(--panel-alt); color: var(--brown-soft); border: 1px solid var(--line); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-m); padding: 30px; box-shadow: var(--shadow-1); }
.contact-card h4 { font-size: 1rem; margin-bottom: 14px; color: var(--sage-deep); }
.contact-card a, .contact-card p { display: block; margin-bottom: 10px; color: var(--brown-soft); text-decoration: none; }
.contact-card a:hover { color: var(--sage-deep); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer { background: var(--brown-deep); color: var(--cream-text); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { font-size: .9rem; color: #D8C8AE; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-body); font-weight: 700; }
.footer-grid p, .footer-grid a { color: #D9CCB8; font-size: .92rem; text-decoration: none; display: block; margin-bottom: 10px; }
.footer-grid a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: #C7B8A2; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  .book-wrap { grid-template-columns: 1fr; }
  .book-side { position: static; }
  .booking-card { padding: 26px; }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

code { background: var(--panel-alt); padding: 2px 6px; border-radius: 4px; font-size: .92em; color: var(--brown); }
