:root {
  --white: #ffffff;
  --black: #000000;
  --overlay: rgba(0, 0, 0, 0.62);
  --panel: rgba(0, 0, 0, 0.62);
  --button: #3a8ea8;
  --star: #ffbc00;
  --review-text: #2a3135;
  --review-muted: #667085;
  --review-light: #98a2b3;
  --review-border: #f2f4f7;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #050505;
  color: var(--white);
  font-family: Lato, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #188bf6;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
  background-image: url("https://storage.googleapis.com/msgsndr/p2CTfPH857pLRReVFKvK/media/67cb768f6adc023bc1154f82.jpeg");
  background-attachment: fixed;
  background-position: top center;
  background-size: cover;
}

.hero-section,
.reviews-section,
.page-footer {
  background: var(--overlay);
}

.hero-overlay {
  min-height: 100vh;
  padding: 14px 0 0;
}

.hero-inner {
  width: min(1170px, 94vw);
  margin: 0 auto;
  border: 3px solid var(--black);
  padding: 10px 9px 5px;
}

.form-frame {
  margin: 0 auto;
  text-align: center;
}

.badge-image {
  padding: 10px;
}

.badge-image img {
  height: 50px;
  max-width: 100%;
  display: inline-block;
}

.subhead {
  margin: 13px 0 0;
  color: var(--white);
  font-family: Montserrat, Lato, sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.3;
}

h1 {
  margin: 3px 0 5px;
  padding: 0 20px;
  color: var(--white);
  font-family: Montserrat, Lato, sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.18;
}

h1 span {
  display: block;
}

.offer-image {
  display: block;
  max-width: min(100%, 440px);
  margin: 0 auto;
  padding: 10px;
}

.form-frame h2 {
  margin: 0;
  padding: 0;
  color: var(--white);
  font-family: Montserrat, Lato, sans-serif;
  font-size: 50px;
  font-weight: 800;
  line-height: normal;
}

.survey-card {
  width: min(80%, 760px);
  min-height: 360px;
  margin: 12px auto 60px;
  padding: 1.5em 30px 2em;
  overflow: visible;
  background: var(--white);
  color: #000;
  text-align: left;
}

.progress-track {
  height: 8px;
  margin: -1.5em -30px 20px;
  background: #d5e1e8;
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 25%;
  height: 100%;
  background: #3a8ea8;
  transition: width 0.25s ease;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.voucher-prompt {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.question label {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0 2px 8px;
  padding: 9px 18px;
  border: 1px solid #a9b3c6;
  border-radius: 12px;
  background: #fff;
  color: #8c8c8c;
  font-family: Lato, Roboto, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  cursor: pointer;
}

.question input[type="radio"],
.question input[type="checkbox"] {
  margin: 0;
}

.contact-step label {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #000;
}

.contact-step label span {
  display: block;
  margin: 0 0 6px;
  color: #000;
  font-size: 15px;
  font-weight: 400;
}

.contact-step input {
  width: 100%;
  padding: 9px 18px;
  border: 1px solid #a9b3c6;
  border-radius: 5px;
  background: #fff;
  color: #000;
  font-family: Lato, Roboto, sans-serif;
  font-size: 12px;
  font-weight: 300;
}

.button-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  direction: ltr;
}

.button-row.single {
  justify-content: flex-end;
}

.button-row input {
  min-width: 70px;
  height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 4px;
  background: var(--button);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.button-row input:disabled {
  opacity: 0.7;
  cursor: wait;
}

.button-row .back-button {
  background: var(--button);
}

.form-message {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 9px solid #ff4747;
  background: #fff4f4;
  color: #792020;
}

.form-message[data-type="success"] {
  border-left-color: #3a8ea8;
  background: #eff9fb;
  color: #174657;
}

.reviews-section {
  padding: 20px 0;
  border: 2px solid var(--black);
}

.reviews-wrap {
  width: min(1170px, 100vw);
  margin: 0 auto;
  padding: 15px 0;
  border: 2px solid var(--black);
  background: var(--panel);
}

.reviews-widget {
  margin: 10px 5px;
  padding: 0 10px 20px;
  background: #fff;
  color: var(--review-text);
  font-family: Roboto, Arial, sans-serif;
}

.reviews-header {
  padding: 24px 0 12px;
}

.reviews-header h2 {
  margin: 0 0 8px;
  color: var(--review-text);
  font-size: 24px;
  font-weight: 700;
}

.rating-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--review-light);
  font-size: 15px;
}

