:root {
  --ink: #26383a;
  --deep: #092726;
  --petrol: #0f5553;
  --petrol-soft: #146764;
  --cream: #f7f2eb;
  --cream-strong: #fffaf3;
  --copper: #e6a071;
  --gold: #d6a35e;
  --line: #eadfd3;
  --muted: #7c8b8d;
  --white: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(9, 39, 38, 0.9), rgba(9, 39, 38, 0.54)),
    linear-gradient(0deg, rgba(9, 39, 38, 0.68), rgba(9, 39, 38, 0.18)),
    url("booking-background.jpg") center top / cover no-repeat;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 164px 0 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0,0,0,0.72), transparent 54%);
  pointer-events: none;
}

body::after {
  content: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: var(--white);
}

.header-inner {
  width: min(1440px, calc(100% - 68px));
  margin: 0 auto;
}

.contact-strip {
  min-height: 52px;
  color: rgba(255, 250, 243, 0.78);
  background: #155a58;
  font-size: 14px;
}

.contact-strip .header-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 42px;
}

.strip-cta {
  align-self: stretch;
  margin-left: auto;
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  color: var(--cream-strong);
  background: #b49d7d;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.main-header {
  min-height: 112px;
  background: var(--white);
  border-bottom: 1px solid #ece7df;
}

.nav-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  min-width: 360px;
  color: #155a58;
}

.brand-logo img {
  display: block;
  width: 262px;
  max-width: 100%;
  height: auto;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav a {
  color: #192231;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.primary-nav a:hover {
  color: #b49d7d;
}

.phone-box {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #e4d9ca;
  color: #172033;
  background: var(--white);
}

.phone-box span {
  align-self: stretch;
  min-width: 52px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #b49d7d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.phone-box strong {
  padding: 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  white-space: nowrap;
}

.brand small,
.host-card span,
.step {
  display: block;
  color: rgba(255, 250, 243, 0.58);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.shell {
  width: min(1440px, calc(100% - 68px));
  min-height: calc(100vh - 164px);
  margin: 0 auto;
  padding: 64px 0 80px;
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) minmax(520px, 1.05fr);
  gap: 56px;
  align-items: start;
}

.full-width-shell {
  display: block;
}

.brand-panel {
  min-height: 680px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.eyebrow,
.type-card span {
  color: var(--copper);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

.hero-copy h1 {
  margin: 30px 0 22px;
  color: var(--cream-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 6.2vw, 108px);
  font-weight: 500;
  line-height: 0.94;
}

.hero-copy p {
  max-width: 780px;
  color: rgba(255, 250, 243, 0.9);
  font-size: 22px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.host-card {
  width: min(390px, 100%);
  padding: 20px 24px;
  color: var(--cream-strong);
  border: 1px solid rgba(255, 250, 243, 0.16);
  border-radius: 999px;
  background: rgba(9, 39, 38, 0.58);
  box-shadow: inset 0 0 0 1px rgba(230, 160, 113, 0.08);
  display: grid;
  gap: 5px;
}

.host-card a {
  color: rgba(255, 250, 243, 0.78);
}

.booking-panel,
.success,
.login-card,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 250, 243, 0.96);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.26);
}

.booking-panel {
  padding: 32px;
  backdrop-filter: blur(12px);
  width: 100%;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 20px;
}

.step {
  color: var(--copper);
  letter-spacing: 3px;
}

.panel-head h1,
.panel-head h2,
.success h2,
.login-card h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.08;
}

.compact {
  margin-top: 36px;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.type-card {
  min-height: 176px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.type-card:hover,
.type-card.active {
  transform: translateY(-2px);
  border-color: var(--copper);
  box-shadow: 0 16px 40px rgba(38, 56, 58, 0.12);
}

.type-card strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.type-card small {
  color: var(--muted);
  line-height: 1.55;
}

.booking-form {
  margin-top: 34px;
}

.calendar-toolbar {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 10px;
  align-items: center;
}

.calendar-nav {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.calendar-nav:hover {
  border-color: var(--copper);
  color: var(--petrol);
}

.calendar-range {
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 160, 113, 0.42);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
  text-align: center;
}

.calendar-range strong {
  font-size: 18px;
}

.calendar-range span {
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.slot-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.day-column {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
}

.day-column legend {
  padding: 0 7px;
  color: var(--ink);
  font-weight: 900;
}

.day-slots {
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.slot {
  display: block;
  margin-top: 9px;
  cursor: pointer;
}

.slot input,
.channel-row input {
  position: absolute;
  opacity: 0;
}

.slot span,
.channel-row span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  color: var(--ink);
  background: var(--cream-strong);
  font-weight: 850;
  text-align: center;
}

.no-slot {
  display: block;
  margin-top: 10px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 13px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.32);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.slot span em {
  display: block;
  margin-top: 4px;
  color: #8a1d12;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.slot.booked {
  cursor: not-allowed;
}

.slot.booked span {
  color: #8a1d12;
  border-color: #f0b5a8;
  background: repeating-linear-gradient(135deg, #fff3f1 0 8px, #ffe8e3 8px 16px);
  opacity: 0.86;
}

.slot.selected span,
.slot input:checked + span,
.channel-row input:checked + span {
  border-color: var(--petrol);
  color: var(--cream-strong);
  background: var(--petrol);
}

.channel-row label span {
  border-width: 2px;
}

.channel-zoom span {
  border-color: #6d7cff;
  color: #3442b7;
  background: #f1f3ff;
}

.channel-teams span {
  border-color: #7f55d8;
  color: #52319e;
  background: #f5efff;
}

.channel-phone span {
  border-color: #21a67a;
  color: #117052;
  background: #edf9f4;
}

.channel-zoom input:checked + span {
  border-color: #4656e8;
  background: #4656e8;
}

.channel-teams input:checked + span {
  border-color: #6540c6;
  background: #6540c6;
}

.channel-phone input:checked + span {
  border-color: #16845f;
  background: #16845f;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  color: var(--ink);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(230, 160, 113, 0.32);
  border-color: var(--copper);
}

select option {
  font-weight: 400;
}

textarea {
  resize: vertical;
}

.channel-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.wide {
  display: block;
}

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.actions small {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.5;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 30px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
}

.primary {
  color: #203535;
  background: var(--cream-strong);
  border-color: var(--cream-strong);
}

.booking-panel .primary,
.success .primary,
.login-card .primary {
  color: var(--cream-strong);
  background: var(--petrol);
  border-color: var(--petrol);
}

.outline,
.ghost {
  color: var(--cream-strong);
  background: rgba(255, 250, 243, 0.03);
  border-color: rgba(255, 250, 243, 0.25);
}

.admin-header .ghost {
  color: var(--ink);
  background: var(--cream-strong);
  border-color: var(--line);
}

.alert {
  margin-bottom: 18px;
  border: 1px solid #f0b5a8;
  border-radius: 16px;
  padding: 14px;
  color: #8a1d12;
  background: #fff3f1;
}

.notice {
  margin-bottom: 18px;
  border: 1px solid rgba(20, 103, 100, 0.28);
  border-radius: 16px;
  padding: 14px;
  color: #0f5553;
  background: rgba(255, 250, 243, 0.94);
  font-weight: 850;
}

.success {
  position: relative;
  overflow: hidden;
  padding: 44px;
  border-color: rgba(255, 250, 243, 0.72);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,250,243,0.38)),
    rgba(255, 250, 243, 0.92);
}

.success::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 44%;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0));
  pointer-events: none;
}

