/* =========================================================
   Hotel Green Peas — public site styles
   ========================================================= */
:root {
  --forest: #173a2a;
  --forest-2: #1f4b36;
  --pea: #8cc63f;
  --pea-soft: #d9ef9a;
  --pea-ink: #3f6b12;
  --cream: #f7f4ec;
  --paper: #ffffff;
  --sand: #efe9da;
  --ink: #18221c;
  --muted: #5e6b62;
  --line: #e2ddcf;
  --danger: #b4382f;
  --warn: #a8670b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23, 58, 42, .06), 0 8px 24px rgba(23, 58, 42, .07);
  --shadow-lg: 0 20px 50px rgba(23, 58, 42, .16);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--forest-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pea-ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--forest); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2, .h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3, .h3 { font-size: 1.35rem; }
.h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--pea); outline-offset: 2px; }

.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 17px; height: 17px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pea-ink); margin-bottom: .8rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: .78rem 1.3rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1.1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-2); color: #fff; box-shadow: 0 6px 18px rgba(23,58,42,.25); }
.btn-accent { background: var(--pea); color: var(--forest); }
.btn-accent:hover { background: #9bd24e; color: var(--forest); box-shadow: 0 6px 18px rgba(140,198,63,.35); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--forest); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); background: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-danger-ghost { background: transparent; border-color: #ecc9c5; color: var(--danger); }
.btn-danger-ghost:hover { background: #fbeeec; color: var(--danger); }
.btn-sm { padding: .5rem .95rem; font-size: .86rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--forest); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .15s; }
.back-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; color: var(--muted); margin-bottom: 1rem; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,244,236,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.brand:hover { color: var(--forest); }
.logo-mark { width: 38px; height: 38px; color: var(--forest); }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .logo-mark { color: var(--pea); }
.logo-img { width: 44px; height: 44px; object-fit: contain; }
.brand-light .logo-img { background: #fff; border-radius: 50%; padding: 4px; }
.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav > a:not(.btn) { display: inline-flex; align-items: center; gap: 6px; padding: .5rem .75rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; }
.main-nav > a:not(.btn):hover { background: var(--sand); }
.main-nav > a.active { color: var(--forest); background: var(--sand); }
.nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 .4rem; }
.nav-cta { margin-left: .4rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--forest); cursor: pointer; border-radius: 8px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav > a:not(.btn) { padding: .85rem .75rem; font-size: 1rem; }
  .nav-sep { width: auto; height: 1px; margin: .4rem 0; }
  .nav-cta { margin: .6rem 0 0; }
}

