:root {
  --bg: #090d13;
  --bg-soft: #111826;
  --card: rgba(19, 28, 42, 0.82);
  --card-solid: #162033;
  --text: #f2f7fd;
  --muted: #a0afbf;
  --accent: #47d7b0;
  --accent-hover: #69ebc7;
  --danger: #e26767;
  --border: rgba(130, 157, 195, 0.2);
  --radius: 16px;
  font-family: "Manrope", sans-serif;
}

html[data-theme="light"] {
  --bg: #eef3fb;
  --bg-soft: #f8fbff;
  --card: rgba(255, 255, 255, 0.82);
  --card-solid: #ffffff;
  --text: #152235;
  --muted: #4f6480;
  --accent: #198a6f;
  --accent-hover: #11a17f;
  --danger: #d34a4a;
  --border: rgba(64, 96, 140, 0.2);
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 550px at 8% -10%, #243f66 0%, transparent 60%),
    radial-gradient(1000px 600px at 95% 0%, #19324f 0%, transparent 54%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 68%);
  color: var(--text);
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

html[data-theme="light"] body {
  background:
    radial-gradient(1200px 550px at 8% -10%, #d2e6ff 0%, transparent 60%),
    radial-gradient(1000px 600px at 95% 0%, #d8f0ec 0%, transparent 54%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 68%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  z-index: -1;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.16) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

html[data-theme="light"] .bg-noise {
  opacity: 0.12;
  background-image:
    radial-gradient(rgba(34, 54, 86, 0.1) 0.6px, transparent 0.6px);
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  padding: 1.6rem 0 0.8rem;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  text-transform: uppercase;
}

.logo-mark {
  width: 1.85rem;
  aspect-ratio: 1;
  border-radius: 0.55rem;
  background: linear-gradient(145deg, #74f2d4, #23ad8a);
  color: #0c1b19;
  display: inline-grid;
  place-items: center;
  font-family: "Unbounded", sans-serif;
  font-size: 1rem;
  box-shadow: 0 8px 22px rgba(71, 215, 176, 0.35);
}

.logo-text {
  font-family: "Unbounded", sans-serif;
  font-size: 0.95rem;
  text-transform: none;
}

.tagline {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.main-content {
  padding: 2rem 0 3rem;
}

.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  margin-bottom: 1.15rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 42px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(7px);
}

html[data-theme="light"] .card {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 30px rgba(21, 44, 84, 0.12);
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.2rem);
  font-family: "Unbounded", sans-serif;
  letter-spacing: -0.03em;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.hero-facts {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.48rem;
}

.hero-facts li {
  border: 1px solid var(--border);
  background: rgba(7, 13, 23, 0.38);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  font-size: 0.85rem;
  color: #d6e2ef;
}

html[data-theme="light"] .hero-facts li {
  background: rgba(238, 246, 255, 0.7);
  color: #243b57;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 340px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: #8eb5d8;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.71rem;
  font-weight: 700;
}

html[data-theme="light"] .eyebrow {
  color: #4776a4;
}

.lead {
  margin: 0;
  color: #b8c9d9;
  max-width: 58ch;
}

html[data-theme="light"] .lead {
  color: #3c587a;
}

.lead strong {
  color: var(--text);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.skeleton-line {
  list-style: none;
  height: 0.9rem;
  border-radius: 999px;
  margin: 0.45rem 0;
  background: linear-gradient(
    90deg,
    rgba(150, 171, 198, 0.16),
    rgba(204, 220, 238, 0.3),
    rgba(150, 171, 198, 0.16)
  );
  background-size: 180% 100%;
  animation: shimmer 1.2s linear infinite;
}

.skeleton-line.short {
  width: 65%;
}

.form .field,
.field {
  margin-bottom: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

input[type="text"],
input[type="tel"],
input[type="date"],
select {
  width: 100%;
  padding: 0.62rem 0.72rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(10, 16, 27, 0.9);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

html[data-theme="light"] input[type="text"],
html[data-theme="light"] input[type="tel"],
html[data-theme="light"] input[type="date"],
html[data-theme="light"] select {
  background: rgba(246, 250, 255, 0.94);
}

input:focus,
select:focus {
  outline: none;
  border-color: rgba(102, 242, 205, 0.9);
  box-shadow: 0 0 0 3px rgba(71, 215, 176, 0.2);
}

fieldset.field {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  background: rgba(9, 15, 25, 0.45);
}

html[data-theme="light"] fieldset.field {
  background: rgba(243, 249, 255, 0.8);
}

fieldset.field legend {
  padding: 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.radio {
  display: block;
  margin: 0.35rem 0;
  color: var(--text);
  cursor: pointer;
}

.radio input {
  margin-right: 0.5rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #233047;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: #30415b;
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(145deg, #67f3cf, var(--accent));
  border-color: transparent;
  color: #04110e;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(71, 215, 176, 0.34);
}

.btn.primary:hover {
  filter: brightness(1.06);
}

.btn.danger {
  background: linear-gradient(145deg, #f08080, var(--danger));
  border-color: transparent;
  color: #fff;
}

.btn.danger:hover {
  filter: brightness(1.08);
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
}

.theme-toggle {
  min-width: 7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.error {
  color: #ff8a8a;
  margin: 0.5rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid rgba(226, 103, 103, 0.35);
  background: rgba(226, 103, 103, 0.13);
  padding: 0.55rem 0.65rem;
  border-radius: 0.6rem;
}

html[data-theme="light"] .error {
  color: #aa2424;
  border-color: rgba(212, 84, 84, 0.35);
  background: rgba(231, 126, 126, 0.14);
}

.busy-list {
  margin: 0;
  padding-left: 1.2rem;
}

.busy-list li {
  margin: 0.35rem 0;
  color: #d6e4f0;
  line-height: 1.45;
}

.timeline-hour-ruler {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 0.15rem;
  margin-bottom: 0.5rem;
}

.hour-tick {
  font-size: 0.65rem;
  color: var(--muted);
  text-align: center;
}

.day-timeline {
  display: grid;
  gap: 0.45rem;
}

.day-row {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.55rem;
  align-items: center;
}

.day-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: capitalize;
}

.day-track {
  position: relative;
  height: 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background:
    repeating-linear-gradient(
      to right,
      rgba(153, 173, 197, 0.2) 0,
      rgba(153, 173, 197, 0.2) calc((100% / 24) - 1px),
      transparent calc((100% / 24) - 1px),
      transparent calc(100% / 24)
    );
}

.busy-block {
  position: absolute;
  top: 1px;
  bottom: 1px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ea8f8f, #d75f5f);
  box-shadow: 0 4px 12px rgba(214, 90, 90, 0.35);
}

.timeline-loading .skeleton-line {
  margin: 0.2rem 0;
}

.booking-summary {
  margin: 0.5rem 0 1rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: rgba(14, 21, 33, 0.42);
  color: #d3e0ee;
  font-size: 0.92rem;
}

html[data-theme="light"] .booking-summary {
  background: rgba(236, 245, 255, 0.68);
  color: #1d3653;
}

html[data-theme="light"] .busy-list li {
  color: #213753;
}

.details {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.35rem 1rem;
  margin: 1rem 0 1.5rem;
}

.details dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.details dd {
  margin: 0;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.2rem 0.66rem;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.status-pill.is-active {
  color: #adfbe8;
  background: rgba(71, 215, 176, 0.16);
  border-color: rgba(71, 215, 176, 0.45);
}

.status-pill.is-cancelled {
  color: #ffd1d1;
  background: rgba(226, 103, 103, 0.2);
  border-color: rgba(226, 103, 103, 0.45);
}

.inline-link {
  margin-top: 0.45rem;
  font-size: 0.9rem;
}

@keyframes shimmer {
  from {
    background-position: 180% 0;
  }
  to {
    background-position: -180% 0;
  }
}

@media (max-width: 560px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

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

  .timeline-hour-ruler {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .day-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .header-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