.success > * {
  position: relative;
  z-index: 1;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 11px 18px;
  color: #fef7ef;
  background: linear-gradient(135deg, #0f6b66, #0b4f4c);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 12px 26px rgba(15, 85, 83, 0.22);
  font-weight: 900;
}

.success h2 {
  margin-top: 34px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 70px);
}

.success p {
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.success p strong {
  color: var(--ink);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 30px;
}

.summary-grid div {
  min-height: 122px;
  border: 1px solid rgba(234, 223, 211, 0.82);
  border-radius: 20px;
  padding: 22px 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.86), rgba(255,250,243,0.48));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 18px 40px rgba(38, 56, 58, 0.08);
}

.summary-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  line-height: 1.25;
}

.summary-grid span,
td span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.admin-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.admin-header .brand strong {
  color: var(--cream-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.admin-header .brand small {
  color: rgba(255, 250, 243, 0.58);
}

.login-card,
.admin-card {
  padding: 30px;
}

.availability-admin {
  margin-bottom: 28px;
}

.admin-intro {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.6;
}

.admin-tools {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-weight: 800;
}

.availability-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.5fr) minmax(150px, 0.5fr) auto;
  gap: 14px;
  align-items: end;
  margin: 22px 0 26px;
}

.availability-list {
  display: grid;
  gap: 10px;
}

.availability-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.56);
}

.availability-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.availability-item strong {
  font-weight: 700;
}

.availability-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.booking-actions {
  display: grid;
  gap: 8px;
}

.booking-actions .button {
  min-height: 44px;
  padding: 0 16px;
  font-size: 12px;
}

.soft {
  min-height: 44px;
  color: var(--petrol);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.danger {
  min-height: 44px;
  color: #8a1d12;
  background: #fff3f1;
  border-color: #f0b5a8;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal.open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 39, 38, 0.72);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  background: rgba(255, 250, 243, 0.98);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.modal-actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-grid {
  margin-top: 16px;
}

.login-card {
  max-width: 430px;
  margin: 80px auto;
  display: grid;
  gap: 12px;
}

.table-wrap {
  overflow-x: auto;
}

.table-footer-actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
}

.below-card-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--copper);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.empty {
  color: var(--muted);
}

@media (max-width: 1180px) {
  .contact-strip .header-inner {
    width: calc(100% - 44px);
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .strip-cta {
    margin-left: 0;
    min-height: 44px;
  }

  .nav-inner {
    width: 100%;
    padding: 18px 22px;
    align-items: flex-start;
    flex-direction: column;
  }

  .shell {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    min-height: auto;
  }
}

@media (max-width: 780px) {
  .header-inner {
    width: calc(100% - 32px);
  }

  .brand-logo {
    min-width: 0;
  }

  .primary-nav {
    margin-left: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .phone-box {
    width: 100%;
  }

  .phone-box strong {
    font-size: 18px;
  }

  .panel-head,
  .actions,
  .admin-header {
    align-items: stretch;
    flex-direction: column;
  }

  .shell {
    width: calc(100% - 32px);
    padding: 42px 0;
  }

  .booking-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .type-grid,
  .form-grid,
  .channel-row,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .calendar-toolbar,
  .slot-board,
  .availability-form {
    grid-template-columns: 1fr;
  }

  .availability-item {
    align-items: stretch;
    flex-direction: column;
  }

  .availability-actions {
    justify-content: flex-start;
  }


  .admin-tools,
  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .hero-copy p {
    font-size: 18px;
  }
}
