@font-face {
  font-family: "Figtree";
  src: url("https://theairwaydentists.com/wp-content/uploads/Figtree-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("https://theairwaydentists.com/wp-content/uploads/Figtree-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-primary: #0ea9af;
  --brand-secondary: #2e74ff;
  --brand-accent: #f46552;
  --text: #0c253e;
  --muted: #64788f;
  --bg: #f4f8f8;

  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow: 0 12px 32px rgba(12, 37, 62, 0.08);
  --ring: 0 0 0 3px rgba(14, 169, 175, 0.2);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Figtree", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.background-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 10%, rgba(14, 169, 175, 0.12), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(46, 116, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f4f8f8 100%);
}

.container {
  width: min(1080px, calc(100% - 1.2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(12, 37, 62, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, var(--brand-primary), var(--brand-secondary));
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.brand-name {
  margin: 0;
  font-size: 1rem;
  line-height: 1;
  font-weight: 600;
}

.brand-subtitle {
  margin: 0.18rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem 0 7rem;
}

.booking-shell {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid rgba(12, 37, 62, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.step-card {
  padding: 1rem;
}

.progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid rgba(12, 37, 62, 0.1);
  border-radius: var(--radius-md);
  padding: 0.6rem;
}

.progress-item {
  min-height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  background: #f2f6f8;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 600;
  text-align: center;
}

.progress-item strong {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(12, 37, 62, 0.1);
  font-size: 0.72rem;
}

.progress-item.active {
  background: rgba(14, 169, 175, 0.14);
  color: var(--text);
}

.progress-item.complete {
  background: rgba(46, 116, 255, 0.12);
  color: #1b4c8c;
}

.step-header h1,
.step-header h2 {
  margin: 0;
  line-height: 1.15;
}

.step-header h1 {
  font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.2rem);
}

.step-header h2 {
  font-size: clamp(1.2rem, 1.02rem + 1vw, 1.65rem);
}

.kicker {
  margin: 0 0 0.4rem;
  color: var(--brand-accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.helper {
  margin: 0.42rem 0 0;
  font-size: 0.92rem;
}

.muted {
  color: var(--muted);
}

.option-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.option-grid-two {
  grid-template-columns: 1fr;
}

.option-card {
  width: 100%;
  border: 1px solid rgba(12, 37, 62, 0.15);
  border-radius: var(--radius-md);
  background: var(--white);
  text-align: left;
  padding: 0.95rem;
  cursor: pointer;
}

.option-card.selected {
  border-color: var(--brand-primary);
  box-shadow: var(--ring);
  background: rgba(14, 169, 175, 0.05);
}

.option-title,
.choice-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.option-detail,
.choice-detail {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.studio-list-compact {
  margin-top: 1rem;
  border: 1px solid rgba(12, 37, 62, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.studio-row-lite {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(12, 37, 62, 0.08);
  background: var(--white);
  padding: 0.72rem 0.8rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  cursor: pointer;
}

.studio-row-lite:last-child {
  border-bottom: 0;
}

.studio-row-lite-main {
  display: grid;
  gap: 0.22rem;
}

.studio-row-lite-main strong {
  font-size: 0.9rem;
}

.studio-row-lite-main small {
  font-size: 0.78rem;
  color: var(--muted);
}

.studio-row-lite-meta {
  font-size: 0.8rem;
  color: #20487c;
  font-weight: 600;
  text-align: right;
  align-self: center;
}

.studio-row-lite.selected {
  background: rgba(14, 169, 175, 0.1);
}

.sub-actions {
  margin-top: 0.7rem;
}

.selected-studio-card {
  margin-top: 1rem;
  border: 1px solid rgba(12, 37, 62, 0.12);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  background: #fbfdfd;
}

.studio-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.studio-name {
  margin: 0.24rem 0 0;
  font-size: 1rem;
  font-weight: 600;
}

.main-availability {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.section-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.day-row {
  border: 1px solid rgba(12, 37, 62, 0.12);
  border-radius: var(--radius-md);
  background: #fbfdfd;
  padding: 0.62rem;
}

.day-row.active {
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 2px rgba(46, 116, 255, 0.14);
}

.day-row-head {
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.day-row-title,
.day-row-meta {
  margin: 0;
}

.day-row-title {
  font-size: 0.88rem;
  font-weight: 600;
}

.day-row-meta {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}

.appointment-pills {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  border: 1px solid rgba(12, 37, 62, 0.15);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  min-height: 38px;
  padding: 0.4rem 0.75rem;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.pill.selected {
  border-color: var(--brand-primary);
  background: rgba(14, 169, 175, 0.12);
}

.time-controls {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.7rem;
}

.provider-pref,
.control-inline {
  display: grid;
  gap: 0.35rem;
}

.provider-pref label,
.control-inline label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.segment {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(12, 37, 62, 0.12);
  border-radius: 999px;
  padding: 0.25rem;
  background: #f2f7f8;
}

.segment button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  min-height: 40px;
  padding: 0.45rem 0.8rem;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.segment button.active {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 4px 10px rgba(12, 37, 62, 0.12);
}

select,
.field input,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(12, 37, 62, 0.2);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  padding: 0.58rem 0.68rem;
  font-family: inherit;
  font-size: 0.92rem;
}

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

.slot-grid-inline {
  margin-top: 0;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}

.slot-button {
  border: 1px solid rgba(12, 37, 62, 0.15);
  border-radius: var(--radius-sm);
  min-height: 44px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.slot-button.selected {
  border-color: var(--brand-secondary);
  background: rgba(46, 116, 255, 0.1);
  box-shadow: 0 0 0 2px rgba(46, 116, 255, 0.18);
}

.slot-button-compact {
  min-height: 40px;
  font-size: 0.84rem;
}

.slot-button-mini {
  min-height: 34px;
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  font-size: 0.78rem;
}

.inline-link {
  margin-top: 0.55rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.empty-state {
  margin-top: 0.9rem;
  border: 1px dashed rgba(12, 37, 62, 0.24);
  border-radius: var(--radius-md);
  background: #fafcfd;
  padding: 0.8rem;
}

.suggestion-row {
  margin-top: 0.58rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.other-studios-toggle {
  margin-top: 0.85rem;
}

.other-studio-list {
  margin-top: 0.6rem;
  border: 1px solid rgba(12, 37, 62, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.other-studio-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.7rem;
  border-bottom: 1px solid rgba(12, 37, 62, 0.08);
}

.other-studio-row:last-child {
  border-bottom: 0;
}

.other-studio-name {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.other-studio-slot-wrap {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.link-button {
  border: 1px solid rgba(12, 37, 62, 0.2);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  min-height: 36px;
  padding: 0.34rem 0.72rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.link-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.button {
  border: 0;
  border-radius: 999px;
  min-height: 46px;
  padding: 0.62rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(120deg, var(--brand-primary), #0b8f95);
}

.button-secondary {
  color: var(--text);
  background: var(--white);
  border: 1px solid rgba(12, 37, 62, 0.2);
}

.button-ghost {
  color: var(--brand-secondary);
  background: rgba(46, 116, 255, 0.1);
  border: 1px solid rgba(46, 116, 255, 0.33);
}

.selection-bar {
  margin-top: 0.9rem;
  border: 1px solid rgba(12, 37, 62, 0.12);
  border-radius: var(--radius-md);
  background: #f9fcfc;
  padding: 0.8rem;
  display: grid;
  gap: 0.3rem;
}

.selection-bar p {
  margin: 0;
  font-size: 0.9rem;
}

.field-grid {
  margin-top: 0.84rem;
  display: grid;
  gap: 0.62rem;
}

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.field textarea {
  min-height: 88px;
  resize: vertical;
}

.check-wrap {
  margin-top: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  font-size: 0.86rem;
}

.check-wrap input {
  margin-top: 0.2rem;
}

.inline-error {
  margin-top: 0.8rem;
  border: 1px solid rgba(244, 101, 82, 0.34);
  border-radius: var(--radius-sm);
  background: rgba(244, 101, 82, 0.1);
  color: #8e3526;
  font-size: 0.84rem;
  padding: 0.6rem 0.72rem;
}

.sidebar {
  display: grid;
  gap: 0.9rem;
}

.summary-card {
  padding: 0.9rem;
}

.summary-title {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
}

.summary-list,
.mini-list {
  list-style: none;
  margin: 0.64rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.48rem;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.86rem;
}

.summary-list span,
.mini-list span {
  color: var(--muted);
}

.mini-list li {
  display: grid;
  gap: 0.15rem;
  font-size: 0.84rem;
}

.success-wrap {
  padding: 1rem;
}

.success-badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(14, 169, 175, 0.14);
  color: #0a5f63;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.34rem 0.72rem;
}

.success-wrap h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.56rem, 1.2rem + 2vw, 2.2rem);
}

.success-summary {
  margin-top: 0.9rem;
  border: 1px solid rgba(12, 37, 62, 0.12);
  border-radius: var(--radius-md);
  background: #fbfdfd;
  padding: 0.8rem;
}

.success-row {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(12, 37, 62, 0.08);
  font-size: 0.9rem;
}

.success-row:last-child {
  border-bottom: 0;
}

.call-sticky {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.8rem;
  width: min(760px, calc(100% - 0.8rem));
  border-radius: 16px;
  background: rgba(12, 37, 62, 0.95);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.62rem;
  z-index: 25;
}

.call-sticky p {
  margin: 0;
  font-size: 0.84rem;
}

.site-footer {
  border-top: 1px solid rgba(12, 37, 62, 0.1);
  background: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--text);
  font-weight: 600;
}

.button,
.link-button,
.option-card,
.pill,
.slot-button,
.studio-row-lite {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.button:hover,
.link-button:hover,
.option-card:hover,
.pill:hover,
.slot-button:hover,
.studio-row-lite:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.link-button:focus-visible,
.option-card:focus-visible,
.pill:focus-visible,
.slot-button:focus-visible,
.studio-row-lite:focus-visible,
.segment button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

@media (min-width: 860px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .step-card {
    padding: 1.2rem;
  }

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

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

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

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

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

  .sidebar {
    position: sticky;
    top: 84px;
  }
}

@media (max-width: 859px) {
  .progress-item span {
    display: none;
  }

  .studio-row-lite {
    flex-direction: column;
  }

  .studio-row-lite-meta {
    text-align: left;
  }

  .other-studio-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .brand-subtitle {
    display: none;
  }

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

  .progress-item {
    min-height: 54px;
  }

  .call-sticky {
    flex-direction: column;
    align-items: stretch;
  }

}
