/* Quibilan Dentistry — redesign mock */

:root {
  --navy: #116089;
  --navy-deep: #0b4a6a;
  --navy-ink: #0a3550;
  --cyan: #02B8BF;
  --green: #07BC83;
  --green-deep: #05986a;
  --text: #333333;
  --muted: #666666;
  --cream: #f3eee4;
  --paper: #fbf8f2;
  --white: #ffffff;
  --sage: #8fa98c;
  --sage-deep: #6e8a6c;
  --sage-soft: #d7e2d4;
  --line: #e5ddd0;
  --shadow: 0 18px 40px rgba(17, 96, 137, 0.10);
  --radius: 18px;
  --wrap: 1120px;
  --header-h: 4.6rem;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cyan);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 400;
  background: var(--white);
  color: var(--navy-ink);
  padding: 0.6rem 0.9rem;
  font-weight: 600;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1240px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Banner + sticky nav */

.mock-banner {
  background: var(--navy-ink);
  color: #d7e8ef;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 1rem;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-top.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(10, 53, 80, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  text-decoration: none;
  color: var(--navy-ink);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo:hover {
  color: var(--navy);
}

.logo-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-tag {
  margin-top: 0.22rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
}

.nav-toggle {
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--navy-ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-links {
  display: none;
}

.nav-links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1.1rem;
  gap: 0.15rem;
  box-shadow: 0 16px 30px rgba(10, 53, 80, 0.08);
}

.nav-links a {
  text-decoration: none;
  color: var(--navy-ink);
  font-weight: 600;
  padding: 0.7rem 0.4rem;
}

.nav-links a[aria-current="page"] {
  color: var(--navy);
  box-shadow: inset 3px 0 0 var(--cyan);
}

.nav-links .btn-call {
  margin-top: 0.4rem;
  text-align: center;
  box-shadow: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-green {
  background: var(--green);
  color: #053322;
}

.btn-green:hover {
  background: var(--green-deep);
  color: #fff;
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--navy-ink);
  border-color: #b9c9c4;
}

.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-call {
  background: var(--green);
  color: #053322 !important;
  border-radius: 999px;
  font-weight: 700;
}

.btn-call:hover {
  background: var(--green-deep);
  color: #fff !important;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Page rhythm */

.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  font-size: 0.95rem;
  margin: 0 0 0.55rem;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--navy-ink);
  line-height: 0.95;
  letter-spacing: 0.01em;
  font-weight: 700;
  margin: 0 0 0.7rem;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.lede,
.section-intro {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 40rem;
}

.section {
  padding: 4rem 0;
}

.section-cream {
  background: var(--cream);
}

.section-navy {
  background: var(--navy);
  color: #e7f3f6;
}

.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.section-head {
  margin-bottom: 2rem;
}

.photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sage-soft);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-offset {
  position: relative;
}

.photo-offset::before {
  content: "";
  position: absolute;
  inset: 14px -12px -12px 12px;
  background: var(--sage);
  border-radius: var(--radius);
  z-index: -1;
}

/* Hero */

.hero {
  padding: 2rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
}

.hero-copy p {
  color: var(--muted);
}

.hero-note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--sage-deep);
  font-weight: 600;
}

.hero-photo {
  margin: 0;
  min-height: 22rem;
}

.hero-photo img {
  aspect-ratio: 4 / 5;
  object-position: 50% 18%;
}

.trust {
  display: grid;
  gap: 1rem;
  padding: 0 0 3rem;
}

.trust-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
}

.trust-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Cards / services */

.card-grid,
.review-grid,
.team-grid,
.hours-split {
  display: grid;
  gap: 1.1rem;
}

.card,
.review,
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
}

