:root {
  --ink: #14313d;
  --muted: #5f7780;
  --blue: #8fd8f2;
  --deep-blue: #247996;
  --gold: #d9a84e;
  --cream: #fffaf0;
  --white: #ffffff;
  --line: rgba(20, 49, 61, 0.14);
  --shadow: 0 18px 50px rgba(17, 67, 85, 0.16);
  --page-bg: #f4fbfd;
  --section-tint: rgba(238, 248, 251, 0.58);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(241, 250, 253, 0.96) 0%, rgba(255, 255, 255, 0.88) 34%, rgba(238, 246, 249, 0.96) 68%, rgba(255, 255, 255, 0.94) 100%),
    linear-gradient(120deg, rgba(143, 216, 242, 0.24) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(300deg, rgba(217, 168, 78, 0.08) 0%, rgba(255, 255, 255, 0) 36%),
    var(--page-bg);
  line-height: 1.6;
}
main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(229, 243, 247, 0.48) 34%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.62) 50%, rgba(255, 255, 255, 0) 100%);
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand img { width: 150px; max-height: 58px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 700; }
.main-nav a { text-decoration: none; }
.main-nav a:hover { color: var(--deep-blue); }
.nav-toggle { display: none; border: 0; background: var(--deep-blue); color: #fff; width: 42px; height: 42px; border-radius: 6px; font-size: 22px; }
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-switcher a {
  min-width: 34px;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 800;
  background: #fff;
}
.lang-switcher a.active {
  background: var(--deep-blue);
  color: #fff;
}

.sticky-booking {
  position: sticky;
  top: 76px;
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 8px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: #eaf9ff;
  border-bottom: 1px solid var(--line);
}
.sticky-booking-toggle {
  display: none;
}
.sticky-booking-toggle .toggle-open {
  display: none;
}
.sticky-booking-alert {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--deep-blue);
  font-size: 13px;
  font-weight: 800;
}
.sticky-booking.has-capacity-error {
  background: #fff3cd;
}
.sticky-booking.has-date-error {
  background: #fff3cd;
}
.sticky-booking.has-capacity-error .sticky-booking-alert,
.sticky-booking.has-date-error .blocked-date-alert {
  color: #9a3f18;
}
input, select, textarea, button {
  font: inherit;
  border-radius: 6px;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
}
button, .primary {
  border: 0;
  background: linear-gradient(135deg, var(--deep-blue), #52b6d7);
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
button.secondary {
  background: #eef8fb;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero, .subhero {
  position: relative;
  min-height: 58vh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: clamp(28px, 6vw, 72px);
}
.subhero { min-height: 68vh; }
.slider > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms ease;
  z-index: -2;
}
.slider > img.active { opacity: 1; }
.hero::after, .subhero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 35, 45, 0.74), rgba(8, 35, 45, 0.16) 58%, rgba(255,255,255,0.18));
  z-index: -1;
}
.hero-copy {
  max-width: 760px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.hero-copy p { margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0; font-weight: 800; }
.hero-copy h1 { margin: 0; font-size: clamp(42px, 8vw, 90px); line-height: 0.96; }
.hero-copy span { display: block; max-width: 660px; margin: 20px 0 26px; font-size: clamp(17px, 2vw, 22px); }

.quick-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.quick-stats div {
  min-height: 96px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 16px;
  font-weight: 800;
}
.quick-stats strong { color: var(--gold); font-size: 22px; }

.section {
  padding: clamp(52px, 7vw, 92px) clamp(16px, 4vw, 48px);
  max-width: 1220px;
  margin: 0 auto;
}
.section:nth-of-type(even) {
  background: var(--section-tint);
  box-shadow: 0 0 0 100vmax var(--section-tint);
  clip-path: inset(0 -100vmax);
}
.section-title { max-width: 780px; margin-bottom: 28px; }
.section-title p { color: var(--deep-blue); margin: 0 0 6px; font-weight: 800; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.16; }
h2 { font-size: clamp(28px, 4vw, 46px); margin: 0 0 16px; }
h3 { margin: 0 0 10px; }
.intro, .split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.feature-list span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.82);
  padding: 14px;
  border-radius: 6px;
  font-weight: 700;
}

