/* The 1820 Inn — boutique courtyard inn, Galveston
   Navy, ivory, and gold. Always “inn,” never hotel. */

:root {
  --navy: #182848;
  --navy-deep: #101c36;
  --navy-soft: #2a3d64;
  --gold: #a88850;
  --gold-light: #c4a574;
  --gold-pale: #e8d9b8;
  --ivory: #f6f1e8;
  --ivory-deep: #ede6d8;
  --sand: #e4d8c4;
  --ink: #2c2a26;
  --ink-soft: #5a564e;
  --muted: #7a746a;
  --white: #fffdf8;
  --rule: rgba(168, 136, 80, 0.45);
  --shadow: 0 14px 40px rgba(16, 28, 54, 0.08);
  --shadow-lg: 0 28px 70px rgba(16, 28, 54, 0.16);
  --radius: 4px;
  --max: 1160px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, sans-serif;
  --nav-h: 84px;
}

/* typo fix placeholder removed below */

:root {
  --navy-mid: #24385a;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 38em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.gold-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.1rem 0 1.4rem;
  max-width: 12rem;
}
.gold-rule::before,
.gold-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.gold-rule span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.container {
  width: min(100% - 2.25rem, var(--max));
  margin-inline: auto;
}
.container-narrow {
  width: min(100% - 2.25rem, 740px);
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 232, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}
.logo:hover { color: inherit; }
.logo img {
  height: 70px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  background: var(--navy);
  color: var(--white) !important;
  border-radius: 999px;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover {
  background: var(--navy-deep);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: inherit;
}

@media (max-width: 900px) {
  .logo img { height: 56px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--sand); }
  .nav-links a {
    display: block;
    padding: 0.85rem 0.2rem;
  }
  .nav-cta {
    margin-top: 0.5rem;
    width: 100%;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-deep); color: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.7);
}
.btn-ghost:hover { background: rgba(255, 253, 248, 0.12); color: var(--white); }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy-deep);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img,
.hero-media picture,
.hero-media picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 28, 54, 0.15) 0%, rgba(16, 28, 54, 0.25) 40%, rgba(16, 28, 54, 0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.25rem, var(--max));
  margin: 0 auto;
  padding: 5rem 0 3.5rem;
}
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(255, 253, 248, 0.9);
  max-width: 32em;
  margin-top: 0.4rem;
}
.hero-page {
  min-height: min(56vh, 520px);
  align-items: flex-end;
}
.hero-page h1 { max-width: 18ch; }

/* ——— Sections ——— */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--ivory-deep); }
.section-navy {
  background: var(--navy);
  color: var(--ivory);
}
.section-navy h2,
.section-navy h3 { color: var(--white); }
.section-navy .lead,
.section-navy p { color: rgba(246, 241, 232, 0.86); }
.section-navy .eyebrow { color: var(--gold-light); }
.direct-save-line {
  margin: 0.15rem auto 0;
  max-width: 32em;
  color: var(--gold-pale);
  font-size: 1.05rem;
}
.section-navy .btn-row { margin-top: 1.35rem; }

.section-head { max-width: 40em; margin-bottom: 2.25rem; }
.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-2.reverse-mobile { display: flex; flex-direction: column-reverse; }
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 3.25rem 0; }
}

.img-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.img-frame img,
.img-frame picture img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.img-frame.landscape img,
.img-frame.landscape picture img {
  aspect-ratio: 5 / 4;
}

.feature-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.35rem;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.55rem;
  height: 1px;
  background: var(--gold);
}

/* ——— Cards ——— */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-img img,
.card-img picture img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.card-body { padding: 1.4rem 1.35rem 1.55rem; }
.card-body h3 { margin-bottom: 0.35em; }
.card-meta {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.75rem;
}
.suite-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--gold);
  padding: 0.25rem 0.55rem;
  margin-bottom: 0.65rem;
}

/* ——— Price band ——— */
.price-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--rule);
  margin-top: 2rem;
}
.price-item .label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.price-item .value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  line-height: 1.1;
}
.price-item .note {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ——— Amenities ——— */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.15rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.amenity-grid li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--sand);
  color: var(--ink-soft);
}

/* ——— Gallery ——— */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery button img,
.gallery button picture,
.gallery button picture img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery button:hover img,
.gallery button:hover picture img { transform: scale(1.04); }
.gallery .wide {
  grid-column: span 2;
}
.gallery .wide img,
.gallery .wide picture img { aspect-ratio: 4 / 3; }
.gallery .tall {
  grid-row: span 2;
}
.gallery .tall img,
.gallery .tall picture img { aspect-ratio: auto; height: 100%; min-height: 100%; }

@media (max-width: 800px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .wide { grid-column: span 2; }
  .gallery .tall { grid-row: span 1; }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(16, 28, 54, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem 3.5rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(100%, 1200px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: var(--ivory);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  padding: 0.5rem;
  font-family: inherit;
}
.lightbox-close { top: 0.75rem; right: 1rem; font-size: 2rem; }
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }
.lightbox-caption {
  position: absolute;
  bottom: 0.8rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--gold-pale);
  font-size: 0.9rem;
}

