:root {
  --bg: #f7efe8;
  --bg-strong: #f1e2d3;
  --surface: rgba(255, 251, 247, 0.78);
  --surface-strong: #fffaf5;
  --text: #2b1b1a;
  --muted: #6d5a57;
  --accent: #a04d45;
  --accent-deep: #7f322c;
  --line: rgba(88, 49, 43, 0.12);
  --shadow: 0 20px 60px rgba(68, 39, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.85), transparent 30%),
    linear-gradient(180deg, #fdf7f0 0%, #f5e9dd 45%, #f9f1ea 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(160, 77, 69, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 77, 69, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 250, 245, 0.92), rgba(247, 233, 221, 0.88));
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 77, 69, 0.18), transparent 65%);
}

.topbar,
.hero-content,
.booking-layout,
.service-grid {
  display: grid;
  gap: 1.25rem;
}

.topbar {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  margin-bottom: 3rem;
}

.brand,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

.brand {
  color: var(--text);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.social-link {
  justify-self: end;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.brand:hover,
.social-link:hover,
.booking-info a:hover {
  color: var(--accent-deep);
}

.hero-content {
  grid-template-columns: 1.4fr 0.9fr;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  line-height: 0.98;
  font-weight: 700;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.8rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  max-width: 14ch;
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 2rem;
}

.hero-text,
.hero-detail,
.service-card p,
.highlight-list,
.booking-form,
.info-card p,
.card-note {
  color: var(--muted);
}

.hero-text {
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 1rem 0 0;
}

.hero-detail {
  max-width: 52ch;
  margin: 0.85rem 0 0;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.primary-button,
.secondary-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease,
    border-color 180ms ease;
}

.primary-button {
  background: var(--accent);
  color: #fffaf7;
  border: 1px solid transparent;
}

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

.secondary-button {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.secondary-button:hover {
  transform: translateY(-1px);
  border-color: rgba(127, 50, 44, 0.32);
}

.hero-card,
.service-card,
.highlight-panel,
.booking-form,
.info-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 24px;
}

.card-label {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 800;
}

.time-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.2rem 0;
}

.time-pill-grid span {
  display: flex;
  justify-content: center;
  padding: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-weight: 700;
}

.card-note {
  margin: 0;
  line-height: 1.6;
}

.section {
  padding: 4.5rem 0 0;
}

.section-heading {
  margin-bottom: 1.6rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.highlight-panel,
.booking-form,
.info-card {
  border-radius: 24px;
  padding: 1.4rem;
}

.service-card p,
.info-card p {
  margin: 0;
  line-height: 1.7;
}

.highlight-panel {
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 245, 0.96), rgba(241, 226, 211, 0.86));
}

.highlight-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  line-height: 1.9;
}

.booking-layout {
  grid-template-columns: 1.1fr 0.7fr;
  align-items: start;
}

.booking-form {
  display: grid;
  gap: 1rem;
}

.booking-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--text);
}

.booking-form input,
.booking-form select,
.booking-form textarea,
.admin-login-form input,
.admin-booking-card input,
.admin-booking-card select {
  width: 100%;
  border: 1px solid rgba(88, 49, 43, 0.18);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font: inherit;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus,
.admin-login-form input:focus,
.admin-booking-card input:focus,
.admin-booking-card select:focus {
  outline: 2px solid rgba(160, 77, 69, 0.2);
  border-color: rgba(160, 77, 69, 0.38);
}

.submit-button {
  width: 100%;
  cursor: pointer;
}

.form-message {
  min-height: 1.5rem;
  margin: 0;
  font-weight: 700;
}

.form-message.success {
  color: #215f36;
}

.form-message.error {
  color: #8b2626;
}

.booking-info {
  display: grid;
  gap: 1rem;
}

.booking-info a {
  color: var(--accent);
}

.submit-button:disabled,
.primary-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.hero-admin {
  margin-bottom: 0;
}

.admin-hero-content {
  align-items: stretch;
}

.admin-login-form,
.admin-edit-grid,
.admin-card-actions,
.admin-toolbar,
.admin-bookings-grid {
  display: grid;
  gap: 1rem;
}

.admin-login-form label,
.admin-booking-card label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--text);
}

.admin-toolbar {
  margin-bottom: 1rem;
}

.admin-bookings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-booking-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 1.4rem;
}

.admin-booking-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.booking-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-confirmed {
  color: #215f36;
  background: rgba(33, 95, 54, 0.12);
}

.status-cancelled {
  color: #8b2626;
  background: rgba(139, 38, 38, 0.12);
}

.admin-booking-meta,
.admin-booking-notes {
  margin: 0.75rem 0 0;
  line-height: 1.6;
  color: var(--muted);
}

.admin-edit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.admin-card-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .hero-content,
  .service-grid,
  .booking-layout,
  .admin-bookings-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 13ch;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 1180px);
    padding-top: 0.5rem;
  }

  .hero,
  .service-card,
  .highlight-panel,
  .booking-form,
  .info-card {
    border-radius: 20px;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-bottom: 2.4rem;
  }

  .social-link {
    justify-self: start;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .submit-button {
    width: 100%;
  }

  .time-pill-grid {
    grid-template-columns: 1fr;
  }

  .admin-edit-grid,
  .admin-card-actions {
    grid-template-columns: 1fr;
  }
}