.card-num {
  font-family: var(--display);
  color: var(--sage);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.card h3 {
  margin-top: 0.35rem;
}

.card p,
.review p,
.team-card p {
  margin: 0;
  color: var(--muted);
}

/* Reviews */

.review {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.review blockquote {
  margin: 0;
  font-size: 1.08rem;
  color: var(--text);
}

.review figcaption {
  margin-top: auto;
  font-weight: 700;
  color: var(--navy);
}

.quote-mark {
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 0.6;
  color: var(--sage);
}

/* Team */

.team-card {
  padding: 0 0 1.2rem;
  overflow: hidden;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 20%;
}

.team-card .team-copy {
  padding: 1rem 1.15rem 0;
}

.team-role {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-wide {
  margin: 1.4rem 0 0;
}

.team-wide img {
  aspect-ratio: 16 / 8;
  object-position: 50% 30%;
}

.team-wide figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
}

/* About split */

.split {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

.bio-photo {
  max-width: 22rem;
}

.bio-photo img {
  aspect-ratio: 4 / 5;
  object-position: 50% 15%;
}

.work-photo img {
  aspect-ratio: 4 / 3;
  object-position: 30% 40%;
}

/* Services page */

.page-hero {
  padding: 2.4rem 0 1.2rem;
}

.feature-photo img {
  aspect-ratio: 16 / 9;
  object-position: 50% 60%;
}

.callout {
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.callout-green {
  background: #e8faf3;
  border-color: #b7ead6;
}

.callout-navy {
  background: var(--navy);
  color: #e7f3f6;
}

.callout-navy h2,
.callout-navy a {
  color: #fff;
}

.callout-navy a:hover {
  color: #b8f3e0;
}

/* Contact */

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.hours-table th {
  font-weight: 700;
  color: var(--navy-ink);
  width: 34%;
}

.hours-table .closed {
  color: #9a6b6b;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.contact-list li {
  margin: 0 0 0.7rem;
}

.contact-list a {
  font-weight: 700;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--navy-ink);
  font-size: 0.95rem;
}

input,
select,
textarea {
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid #d4cdc0;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

button.btn {
  cursor: pointer;
  font: inherit;
  border: 0;
  justify-self: start;
}

.form-thanks {
  background: #e8faf3;
  border: 1px solid #b7ead6;
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}

.form-thanks[hidden],
form[hidden] {
  display: none;
}

/* Footer + mobile call bar */

.site-footer {
  background: var(--navy-ink);
  color: #d5e4ea;
  padding: 3rem 0 6.5rem;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: var(--cyan);
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.footer-brand .logo-name {
  color: #fff;
}

.footer-brand .logo-tag {
  color: #9ec9c4;
}

.footer-label {
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.footer-nav {
  display: grid;
  gap: 0.35rem;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 600;
}

.copyright {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.88rem;
  color: #9bb4bd;
}

.call-bar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 180;
  background: var(--green);
  color: #053322;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
  border-radius: 999px;
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 24px rgba(7, 188, 131, 0.35);
}

.call-bar:hover {
  color: #053322;
  background: #12d094;
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .nav-links,
  .nav-links.is-open {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: 0.15rem;
  }

  .nav-links a {
    padding: 0.45rem 0.7rem;
  }

  .nav-links a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--cyan);
  }

  .nav-links .btn-call {
    margin: 0 0 0 0.5rem;
    padding-inline: 1rem;
  }

  .hero-grid,
  .split,
  .hours-split {
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
  }

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

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

  .review-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-photo {
    min-height: 32rem;
  }

  .hero-photo img {
    min-height: 32rem;
  }

  .call-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.6rem;
  }
}

@media (min-width: 980px) {
  .card-grid.services-all {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero {
    padding-top: 2.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    transition: none;
  }
}

/* Home hours on navy + map */
.site-header { position: relative; }

.hours-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hours-table-on-navy th,
.hours-table-on-navy td {
  border-bottom-color: rgba(255, 255, 255, 0.16);
  color: #e7f3f6;
}

.hours-table-on-navy th { color: #fff; }
.hours-table-on-navy .closed { color: #f3c6c6; }

.section-navy .eyebrow { color: #9ee4e8; }
.section-navy .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.section-navy .btn-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.map-frame {
  display: block;
  width: 100%;
  min-height: 320px;
  height: 360px;
  border: 0;
  border-radius: var(--radius);
  background: var(--cream);
  margin-top: 0.8rem;
}


/* Booking + staff */

.copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem 1rem;
}

.office-login {
  color: #7e96a0 !important;
  font-size: 0.8rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.office-login:hover {
  color: #c5d5db !important;
}

.book-layout {
  display: grid;
  gap: 2rem;
}

.book-stepper {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0 0 1.4rem;
}

.book-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.book-step-num {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 0.95rem;
  background: var(--white);
}

.book-step.is-current {
  color: var(--navy-ink);
}

.book-step.is-current .book-step-num {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.book-step.is-done .book-step-num {
  background: var(--cyan);
  color: #04383a;
  border-color: var(--cyan);
}

.book-panel h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.book-help,
.book-picked {
  color: var(--muted);
  margin: 0 0 1rem;
}

.book-picked strong {
  color: var(--navy-ink);
}

.book-error {
  background: #fdecec;
  border: 1px solid #efc2c2;
  color: #7a2e2e;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin: 0 0 1rem;
}

.choice-grid {
  display: grid;
  gap: 0.75rem;
}

.choice-card {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  cursor: pointer;
  font: inherit;
  color: var(--navy-ink);
  display: grid;
  gap: 0.2rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.choice-card:hover:not(:disabled) {
  border-color: var(--navy);
  transform: translateY(-1px);
}

.choice-card.is-selected {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
  background: #eef6fa;
}

.choice-card strong {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.choice-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.date-card {
  justify-items: start;
}

.date-dow {
  color: var(--cyan) !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem !important;
}

.date-num {
  font-family: var(--display);
  font-size: 1.45rem !important;
  color: var(--navy-ink) !important;
  font-weight: 700;
}

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

.time-card {
  text-align: center;
  justify-items: center;
  font-weight: 700;
}

.time-card:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.time-note {
  font-weight: 600;
  font-size: 0.75rem !important;
}

.book-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.book-form {
  max-width: 34rem;
}

.patient-type {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.patient-type legend {
  font-weight: 600;
  color: var(--navy-ink);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.radio-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

.radio-chip.is-selected {
  border-color: var(--navy);
  background: #eef6fa;
}

.radio-chip input {
  width: auto;
  accent-color: var(--navy);
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.book-summary {
  margin: 0 0 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.book-summary div {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.book-summary dt {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.book-summary dd {
  margin: 0;
  color: var(--navy-ink);
  font-weight: 600;
}

.book-thanks:focus {
  outline: none;
}

.text-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.text-link:hover {
  color: var(--cyan);
}

.staff-public-nav {
  display: flex !important;
  position: static !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.staff-gate {
  max-width: 28rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}

.staff-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.3rem;
}

.count-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.count-card strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: var(--navy);
}

.count-card span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.staff-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.staff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.staff-table th,
.staff-table td {
  text-align: left;
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.staff-table th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f6f1e8;
}

.staff-table tr:last-child td {
  border-bottom: 0;
}

.staff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.btn-small {
  min-height: 2.2rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  border-radius: 999px;
}

.status-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill.status-new {
  background: #d9f4f5;
  color: #0a5c60;
}

.status-pill.status-confirmed {
  background: #d8f7ec;
  color: #0a5c40;
}

.status-pill.status-done {
  background: var(--sage-soft);
  color: #355334;
}

.status-pill.status-cancelled {
  background: #f3e2e2;
  color: #7a2e2e;
}

.staff-fineprint {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.staff-body .site-footer {
  padding-bottom: 2.6rem;
}

@media (max-width: 759px) {
  .staff-table thead {
    display: none;
  }

  .staff-table,
  .staff-table tbody,
  .staff-table tr,
  .staff-table td {
    display: block;
    width: 100%;
  }

  .staff-table tr {
    padding: 0.9rem 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .staff-table td {
    border: 0;
    padding: 0.2rem 0;
  }

  .staff-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 0.12rem;
  }

  .staff-table .staff-actions::before {
    margin-bottom: 0.35rem;
  }
}

@media (min-width: 760px) {
  .book-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
    gap: 2.6rem;
    align-items: start;
  }

  .service-grid,
  .date-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .nav-links a {
    padding: 0.45rem 0.55rem;
  }
}

@media (min-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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