:root {
  --bg: #fbf8f3; --card: #fff; --text: #1f2a2b; --muted: #6b7576; --line: #e7e1d8;
  --accent: #0f7c78; --accent-2: #e9f5f4; --busy: #eceae6; --busy-text: #b3b0aa; --danger: #b3261e;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.5; }
h1, h2 { line-height: 1.2; margin: 0 0 .5em; }
.hero { min-height: 60vh; display: grid; place-items: center; text-align: center; color: #fff; padding: 64px 16px;
  background: linear-gradient(rgba(5,30,40,.25), rgba(5,30,40,.55)), url("img/hero.jpg") center 55%/cover; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 700; }
.hero .lead { max-width: 560px; margin: 0 auto 24px; font-size: 1.1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .85rem; opacity: .9; }
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: 12px 22px; font-size: 1rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.1); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.full { width: 100%; }
main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: -40px 0 40px; position: relative; }
.features div { background: var(--card); border-radius: 14px; padding: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.06); display: flex; flex-direction: column; }
.features span { color: var(--muted); font-size: .9rem; }
.booking { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .booking { grid-template-columns: 1fr; } }
.cal-card, .form-card, .info { background: var(--card); border-radius: 16px; padding: 20px; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.cal-head { display: flex; justify-content: space-between; align-items: center; }
.cal-head h2 { margin: 0; font-size: 1.2rem; }
.nav { background: var(--accent-2); border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; color: var(--accent); }
.calendars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
@media (max-width: 560px) { .calendars { grid-template-columns: 1fr; } }
.month h3 { text-align: center; font-size: 1rem; margin: 0 0 8px; }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dow { text-align: center; font-size: .75rem; color: var(--muted); padding: 4px 0; }
.day { aspect-ratio: 1; border: 0; background: none; border-radius: 8px; font-size: .9rem; cursor: pointer; color: var(--text); }
.day:hover:not(:disabled):not(.start):not(.end) { background: var(--accent-2); }
.day:disabled { cursor: default; }
.day.past { color: #ccc; }
.day.busy { background: var(--busy); color: var(--busy-text); text-decoration: line-through; }
.day.in { background: var(--accent-2); border-radius: 0; }
.day.start, .day.end { background: var(--accent); color: #fff; }
.day.today { font-weight: 700; outline: 1px solid var(--line); }
.legend { display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; font-size: .8rem; color: var(--muted); margin-top: 14px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: -8px; border: 1px solid var(--line); }
.sw.busy { background: var(--busy); } .sw.sel { background: var(--accent); }
.hint { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 12px; }
input, select, textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-weight: 400; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote { background: var(--accent-2); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; font-size: .9rem; }
.quote table { width: 100%; border-collapse: collapse; }
.quote td:last-child { text-align: right; }
.quote .total td { font-weight: 700; border-top: 1px solid #c8e3e1; padding-top: 6px; }
.quote.err { background: #fdecea; color: var(--danger); }
.muted { color: var(--muted); } .small { font-size: .8rem; }
.hp { position: absolute; left: -9999px; }
#result.ok { background: #e7f6ec; color: #1d6b34; padding: 14px; border-radius: 10px; margin-top: 12px; }
#result.err { background: #fdecea; color: var(--danger); padding: 14px; border-radius: 10px; margin-top: 12px; }
.info { margin: 32px 0; }
.info table { border-collapse: collapse; width: 100%; max-width: 600px; }
.info td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.info td:last-child { text-align: right; }
footer { text-align: center; padding: 32px 16px; color: var(--muted); font-size: .85rem; }
footer a { color: inherit; }

.tagline { font-size: clamp(1.1rem, 2.6vw, 1.5rem); font-style: italic; margin: -.3em 0 .9em; opacity: .95; }
.hero h1, .hero p { text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(46vw, 480px); margin-bottom: 40px; border-radius: 16px; overflow: hidden; }
.gallery a { display: block; overflow: hidden; }
.gallery .g-main { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr 1fr; height: 110vw; }
  .gallery .g-main { grid-row: auto; grid-column: span 2; }
}
#lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
#lightbox::backdrop { background: rgba(0,0,0,.9); }
#lightbox[open] { display: grid; place-items: center; }
#lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 8px; }
#lightbox button { position: fixed; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; cursor: pointer; line-height: 1; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }
.lb-cap { position: fixed; bottom: 16px; left: 0; right: 0; text-align: center; color: #ddd; margin: 0; }

.hero { position: relative; }
.lang { position: absolute; top: 16px; right: 16px; display: flex; background: rgba(0,0,0,.28); border-radius: 99px; padding: 3px; backdrop-filter: blur(6px); }
.lang button { background: none; border: 0; color: #fff; font: inherit; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; cursor: pointer; letter-spacing: .05em; }
.lang button.active { background: #fff; color: var(--text); }

/* Logo sits on the lawn over the black flower pot (position set by app.js from the photo geometry) */
.brand { position: absolute; left: 0; top: 0; display: block; width: 96px; height: 96px; border-radius: 50%;
  background: #fff; padding: 3px; box-shadow: 0 4px 18px rgba(0,0,0,.3); transform: translate(-50%, -50%);
  transition: transform .2s; visibility: hidden; }
.brand.placed { visibility: visible; }
.brand:hover { transform: translate(-50%, -50%) scale(1.05); }
.brand img { display: block; width: 100%; height: 100%; }
.hero.brand-top { padding-top: 104px; }   /* room for the logo above the text on phones */

/* =========================================================================
   Typography – Cormorant Garamond (display, matches the logo) + Inter (text)
   ========================================================================= */
:root {
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ink: #18302f;
}
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink);
  font-feature-settings: 'kern', 'liga', 'calt', 'cv11'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; color: inherit; }

/* Hero */
.hero-inner { max-width: 900px; }
.eyebrow { font-family: var(--sans); font-weight: 500; font-size: clamp(.68rem, 1.1vw, .78rem); letter-spacing: .34em;
  text-transform: uppercase; opacity: .92; margin: 0 0 18px; display: inline-flex; align-items: center; gap: 14px; }
.eyebrow::before, .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.hero h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.08;
  letter-spacing: -.02em; margin: 0 0 .2em; text-wrap: balance; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.tagline { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 3.2vw, 2.15rem);
  letter-spacing: .01em; line-height: 1.2; margin: 0 0 22px; opacity: .97; }
.hero .lead { font-family: var(--sans); font-weight: 400; font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.7;
  max-width: 36em; margin: 0 auto 30px; opacity: .94; text-wrap: pretty; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
@media (max-width: 640px) {
  .eyebrow { letter-spacing: .26em; gap: 10px; }
  .eyebrow::before, .eyebrow::after { width: 18px; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
}

/* Buttons & language switch */
.btn { font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .02em; padding: 14px 30px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(15,124,120,.28); transition: filter .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(15,124,120,.34); }
.btn.full { border-radius: 12px; }
.lang button { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .12em; }

/* Feature cards */
.features strong { font-family: var(--sans); font-weight: 600; font-size: .98rem; letter-spacing: -.005em; margin-bottom: 2px; }
.features span { font-size: .88rem; line-height: 1.5; }

/* Section headings */
.cal-head h2, .form-card h2, .info h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1.1; }
.form-card h2, .info h2 { margin-bottom: .55em; }
.month h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: .01em; }
.dow { font-family: var(--sans); font-weight: 600; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.day, .quote, .info td, #result { font-variant-numeric: tabular-nums; }
.day { font-family: var(--sans); font-weight: 500; }
.hint, .legend { letter-spacing: .005em; }

/* Form */
label { font-family: var(--sans); font-weight: 500; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { font-family: var(--sans); font-size: 1rem; color: var(--ink); text-transform: none; letter-spacing: normal; }
.quote { font-size: .92rem; }
.quote .total td { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: 0; }
.small { font-size: .82rem; line-height: 1.55; }

/* Rates & footer */
.info td { font-size: .95rem; }
footer { font-size: .82rem; letter-spacing: .04em; }
.lb-cap { font-family: var(--serif); font-style: italic; font-size: 1.25rem; }
h1, h2, h3, .quote .total td, .tagline { font-variant-numeric: lining-nums; }
.quote .total td { font-variant-numeric: lining-nums tabular-nums; }
