:root {
  --bg: #f4efe7;
  --panel: rgba(255, 250, 244, 0.84);
  --panel-strong: #fffaf4;
  --line: rgba(77, 58, 40, 0.12);
  --text: #1f1a17;
  --muted: #63574d;
  --accent: #0d7a72;
  --accent-deep: #08534d;
  --accent-soft: rgba(13, 122, 114, 0.1);
  --warm: #d2a36c;
  --danger: #a83d3d;
  --success: #1f7a3d;
  --warning: #936227;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 26px 60px rgba(31, 26, 23, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(210, 163, 108, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(13, 122, 114, 0.12), transparent 26%),
    linear-gradient(145deg, #f7f1e8 0%, #f4efe7 44%, #f1f5f3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(31, 26, 23, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 26, 23, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 78%);
}

.background-orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(14px);
  pointer-events: none;
}

.background-orb-a {
  top: -60px;
  left: -80px;
  background: rgba(210, 163, 108, 0.18);
}

.background-orb-b {
  right: -90px;
  bottom: 40px;
  background: rgba(13, 122, 114, 0.16);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 28px));
  margin: 22px auto 40px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 24px;
  padding: 30px;
}

.hero-card,
.summary-card,
.info-panel article,
.recent-booking-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.hero-card,
.summary-card,
.info-panel,
.recent-booking-card {
  padding: 24px;
}

.eyebrow,
.label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-deep);
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.lead,
.muted,
.clean-list {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.theme-picker {
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.theme-picker h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.theme-picker p {
  margin-bottom: 14px;
}

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

.theme-card {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.theme-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 122, 114, 0.28);
}

.theme-card.active {
  border-color: rgba(13, 122, 114, 0.46);
  box-shadow: 0 12px 24px rgba(13, 122, 114, 0.1);
}

.pill,
.section-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(13, 122, 114, 0.14);
  background: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-top: 24px;
}

.booking-panel,
.info-panel {
  padding: 28px;
}

.stack {
  display: grid;
  gap: 24px;
}

.section-head,
.info-grid {
  display: grid;
  gap: 18px;
}

.section-head.compact {
  margin-bottom: 18px;
}

.section-head {
  grid-template-columns: 1fr auto;
  align-items: start;
  margin-bottom: 22px;
}

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

