:root {
  color-scheme: light;
  --ink: #101826;
  --muted: #64748b;
  --line: #d7dee8;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --navy: #101d33;
  --blue: #285f9f;
  --gold: #bd8d43;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 170px;
}

.brand-mark {
  background: var(--navy);
  color: white;
  display: grid;
  font-weight: 800;
  height: 44px;
  place-items: center;
  width: 44px;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

nav a {
  border-radius: 6px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
}

nav a:hover {
  background: #edf3fb;
  color: var(--blue);
}

.hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(16, 24, 38, 0.88), rgba(16, 24, 38, 0.38)),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1800&q=82") center / cover;
  color: white;
  display: grid;
  min-height: min(760px, 86vh);
  padding: clamp(72px, 12vw, 150px) clamp(18px, 5vw, 84px) clamp(44px, 7vw, 92px);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.02;
  margin-bottom: 20px;
  max-width: 840px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  margin-bottom: 0;
}

h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.55;
  max-width: 650px;
}

.hero-actions,
.form-footer,
.hero-contact,
.contact-band > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 14px 18px;
}

.button.primary {
  background: var(--gold);
  color: white;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: white;
}

.hero-contact {
  margin-top: 18px;
}

.hero-contact a,
.section-copy a {
  color: white;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section {
  padding: clamp(44px, 8vw, 94px) clamp(18px, 5vw, 84px);
}

.grid-two {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.muted {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.feature-list p,
.muted p {
  color: var(--muted);
  line-height: 1.65;
}

.appointment-section {
  background: #111827;
  color: white;
}

.section-heading {
  margin-bottom: 26px;
  max-width: 760px;
}

.section-copy {
  color: #cbd5e1;
  line-height: 1.6;
  margin: 14px 0 0;
}

.appointment-form {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
}

label {
  color: #cbd5e1;
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}

input,
select,
textarea {
  background: #f8fafc;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  outline: none;
  padding: 12px 13px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
}

.span-two {
  grid-column: 1 / -1;
}

.honeypot {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

#appointment-status {
  align-self: center;
  color: #dbeafe;
  font-weight: 800;
  margin: 0;
}

#appointment-status.error {
  color: #fecaca;
}

#appointment-status.success {
  color: #bbf7d0;
}

.contact-band {
  align-items: center;
  background: white;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.contact-band a {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue);
  font-weight: 900;
  padding: 12px 14px;
}

footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
  padding: 22px clamp(18px, 5vw, 84px);
}

footer a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 760px) {
  .site-header,
  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 720px;
  }

  .grid-two,
  .appointment-form {
    grid-template-columns: 1fr;
  }

  .span-two {
    grid-column: auto;
  }
}
