:root {
  --bg: #fbf8f1;
  --paper: #fffdf7;
  --ink: #1f241c;
  --muted: rgba(31, 36, 28, 0.68);
  --soft: rgba(31, 36, 28, 0.48);
  --line: rgba(77, 98, 59, 0.16);
  --sage: #6d8d5f;
  --sage-2: #9fbf8e;
  --olive: #42583a;
  --cream: #fff4df;
  --gold: #d59d4f;
  --coral: #e76f51;
  --green: #5c9f6b;
  --shadow: 0 28px 80px rgba(69, 82, 54, 0.18);
  --radius-xl: 34px;
  --radius-lg: 24px;
  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:
    radial-gradient(circle at 12% 8%, rgba(159, 191, 142, 0.34), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(255, 244, 223, 0.95), transparent 32rem),
    linear-gradient(145deg, #fbf8f1 0%, #f2f6ec 52%, #fff7e8 100%);
  overflow-x: hidden;
}

section[id],
article[id] {
  scroll-margin-top: 118px;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.texture {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(109, 141, 95, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 141, 95, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.ambient {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(34px);
  pointer-events: none;
  opacity: 0.44;
}
.ambient-a { width: 380px; height: 380px; top: 140px; left: -140px; background: #c7e2b9; }
.ambient-b { width: 430px; height: 430px; top: 430px; right: -170px; background: #ffe3b0; }

.site-header,
.section,
.site-footer,
.mobile-sticky-cta,
.toast { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  width: min(1200px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255,255,255,0.74);
  border-radius: 999px;
  background: rgba(255,253,247,0.76);
  box-shadow: 0 18px 60px rgba(69, 82, 54, 0.12);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand-mark,
.studio-logo {
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-weight: 950;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.24), transparent 28%),
    linear-gradient(135deg, var(--olive), var(--sage-2));
  box-shadow: 0 16px 38px rgba(109, 141, 95, 0.28);
}
.brand-mark { width: 42px; height: 42px; }
.brand strong, .brand small { display: block; line-height: 1.06; }
.brand small { margin-top: 3px; color: var(--soft); font-size: 0.76rem; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 180ms ease, background 180ms ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(109, 141, 95, 0.1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.24), transparent 28%),
    linear-gradient(135deg, #e84f42 0%, #f39a44 52%, #d6b05b 100%);
  box-shadow: 0 18px 44px rgba(232, 79, 66, 0.28), inset 0 1px 0 rgba(255,255,255,0.32);
}
.btn-primary:hover { box-shadow: 0 24px 58px rgba(232, 79, 66, 0.4), inset 0 1px 0 rgba(255,255,255,0.42); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,0.72); }
.btn-xl { min-height: 58px; padding-inline: 26px; }

.section {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  scroll-margin-top: 112px;
}
.eyebrow, .section-kicker, .mini-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #526c45;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.76rem;
  font-weight: 950;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 8px rgba(92,159,107,0.13); }

h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 800px; margin: 18px 0 20px; font-size: clamp(3rem, 6.9vw, 6rem); line-height: 0.92; letter-spacing: -0.07em; }
h2 { margin-bottom: 18px; font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 0.98; letter-spacing: -0.055em; }
h3 { margin-bottom: 10px; font-size: 1.65rem; letter-spacing: -0.035em; }
.hero-subhead, .product-copy p, .package-copy p, .request-copy p, .problem-grid p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 58px 0 54px;
}
.hero-actions, .proof-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions { margin-top: 30px; }
.proof-chips { margin-top: 34px; }
.proof-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
}

.hero-visual { position: relative; min-height: 620px; }
.image-shell, .product-image, .admin-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.8);
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.42));
  box-shadow: var(--shadow);
}
.hero-image { height: 620px; margin: 0; border-radius: 40px; }
.hero-image::after, .product-image::after, .admin-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251,248,241,0.72) 0%, transparent 42%),
    linear-gradient(0deg, rgba(31,36,28,0.28) 0%, transparent 40%);
}
.hero-image img, .product-image img, .admin-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
}
.product-image img { object-position: center 54%; }
.admin-image img { object-position: center 52%; }
.hero-visual:hover img, .product-image:hover img, .admin-image:hover img { transform: scale(1.035); }
.hero-booking-card {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: min(360px, calc(100% - 44px));
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.76);
  border-radius: 28px;
  background: rgba(255,253,247,0.84);
  box-shadow: 0 24px 70px rgba(69,82,54,0.18);
  backdrop-filter: blur(20px);
}
.hero-booking-card strong { display: block; margin: 10px 0 8px; color: var(--olive); font-size: 1.55rem; }
.hero-booking-card p { color: var(--muted); line-height: 1.55; }
.hero-booking-card .btn { width: 100%; }

.problem-panel, .demo-section, .package-section, .request-section { margin-top: 88px; }
.problem-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.76);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.58);
  box-shadow: 0 20px 70px rgba(69,82,54,0.1);
}
.problem-panel h2 { margin-bottom: 0; font-size: clamp(1.8rem, 3.4vw, 3.05rem); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.problem-grid article, .settings-panel, .timeline-panel, .notification-card, .package-grid article, .request-form {
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.68);
}
.problem-grid article { padding: 20px; }