.rating-number {
  color: var(--review-text);
  font-size: 32px;
  font-weight: 700;
}

.stars,
.review-top span {
  color: var(--star);
  letter-spacing: 1px;
}

.divider {
  width: 1px;
  height: 20px;
  background: var(--review-light);
}

.ai-summary {
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--review-border);
  border-radius: 10px;
  background: #fff;
}

.ai-summary strong {
  color: #5b25d0;
}

.ai-summary p {
  margin: 8px 0 0;
  color: var(--review-text);
  line-height: 1.55;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review-card {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--review-border);
  border-radius: 10px;
  background: #fff;
}

.review-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--review-muted);
  font-size: 13px;
}

.review-card p {
  margin: 18px 0;
  color: var(--review-text);
  line-height: 1.6;
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--review-muted);
  font-size: 14px;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #99a2b4;
  color: #fff;
  font-weight: 700;
}

.review-card img {
  width: 18px;
  height: 18px;
  margin-left: auto;
}

.page-footer {
  padding: 40px 10px;
  text-align: center;
}

.map-wrap {
  text-align: center;
}

.map-wrap iframe {
  max-width: 100%;
}

.page-footer p {
  margin: 18px 0 0;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 18px;
}

.legal-shell {
  min-height: 100vh;
  padding: clamp(28px, 5vw, 72px) 16px;
}

.legal-panel {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border: 3px solid var(--black);
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  font-family: Lato, Roboto, Arial, sans-serif;
  line-height: 1.68;
}

.legal-panel h1,
.legal-panel h2,
.legal-panel p,
.legal-panel ul {
  max-width: 760px;
}

.legal-panel h1 {
  margin: 4px 0 6px;
  padding: 0;
  color: #111;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.legal-panel h2 {
  margin: 28px 0 8px;
  color: #111;
  font-family: Montserrat, Lato, sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.legal-panel p {
  margin: 0 0 12px;
}

.legal-panel ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-kicker {
  color: var(--button);
  font-family: Montserrat, Lato, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-updated {
  color: #58636b;
  font-size: 14px;
}

.legal-back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--button);
  font-weight: 900;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #dce3e8;
  color: #58636b;
}

.booking-shell {
  min-height: 100vh;
  background-image: url("https://storage.googleapis.com/msgsndr/p2CTfPH857pLRReVFKvK/media/67cb768f6adc023bc1154f82.jpeg");
  background-attachment: fixed;
  background-position: top center;
  background-size: cover;
}

.booking-section,
.confirmation-section {
  min-height: calc(100vh - 112px);
  padding: clamp(18px, 4vw, 44px) 12px 28px;
  background: var(--overlay);
}

.booking-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(14px, 2vw, 24px);
  border: 3px solid var(--black);
  background: rgba(0, 0, 0, 0.58);
}

.booking-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(14px, 3vw, 28px);
  align-items: center;
  margin-bottom: 18px;
}

.booking-header img,
.confirmation-panel img {
  width: 190px;
  max-width: 100%;
  height: auto;
}

