:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #64717f;
  --line: #d9e3eb;
  --page: #eef3f6;
  --white: #ffffff;
  --teal: #00838f;
  --teal-dark: #006773;
  --red: #ee5b54;
  --gold: #c59432;
  --shadow: 0 18px 50px rgba(31, 41, 51, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255,255,255,.84), rgba(238,243,246,.93)),
    url("https://images.unsplash.com/photo-1502982720700-bfff97f2ecac?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.page-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
}

.admin-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.admin-toggle,
.ghost-button,
.upload-button {
  justify-self: end;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  font-weight: 800;
  cursor: pointer;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-editor {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
  padding: 18px;
}

.admin-editor header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.admin-editor h1 {
  margin: 0;
  font-size: 1.25rem;
}

.admin-kicker,
.eyebrow {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-editor label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.admin-editor textarea {
  min-height: 88px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: .88rem;
  line-height: 1.45;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ghost-button.danger {
  color: #b42318;
  border-color: #f2b8b5;
}

.admin-status {
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .72fr);
  gap: 30px;
  align-items: start;
}

.booking-form,
.summary-card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(217,227,235,.88);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booking-form {
  display: grid;
  gap: 24px;
  padding: 34px;
}

.hero-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-size: 2rem;
  font-weight: 900;
}

h1,
h2 {
  margin: 0;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.2rem, 5.4vw, 4rem);
}

h2 {
  font-size: 1.45rem;
}

.field {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field > span,
legend {
  font-size: 1rem;
  font-weight: 850;
}

em {
  color: #f00;
  font-style: normal;
}

label {
  min-width: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
}

select {
  cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,131,143,.14);
}

small {
  color: var(--muted);
  line-height: 1.5;
}

.phone-control,
.unit-control {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}

.unit-control {
  grid-template-columns: minmax(0, 1fr) 74px;
}

.phone-control span,
.unit-control span {
  display: grid;
  place-items: center;
  background: #fbfbfb;
  border-right: 1px solid var(--line);
}

.unit-control span {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.phone-control input,
.unit-control input {
  border: 0;
  border-radius: 0;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.two-col label,
.other-package {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 750;
}

.package-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.package-card {
  display: grid;
  gap: 8px;
  min-height: 142px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.package-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0,131,143,.5);
}

.package-card.active {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,131,143,.13);
}

.package-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.15;
}

.package-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.25;
}

.package-card strong {
  align-self: end;
  color: var(--red);
  font-size: 1.22rem;
}

.radio-list {
  display: grid;
  gap: 11px;
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--ink);
}

.radio-row input {
  width: 16px;
  min-height: 16px;
  margin: 0;
  accent-color: var(--teal);
}

.catalog-card {
  margin: 10px 0 8px;
}

.catalog-card img {
  display: block;
  width: 100%;
  min-height: 240px;
  max-height: 430px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #182125;
}

.catalog-card figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: .88rem;
}

.info-copy {
  display: grid;
  gap: 13px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.info-copy p {
  margin: 0;
}

.info-copy strong {
  color: #707070;
  font-weight: 850;
}

.submit-button {
  justify-self: start;
  min-width: 133px;
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  background: var(--teal);
  color: var(--white);
  padding: 10px 18px;
  font-weight: 850;
  cursor: pointer;
}

.submit-button:hover {
  background: var(--teal-dark);
}

.powered-copy {
  margin: 0;
}

.powered-copy a {
  color: var(--teal);
  font-weight: 850;
}

.preview-panel {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 20px;
}

.studio-photo {
  min-height: 375px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(31,41,51,.07), rgba(31,41,51,.58)),
    url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.summary-card {
  padding: 26px 28px;
}

#summaryList {
  display: grid;
  gap: 0;
  margin: 18px 0;
}

#summaryList div,
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 850;
  text-align: right;
}

.price-row {
  align-items: center;
  border-bottom: 0;
}

.price-row strong {
  color: var(--gold);
  font-size: 1.45rem;
}

@media (max-width: 960px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1220px);
    padding: 10px 0;
  }

  .booking-form,
  .summary-card,
  .admin-editor {
    padding: 18px;
  }

  .admin-editor header {
    display: grid;
  }

  .hero-header {
    align-items: start;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 1.55rem;
  }

  .two-col,
  .package-breakdown {
    grid-template-columns: 1fr;
  }

  .studio-photo {
    min-height: 230px;
  }
}