.product-shot, .admin-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
  margin-top: 110px;
}
.product-image,
.admin-image {
  height: 520px;
  min-height: 520px;
  border-radius: var(--radius-xl);
}

.demo-boundary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(109,141,95,0.24);
  color: #526c45;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 950;
  background: linear-gradient(90deg, transparent, rgba(109,141,95,0.12), transparent), rgba(255,255,255,0.58);
}

.booking-app {
  display: grid;
  grid-template-columns: 250px 1fr 330px;
  min-height: 780px;
  border-right: 1px solid rgba(109,141,95,0.22);
  border-left: 1px solid rgba(109,141,95,0.22);
  background:
    radial-gradient(circle at 70% 8%, rgba(159,191,142,0.25), transparent 30rem),
    linear-gradient(140deg, rgba(255,253,247,0.9), rgba(244,248,237,0.9));
}
.booking-sidebar, .booking-flow, .admin-preview { padding: 22px; }
.booking-sidebar { border-right: 1px solid var(--line); }
.admin-preview { border-left: 1px solid var(--line); }
.studio-card { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.studio-logo { width: 42px; height: 42px; }
.studio-card strong, .studio-card small { display: block; }
.studio-card small { color: var(--soft); }

.booking-metrics { display: grid; gap: 10px; margin-bottom: 22px; }
.booking-metrics article, .admin-list article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.68);
}
.booking-metrics span, .booking-metrics strong { display: block; }
.booking-metrics span { color: var(--soft); font-size: 0.86rem; }
.booking-metrics strong { margin-top: 6px; color: var(--olive); font-size: 1.1rem; }

.occupancy-panel {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 0%, rgba(212, 163, 115, 0.16), transparent 12rem),
    rgba(255, 255, 255, 0.52);
}

.card-head.compact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.card-head.compact span {
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-head.compact strong {
  color: var(--olive);
  font-size: 1.25rem;
}

.occupancy-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  align-items: end;
  min-height: 170px;
  padding: 12px 0 0;
  background-image: linear-gradient(rgba(75, 87, 92, 0.08) 1px, transparent 1px);
  background-size: 100% 25%;
}

.occupancy-day {
  display: grid;
  gap: 7px;
  align-items: end;
  min-width: 0;
  height: 160px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.occupancy-day i {
  display: block;
  height: var(--h);
  min-height: 24px;
  border-radius: 999px 999px 8px 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42), transparent 28%),
    linear-gradient(180deg, var(--sage), var(--olive));
  box-shadow: 0 14px 30px rgba(47, 111, 78, 0.14);
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.occupancy-day:hover i,
.occupancy-day:focus-visible i {
  transform: translateY(-4px);
  filter: brightness(1.08);
}

.occupancy-day:focus-visible {
  outline: 2px solid rgba(47, 111, 78, 0.32);
  outline-offset: 3px;
}

.occupancy-day span,
.occupancy-day strong {
  overflow: hidden;
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 900;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.occupancy-day strong {
  color: var(--olive);
}
.step-nav {
  display: grid;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
}
.step-nav button, .small-action, .date-card, .time-card {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,0.72);
  font-weight: 850;
}
.step-nav button { width: 100%; padding: 12px 14px; text-align: left; }
.step-nav button.is-active, .date-card.is-active, .time-card.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--olive), var(--sage-2));
}

.booking-flow { min-width: 0; }
.flow-topbar, .card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.small-action { min-height: 38px; padding: 0 13px; }
.flow-panel { display: none; margin-top: 18px; }
.flow-panel.is-active { display: block; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.service-card {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: rgba(255,255,255,0.72);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.service-card:hover, .service-card.is-selected { transform: translateY(-3px); border-color: rgba(109,141,95,0.4); background: var(--cream); }
.service-card strong, .service-card span, .service-card small { display: block; }
.service-card span { margin: 10px 0; color: var(--muted); line-height: 1.5; }
.service-card small { color: var(--olive); font-weight: 900; }

.calendar-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 18px; }
.date-grid, .time-slots { display: grid; gap: 10px; }
.date-grid { grid-template-columns: repeat(2, 1fr); }
.time-slots { grid-template-columns: repeat(3, 1fr); align-content: start; }
.date-card, .time-card { min-height: 64px; padding: 11px 12px; text-align: center; }
.date-card strong, .date-card span { display: block; }
.date-card span { color: inherit; opacity: 0.7; font-size: 0.78rem; }

label {
  display: grid;
  gap: 8px;
  color: rgba(31,36,28,0.86);
  font-size: 0.9rem;
  font-weight: 850;
}
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(77,98,59,0.16);
  border-radius: 15px;
  color: var(--ink);
  background: rgba(255,255,255,0.76);
  padding: 13px 14px;
  outline: none;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: rgba(109,141,95,0.64);
  box-shadow: 0 0 0 5px rgba(109,141,95,0.12);
}
.client-form, .request-form { display: grid; gap: 13px; }
.form-error {
  padding: 12px 14px;
  border: 1px solid rgba(231,111,81,0.34);
  border-radius: 16px;
  color: #8a2f20;
  background: rgba(231,111,81,0.09);
}
.btn-submit { width: 100%; min-height: 58px; }
.success-state {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid rgba(92,159,107,0.3);
  border-radius: 18px;
  color: #2f6a3a;
  background: rgba(92,159,107,0.1);
}
.success-state strong, .success-state span { display: block; }
.success-state span { margin-top: 6px; color: rgba(47,106,58,0.78); line-height: 1.55; }

