:root {
  --panel: rgba(255, 255, 255, 0.64);
  --panel-strong: rgba(255, 255, 255, 0.72);
  --ink: #18343a;
  --muted: #4f6870;
  --line: rgba(24, 52, 58, 0.16);
  --accent: #e94a35;
  --accent-dark: #b93225;
  --focus: rgba(233, 74, 53, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(2, 83, 94, 0.02), rgba(255, 255, 255, 0.24)),
    url("background.jpg"),
    linear-gradient(135deg, #59cbd5 0%, #dbf4ef 55%, #f7ecd5 100%);
  background-size: cover;
  background-position: left center;
  background-attachment: fixed;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(340px, 460px);
  align-items: center;
  justify-content: end;
  gap: 24px;
}

.booking-panel,
.info-panel {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 24px 70px rgba(20, 73, 82, 0.22);
  backdrop-filter: blur(14px);
}

.booking-panel {
  padding: clamp(28px, 5vw, 56px);
  background: var(--panel);
  border-radius: 8px;
}

.brand-block {
  max-width: 620px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.75rem;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.intro {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.booking-form {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.booking-form.is-collapsed {
  display: none;
}

.booking-toggle {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  margin-top: 30px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(178, 59, 50, 0.28);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.booking-toggle:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.booking-toggle:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 3px;
}

.booking-toggle.is-hidden {
  display: none;
}

.field {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field span {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
}

input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  background: var(--panel-strong);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  margin: 2px 0 0;
  accent-color: var(--accent);
  flex: 0 0 16px;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--focus);
  background: #fff;
}

.submit-button {
  grid-column: 1 / -1;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  margin-top: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 14px 30px rgba(178, 59, 50, 0.28);
}

.submit-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.submit-button:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 3px;
}

.check-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.check-option span {
  min-width: 0;
}

.check-option strong {
  color: var(--ink);
  font-weight: 800;
}

.terms-option {
  align-items: center;
  margin-top: 2px;
}

.terms-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #0866c2;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.price-box {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.price-extras {
  display: grid;
  gap: 8px;
  padding: 10px 0 4px;
  border-top: 1px solid var(--line);
}

.price-section-title {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.price-line strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.price-line.total {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.price-line.total strong {
  color: var(--accent-dark);
  font-size: 1.25rem;
}

.price-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.info-panel {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.map-box {
  height: 210px;
  background: #d7f0ee;
}

.map-preview {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background:
    linear-gradient(38deg, transparent 0 48%, rgba(255, 255, 255, 0.72) 49% 51%, transparent 52%),
    linear-gradient(118deg, transparent 0 44%, rgba(255, 255, 255, 0.65) 45% 47%, transparent 48%),
    radial-gradient(circle at 42% 50%, rgba(233, 74, 53, 0.18) 0 8%, transparent 9%),
    linear-gradient(135deg, #91d7ce, #f6e8bd);
}

.map-preview::before,
.map-preview::after {
  content: "";
  position: absolute;
  inset: auto;
  background: rgba(24, 52, 58, 0.12);
}

.map-preview::before {
  width: 130%;
  height: 2px;
  top: 42%;
  transform: rotate(-12deg);
}

.map-preview::after {
  width: 2px;
  height: 130%;
  left: 58%;
  transform: rotate(18deg);
}

.map-pin {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  transform: rotate(-45deg);
  box-shadow: 0 10px 24px rgba(178, 50, 37, 0.3);
}

.map-pin::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  top: 11px;
  left: 11px;
}

.map-title,
.map-action {
  position: relative;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(20, 73, 82, 0.12);
}

.map-title {
  margin-top: 10px;
  font-weight: 800;
}

.map-action {
  margin-top: 8px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.92) contrast(0.95);
}

.contact-table {
  display: grid;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.table-row {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  border-top: 1px solid rgba(24, 52, 58, 0.09);
}

.table-label,
.table-value {
  min-width: 0;
  padding: 18px;
  line-height: 1.4;
}

.table-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  color: var(--accent-dark);
  white-space: nowrap;
  border-right: 1px solid rgba(24, 52, 58, 0.09);
}

.table-value {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.table-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.social-links a {
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
}

.social-links a:hover {
  color: var(--accent);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 29, 34, 0.55);
}

.modal.is-open {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(680px, calc(100vh - 40px));
  overflow: auto;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.modal-dialog h2 {
  margin: 0 44px 12px 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.1;
}

.modal-dialog p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.date-picker {
  position: absolute;
  z-index: 30;
  display: none;
  width: min(320px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.date-picker.is-open {
  display: block;
}

.date-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.date-picker-title {
  color: var(--ink);
  font-weight: 800;
}

.date-picker-nav {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.date-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.date-picker-day-name,
.date-picker-day {
  min-width: 0;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font: inherit;
  font-size: 0.82rem;
}

.date-picker-day-name {
  color: var(--muted);
  font-weight: 800;
}

.date-picker-day {
  border: 1px solid transparent;
  background: #f6fbfa;
  color: var(--ink);
  cursor: pointer;
}

.date-picker-day:hover,
.date-picker-day.is-selected {
  border-color: var(--accent);
  background: rgba(233, 74, 53, 0.1);
  color: var(--accent-dark);
  font-weight: 800;
}

.date-picker-day.is-in-range {
  border-color: rgba(233, 74, 53, 0.18);
  background: rgba(233, 74, 53, 0.16);
  color: var(--accent-dark);
}

.date-picker-day.is-range-edge {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.date-picker-day.is-muted {
  background: transparent;
  color: rgba(79, 104, 112, 0.5);
}

.date-picker-day.is-disabled,
.date-picker-day:disabled {
  border-color: transparent;
  background: #eef1f1;
  color: rgba(79, 104, 112, 0.42);
  cursor: not-allowed;
  font-weight: 400;
}

.date-picker-day.is-disabled:hover,
.date-picker-day:disabled:hover {
  border-color: transparent;
  background: #eef1f1;
  color: rgba(79, 104, 112, 0.42);
}

@media (max-width: 860px) {
  body {
    background-attachment: scroll;
  }

  .page-shell {
    grid-template-columns: 1fr;
    align-items: start;
    justify-content: stretch;
    padding: 28px 0;
  }

  .info-panel {
    order: 2;
  }

  h1 {
    font-size: 3rem;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: calc(100% - 20px);
    max-width: 1120px;
  }

  .booking-panel {
    padding: 24px 18px;
  }

  .booking-toggle,
  .submit-button,
  input {
    max-width: 100%;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.05;
  }

  .intro {
    font-size: 0.96rem;
  }

  .booking-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .table-label {
    border-right: 0;
    padding-bottom: 6px;
    padding-top: 14px;
  }

  .table-value {
    padding-top: 0;
  }
}