:root {
  --line: #e5e0d6;
  --shadow: 0 1px 2px rgba(20, 26, 33, 0.04), 0 16px 40px rgba(20, 26, 33, 0.07);
  --shadow-sm: 0 1px 2px rgba(20, 26, 33, 0.05);
  --red: #b85c50;   /* muted terracotta, was a saturated coral */
  --gold: #9c7a34;  /* deeper, less bright */
  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---- 2. Calm page background (was a hero photo + scrim) ---- */
body {
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-shell {
  padding: 48px 0 64px;
}

/* ---- 3. Editorial heading treatment ---- */
h1 {
  font-family: Fraunces, ui-serif, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h2 {
  font-weight: 600;
  letter-spacing: -0.005em;
}

.eyebrow,
.admin-kicker {
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
}

/* ---- 4. Brand mark: quieter, more considered ---- */
.brand-mark {
  background: var(--ink);
  border-radius: var(--radius-sm);
  font-family: Fraunces, ui-serif, serif;
  font-weight: 500;
}

/* ---- 5. Cards: softer shadow, consistent radius ---- */
.booking-form,
.summary-card,
.admin-editor {
  border-radius: var(--radius);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.booking-form {
  padding: 40px;
  gap: 28px;
}

/* ---- 6. Required-field marker: quieter than pure red ---- */
em {
  color: var(--red);
  font-weight: 600;
}

/* ---- 7. Field labels: less heavy, more editorial ---- */
.field > span,
legend {
  font-weight: 600;
  color: var(--ink);
}

.two-col label,
.other-package {
  font-weight: 600;
}

/* ---- 8. Inputs: larger targets, quieter focus state ---- */
input,
select,
textarea {
  min-height: 48px;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(0, 131, 143, 0.09);
}

.phone-control,
.unit-control {
  border-radius: var(--radius-sm);
}

/* ---- 9. Package cards: selectable, not button-like ---- */
.package-card {
  border-radius: var(--radius-sm);
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}

.package-card:hover {
  transform: none;
  border-color: rgba(0, 131, 143, 0.35);
}

.package-card.active {
  background: rgba(0, 131, 143, 0.04);
  box-shadow: none;
}

.package-card strong {
  color: var(--red);
  font-weight: 600;
}

/* ---- 10. Radio rows: more breathing room ---- */
.radio-list {
  gap: 14px;
}

.radio-row {
  gap: 10px;
}

/* ---- 11. Catalog image: quieter frame ---- */
.catalog-card img {
  border-radius: var(--radius-sm);
  border-color: var(--line);
}

/* ---- 12. Studio photo panel: tasteful single-tone scrim ---- */
.studio-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background:
    linear-gradient(180deg, rgba(31, 41, 51, 0.02), rgba(31, 41, 51, 0.34)),
    url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
}

/* ---- 13. Summary panel: the visual anchor ---- */
.summary-card {
  padding: 32px 32px 28px;
  box-shadow: var(--shadow);
}

#summaryList div {
  padding: 13px 0;
  border-color: var(--line);
}

dd {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.price-row {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

.price-row strong {
  font-family: Fraunces, ui-serif, serif;
  font-weight: 500;
  color: var(--gold);
  font-size: 1.6rem;
}

/* ---- 14. Primary button: feels expensive ---- */
.submit-button {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.submit-button:hover {
  box-shadow: 0 6px 16px rgba(0, 103, 115, 0.22);
}

/* ---- 15. Secondary buttons: quiet ---- */
.admin-toggle,
.ghost-button,
.upload-button {
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--muted);
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}

.admin-toggle:hover,
.ghost-button:hover,
.upload-button:hover {
  border-color: var(--teal);
  color: var(--ink);
}

.ghost-button.danger {
  color: #a8483a;
}

/* ---- 16. Admin editor: polish only ---- */
.admin-editor {
  padding: 22px;
}

.admin-editor textarea {
  border-radius: var(--radius-sm);
}

.admin-status {
  color: var(--teal-dark);
  font-weight: 600;
}