.booking-kicker {
  margin: 0 0 4px;
  color: #c7edf5;
  font-family: Montserrat, Lato, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-header h1,
.confirmation-panel h1 {
  margin: 0;
  padding: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}

.booking-header p:last-child,
.confirmation-panel p {
  margin: 8px 0 0;
  color: #edf7fa;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.45;
}

.booking-status {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 8px solid var(--button);
  background: #eff9fb;
  color: #174657;
  font-weight: 900;
}

.calendar-open-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0 0 14px;
  padding: 0 14px;
  border-radius: 6px;
  background: #d8b15a;
  color: #1f2933;
  font-family: Montserrat, Lato, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.sked-portal-container {
  overflow: hidden;
  width: 100%;
  height: 82vh;
  min-height: 760px;
  max-height: 1080px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #fff;
}

.sked-portal-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.confirmation-section {
  display: grid;
  place-items: center;
}

.confirmation-panel {
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 58px);
  border: 3px solid var(--black);
  background: rgba(0, 0, 0, 0.66);
  text-align: center;
}

.appointment-details {
  display: inline-block;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.confirmation-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 4px;
  background: var(--button);
  color: #fff;
  font-weight: 900;
}

@media (max-width: 760px) {
  .hero-overlay {
    padding-top: 14px;
  }

  .hero-inner {
    width: 94%;
    padding-bottom: 0;
  }

  .badge-image img {
    height: 40px;
  }

  .subhead {
    margin-top: 11px;
    font-size: 21px;
  }

  h1 {
    font-size: 30px;
  }

  .offer-image {
    height: 100px;
    object-fit: contain;
    margin-top: -12px;
    margin-bottom: -13px;
    padding-bottom: 0;
  }

  .form-frame h2 {
    font-size: 54px;
  }

  .survey-card {
    width: 100%;
    margin-top: -25px;
    margin-bottom: -29px;
    padding: 1.5em 30px 2em;
  }

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

  .reviews-header h2 {
    font-size: 22px;
  }

  .rating-line {
    flex-wrap: wrap;
  }

  .page-footer p {
    font-size: 14px;
  }

  .booking-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .booking-header img {
    margin: 0 auto;
  }

  .calendar-open-link {
    width: 100%;
  }
}

@media screen and (max-width: 900px) {
  .sked-portal-container {
    height: 120vh;
    min-height: 950px;
    max-height: none;
  }
}

@media screen and (max-width: 750px) {
  .sked-portal-container {
    height: 155vh;
    min-height: 1350px;
  }
}

.admin-page {
  min-height: 100vh;
  background: #f4f7f3;
  color: #1f2933;
  font-family: Lato, sans-serif;
}

.admin-page[data-admin-state="login"] {
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  min-height: 100vh;
}

.admin-page[data-admin-state="login"] .admin-shell {
  display: block;
  width: min(430px, 100%);
  min-height: auto;
}

.admin-rail {
  background: #193b3f;
  color: #f7fbf6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.admin-page[data-admin-state="login"] .admin-rail {
  min-height: auto;
  justify-content: flex-start;
  gap: 22px;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(25, 59, 63, 0.24);
}

.admin-page[data-admin-state="login"] .admin-workspace {
  display: none;
}

.admin-kicker {
  color: #82c6bc;
  font-family: Montserrat, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.admin-rail h1,
.admin-toolbar h2,
.lead-detail h2,
.sked-desk h2 {
  font-family: Montserrat, sans-serif;
  margin: 0;
}

.admin-rail h1 {
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: 0.95;
  max-width: 8ch;
}

.admin-page[data-admin-state="login"] .admin-rail h1 {
  max-width: none;
  font-size: clamp(2rem, 12vw, 3.1rem);
}

.admin-copy {
  color: #d7e6df;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 28ch;
}

.admin-page[data-admin-state="login"] .admin-copy {
  max-width: none;
  margin-bottom: 0;
}

.admin-login,
.call-form {
  display: grid;
  gap: 14px;
}

.admin-login label,
.call-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.admin-login input,
.call-form input,
.call-form select,
.call-form textarea,
.admin-toolbar select {
  border: 1px solid #cad7d2;
  border-radius: 6px;
  font: inherit;
  padding: 11px 12px;
}

.admin-login button,
.admin-logout,
.call-form button,
.call-button {
  background: #d8b15a;
  border: 0;
  border-radius: 6px;
  color: #1f2933;
  cursor: pointer;
  font: 800 0.92rem Montserrat, sans-serif;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
}

.admin-workspace {
  min-width: 0;
  padding: 22px;
}

.admin-toolbar,
.detail-header,
.sked-desk header {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  align-items: start;
}

.lead-list,
.lead-detail,
.sked-desk {
  min-width: 0;
}

.lead-list {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 118px);
  overflow: auto;
}

