﻿:root {
  color-scheme: light;
  --ink: #101815;
  --muted: #64706b;
  --navy: #071150;
  --navy-2: #0d1a68;
  --orange: #ff8c00;
  --green: #1f8f61;
  --paper: #fff8eb;
  --white: #ffffff;
  --line: rgba(16, 24, 21, 0.12);
  --shadow: 0 24px 70px rgba(7, 17, 80, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f4f1ea;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(16px, 4vw, 58px);
  background: rgba(7, 17, 80, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.brand,
.topbar nav,
.actions,
.week-controls {
  display: flex;
  align-items: center;
}

.brand {
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.09);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.brand small {
  margin-top: 2px;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.top-version {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.topbar nav {
  gap: 8px;
}

.topbar nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  text-decoration: none;
}

.install-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--green);
  padding: 0 14px;
  color: white;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.admin-logout-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  padding: 0 14px;
  color: white;
  font: inherit;
  font-weight: 900;
}

.install-btn[hidden] {
  display: none;
}

.test-banner {
  padding: 12px clamp(16px, 4vw, 58px);
  background: #ff8c00;
  color: #071150;
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.video-hero {
  min-height: calc(100vh - 116px);
  display: grid;
  align-content: center;
  padding: clamp(52px, 7vw, 96px) clamp(16px, 5vw, 70px);
  background:
    linear-gradient(180deg, rgba(7, 17, 80, 0.92), rgba(7, 17, 80, 0.96)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=82") center/cover;
  color: var(--white);
  text-align: center;
}

.video-copy {
  width: min(1040px, 100%);
  margin: 0 auto 30px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.video-copy h1,
.section-title h2,
.booking-intro h2,
.card-title h2 {
  margin: 0;
  letter-spacing: 0;
}

.video-copy h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.92;
}

.video-copy p:last-child {
  max-width: 820px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  line-height: 1.65;
}

.video-box {
  width: min(980px, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border: 10px solid #087da8;
  background: #11182f;
  box-shadow: var(--shadow);
}

.video-box iframe,
.video-box video,
.mini-video iframe,
.mini-video video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #11182f;
}

.video-placeholder {
  height: 100%;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  color: rgba(255, 255, 255, 0.82);
}

.extra-video-grid {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px auto 0;
}

.extra-video-grid:empty {
  display: none;
}

.extra-video-grid article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  text-align: left;
}

.extra-video-grid strong {
  display: block;
  padding: 12px;
  color: var(--white);
}

.mini-video {
  aspect-ratio: 16 / 9;
}

.video-placeholder span {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}

.video-placeholder strong {
  font-size: clamp(1.35rem, 3vw, 2.6rem);
}

.primary-link,
.donation-link,
.primary-btn,
.secondary-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0 24px;
  font-weight: 900;
  text-decoration: none;
}

.primary-link,
.primary-btn {
  background: var(--green);
  color: var(--white);
}

.primary-link {
  flex: 1 1 360px;
}

.hero-actions {
  width: min(760px, 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px auto 0;
}

.donation-link {
  flex: 0 1 210px;
  border: 1px solid rgba(248, 182, 62, 0.45);
  background: #f8b63e;
  color: #241506;
  box-shadow: 0 12px 28px rgba(248, 182, 62, 0.22);
}

.donation-link:hover,
.donation-link:focus-visible {
  background: #ffd36b;
}

.donation-link.is-solid {
  flex: 0 0 auto;
  min-width: 220px;
}

.donation-link.is-compact {
  min-height: 44px;
  padding: 0 18px;
  box-shadow: none;
  white-space: nowrap;
}

.secondary-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
}

.secondary-btn.is-urgent-schedule-back {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.78rem;
  justify-self: end;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.donation-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 5vw, 54px) clamp(18px, 6vw, 80px);
  background: #fff7e7;
  border-block: 1px solid #f0d9aa;
}

.donation-band h2 {
  max-width: 760px;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.donation-band p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 10px;
  color: #6f5531;
  font-weight: 750;
  line-height: 1.6;
}

.schedule-donation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #f0d9aa;
  background: #fffaf0;
}

