:root {
  --ink: #152127;
  --muted: #61717a;
  --line: #dce7e7;
  --paper: #ffffff;
  --wash: #f4fbfa;
  --mist: #e6f4f1;
  --teal: #0c8b8a;
  --deep-teal: #06605f;
  --coral: #e26055;
  --gold: #d4a73b;
  --mint: #9ad8cc;
  --shadow: 0 20px 60px rgba(16, 45, 49, 0.16);
  --radius: 8px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

button,
select {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px max(20px, calc((100% - 1180px) / 2));
  border-bottom: 1px solid rgba(220, 231, 231, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: fit-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--teal), var(--coral));
  font-size: 0.88rem;
  font-weight: 800;
}

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

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: #314046;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--teal);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  padding: 0 16px;
  color: #ffffff;
  background: var(--teal);
}

.header-cta:hover,
.button.primary:hover {
  background: var(--deep-teal);
}

.button {
  padding: 0 20px;
}

.button.primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 16px 32px rgba(12, 139, 138, 0.24);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(9, 30, 35, 0.28);
}

.button.secondary:hover {
  background: rgba(9, 30, 35, 0.44);
}

.button.full-width {
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, 82svh, 760px);
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 31, 36, 0.9) 0%, rgba(9, 31, 36, 0.72) 38%, rgba(9, 31, 36, 0.22) 72%, rgba(9, 31, 36, 0.12) 100%),
    linear-gradient(180deg, rgba(6, 96, 95, 0.12), rgba(226, 96, 85, 0.16));
}

.hero-content {
  width: var(--container);
  align-self: center;
  margin: 0 auto;
  padding: 56px 0 72px;
  color: #ffffff;
}

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

.hero .eyebrow {
  color: #ffb7ad;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.1rem, 9vw, 7.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.availability-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: var(--container);
  margin: -48px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid rgba(220, 231, 231, 0.95);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.availability-band div {
  padding: 24px;
}

.availability-band div + div {
  border-left: 1px solid var(--line);
}

.availability-band strong {
  display: block;
  font-size: 1.05rem;
}

.availability-band span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  display: grid;
  max-width: 780px;
  gap: 10px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading h2,
.care-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p,
.care-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 225px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 139, 138, 0.35);
  box-shadow: 0 18px 40px rgba(16, 45, 49, 0.1);
}

.service-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  color: var(--teal);
  stroke-width: 1.8;
}

.service-card:nth-child(2n) svg,
.service-card:nth-child(5n) svg {
  color: var(--coral);
}