.cards, .attractions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.apt-card, .attractions article, .admin-list article, .success {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.apt-card img { height: 230px; width: 100%; object-fit: cover; }
.apt-card div { padding: 20px; border-top: 5px solid var(--accent); }
.apt-card a { font-weight: 800; color: var(--deep-blue); text-decoration: none; }
.attractions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.attractions article { padding: 22px; box-shadow: none; }

.booking-section {
  max-width: 1100px;
}
.booking-form {
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 34px);
  box-shadow: var(--shadow);
}
.booking-form.compact { max-width: 460px; }
.booking-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}
.booking-progress button {
  background: #f2fbfe;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 10px;
}
.booking-progress button.active {
  background: linear-gradient(135deg, var(--deep-blue), #52b6d7);
  color: #fff;
}
.booking-progress button.done {
  color: var(--ink);
  border-color: rgba(36, 121, 150, 0.36);
}
.booking-step { display: none; }
.booking-step.active { display: block; }
.booking-step h3 { font-size: clamp(22px, 3vw, 30px); }
.booking-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.form-grid, .dynamic-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.child-age-fields {
  margin-top: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.guest-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
label { display: grid; gap: 7px; font-weight: 700; }
.wide { margin-top: 16px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; font-weight: 600; }
.check input { width: auto; margin-top: 5px; }
.payment-note {
  margin: 16px 0;
  border-left: 5px solid var(--gold);
  background: #fff8e8;
  border-radius: 8px;
  padding: 14px 16px;
}
.payment-note p {
  margin: 4px 0 0;
}
.booking-price-summary {
  margin: 18px 0;
  border: 1px solid rgba(36, 121, 150, 0.3);
  border-radius: 8px;
  background: #f7fcfe;
  padding: 18px;
}
.booking-price-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}
.booking-price-heading strong { display: block; font-size: 20px; color: var(--deep-blue); }
.booking-price-heading small, .booking-price-heading span { display: block; margin-top: 3px; color: var(--muted); }
.booking-price-summary dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px 20px;
  margin: 18px 0 8px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.booking-price-summary dt, .booking-price-summary dd { margin: 0; }
.booking-price-summary dd { text-align: right; font-weight: 800; }
.booking-price-summary .price-total-label, .booking-price-summary .price-total {
  margin-top: 5px;
  padding-top: 12px;
  border-top: 2px solid rgba(36, 121, 150, 0.25);
  font-size: 20px;
  font-weight: 900;
  color: var(--deep-blue);
}
.price-tax-note { display: block; color: var(--muted); margin-top: 10px; }
.booking-price-summary.has-error { border-color: rgba(217, 168, 78, 0.65); background: #fff8e8; }
.booking-date-alert {
  display: none;
  margin: 14px 0 0;
  border-left: 5px solid #d9a84e;
  background: #fff8e8;
  border-radius: 8px;
  color: #8a4218;
  font-weight: 800;
  padding: 12px 14px;
}
.booking-form.has-date-error .booking-date-alert {
  display: block;
}
.terms-box {
  display: flex;
  align-items: start;
  gap: 12px;
  margin: 18px 0;
  border: 1px solid rgba(36, 121, 150, 0.24);
  background: #f7fcfe;
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 600;
}
.terms-box input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--deep-blue);
}
.terms-copy {
  display: block;
  max-width: 860px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}
.terms-main,
.terms-payment-line {
  display: block;
}
.terms-payment-line {
  margin-top: 2px;
}
.terms-copy a {
  color: var(--ink);
  font-weight: 900;
  text-underline-offset: 3px;
}
.terms-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.terms-links a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 7px 10px;
  color: var(--deep-blue);
  font-weight: 800;
  text-decoration: none;
}
.hint { color: var(--muted); font-size: 14px; }
fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  gap: 12px;
}
legend { font-weight: 800; color: var(--deep-blue); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.price-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.price-table div {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.price-table strong { display: block; font-size: 24px; color: var(--deep-blue); }
.split iframe, .map iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: 8px;
}
.distance-list { font-weight: 800; font-size: 18px; }
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.nearby-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.nearby-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.nearby-card div {
  display: grid;
  gap: 8px;
  padding: 18px;
}
.nearby-card span {
  width: max-content;
  background: #eaf9ff;
  color: var(--deep-blue);
  border-radius: 6px;
  padding: 5px 9px;
  font-weight: 800;
}
.nearby-card h3,
.nearby-card p {
  margin: 0;
}
.nearby-card small {
  color: var(--muted);
  font-weight: 700;
}
.nearby-card a {
  color: var(--deep-blue);
  font-weight: 800;
  text-decoration: none;
}
.faq { display: grid; gap: 10px; }
details {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}
summary { cursor: pointer; font-weight: 800; }
.info-band {
  background: linear-gradient(135deg, rgba(219, 244, 251, 0.92), rgba(255, 251, 241, 0.9));
  border-block: 1px solid var(--line);
  max-width: none;
  padding-inline: max(16px, calc((100vw - 1220px) / 2));
}
.legal-page {
  max-width: 980px;
}
.legal-page h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin: 0 0 18px;
}
.legal-page h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin-top: 34px;
}
.legal-page li {
  margin-bottom: 8px;
}
.legal-updated,
.legal-note {
  color: var(--muted);
  font-weight: 700;
}
.legal-note {
  border-left: 5px solid var(--gold);
  background: #fff8e8;
  padding: 14px 16px;
  border-radius: 6px;
}