.schedule-donation span {
  color: #6f5531;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.4;
}

.proof-strip div {
  padding: 22px clamp(16px, 3vw, 36px);
  background: var(--white);
}

.proof-strip span,
.mini-table span,
.summary span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.proof-strip strong,
.mini-table strong {
  display: block;
  margin-top: 7px;
  color: var(--navy);
  font-size: 1.1rem;
}

.sales-section,
.value-section,
.booking-section {
  padding: clamp(54px, 8vw, 110px) clamp(16px, 5vw, 70px);
}

.sales-section {
  background: var(--paper);
}

.section-title {
  width: min(1160px, 100%);
  margin: 0 auto 30px;
}

.section-title h2,
.booking-intro h2 {
  max-width: 1040px;
  color: var(--navy);
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.case-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.case-grid article,
.value-list div,
.booking-card,
.booking-intro {
  border: 1px solid var(--line);
  background: var(--white);
}

.case-grid article {
  min-height: 230px;
  padding: 22px;
}

.case-grid span {
  color: var(--orange);
  font-weight: 900;
}

.case-grid h3 {
  margin: 28px 0 10px;
  color: var(--navy);
  font-size: 1.34rem;
}

.case-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.value-section {
  background: var(--white);
}

.testimonials-section {
  padding: clamp(54px, 8vw, 110px) clamp(16px, 5vw, 70px);
  background: var(--paper);
}

.testimonials-section .section-title {
  margin-bottom: 26px;
}

.testimonials-section .section-title h2 {
  max-width: 780px;
  font-size: clamp(2rem, 3.4vw, 4rem);
  line-height: 1.04;
}

.testimonial-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-grid article {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--orange);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(7, 17, 80, 0.08);
}

.testimonial-grid p {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.7;
}

.testimonial-grid strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 1.02rem;
}

.testimonial-grid strong::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--orange);
}

.value-list {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.value-list div {
  padding: 28px;
}

.value-list strong,
.value-list span {
  display: block;
}

.value-list strong {
  color: var(--navy);
  font-size: 1.2rem;
}

.value-list span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  background: #f6f3eb;
}

.booking-intro,
.booking-card {
  padding: clamp(22px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.booking-intro {
  min-height: 700px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(7, 17, 80, 0.82), rgba(7, 17, 80, 0.5), rgba(255, 140, 0, 0.48)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1200&q=82") center/cover;
  color: var(--white);
}

.booking-intro h2 {
  color: var(--white);
}

.booking-intro p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
}

.mini-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
}

.mini-table div {
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.mini-table div:last-child {
  border-right: 0;
}

.mini-table span {
  color: rgba(255, 255, 255, 0.72);
}

.mini-table strong {
  color: var(--white);
}

.booking-card {
  background: var(--white);
}

.step-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  color: var(--muted);
  font-weight: 900;
}

.step {
  display: none;
}

.step.is-active {
  display: block;
}

.card-title h2 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: 0.96;
}

.week-controls {
  justify-content: space-between;
  gap: 18px;
  margin: 34px 0 18px;
}

.week-controls button {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 900;
}

.date-grid,
.time-grid,
.client-form {
  display: grid;
  gap: 12px;
}

.date-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
}

.time-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

.time-period {
  display: grid;
  gap: 10px;
  padding-left: 12px;
  border-left: 5px solid var(--block-color, transparent);
}

.time-period h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.time-period p {
  margin: -4px 0 4px;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 800;
}