.service-card:nth-child(3n) svg {
  color: var(--gold);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.07rem;
  line-height: 1.22;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.booking-section {
  width: 100%;
  padding-right: max(20px, calc((100% - 1180px) / 2));
  padding-left: max(20px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(180deg, #f7fcfb 0%, #ffffff 100%);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.booking-tool,
.appointment-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(16, 45, 49, 0.09);
}

.booking-tool {
  padding: 20px;
}

.booking-toolbar {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin-bottom: 18px;
}

.select-field,
.booking-form label {
  display: grid;
  gap: 7px;
}

.select-field span,
.booking-form span {
  color: #40515a;
  font-size: 0.83rem;
  font-weight: 800;
}

.select-field select,
.booking-form input,
.booking-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cddddd;
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
}

.select-field select {
  padding: 0 40px 0 14px;
}

.booking-form input,
.booking-form textarea {
  padding: 12px 13px;
}

.booking-form textarea {
  min-height: 92px;
  resize: vertical;
}

.select-field select:focus,
.booking-form input:focus,
.booking-form textarea:focus {
  outline: 3px solid rgba(12, 139, 138, 0.18);
  border-color: var(--teal);
}

.calendar-shell {
  padding: 16px;
  border: 1px solid #e4eeee;
  border-radius: var(--radius);
  background: #fbfefe;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.calendar-header h3 {
  margin: 0;
  font-size: 1.25rem;
  text-align: center;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
}

.icon-button:hover:not(:disabled) {
  color: #ffffff;
  border-color: var(--teal);
  background: var(--teal);
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  gap: 8px;
  margin-bottom: 8px;
  color: #71828a;
  font-size: 0.77rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  gap: 8px;
}

.calendar-day {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 82px;
  padding: 9px;
  border: 1px solid #dbe8e8;
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.calendar-day:not(:disabled):hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  background: #effafa;
}

.calendar-day:disabled {
  cursor: not-allowed;
}

.calendar-day.is-muted {
  color: #aab8bd;
  background: #f6f9f9;
}

.calendar-day.is-past {
  color: #9aa9af;
  background: #f2f6f6;
}

.calendar-day.is-available {
  border-color: rgba(12, 139, 138, 0.36);
}

.calendar-day.is-limited {
  border-color: rgba(212, 167, 59, 0.58);
  background: #fffaf0;
}

.calendar-day.is-full {
  color: #8a969b;
  background: #f2f5f5;
}

.calendar-day.is-selected {
  color: #ffffff;
  border-color: var(--deep-teal);
  background: var(--teal);
  box-shadow: 0 12px 24px rgba(12, 139, 138, 0.2);
}

.day-number {
  font-size: 1rem;
  font-weight: 850;
}

.day-meta {
  min-height: 18px;
  font-size: 0.72rem;
  font-weight: 780;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.open {
  background: var(--teal);
}

.legend-dot.limited {
  background: var(--gold);
}

.legend-dot.full {
  background: #aebbc1;
}

.time-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #e4eeee;
  border-radius: var(--radius);
  background: #ffffff;
}

.time-panel h3 {
  margin: 0;
  font-size: 1.1rem;
}

.time-slots {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.time-slot {
  min-width: 92px;
  min-height: 40px;
  border: 1px solid #cddddd;
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 800;
}

.time-slot:hover,
.time-slot.is-selected {
  color: #ffffff;
  border-color: var(--teal);
  background: var(--teal);
}

.empty-state {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  font-weight: 700;
}

.appointment-summary {
  position: sticky;
  top: 94px;
  padding: 22px;
}

.appointment-summary h3 {
  margin: 0 0 18px;
  font-size: 1.45rem;
}

.summary-list {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}

.summary-list div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e7efef;
}

.summary-list dt {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
}

.summary-list dd {
  margin: 0;
  font-weight: 850;
}

.booking-form {
  display: grid;
  gap: 13px;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--deep-teal);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-status.is-error {
  color: #b43b32;
}

.care-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.care-steps {
  display: grid;
  gap: 14px;
}

.care-steps article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.care-steps span {
  grid-row: span 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: var(--deep-teal);
  background: var(--mist);
  font-weight: 900;
}

.care-steps h3,
.care-steps p {
  margin: 0;
}

.care-steps p {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  padding: 44px max(20px, calc((100% - 1180px) / 2));
  color: #dce7e7;
  background: #10262a;
}

.site-footer p {
  max-width: 500px;
  margin: 16px 0 0;
  color: #afc1c4;
}

.footer-brand .brand-mark {
  background: linear-gradient(145deg, var(--mint), var(--coral));
}

.footer-brand small {
  color: #afc1c4;
}

address {
  display: grid;
  gap: 6px;
  color: #dce7e7;
  font-style: normal;
}

address a {
  color: #ffffff;
  font-weight: 800;
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

@media (max-width: 980px) {
  .site-header {
    gap: 14px;
  }

  .site-nav {
    display: none;
  }

  .availability-band,
  .services-grid,
  .booking-layout,
  .care-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .availability-band div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .appointment-summary {
    position: static;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 66px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .header-cta {
    min-width: 44px;
    padding: 0 12px;
  }

  .hero {
    min-height: 70svh;
  }

  .hero-content {
    padding: 42px 0 64px;
  }

  .hero h1 {
    max-width: 7ch;
    font-size: clamp(2.7rem, 12vw, 3.5rem);
    line-height: 1.04;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .availability-band {
    margin-top: -28px;
  }

  .section {
    padding: 72px 0;
  }

  .booking-section {
    padding: 72px 14px;
  }

  .services-grid,
  .booking-toolbar {
    grid-template-columns: 1fr;
  }

  .booking-tool,
  .appointment-summary {
    padding: 14px;
  }

  .calendar-shell {
    padding: 12px;
  }

  .calendar-weekdays {
    gap: 4px;
    font-size: 0.68rem;
  }

  .calendar-grid {
    gap: 5px;
  }

  .calendar-day {
    min-height: 62px;
    padding: 7px 5px;
    border-radius: 6px;
  }

  .day-meta {
    font-size: 0.62rem;
  }

  .time-panel {
    display: grid;
  }

  .time-slots {
    justify-content: stretch;
  }

  .time-slot {
    flex: 1 1 96px;
  }

  .summary-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .care-steps article {
    grid-template-columns: 1fr;
  }

  .care-steps span {
    grid-row: auto;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .header-cta {
    width: 48px;
    padding: 0;
  }

  .header-cta span {
    display: none;
  }
}
