:root {
  color-scheme: light;
  --navy: #0055c8;
  --navy-deep: #0041a0;
  --red: #fa2d36;
  --red-dark: #d1232b;
  --cream: #f5f8fa;
  --ink: #1c2530;
  --muted: #5a6675;
  --line: #dde3ea;
  --gold: #ffc20e;
  --white: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.utility-bar {
  background: var(--navy-deep);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.48rem 1rem;
  text-align: center;
}

.utility-bar a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--red);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 170px;
}

.brand span {
  border-left: 1px solid rgba(255, 255, 255, 0.44);
  padding-left: 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.24;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-book,
.header-phone,
.btn,
.submit-btn,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  border: 0;
  padding: 0.7rem 1rem;
  font: inherit;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.header-book {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.header-phone {
  color: var(--red);
  background: #fff;
}

.hero {
  padding: 2.8rem 1rem 3rem;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(0, 85, 200, 0.94), rgba(0, 65, 160, 0.96)),
    var(--navy);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 2rem;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 0.3rem 0.78rem;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 5vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.subhead {
  max-width: 660px;
  margin-bottom: 1.35rem;
  color: #dce8f5;
  font-size: 1.1rem;
}

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

.btn {
  min-height: 52px;
  padding-inline: 1.45rem;
  font-size: 1.02rem;
}

.btn-red {
  color: #fff;
  background: var(--red);
}

.btn-red:hover,
.submit-btn:hover {
  background: var(--red-dark);
}

.btn-white {
  color: var(--navy);
  background: #fff;
}

.hero-card {
  display: grid;
  gap: 1rem;
}

.lead-form,
.slot-panel,
.done-panel {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
}

.lead-form {
  padding: 1.35rem;
}

.form-head h2,
.slot-header h2,
.done-panel h2 {
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-size: 1.35rem;
}

.form-head p,
.fine-print,
.done-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.92rem;
}

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

legend {
  margin-bottom: 0.7rem;
  color: var(--navy);
  font-weight: 900;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

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

.service-card {
  position: relative;
  display: grid;
  gap: 0.1rem;
  min-height: 74px;
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 0.72rem;
  background: #fff;
  cursor: pointer;
}

.service-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-card span {
  color: var(--ink);
  font-weight: 900;
}

.service-card small {
  color: var(--muted);
  line-height: 1.25;
}

.service-card:has(input:checked) {
  border-color: var(--red);
  background: #fff2f2;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

label {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  font-weight: 800;
}

label span {
  color: var(--navy);
  font-size: 0.85rem;
}

input,
textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0.72rem 0.8rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(250, 45, 54, 0.18);
  border-color: var(--red);
}

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

.form-disclaimer {
  margin: 0.8rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.actions {
  display: grid;
  gap: 0.7rem;
}

.submit-btn {
  width: 100%;
  min-height: 52px;
  color: #fff;
  background: var(--red);
  font-size: 1.06rem;
}

#form-status {
  min-height: 1.2rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.times-preview {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem;
  background: #f7fbff;
}

.times-preview-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 900;
}

.times-preview-title span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.times-preview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.times-preview-list div {
  min-height: 38px;
  border: 1px solid #d7e4f4;
  border-radius: 7px;
  padding: 0.55rem 0.6rem;
  color: var(--ink);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.2;
}

.slot-panel,
.done-panel {
  padding: 1.35rem;
}

.slot-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.slot-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.slot-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 54px;
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.slot-button:hover {
  border-color: var(--navy);
  background: #eaf2fc;
}

.slot-button span:last-child {
  color: var(--red);
  white-space: nowrap;
}

.done-panel {
  text-align: left;
}

.services {
  padding: 2.8rem 1rem;
  background: var(--cream);
}

.section-head {
  width: min(1000px, 100%);
  margin: 0 auto 1.4rem;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 0.3rem;
  color: var(--navy);
  font-size: 1.6rem;
}

.section-head p {
  color: var(--muted);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: min(1000px, 100%);
  margin: 0 auto;
}

.service-strip figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.service-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-strip figcaption {
  border-top: 3px solid var(--red);
  padding: 0.8rem 1rem;
  color: var(--navy);
  font-weight: 900;
}

.mobile-call {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  padding: 0.9rem;
  color: #fff;
  background: var(--red);
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.25);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 860px) {
  body {
    padding-bottom: 3.4rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .header-book {
    display: none;
  }

  .brand img {
    width: 132px;
  }

  .mobile-call {
    display: block;
  }
}

@media (max-width: 620px) {
  .utility-bar {
    font-size: 0.78rem;
  }

  .header-inner {
    align-items: center;
  }

  .brand span {
    display: none;
  }

  .header-phone {
    min-height: 42px;
    padding-inline: 0.8rem;
  }

  .hero {
    padding: 1.7rem 1rem 2rem;
  }

  .hero-actions,
  .service-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn,
  .secondary {
    width: 100%;
  }

  .service-grid,
  .service-grid--three,
  .times-preview-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .slot-header {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