.time-period.is-free-help {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.time-period.is-urgent-help {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.urgent-premium-box {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--block-color, var(--line)) 42%, var(--line));
  border-left: 6px solid var(--block-color, #c2410c);
  background: #fff;
}

.urgent-premium-box h3 {
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 900;
  text-transform: uppercase;
}

.urgent-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.urgent-back-btn {
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  padding: 0 14px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
}

.urgent-back-btn:hover,
.urgent-back-btn:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

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

.urgent-fields label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.urgent-fields input,
.urgent-fields select {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
}

.urgent-price {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.urgent-toggle {
  width: 100%;
  min-height: 88px;
  border: 1px solid color-mix(in srgb, var(--block-color, #c2410c) 40%, var(--line));
  border-left: 6px solid var(--block-color, #c2410c);
  padding: 18px;
  background: color-mix(in srgb, var(--block-color, #c2410c) 8%, white);
  color: var(--navy);
  text-align: left;
}

.urgent-toggle strong,
.urgent-toggle em,
.urgent-toggle span {
  display: block;
}

.urgent-toggle strong {
  font-size: 1rem;
  text-transform: uppercase;
}

.urgent-toggle span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.35;
}

.urgent-toggle em {
  width: fit-content;
  margin-top: 9px;
  border: 1px solid color-mix(in srgb, var(--block-color, #c2410c) 35%, var(--line));
  background: color-mix(in srgb, var(--block-color, #c2410c) 10%, white);
  padding: 5px 8px;
  color: var(--navy);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 950;
}

.urgent-toggle:hover,
.urgent-toggle:focus-visible {
  border-color: var(--block-color, #c2410c);
  background: color-mix(in srgb, var(--block-color, #c2410c) 14%, white);
}

.time-period-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.date-btn,
.time-btn {
  min-height: 76px;
  border: 1px solid color-mix(in srgb, var(--block-color, var(--line)) 30%, var(--line));
  padding: 14px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  font-weight: 900;
}

.date-btn span,
.time-btn span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.time-btn .time-status {
  color: var(--block-color, var(--green));
  font-size: 0.78rem;
  text-transform: uppercase;
}

.time-btn .time-price {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.date-btn.is-selected,
.time-btn.is-selected {
  border-color: var(--block-color, var(--green));
  background: color-mix(in srgb, var(--block-color, var(--green)) 12%, white);
  box-shadow: inset 0 0 0 1px var(--block-color, var(--green));
}

.time-btn:disabled {
  color: rgba(16, 24, 21, 0.38);
  background: #f5f5f2;
  cursor: not-allowed;
}

.time-btn:disabled .time-status {
  color: rgba(16, 24, 21, 0.48);
}

.client-form {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 30px;
}

.client-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 900;
}

.client-form .wide {
  grid-column: 1 / -1;
}

.free-consent {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(255, 140, 0, 0.38);
  background: #fff8ea;
  color: var(--ink) !important;
  line-height: 1.45;
}

.free-consent input {
  width: 22px !important;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--green);
}

.client-form input,
.client-form select,
.client-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px 16px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.client-form input:focus,
.client-form select:focus,
.client-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 143, 97, 0.12);
}

.summary {
  margin-top: 30px;
  border: 1px solid var(--line);
}

.summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.summary div:last-child {
  border-bottom: 0;
}

.summary strong {
  text-align: right;
}

.summary .summary-note {
  align-items: flex-start;
  background: #fff8eb;
}

.summary .summary-note.free-note {
  border-color: rgba(255, 140, 0, 0.38);
  background: #fff8ea;
}

.summary .summary-note.free-note span {
  color: var(--orange);
}

.summary .summary-note strong {
  max-width: 520px;
  color: var(--navy);
}

.success-panel h2,
.admin-header h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.96;
}

.success-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.success-panel > p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 1rem;
}

.success-summary a {
  color: var(--green);
}

.success-summary {
  background: var(--white);
}

.confirmation-actions,
.booking-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.share-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.thanks-shell {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: clamp(34px, 7vw, 86px) clamp(16px, 5vw, 70px);
  background:
    linear-gradient(180deg, rgba(7, 17, 80, 0.9), rgba(7, 17, 80, 0.96)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.thanks-card {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--white);
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.96;
}

.thanks-card > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
}

.reschedule-shell {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: start;
  padding: clamp(34px, 7vw, 86px) clamp(16px, 5vw, 70px);
  background: #f6f3eb;
}

.reschedule-card {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.reschedule-card h1 {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.96;
}

.reschedule-summary {
  display: grid;
  gap: 1px;
  margin: 24px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.reschedule-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  background: #fbfaf7;
}

.reschedule-summary span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.reschedule-summary strong {
  color: var(--ink);
  text-align: right;
}

.text-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-weight: 900;
  text-align: right;
  text-decoration: underline;
  cursor: pointer;
}

.reschedule-times {
  margin-top: 18px;
}

.admin-page {
  background: #f6f3eb;
}

.admin-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 74px) 0;
}

.admin-header {
  margin-bottom: 22px;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 14px;
  padding: 0 12px;
  border: 1px solid rgba(7, 17, 80, 0.14);
  background: var(--white);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-header.compact h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: auto;
  gap: 12px;
  align-items: end;
  justify-content: start;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.admin-list {
  display: grid;
  gap: 12px;
}

.booking-row,
.admin-empty {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(7, 17, 80, 0.08);
}

.booking-row {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(120px, 1fr)) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.booking-row.is-free-booking {
  border-color: rgba(32, 145, 97, 0.45);
  background: #f2fbf6;
}

.booking-row.needs-reschedule {
  border-color: rgba(201, 77, 63, 0.45);
  background: #fff3ed;
  box-shadow: inset 5px 0 0 var(--orange), 0 16px 44px rgba(7, 17, 80, 0.08);
}

.booking-row.was-rescheduled {
  border-color: rgba(32, 145, 97, 0.28);
  background: #f0fbf4;
  box-shadow: inset 5px 0 0 rgba(32, 145, 97, 0.55), 0 16px 44px rgba(7, 17, 80, 0.08);
}

.booking-row.is-refunded-booking {
  opacity: 0.72;
  background: #f4f5f7;
}

.booking-row.is-attended-booking {
  border-color: rgba(47, 94, 219, 0.22);
  background: #f7f9fd;
  box-shadow: inset 5px 0 0 rgba(47, 94, 219, 0.35), 0 16px 44px rgba(7, 17, 80, 0.06);
}

.booking-row h2 {
  margin: 9px 0 5px;
  color: var(--navy);
  font-size: 1.1rem;
}

.booking-row p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.booking-row span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.booking-row strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.status-pill {
  width: fit-content;
  padding: 5px 8px;
  background: #effaf5;
  color: var(--green) !important;
}

.status-pill.is-pending {
  background: #fff7e8;
  color: var(--orange) !important;
}

.status-pill.is-expired {
  background: #f3f4f6;
  color: var(--muted) !important;
}

.status-pill.is-attended {
  background: #e9f1ff;
  color: #2f5edb !important;
}

.status-pill.is-reschedule {
  background: #fff0e6;
  color: var(--orange) !important;
}

.status-pill.is-rescheduled {
  background: #e5f7ea;
  color: var(--green) !important;
}

.status-pill.is-refunded {
  background: #f1f2f4;
  color: var(--muted) !important;
}

.booking-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.booking-tag {
  display: inline-flex !important;
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--navy) !important;
  font-size: 0.7rem !important;
  font-weight: 900;
}

.booking-tag.is-free {
  border-color: rgba(32, 145, 97, 0.35);
  background: #e7f7ef;
  color: var(--green) !important;
}

.booking-tag.is-content {
  border-color: rgba(0, 126, 167, 0.25);
  background: #e9f8ff;
  color: var(--teal) !important;
}

.booking-tag.is-urgent {
  border-color: rgba(255, 136, 0, 0.35);
  background: #fff4e5;
  color: var(--orange) !important;
}

.booking-tag.is-reschedule {
  border-color: rgba(201, 77, 63, 0.35);
  background: #fff0e8;
  color: var(--red) !important;
}

.booking-tag.is-rescheduled {
  border-color: rgba(32, 145, 97, 0.3);
  background: #e8f8ee;
  color: var(--green) !important;
}

.booking-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 0;
}

.booking-actions .primary-btn,
.booking-actions .secondary-btn {
  min-height: 44px;
  padding: 0 14px;
}

.history-actions {
  grid-template-columns: minmax(120px, 1fr);
}

.danger-btn {
  border-color: rgba(201, 77, 63, 0.45) !important;
  background: #fff5f3 !important;
  color: var(--red) !important;
}

.attended-btn {
  border-color: rgba(47, 94, 219, 0.3) !important;
  background: #eef4ff !important;
  color: #2f5edb !important;
}

.reschedule-btn {
  border-color: rgba(255, 136, 0, 0.35) !important;
  background: #fff4e5 !important;
  color: var(--orange) !important;
}

.refund-btn {
  border-color: rgba(119, 124, 140, 0.3) !important;
  background: #f4f5f7 !important;
  color: var(--muted) !important;
}

.admin-empty {
  padding: 24px;
  color: var(--muted);
  font-weight: 800;
}

.admin-empty strong,
.admin-empty span {
  display: block;
}

.admin-empty strong {
  color: var(--navy);
  font-size: 1.1rem;
}

.admin-empty span {
  margin-top: 8px;
  line-height: 1.5;
}

.settings-form {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.legacy-settings,
.schedule-mode-toggle {
  display: none !important;
}

.admin-hidden-section {
  display: none !important;
}

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

.settings-form label,
.slot-editor,
.weekday-field {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}

.settings-form input,
.settings-form select,
.settings-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 12px;
}

.settings-form textarea {
  resize: vertical;
  line-height: 1.45;
}

.settings-form .toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-form .toggle-row input {
  width: 20px;
  height: 20px;
}

.settings-form .toggle-row.compact {
  align-content: start;
  justify-content: start;
  min-width: 90px;
}

.pricing-block-manager {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.pricing-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricing-block-head span {
  display: block;
  color: var(--navy);
  font-weight: 950;
}

.pricing-block-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.pricing-block-list {
  display: grid;
  gap: 10px;
}

.pricing-block,
.course-module-row {
  display: grid;
  grid-template-columns: 90px repeat(4, minmax(130px, 1fr));
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--block-color, #071150) 36%, rgba(7, 17, 80, 0.14));
  border-left: 7px solid var(--block-color, var(--navy));
  background: color-mix(in srgb, var(--block-color, #071150) 7%, white);
}

.course-module-list {
  display: grid;
  gap: 10px;
}

.course-module-row {
  --block-color: #0b6f9e;
  grid-template-columns: 90px repeat(2, minmax(160px, 1fr));
}

.pricing-block > *,
.course-module-row > * {
  min-width: 0;
}

.pricing-block-order {
  display: grid;
  gap: 8px;
}

.mini-btn {
  min-height: 32px;
  padding: 0 8px;
  font-size: 0.78rem;
}

.settings-form input[type="color"] {
  height: 46px;
  padding: 5px;
  background: var(--white);
}

.pricing-block-wide,
.pricing-block-days {
  grid-column: span 2;
}

.pricing-block-days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-height: 47px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.pricing-block-days legend {
  padding: 0 4px;
  color: var(--navy);
  font-weight: 900;
}

.pricing-block-days label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
}

.pricing-block-days input {
  width: 16px;
  height: 16px;
}

.danger-lite {
  border-color: rgba(180, 43, 43, 0.28);
  color: #9a1f1f;
}

.slot-add-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.slot-add-row .secondary-btn {
  min-height: 47px;
}

.slot-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.slot-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(7, 17, 80, 0.18);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 900;
  padding: 0 10px;
  cursor: pointer;
}

.slot-chip strong {
  color: var(--red);
  font-size: 0.9rem;
}

.weekday-field {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.weekday-field legend {
  padding: 0 4px;
}

.weekday-field label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.weekday-field input {
  width: 18px;
  height: 18px;
}

.content-manager,
.leads-manager {
  display: grid;
  gap: 0;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(7, 17, 80, 0.08);
}

.admin-section.is-collapsed > :not(.content-manager-head) {
  display: none;
}

.section-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, auto));
  gap: 8px;
  align-items: center;
}

.section-controls .secondary-btn {
  min-height: 42px;
  padding: 0 12px;
  font-size: 0.82rem;
}

.lead-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, auto);
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.lead-tools label {
  display: grid;
  gap: 8px;
}

.lead-tools label span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 900;
}

.lead-tools input {
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--ink);
}

.lead-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.lead-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(120px, 1fr)) minmax(170px, 1.2fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  background: #f8f7f3;
}

