:root {
  --bg: #faf8f6;
  --surface: #ffffff;
  --text: #111111;
  --muted: #6f6f6f;
  --accent: #111111;
  --line: #e7e3df;
  --shadow: 0 12px 30px rgba(17, 17, 17, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.hero {
  padding: 0;
}

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

.topbar {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  padding: 0.25rem 0 1.5rem;
}

.brand,
h3 {
  font-family: "Bodoni Moda", serif;
}

h1,
h2 {
  font-family: "Manrope", sans-serif;
}

.brand {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 600;
  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: #000;
}

.hero-content {
  grid-template-columns: 1fr 360px;
  align-items: start;
  gap: 1.5rem;
}

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

h1,
h2 {
  margin: 0;
  line-height: 1;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  max-width: 10ch;
  font-weight: 800;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  max-width: 15ch;
  font-weight: 800;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 1.45rem;
  font-weight: 600;
}

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

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

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

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

.primary-button:hover,
.submit-button:hover {
  background: #000;
}

.secondary-button {
  color: var(--text);
  border: 1px solid var(--line);
  background: #fff;
}

.secondary-button:hover {
  border-color: #d8d2cc;
}

.hero-card,
.service-card,
.booking-form,
.info-card,
.admin-booking-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 24px;
}

.hero-card,
.service-card,
.booking-form,
.info-card {
  padding: 1.35rem;
}

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

.hero-card-copy {
  margin: 0.75rem 0 0;
  line-height: 1.6;
}

.section {
  padding: 3rem 0 0;
}

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

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

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

.booking-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.booking-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.35rem;
}

.booking-form label,
.admin-login-form label,
.admin-booking-card 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(34, 25, 23, 0.12);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: #fff;
  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(34, 25, 23, 0.08);
  border-color: rgba(34, 25, 23, 0.24);
}

.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(--text);
}

.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 {
  display: grid;
  gap: 1rem;
}

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

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

.admin-booking-card {
  padding: 1.6rem;
}

.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: 9ch;
  }
}

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

  .hero-card,
  .service-card,
  .booking-form,
  .info-card,
  .admin-booking-card {
    border-radius: 24px;
  }

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

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

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

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

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