.site-footer {
  background: #102f3b;
  color: #ecfbff;
  padding: 48px clamp(16px, 4vw, 48px);
}
.footer-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 28px;
}
.footer-grid a { color: #fff; font-weight: 800; }
.map iframe { min-height: 240px; }
.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 40;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.cookie-panel {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 45;
  width: min(420px, calc(100vw - 36px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.alert { background: #fff3cd; border: 1px solid #f1d27a; padding: 12px 14px; border-radius: 6px; }
.admin-module-nav {
  position: sticky;
  top: 136px;
  z-index: 18;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 10px;
  background: rgba(247, 252, 254, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}
.admin-module-nav a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--deep-blue);
  font-size: 14px;
  font-weight: 800;
  padding: 8px 10px;
  text-decoration: none;
}
.admin-module-nav a:hover {
  background: #eaf9ff;
}
.admin-panel {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 26px);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.admin-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.admin-section-head p {
  margin: 0 0 4px;
  color: var(--deep-blue);
  font-weight: 800;
  text-transform: uppercase;
}
.admin-section-head h2 { margin: 0; }
.admin-drawer {
  padding: 0;
  overflow: hidden;
}
.admin-drawer > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  padding: clamp(16px, 3vw, 22px) clamp(16px, 3vw, 26px);
}
.admin-drawer > summary::-webkit-details-marker {
  display: none;
}
.admin-drawer > summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 6px;
  background: #eef8fb;
  color: var(--deep-blue);
  font-size: 24px;
  font-weight: 800;
}
.admin-drawer[open] > summary {
  border-bottom: 1px solid var(--line);
}
.admin-drawer[open] > summary::after {
  content: "-";
}
.admin-drawer summary span {
  display: grid;
  gap: 4px;
}
.admin-drawer summary small {
  color: var(--deep-blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.admin-drawer summary strong {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.16;
}
.admin-drawer summary em {
  margin-left: auto;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}
.admin-drawer-body {
  padding: clamp(16px, 3vw, 26px);
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.admin-stats div {
  background: #f5fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.admin-stats span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}
.admin-stats strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
  margin-top: 6px;
  color: var(--deep-blue);
}
.calendar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.calendar-nav a {
  background: #eef8fb;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 11px;
  text-decoration: none;
  font-weight: 800;
}
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.calendar-legend span {
  border-left: 5px solid var(--accent);
  background: #f7fbfc;
  border-radius: 6px;
  padding: 8px 10px;
  font-weight: 800;
}
.booking-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(128px, 1fr));
  gap: 1px;
  overflow-x: auto;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.calendar-weekday,
.calendar-day {
  background: #fff;
  min-width: 128px;
}
.calendar-weekday {
  padding: 10px;
  text-align: center;
  color: var(--deep-blue);
}
.calendar-day {
  min-height: 130px;
  padding: 8px;
}
.calendar-day.muted-day {
  background: #f6f8f8;
  color: #8aa0a8;
}
.calendar-day.blocked-day {
  background: #fff8e8;
}
.calendar-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-weight: 800;
  background: #eef8fb;
}
.calendar-booking {
  display: block;
  margin-top: 7px;
  border-left: 5px solid var(--accent);
  border-radius: 6px;
  background: #f7fbfc;
  padding: 7px 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.calendar-booking small {
  color: var(--muted);
  font-weight: 700;
}
.calendar-blocked {
  display: block;
  margin-top: 7px;
  border-left: 5px solid #d9a84e;
  border-radius: 6px;
  background: #fff0c7;
  color: #8a4218;
  padding: 7px 8px;
  font-size: 13px;
  font-weight: 900;
}
.calendar-blocked small {
  color: #8a4218;
  font-weight: 700;
}
.calendar-booking.status-cancelled {
  opacity: 0.62;
  text-decoration: line-through;
}
.admin-list { display: grid; gap: 14px; margin-bottom: 36px; }
.admin-list article { padding: 18px; box-shadow: none; }
.booking-edit-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}
.booking-edit-form .wide {
  grid-column: span 3;
  margin-top: 0;
}
.booking-full-details {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f8fcfd;
}
.booking-full-details summary {
  font-size: 18px;
  color: var(--deep-blue);
}
.booking-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.booking-detail-grid section,
.guest-detail-list section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
.booking-full-details h4,
.booking-full-details h5 {
  margin: 0 0 10px;
}
.booking-full-details dl {
  display: grid;
  grid-template-columns: minmax(120px, 0.75fr) 1fr;
  gap: 7px 12px;
  margin: 0;
}
.booking-full-details dt {
  color: var(--muted);
  font-weight: 800;
}
.booking-full-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.guest-detail-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.email-designer {
  margin-bottom: 36px;
}
.placeholder-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.placeholder-list code {
  background: #eef8fb;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--deep-blue);
  font-weight: 800;
  padding: 6px 8px;
}
.email-template-list {
  display: grid;
  gap: 18px;
}
.email-template-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}
.email-template-form {
  display: grid;
  gap: 12px;
}
.email-template-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.email-template-title h3 {
  margin: 0;
}
.email-template-form textarea {
  min-height: 220px;
  resize: vertical;
}
.email-image-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
}
.email-image-tools figure {
  margin: 0;
  width: 180px;
}
.email-image-tools img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.email-image-tools figcaption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.email-preview {
  display: grid;
  gap: 10px;
}
.email-preview strong {
  color: var(--deep-blue);
  overflow-wrap: anywhere;
}
.email-preview iframe {
  width: 100%;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef8fb;
}
.inline-form, .coupon-list form, .gallery-admin, .blocked-date-list form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin: 10px 0;
}
.inline-form input, .inline-form select { width: auto; min-width: 170px; }
.danger button { background: #ad3547; }
.admin-table {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
}
.admin-table fieldset {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.coupon-list { display: grid; gap: 8px; margin-bottom: 32px; }
.blocked-date-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.blocked-date-list form {
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}
.gallery-admin {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 16px;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .lang-switcher { margin-left: auto; }
  .sticky-booking { grid-template-columns: 1fr 1fr; }
  .admin-module-nav { top: 128px; }
  .quick-stats, .cards, .attractions, .nearby-grid, .gallery-grid, .price-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro, .split, .footer-grid { grid-template-columns: 1fr; }
  .form-grid, .dynamic-fields, .guest-fields, .child-age-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-stats, .booking-edit-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-edit-form .wide { grid-column: span 2; }
  .booking-detail-grid { grid-template-columns: 1fr; }
  .email-template-card { grid-template-columns: 1fr; }
  .admin-section-head { align-items: start; flex-direction: column; }
}

@media (max-width: 640px) {
  .topbar { height: 68px; }
  .brand img { width: 126px; }
  .main-nav { top: 68px; }
  .sticky-booking {
    top: 68px;
    grid-template-columns: 1fr;
    padding-top: 58px;
  }
  .sticky-booking-toggle {
    display: flex;
    position: absolute;
    top: 8px;
    right: 16px;
    width: auto;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    z-index: 2;
  }
  .sticky-booking.is-collapsed {
    display: flex;
    justify-content: flex-end;
    padding: 8px 16px;
  }
  .sticky-booking.is-collapsed > :not(.sticky-booking-toggle) {
    display: none;
  }
  .sticky-booking.is-collapsed .sticky-booking-toggle {
    position: static;
  }
  .sticky-booking.is-collapsed .toggle-open {
    display: inline;
  }
  .sticky-booking.is-collapsed .toggle-close {
    display: none;
  }
  .admin-module-nav {
    top: 76px;
    max-height: 132px;
    overflow-y: auto;
  }
  .admin-drawer > summary {
    align-items: flex-start;
  }
  .admin-drawer summary em {
    display: none;
  }
  .hero { min-height: 56vh; }
  .booking-progress { grid-template-columns: 1fr 1fr; }
  .booking-actions { flex-direction: column-reverse; }
  .quick-stats, .cards, .attractions, .nearby-grid, .gallery-grid, .price-table, .form-grid, .dynamic-fields, .guest-fields, .child-age-fields, .feature-list, .admin-table fieldset { grid-template-columns: 1fr; }
  .admin-stats, .booking-edit-form { grid-template-columns: 1fr; }
  .booking-edit-form .wide { grid-column: auto; }
  .booking-full-details dl { grid-template-columns: 1fr; }
  .email-template-title { align-items: stretch; flex-direction: column; }
  .email-preview iframe { min-height: 430px; }
  .hero-copy h1 { font-size: 42px; }
  .section { padding-block: 44px; }
  .inline-form input, .inline-form select { width: 100%; }
}