/* ——— Form ——— */
.inquire-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.inquire-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.inquire-form input,
.inquire-form select,
.inquire-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.inquire-form input:focus,
.inquire-form select:focus,
.inquire-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.check input { width: auto; margin-top: 0.25rem; }
.check label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0;
}
.form-status {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--navy);
  display: none;
}
.form-status.show { display: block; }

/* ——— Book links ——— */
.book-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.book-link {
  display: block;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.book-link:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.book-link strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.book-link span { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 600px) {
  .book-links { grid-template-columns: 1fr; }
}

/* ——— Location facts ——— */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.fact {
  padding-top: 1rem;
  border-top: 1px solid var(--gold);
}
.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}
.fact span { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr; }
}

.map-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.map-frame img,
.map-frame picture img {
  width: 100%;
  height: auto;
}

/* ——— Notice ——— */
.notice {
  background: var(--ivory-deep);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.15rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-deep);
  color: rgba(246, 241, 232, 0.82);
  padding: 3.5rem 0 1.5rem;
}
.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer a:hover { color: var(--gold-pale); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(168, 136, 80, 0.25);
}
.footer-brand .wordmark {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
}
.footer-brand .place {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0.55rem 0 1rem;
}
.footer-col h4 {
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0.35rem 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(246, 241, 232, 0.55);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* coming 2027 chip */
.soon {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ——— Book page ——— */
.book-facts { margin-bottom: 0; }
.book-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .book-layout { grid-template-columns: 1fr; }
}

.cal {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1rem;
  box-shadow: var(--shadow);
}
.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.cal-toolbar h3 {
  margin: 0;
  font-size: 1.45rem;
  text-align: center;
  flex: 1;
}
.cal-nav {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--sand);
  background: var(--ivory);
  color: var(--navy);
  border-radius: 999px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
.cal-nav:hover { border-color: var(--gold); background: var(--white); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
}
.cal-dow {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.45rem 0 0.3rem;
}
.cal-pad { min-height: 2.5rem; }
.cal-day {
  min-height: 2.6rem;
  border: 0;
  background: transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--navy);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--gold); }
.cal-day.is-open {
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--sand);
}
.cal-day.is-open:hover { background: var(--gold-pale); }
.cal-day.is-past {
  color: var(--muted);
  background: transparent;
  opacity: 0.45;
  cursor: not-allowed;
}
.cal-day.is-booked {
  color: var(--muted);
  background: #e4ddd0;
  text-decoration: line-through;
  cursor: not-allowed;
}
.cal-day.is-range,
.cal-day.is-range:hover {
  background: var(--gold-pale);
  color: var(--navy);
  box-shadow: none;
}
.cal-day.is-selected,
.cal-day.is-selected:hover {
  background: var(--navy);
  color: var(--white);
  box-shadow: none;
  opacity: 1;
}
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.cal-legend .swatch {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  margin-right: 0.35rem;
  vertical-align: -1px;
}
.cal-legend .open { background: var(--white); box-shadow: inset 0 0 0 1px var(--sand); }
.cal-legend .booked { background: #e4ddd0; }
.cal-legend .range { background: var(--gold-pale); }
.cal-legend .selected { background: var(--navy); }
.cal-status {
  margin: 0.9rem 0 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.book-form { margin-top: 0; }
.optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.date-conflict {
  margin: 0;
  color: #8a2a2a;
  background: #f8ecec;
  border-left: 3px solid #b04a4a;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.direct-save {
  background: var(--white);
  border: 1px solid var(--sand);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.15rem 1.4rem 1.2rem;
  margin: 0 0 2.25rem;
  max-width: 44em;
  box-shadow: var(--shadow);
}
.direct-save .eyebrow { margin-bottom: 0.3rem; }
.direct-save p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.book-summary {
  position: sticky;
  top: calc(var(--nav-h) + 1.1rem);
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.45rem;
  box-shadow: var(--shadow);
}
.book-summary h3 { margin-bottom: 0.75rem; }
.sum-list {
  margin: 0;
  padding: 0;
}
.sum-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--sand);
}
.sum-list > div[hidden] { display: none; }
.sum-list dt {
  color: var(--muted);
  font-size: 0.92rem;
}
.sum-list dd {
  margin: 0;
  text-align: right;
  color: var(--navy);
  font-weight: 600;
}
.sum-list dd.sum-fee {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.12rem;
}
.sum-list .was {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 500;
  margin-right: 0.3rem;
}
.sum-list .sum-hint {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  max-width: 14rem;
}
.sum-nights {
  margin: 0.85rem 0 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0 0.35rem;
  border-top: 1px solid var(--rule);
  margin-top: 0.35rem;
}
.sum-total span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.sum-total strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.sum-note, .sum-contact {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0.75rem 0 0;
}
.book-summary .btn {
  width: 100%;
  margin-top: 1.15rem;
}
.book-summary .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.book-summary .form-status { margin-top: 0.9rem; }
.form-status.error { color: #8a2a2a; }
.form-status.ok { color: var(--navy); }

.book-policies {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem 4rem;
  align-items: start;
}
@media (max-width: 800px) {
  .book-policies { grid-template-columns: 1fr; gap: 2.5rem; }
  .book-summary { position: static; }
}

@media (max-width: 600px) {
  .cal { padding: 0.9rem 0.7rem 0.85rem; }
  .cal-day { min-height: 2.4rem; font-size: 0.88rem; }
}