.lead-row h2 {
  margin: 9px 0 5px;
  color: var(--navy);
  font-size: 1.05rem;
}

.lead-row p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.lead-row span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.lead-row strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.content-manager-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.content-manager-head .admin-header {
  margin: 0;
}

.content-toggle {
  min-width: 140px;
}

.content-panel {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.content-panel[hidden] {
  display: none;
}

.content-manager label,
.content-row {
  display: grid;
  gap: 8px;
}

.content-manager label span,
.content-block-head strong {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 900;
}

.content-manager input,
.content-manager textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--ink);
}

.content-block {
  display: grid;
  gap: 12px;
}

.content-block-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.content-items {
  display: grid;
  gap: 10px;
}

.content-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  background: #f8f7f3;
}

.content-row[data-type="testimonial"] {
  grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.5fr) auto;
}

.actions {
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 40;
  max-width: min(420px, calc(100% - 24px));
  padding: 14px 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr 1fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 28px clamp(16px, 5vw, 70px);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 800;
}

.footer strong {
  color: var(--white);
}

@media (max-width: 1040px) {
  .case-grid,
  .time-period-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .booking-intro {
    min-height: 520px;
  }

  .pricing-block,
  .course-module-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
    padding: 7px 10px;
  }

  .topbar nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }

  .topbar nav a,
  .topbar nav button {
    justify-content: center;
    min-height: 28px;
    padding: 0 6px;
    font-size: 0.72rem;
    line-height: 1;
  }

  .video-hero {
    min-height: auto;
    padding: 42px 14px;
  }

  .video-copy h1,
  .card-title h2 {
    font-size: 2.45rem;
    line-height: 1.04;
  }

  .video-box {
    border-width: 6px;
  }

  .proof-strip,
  .case-grid,
  .value-list,
  .extra-video-grid,
  .testimonial-grid,
  .date-grid,
  .urgent-fields,
  .time-period-grid,
  .client-form,
  .mini-table {
    grid-template-columns: 1fr;
  }

  .sales-section,
  .value-section,
  .donation-band,
  .booking-section {
    padding: 42px 12px;
  }

  .section-title h2,
  .booking-intro h2 {
    font-size: 2.35rem;
    line-height: 1.05;
  }

  .booking-intro,
  .booking-card {
    padding: 18px;
  }

  .booking-intro {
    min-height: auto;
  }

  .step-header,
  .summary div,
  .actions,
  .confirmation-actions,
  .booking-actions,
  .donation-band,
  .schedule-donation,
  .urgent-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-toolbar,
  .booking-row,
  .settings-grid,
  .pricing-block,
  .course-module-row,
  .lead-tools,
  .lead-row,
  .section-controls,
  .content-row,
  .content-row[data-type="testimonial"] {
    grid-template-columns: 1fr;
  }

  .pricing-block-wide,
  .pricing-block-days {
    grid-column: auto;
  }

  .content-block-head,
  .content-manager-head,
  .pricing-block-head {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn,
  .primary-link,
  .donation-link {
    width: 100%;
  }

  .secondary-btn.is-urgent-schedule-back {
    width: auto;
    align-self: center;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}