/* ---------- Flash ---------- */
.flash-wrap { padding-top: 1rem; }
.flash { padding: .85rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: .75rem; font-weight: 500; border: 1px solid; }
.flash-success { background: #eef7e2; border-color: #cfe6ae; color: #2f5410; }
.flash-error { background: #fbeeec; border-color: #f0cdc8; color: #8a2a22; }
.flash-info { background: #eef3f0; border-color: #d3e0d8; color: var(--forest); }
.form-error { color: #ffd8d2; margin-top: .75rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(140,198,63,.35), transparent 60%), linear-gradient(160deg, var(--forest) 0%, #0f2a1d 100%);
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero-photo { background: linear-gradient(180deg, rgba(10,30,20,.55), rgba(10,30,20,.78)), var(--hero-img) center/cover no-repeat; }
.hero-pattern {
  position: absolute; inset: 0; opacity: .09; pointer-events: none;
  background-image: radial-gradient(circle at 20px 20px, #d9ef9a 5px, transparent 6px), radial-gradient(circle at 36px 32px, #d9ef9a 5px, transparent 6px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.hero-photo .hero-pattern { display: none; }
.hero-inner { position: relative; display: grid; gap: 2.5rem; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 4.8rem); margin-bottom: .3em; }
.hero .eyebrow { color: var(--pea-soft); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 560px; color: rgba(255,255,255,.86); }
.hero-price { color: rgba(255,255,255,.8); margin: 0; }
.hero-price strong { color: var(--pea-soft); font-size: 1.5rem; font-family: var(--font-display); }

/* ---------- Search box ---------- */
.search-box { display: grid; grid-template-columns: 1fr 1fr .8fr auto; gap: .75rem; align-items: end; background: #fff; color: var(--ink); padding: 1rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.search-box .btn { height: 52px; }
.search-inline { margin-top: 1.25rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.search-stack { grid-template-columns: 1fr 1fr; box-shadow: none; padding: 0; margin: 1rem 0; }
.search-stack .field-sm, .search-stack .btn { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .search-box { grid-template-columns: 1fr 1fr; }
  .search-box .field-sm, .search-box .btn { grid-column: 1 / -1; }
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: .8rem; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; letter-spacing: .02em; }
input, select, textarea {
  width: 100%; font: 500 1rem var(--font-body); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .9rem; min-height: 52px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: auto; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pea); box-shadow: 0 0 0 4px rgba(140,198,63,.18); }
input:disabled { background: var(--cream); color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--forest); }

/* ---------- Tonight strip ---------- */
.tonight { background: #fff; border-bottom: 1px solid var(--line); }
.tonight-inner { display: flex; align-items: center; gap: 1.5rem; padding: 1rem 0; flex-wrap: wrap; }
.tonight-head { display: flex; align-items: center; gap: 12px; }
.tonight-head strong { display: block; color: var(--forest); }
.tonight-head span { font-size: .9rem; color: var(--muted); }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--pea); box-shadow: 0 0 0 0 rgba(140,198,63,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(140,198,63,0); } 100% { box-shadow: 0 0 0 0 rgba(140,198,63,0); } }
.tonight-types { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; flex: 1; }
.tonight-types li { display: flex; gap: 8px; align-items: center; padding: .4rem .8rem; border-radius: 999px; background: #eef7e2; font-size: .88rem; }
.tonight-types li b { color: var(--pea-ink); }
.tonight-types li.sold { background: var(--sand); color: var(--muted); }
.tonight-types li.sold b { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding: 2rem 0 4rem; }
.section-tint { background: var(--sand); }
.section-head { max-width: 640px; margin-bottom: 2.25rem; }
.section-head p:last-child { color: var(--muted); }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; max-width: none; margin-bottom: 1.75rem; }
.page-head { padding: 3rem 0 2rem; background: linear-gradient(180deg, var(--sand), var(--cream)); }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.lead-sm { color: var(--muted); font-size: 1.08rem; max-width: 620px; }

/* ---------- Room visuals ---------- */
.room-visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--sand); }
.room-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.room-visual.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: rgba(255,255,255,.9); }
.room-visual.placeholder::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(circle at 14px 14px, #fff 3.5px, transparent 4.5px); background-size: 28px 28px; }
.tone-0 { background: linear-gradient(140deg, #2d6a45, #173a2a); }
.tone-1 { background: linear-gradient(140deg, #6e9a35, #2f5a2a); }
.tone-2 { background: linear-gradient(140deg, #3c6e5d, #1b3d36); }
.ph-icon { width: 54px; height: 54px; position: relative; stroke-width: 1.3; }
.ph-label { position: relative; font-family: var(--font-display); font-size: 1.15rem; }

/* ---------- Room cards (home) ---------- */
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.room-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.room-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.room-card:hover img { transform: scale(1.04); }
.room-card .room-visual { border-radius: 0; }
.room-card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.room-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.room-card-top h3 { margin: 0; }
.room-card-top h3 a { text-decoration: none; color: inherit; }
.price { font-family: var(--font-display); font-weight: 700; color: var(--forest); font-size: 1.35rem; margin: 0; white-space: nowrap; }
.price span { font-family: var(--font-body); font-size: .8rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
.price-lg { font-size: 2rem; }
.facts { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; padding: 0; margin: 0; font-size: .88rem; color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 5px; }
.facts-lg { font-size: .98rem; margin: .5rem 0 1.5rem; gap: .6rem 1.4rem; }
.amenities { list-style: none; padding: 0; margin: 0; }
.amenities li { display: flex; align-items: center; gap: 8px; }
.amenities .icon { color: var(--pea-ink); }
.amenities-inline { display: flex; flex-wrap: wrap; gap: .35rem; }
.amenities-inline li { font-size: .8rem; background: var(--cream); padding: .3rem .6rem; border-radius: 999px; gap: 5px; }
.amenities-inline .icon { width: 14px; height: 14px; }
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem 1.5rem; margin-bottom: 2rem; }
.room-card-actions { display: flex; gap: .6rem; margin-top: auto; padding-top: .5rem; }
.room-card-actions .btn { flex: 1; }

/* ---------- About / amenities ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose p { color: #3a463e; }
.amenity-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.amenity-tiles li { display: flex; align-items: center; gap: 12px; background: #fff; padding: 1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; box-shadow: var(--shadow); }
.amenity-tiles .icon { color: var(--forest); background: #eef7e2; padding: 8px; width: 40px; height: 40px; border-radius: 10px; }
@media (max-width: 420px) { .amenity-tiles { grid-template-columns: 1fr; } }
.times { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.times > div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); padding: .8rem 1.1rem; border-radius: var(--radius-sm); }
.times .icon { grid-row: span 2; color: var(--pea-ink); }
.times span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.times strong { color: var(--forest); }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.perks > div { padding: 1.75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.perk-num { font-family: var(--font-display); color: var(--pea); font-size: 2.2rem; font-weight: 700; line-height: 1; display: block; margin-bottom: .75rem; }
.perks p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .perks { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-grid figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; background: var(--sand); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .7rem; color: #fff; font-size: .88rem; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; background: var(--forest); color: #fff; padding: clamp(2rem, 5vw, 3.5rem); border-radius: 24px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(140,198,63,.35), transparent 70%); }
.cta-band h2 { color: #fff; margin-bottom: .25rem; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Rooms results ---------- */
.results-summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); margin-bottom: 1.25rem; }
.results-summary strong { color: var(--forest); }
.result-list { display: flex; flex-direction: column; gap: 1.25rem; }
.result-card { display: grid; grid-template-columns: 280px 1fr 220px; gap: 1.5rem; background: #fff; border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); border: 2px solid transparent; scroll-margin-top: 90px; }
.result-card.is-focus { border-color: var(--pea); }
.result-media .room-visual { height: 100%; aspect-ratio: auto; min-height: 200px; }
.result-body { padding: .5rem 0; display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.result-body h2 { font-size: 1.5rem; margin: 0; }
.result-body h2 a { text-decoration: none; color: inherit; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.result-price { border-left: 1px solid var(--line); padding: .5rem .5rem .5rem 1.5rem; display: flex; flex-direction: column; justify-content: center; gap: .15rem; }
.result-price p { margin: 0; }
.result-price .btn { margin-top: .9rem; }
.big-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--forest); line-height: 1.1; margin-top: .4rem !important; }
.avail { display: inline-flex; align-self: flex-start; font-size: .78rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }
.avail.ok { background: #eef7e2; color: var(--pea-ink); }
.avail.warn { background: #fdf2dd; color: var(--warn); }
.avail.no { background: #fbeeec; color: var(--danger); }
@media (max-width: 960px) {
  .result-card { grid-template-columns: 220px 1fr; }
  .result-price { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .result-price .avail { grid-column: 1 / -1; }
  .result-price .btn { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .result-card { grid-template-columns: 1fr; }
  .result-media .room-visual { aspect-ratio: 16/9; min-height: 0; }
}
.room-numbers { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rn-label { font-size: .8rem; font-weight: 700; color: var(--muted); margin-right: 2px; }
.rn { display: inline-block; font-size: .78rem; font-weight: 700; padding: .2rem .5rem; border-radius: 6px; background: var(--cream); border: 1px solid var(--line); color: var(--ink); font-variant-numeric: tabular-nums; }
.rn-free { background: #eef7e2; border-color: #cfe6ae; color: var(--pea-ink); }
.rn-taken { background: #f3f1ec; color: #a29c90; text-decoration: line-through; }
.rn-off { background: #fdf2dd; border-color: #f2dcae; color: var(--warn); }
.legend { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-top: 1.5rem; }
.legend .rn { margin-left: .75rem; }

/* ---------- Room detail ---------- */
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
.detail-visual { aspect-ratio: 16/9; border-radius: var(--radius); margin-bottom: 1.75rem; }
.detail-main h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.side-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.sticky { position: sticky; top: 92px; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); margin-bottom: .75rem; }
.table th, .table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.rate-table th { font-weight: 600; }
.rate-table td { text-align: right; font-weight: 700; color: var(--forest); white-space: nowrap; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.mini-card { display: flex; gap: 12px; align-items: center; background: #fff; padding: .6rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.mini-visual { width: 84px; aspect-ratio: 1; flex: none; }
.mini-visual .ph-icon { width: 28px; height: 28px; } .mini-visual .ph-label { display: none; }
.mini-card span { display: flex; flex-direction: column; } .mini-card em { font-style: normal; color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .sticky { position: static; } }

/* ---------- Availability page ---------- */
.day-picker { display: flex; gap: .6rem; align-items: center; margin-top: 1.25rem; max-width: 420px; }
.day-picker .field { flex: 1; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--radius-sm); background: #fff; border: 1.5px solid var(--line); color: var(--forest); flex: none; }
.icon-btn:hover { border-color: var(--forest); }
.icon-btn.disabled { opacity: .35; pointer-events: none; }
.day-summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.day-summary h2 { margin: 0; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { font-size: .85rem; font-weight: 700; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.chip-free { background: #eef7e2; border-color: #cfe6ae; color: var(--pea-ink); }
.chip-taken { background: #f3f1ec; color: var(--muted); }
.chip-off { background: #fdf2dd; border-color: #f2dcae; color: var(--warn); }
.avail-group { background: #fff; border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); margin-bottom: 1.25rem; }
.avail-group-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.avail-group-head h3 { margin: 0; }
.avail-group-head h3 a { color: inherit; text-decoration: none; }
.avail-group-head .btn { margin-left: auto; }
.room-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .75rem; }
.room-tile { border-radius: 12px; padding: .9rem; display: flex; flex-direction: column; gap: 2px; border: 1.5px solid; }
.rt-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.rt-state { font-size: .8rem; font-weight: 700; }
.rt-floor { font-size: .75rem; opacity: .7; }
.state-available { background: #eef7e2; border-color: #cfe6ae; color: var(--pea-ink); }
.state-booked { background: #f5f3ee; border-color: var(--line); color: #8c877c; }
.state-maintenance { background: #fdf2dd; border-color: #f2dcae; color: var(--warn); }

/* ---------- Cards / checkout ---------- */
.card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 1.5rem; align-items: start; margin-top: 1rem; }
.summary .summary-visual { aspect-ratio: 16/9; margin-bottom: 1rem; }
.summary-dates { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 0 0 .5rem; }
.summary-dates div { background: var(--cream); padding: .7rem .8rem; border-radius: var(--radius-sm); }
.summary-dates dt { font-size: .75rem; font-weight: 700; color: var(--muted); }
.summary-dates dd { margin: 0; font-weight: 700; font-size: .92rem; }
.summary-dates small { display: block; font-weight: 500; color: var(--muted); }
.price-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.price-table td { padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.price-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.price-table .sub td { color: var(--muted); }
.price-table .total td { border-bottom: 0; padding-top: .8rem; font-weight: 800; font-size: 1.15rem; color: var(--forest); }
.tag { font-size: .7rem; font-weight: 700; background: #eef7e2; color: var(--pea-ink); padding: .1rem .4rem; border-radius: 4px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .summary { order: -1; } }

.success-hero { text-align: center; margin-bottom: 1.5rem; }
.success-icon { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: var(--pea); color: var(--forest); align-items: center; justify-content: center; margin-bottom: 1rem; }
.success-icon .icon { width: 32px; height: 32px; stroke-width: 2.5; }
.ticket-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px dashed var(--line); margin-bottom: 1rem; }
.ref { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--forest); letter-spacing: .03em; }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin: 0 0 1rem; }
.ticket-grid dt { font-size: .78rem; font-weight: 700; color: var(--muted); }
.ticket-grid dd { margin: 0; font-weight: 600; }
.ticket-actions { display: flex; gap: .6rem; flex-wrap: wrap; padding-top: 1rem; border-top: 1px dashed var(--line); }
@media (max-width: 520px) { .ticket-grid { grid-template-columns: 1fr; } }

.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: var(--sand); color: var(--muted); white-space: nowrap; }
.badge-confirmed { background: #e6f0fb; color: #1f4f86; }
.badge-checked_in { background: #eef7e2; color: var(--pea-ink); }
.badge-checked_out { background: #efece6; color: #6d675c; }
.badge-cancelled { background: #fbeeec; color: var(--danger); }
.badge-paid { background: #eef7e2; color: var(--pea-ink); }
.badge-unpaid { background: #fdf2dd; color: var(--warn); }
.badge-partial { background: #fdf2dd; color: var(--warn); }

/* ---------- Auth ---------- */
.auth { min-height: calc(100vh - 72px - 300px); display: flex; align-items: center; justify-content: center; padding: 3rem 16px; }
.auth-card { width: 100%; max-width: 440px; padding: 2rem; }

/* ---------- Account ---------- */
.account-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.account-grid aside { display: flex; flex-direction: column; gap: 1rem; }
.booking-row { display: flex; gap: 1rem; align-items: center; margin-bottom: .75rem; padding: 1rem 1.25rem; }
.br-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 62px; border-radius: 12px; background: var(--forest); color: #fff; flex: none; }
.br-date span { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.br-date strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.br-main { flex: 1; min-width: 0; }
.br-main h3 { font-size: 1.1rem; margin: 0 0 .15rem; }
.br-main p { margin: 0; }
.br-side { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.br-actions { display: flex; gap: .4rem; }
.empty { text-align: center; padding: 2.5rem 1rem; }
@media (max-width: 860px) {
  .account-grid { grid-template-columns: 1fr; }
  .booking-row { flex-wrap: wrap; }
  .br-side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; flex-wrap: wrap; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.contact-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); transition: transform .15s; }
.contact-card:hover { transform: translateY(-2px); color: var(--ink); }
.contact-card .icon { color: var(--pea-ink); margin-bottom: .4rem; }
.contact-card span { font-size: .8rem; font-weight: 700; color: var(--muted); }
.contact-card strong { word-break: break-word; }
.map-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-cards { grid-template-columns: 1fr; } }
.policy-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: .8rem; }
.policy-list li { display: flex; gap: 10px; align-items: flex-start; }
.policy-list .icon { color: var(--pea-ink); margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: #0f2a1d; color: rgba(255,255,255,.75); padding: 4rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--pea-soft); }
.footer-brand p { margin: 1rem 0; max-width: 320px; font-size: .93rem; }
.social { display: flex; gap: .5rem; }
.social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--pea); color: var(--forest); }
.contact-list li { display: flex; gap: 8px; align-items: flex-start; }
.contact-list .icon { margin-top: 4px; color: var(--pea); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #fff; padding: .8rem 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 25px rgba(0,0,0,.2); }
.wa-float:hover { color: #fff; transform: translateY(-2px); }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .9rem; } }

@media print {
  .site-header, .site-footer, .wa-float, .ticket-actions, .back-link { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