.confirmation-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,0.74);
  box-shadow: 0 20px 70px rgba(69,82,54,0.1);
}
dl { display: grid; gap: 12px; margin: 18px 0; }
dl div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
dt { color: var(--soft); }
dd { margin: 0; text-align: right; font-weight: 850; }
.admin-list { display: grid; gap: 10px; margin: 18px 0; }
.admin-list span, .admin-list strong, .admin-list small { display: block; }
.admin-list span { color: var(--soft); font-size: 0.78rem; }
.admin-list small { margin-top: 6px; color: var(--muted); }

.settings-panel, .timeline-panel, .notification-card { padding: 24px; box-shadow: 0 20px 70px rgba(69,82,54,0.09); }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.timeline-panel, .notification-card { grid-column: span 1; }
.event-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.event-list li {
  min-height: 76px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.58);
}
.event-list strong, .event-list span { display: block; }
.event-list span { margin-top: 7px; color: var(--soft); font-size: 0.78rem; }

.package-section {
  display: grid;
  gap: 30px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.76);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 82% 12%, rgba(255,244,223,0.9), transparent 24rem), rgba(255,255,255,0.58);
  box-shadow: 0 20px 70px rgba(69,82,54,0.1);
}
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.package-grid article { padding: 22px; }
.package-grid article.featured { border-color: rgba(231,111,81,0.24); background: linear-gradient(180deg, rgba(231,111,81,0.09), rgba(255,255,255,0.72)); }
.package-grid span { color: var(--soft); }
.package-grid strong { display: block; margin: 12px 0 10px; font-size: 2rem; letter-spacing: -0.045em; }
.package-grid p { color: var(--muted); line-height: 1.6; }

.request-section { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 34px; align-items: start; margin-bottom: 70px; }
.request-form { padding: 28px; box-shadow: var(--shadow); }
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: min(420px, calc(100% - 40px));
  padding: 16px 18px;
  border: 1px solid rgba(109,141,95,0.26);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255,253,247,0.92);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.88rem;
}
.site-footer strong { color: var(--ink); }
.mobile-sticky-cta { display: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 220ms; }

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .hero, .problem-panel, .product-shot, .admin-section, .request-section { grid-template-columns: 1fr; }
  .problem-grid, .package-grid, .event-list { grid-template-columns: 1fr 1fr; }
  .booking-app { grid-template-columns: 1fr; }
  .booking-sidebar, .admin-preview { border: 0; border-bottom: 1px solid var(--line); }
  .step-nav { grid-template-columns: repeat(4, minmax(120px, 1fr)); overflow-x: auto; }
  .hero { min-height: auto; padding-top: 46px; }
  .hero-visual, .hero-image, .product-image, .admin-image { min-height: 500px; height: 500px; }
}

@media (max-width: 700px) {
  .site-header { width: calc(100% - 24px); margin-top: 12px; border-radius: 24px; }
  .brand { min-width: 0; }
  .brand small, .site-header > .btn { display: none; }
  .section, .site-footer { width: calc(100% - 24px); }
  h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero-actions, .hero-actions .btn, .problem-grid, .service-grid, .calendar-layout, .date-grid, .time-slots, .settings-grid, .package-grid, .event-list {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .hero-visual, .hero-image { min-height: 520px; height: 520px; }
  .hero-image img { object-position: 58% center; }
  .hero-booking-card { right: 14px; left: 14px; bottom: 14px; width: auto; }
  .step-nav {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }
  .step-nav button {
    white-space: normal;
  }
  .problem-panel, .booking-sidebar, .booking-flow, .admin-preview, .settings-panel, .timeline-panel, .notification-card, .package-section, .request-form {
    padding: 20px;
    border-radius: 24px;
  }
  .product-shot, .admin-section { margin-top: 76px; }
  .product-image, .admin-image { min-height: 420px; height: 420px; }
  .flow-topbar, .card-head { align-items: flex-start; flex-direction: column; }
  dl div { display: grid; gap: 4px; }
  dd { text-align: left; }
  .site-footer { display: grid; padding-bottom: 78px; }
  .mobile-sticky-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-weight: 950;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.24), transparent 28%),
      linear-gradient(135deg, #e84f42 0%, #f39a44 52%, #d6b05b 100%);
    box-shadow: 0 18px 48px rgba(232,79,66,0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