.booking-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.full-span {
  grid-column: 1 / -1;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(77, 58, 40, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  padding: 14px 16px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(13, 122, 114, 0.18);
  border-color: var(--accent);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.cta-button {
  min-height: 56px;
  border: none;
  border-radius: 999px;
  color: #f7fbfa;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(13, 122, 114, 0.24);
  transition: transform 180ms ease, opacity 180ms ease;
}

.cta-button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.cta-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.summary-card {
  background:
    radial-gradient(circle at top right, rgba(13, 122, 114, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.75);
}

.subtle {
  background: rgba(13, 122, 114, 0.06);
  border-color: rgba(13, 122, 114, 0.08);
  color: var(--accent-deep);
}

.form-status {
  margin: 12px 0 0;
  font-weight: 700;
}

.form-status[data-state="info"] {
  color: var(--accent-deep);
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="warning"] {
  color: var(--warning);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.clean-list {
  padding-left: 18px;
  margin-bottom: 0;
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.info-grid article {
  padding: 18px;
}

.info-grid strong {
  display: block;
  font-size: 1.05rem;
}

.travel-tools {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.route-form {
  display: grid;
  gap: 12px;
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.route-button {
  min-height: 48px;
  padding: 12px 18px;
}

.route-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  font-weight: 700;
}

.map-frame {
  margin-top: 16px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-frame.compact iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
}

.recent-bookings {
  display: grid;
  gap: 12px;
}

.service-browser {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.service-cards {
  display: grid;
  gap: 14px;
}

.service-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 122, 114, 0.22);
  box-shadow: 0 16px 28px rgba(31, 26, 23, 0.06);
}

.service-card.selected {
  border-color: rgba(13, 122, 114, 0.5);
  box-shadow: 0 18px 30px rgba(13, 122, 114, 0.12);
  background:
    radial-gradient(circle at top right, rgba(13, 122, 114, 0.1), transparent 35%),
    rgba(255, 255, 255, 0.82);
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 8px;
}

.service-card h3,
.admin-booking-card h3,
.review-card h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.service-meta,
.admin-meta,
.review-meta {
  color: var(--muted);
  line-height: 1.6;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(13, 122, 114, 0.08);
  color: var(--accent-deep);
  font-weight: 700;
  white-space: nowrap;
}

.admin-booking-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.review-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(210, 163, 108, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.72);
}

.review-stars {
  margin-bottom: 10px;
  color: #bb7a24;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}

body.theme-clean {
  --panel: rgba(253, 254, 253, 0.96);
  --line: rgba(88, 110, 122, 0.12);
  --text: #16222b;
  --muted: #687884;
  --accent: #2d8278;
  --accent-deep: #1e5e57;
  --shadow: 0 10px 24px rgba(20, 36, 45, 0.05);
  background: linear-gradient(180deg, #f8fbfc 0%, #eef4f6 100%);
}

body.theme-clean .background-orb {
  display: none;
}

body.theme-clean .shell {
  width: min(1100px, calc(100% - 54px));
}

body.theme-clean h1,
body.theme-clean h2 {
  font-family: "Times New Roman", Georgia, serif;
  letter-spacing: -0.06em;
}

body.theme-clean .panel,
body.theme-clean .theme-card,
body.theme-clean .service-card,
body.theme-clean .admin-booking-card,
body.theme-clean .review-card,
body.theme-clean .theme-picker {
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(20, 36, 45, 0.04);
  backdrop-filter: none;
}

body.theme-clean .hero,
body.theme-clean .booking-panel,
body.theme-clean .info-panel {
  padding: 40px;
}

body.theme-clean .cta-button,
body.theme-clean .route-button,
body.theme-clean .route-link,
body.theme-clean .pill,
body.theme-clean .section-note,
body.theme-clean .service-chip,
body.theme-clean code {
  border-radius: 8px;
}

body.theme-clean .cta-button,
body.theme-clean .route-button {
  box-shadow: none;
  background: linear-gradient(135deg, #1e5e57, #2d8278);
}

body.theme-clean .hero-card,
body.theme-clean .summary-card,
body.theme-clean .recent-booking-card,
body.theme-clean .info-grid article {
  background: rgba(255, 255, 255, 0.98);
}

body.theme-bold {
  --panel: rgba(20, 22, 29, 0.84);
  --panel-strong: #171921;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f8efe6;
  --muted: #d2c2b3;
  --accent: #ff6d42;
  --accent-deep: #ff9966;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  background:
    radial-gradient(circle at top left, rgba(255, 109, 66, 0.24), transparent 22%),
    radial-gradient(circle at bottom right, rgba(255, 173, 102, 0.16), transparent 28%),
    linear-gradient(145deg, #12141a 0%, #1d2029 46%, #2a2320 100%);
}

body.theme-bold .shell {
  width: min(1280px, calc(100% - 20px));
}

body.theme-bold h1,
body.theme-bold h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.07em;
  color: #fff4eb;
}

body.theme-bold .hero,
body.theme-bold .booking-panel,
body.theme-bold .info-panel {
  padding: 42px;
}

body.theme-bold .panel,
body.theme-bold .hero-card,
body.theme-bold .summary-card,
body.theme-bold .service-card,
body.theme-bold .admin-booking-card,
body.theme-bold .review-card,
body.theme-bold .recent-booking-card,
body.theme-bold .info-grid article,
body.theme-bold .theme-picker {
  border-radius: 34px;
  background: rgba(22, 25, 33, 0.82);
}

body.theme-bold .eyebrow,
body.theme-bold .label,
body.theme-bold .service-meta,
body.theme-bold .admin-meta,
body.theme-bold .review-meta,
body.theme-bold .muted,
body.theme-bold .clean-list,
body.theme-bold .lead,
body.theme-bold p,
body.theme-bold li,
body.theme-bold strong,
body.theme-bold span {
  color: #d7c8bb;
}

body.theme-bold input,
body.theme-bold select,
body.theme-bold textarea {
  background: rgba(12, 14, 19, 0.7);
  color: #fff4eb;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
}

body.theme-bold .theme-card,
body.theme-bold .pill,
body.theme-bold .section-note,
body.theme-bold .route-link {
  background: rgba(255, 255, 255, 0.06);
  color: #fff0e5;
  border-color: rgba(255, 255, 255, 0.08);
}

body.theme-bold .service-chip {
  background: rgba(255, 109, 66, 0.16);
  color: #ffe0d1;
  font-size: 0.95rem;
}

body.theme-bold .cta-button,
body.theme-bold .route-button {
  min-height: 60px;
  letter-spacing: 0.02em;
  box-shadow: 0 22px 38px rgba(255, 109, 66, 0.18);
  background: linear-gradient(135deg, #ff6d42, #ff9966);
}

body.theme-standard {
  --panel: rgba(255, 249, 243, 0.86);
  --line: rgba(77, 58, 40, 0.12);
  --text: #241c17;
  --muted: #6f6052;
  --accent: #7c5cfa;
  --accent-deep: #4f34be;
  --shadow: 0 24px 56px rgba(57, 38, 21, 0.1);
  background:
    radial-gradient(circle at top left, rgba(124, 92, 250, 0.1), transparent 24%),
    radial-gradient(circle at bottom right, rgba(210, 163, 108, 0.16), transparent 24%),
    linear-gradient(145deg, #f9f2eb 0%, #f4ece4 100%);
}

body.theme-standard h1,
body.theme-standard h2 {
  font-family: Georgia, "Times New Roman", serif;
}

body.theme-standard .panel {
  border-radius: 28px;
}

body.theme-standard .hero,
body.theme-standard .booking-panel,
body.theme-standard .info-panel {
  padding: 30px;
}

body.theme-standard .theme-card,
body.theme-standard .service-card,
body.theme-standard .admin-booking-card,
body.theme-standard .review-card {
  border-radius: 22px;
}

body.theme-standard .cta-button,
body.theme-standard .route-button,
body.theme-standard .route-link,
body.theme-standard .pill,
body.theme-standard .section-note {
  border-radius: 999px;
}

.recent-booking-card strong,
.recent-booking-card span {
  display: block;
}

.recent-booking-card span {
  color: var(--muted);
  margin-top: 6px;
}

code {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(13, 122, 114, 0.08);
}

@media (max-width: 980px) {
  .hero,
  .layout,
  .section-head,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 16px, 100%);
    margin: 12px auto 24px;
  }

  .hero,
  .booking-panel,
  .info-panel {
    padding: 20px;
  }

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

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

  h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }
}