.lead-row {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe5df;
  border-left: 4px solid transparent;
  border-radius: 7px;
  color: inherit;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
  text-align: left;
}

.lead-row.is-active {
  border-left-color: #3a8ea8;
}

.lead-row small,
.lead-row em,
.lead-facts dt,
.empty-state,
.sked-desk p {
  color: #65766e;
}

.lead-row strong {
  display: block;
  font-size: 0.98rem;
}

.lead-row em,
.status-pill {
  background: #e8f2ef;
  border-radius: 999px;
  font-style: normal;
  font-weight: 800;
  padding: 5px 8px;
  white-space: nowrap;
}

.lead-detail,
.sked-desk {
  background: #fff;
  border: 1px solid #dbe5df;
  border-radius: 8px;
  padding: 16px;
}

.lead-facts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 18px;
}

.lead-facts div {
  border-bottom: 1px solid #edf2ef;
  padding-bottom: 8px;
}

.lead-facts dt {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-facts dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.notes-field {
  grid-column: 1 / -1;
}

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

.mobile-lead-actions {
  display: none;
}

.sked-desk {
  grid-column: 1 / -1;
}

.sked-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.sked-actions p {
  margin: 0;
}

.admin-calendar-link {
  margin-bottom: 0;
}

.sked-admin-frame {
  height: calc(100vh - 190px);
  min-height: 760px;
  max-height: 980px;
  background: #eef4f1;
  border: 1px solid #dbe5df;
  border-radius: 7px;
  overflow: hidden;
}

.sked-admin-frame iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

@media (max-width: 1180px) {
  .admin-shell,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-rail {
    gap: 22px;
  }

  .lead-list {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .admin-page {
    background: #eef4f1;
  }

  .admin-page[data-admin-state="login"] {
    padding: 14px;
  }

  .admin-page[data-mobile-panel="work"] .admin-toolbar,
  .admin-page[data-mobile-panel="work"] .lead-list {
    display: none;
  }

  .admin-shell {
    min-height: auto;
  }

  .admin-rail,
  .admin-page[data-admin-state="login"] .admin-rail {
    padding: 20px;
  }

  .admin-rail h1 {
    max-width: none;
  }

  .admin-workspace {
    padding: 14px;
  }

  .admin-toolbar,
  .detail-header,
  .sked-desk header {
    align-items: stretch;
    flex-direction: column;
  }

  .lead-detail {
    display: flex;
    flex-direction: column;
  }

  .admin-toolbar select,
  .lead-facts,
  .detail-actions {
    width: 100%;
  }

  .lead-facts {
    order: 3;
    grid-template-columns: 1fr;
  }

  .mobile-lead-actions {
    display: grid;
    grid-template-columns: 0.85fr 1fr 1fr;
    gap: 8px;
    order: 1;
    margin: 2px 0 14px;
  }

  .mobile-lead-actions button,
  .mobile-lead-actions a {
    align-items: center;
    background: #d8b15a;
    border: 0;
    border-radius: 6px;
    color: #1f2933;
    cursor: pointer;
    display: inline-flex;
    font: 800 0.9rem Montserrat, sans-serif;
    justify-content: center;
    min-height: 44px;
    padding: 10px 8px;
    text-align: center;
    text-decoration: none;
  }

  .mobile-lead-actions [data-mobile-back-to-queue] {
    background: #e8f2ef;
  }

  .call-form {
    order: 2;
  }

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

  .call-form .detail-actions .call-button {
    display: none;
  }

  .sked-actions {
    justify-items: stretch;
    text-align: left;
  }

  .sked-admin-frame {
    height: 145vh;
    min-height: 1200px;
    max-height: none;
  }
}
