/*
Theme Name: Dentoss
Theme URI: http://localhost/dentoss
Author: Dentoss
Description: Dental clinic theme with a transparent navigation bar and a full-viewport video hero.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: dentoss
*/

:root {
  --cyan: #06c4e7;
  --cyan-deep: #0499b8;
  --ink: #122027;
  --muted: #5c6d75;
  --paper: #f4f7f8;
  --line: rgba(18, 32, 39, 0.12);
  --header-offset: 7.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

body.home {
  background: var(--paper);
}

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

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 3rem;
  background: transparent;
  box-shadow: none;
  border: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.admin-bar .site-header {
  top: 32px;
}

body.home .site-header {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

body.home .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: var(--ink);
  text-shadow: none;
  box-shadow: 0 1px 0 rgba(18, 32, 39, 0.06);
}

body.home.nav-open .site-header {
  background: transparent;
  color: #fff;
  text-shadow: none;
}

body:not(.home) .site-header {
  background: var(--paper);
  color: var(--ink);
  text-shadow: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  line-height: 1;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 64px;
  width: auto;
  text-shadow: none;
}

.logo-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.22rem;
  line-height: 1;
}

.logo-word {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.logo-clinic {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 40;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle-box {
  position: relative;
  display: block;
  width: 22px;
  height: 14px;
  margin: 0 auto;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.nav-toggle-box span:nth-child(1) {
  top: 0;
}

.nav-toggle-box span:nth-child(2) {
  top: 6px;
}

.nav-toggle-box span:nth-child(3) {
  bottom: 0;
}

body.nav-open .nav-toggle-box span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-box span:nth-child(3) {
  bottom: 6px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: #061016;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 22, 0.42) 0%, rgba(6, 16, 22, 0.08) 26%, rgba(6, 16, 22, 0.02) 52%, rgba(6, 16, 22, 0.62) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 3rem 4.5rem;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero-copy h1,
.subpage h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
}

.hero-lead,
.lead {
  max-width: 38rem;
  margin: 1.15rem 0 0;
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.65;
}

.hero-btn,
.button {
  display: inline-flex;
  align-items: center;
  margin-top: 1.7rem;
  padding: 0.95rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: transparent;
  color: #fff;
  text-decoration: none;
  text-shadow: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-btn:hover,
.hero-btn:focus-visible {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #062028;
}

.subpage {
  padding: calc(var(--header-offset) + 1.5rem) 3rem 4.5rem;
  max-width: 1040px;
  margin: 0 auto;
}

.subpage h1 {
  color: var(--ink);
  font-size: clamp(3.2rem, 6vw, 5.2rem);
}

.subpage .kicker {
  color: var(--cyan-deep);
}

.lead {
  color: var(--muted);
  font-size: 1.15rem;
}

.prose {
  max-width: 40rem;
  margin-top: 1.5rem;
}

.prose p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #314047;
}

.next-step {
  margin: 2rem 0 0;
}

.next-step a {
  color: var(--cyan-deep);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--cyan);
}

.prices-page {
  background: #f6f5f3;
}

.prices-hero {
  display: flex;
  align-items: flex-end;
  min-height: 42vh;
  margin-top: var(--header-offset);
  background: #1a2428 center 42% / cover no-repeat;
  position: relative;
}

.prices-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 18, 0.08), rgba(10, 16, 18, 0.46));
}

.prices-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 7vw 2.2rem;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.prices-body {
  max-width: 920px;
  margin: 0 auto;
  padding: 3.2rem 1.5rem 5rem;
}

.price-filter {
  display: flex;
  justify-content: center;
}

.price-filter select {
  appearance: none;
  min-width: min(100%, 320px);
  padding: 0.85rem 2.8rem 0.85rem 1.2rem;
  border: 1px solid rgba(18, 32, 39, 0.28);
  border-radius: 14px;
  background:
    #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1.2 7 6.8 13 1.2' fill='none' stroke='%23122027' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E")
    right 1.1rem center / 14px 8px no-repeat;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
}

.price-intro {
  max-width: 36rem;
  margin: 1.35rem auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.6;
}

.price-group {
  margin-top: 1.6rem;
  padding: 1.5rem 1.4rem 1.6rem;
  background: #f6f5f3;
  box-shadow: 0 16px 40px rgba(18, 32, 39, 0.08);
}

.price-group:first-of-type {
  margin-top: 2.4rem;
}

.price-group:nth-of-type(even) {
  background: #ebe9e5;
}

.price-group h2 {
  margin: 0 0 0.4rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(18, 32, 39, 0.14);
  font-size: 1.02rem;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.price-row span:last-child {
  flex: 0 0 auto;
  letter-spacing: 0;
  font-weight: 400;
  white-space: nowrap;
}

.price-footnote {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.55;
}

.price-group[hidden] {
  display: none;
}

.fee-list {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  max-width: 40rem;
}

.fee-list li {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.appt-card {
  position: relative;
  overflow: hidden;
  margin-top: 0.4rem;
  padding: 2.5rem 2.4rem 2.3rem;
  background: #fff;
  border-top: 3px solid var(--cyan);
  box-shadow: 0 24px 60px rgba(18, 32, 39, 0.1);
}

.appt-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -8%;
  width: min(34rem, 78%);
  height: 125%;
  transform: translateY(-50%);
  background: url("assets/tooth.png") center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.appt-card > * {
  position: relative;
  z-index: 1;
}

.appt-card .lead,
.appt-card .form-note,
.appt-card .appt-form {
  max-width: 34rem;
}

.appt-form {
  display: grid;
  gap: 1.15rem;
  max-width: 560px;
  margin-top: 2.2rem;
}

.appt-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.appt-form input,
.appt-form textarea {
  width: 100%;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid rgba(18, 32, 39, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  font-size: 1rem;
}

.appt-form input:focus,
.appt-form textarea:focus {
  outline: none;
  border-bottom-color: var(--cyan-deep);
}

.appt-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.appt-form button {
  justify-self: start;
  margin-top: 0.4rem;
  padding: 0.95rem 1.45rem;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.appt-form button:hover,
.appt-form button:focus-visible {
  background: var(--cyan-deep);
}

.form-note {
  margin: 1.4rem 0 0;
  padding: 0.85rem 0;
  max-width: 36rem;
  border-top: 1px solid var(--line);
}

.form-note.is-success {
  color: #0d6a3e;
}

.form-note.is-error {
  color: #9a3412;
}

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

.site-footer {
  background: #002031;
  color: #c5d4de;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1.15fr 1.15fr;
  gap: 2.4rem 2rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.2rem 3rem 2.2rem;
}

.footer-brand p,
.footer-links,
.footer-meta {
  margin: 0.9rem 0 0;
}

.footer-word {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.footer-word a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #f7fbfc;
  text-decoration: none;
}

.footer-logo img {
  display: block;
  height: 52px;
  width: auto;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: #006874;
  color: #f7fbfc;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.footer-brand p {
  max-width: 28rem;
  line-height: 1.65;
  color: #b7c9d3;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(247, 251, 252, 0.45);
  border-radius: 50%;
  background: transparent;
  color: #f7fbfc;
  text-decoration: none;
  cursor: pointer;
}

.footer-icon:hover,
.footer-icon:focus-visible {
  border-color: #3ad4e6;
  color: #3ad4e6;
}

.footer-icon svg,
.footer-meta svg {
  display: block;
}

.site-footer h2 {
  margin: 0;
  color: #f7fbfc;
  font-family: Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-links a {
  color: #d5e2ea;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #3ad4e6;
}

.footer-treatments {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  color: #d5e2ea;
}

.footer-treatments li + li {
  margin-top: 0.45rem;
}

.emergency-card {
  margin-top: 0.95rem;
  padding: 1.05rem 1.1rem 0.95rem;
  border-radius: 12px;
  background: #12364a;
}

.emergency-kicker {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: #7fd7e4;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.emergency-kicker span {
  color: #3ad4e6;
  font-size: 0.95rem;
  line-height: 1;
}

.emergency-phone {
  display: block;
  margin: 0.35rem 0 0.2rem;
  color: #3ad4e6;
  text-decoration: none;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.emergency-phone:hover,
.emergency-phone:focus-visible {
  color: #8eebf5;
}

.emergency-card p:last-child {
  margin: 0;
  color: #d5e2ea;
  font-size: 0.88rem;
}

.footer-meta {
  padding: 0;
  list-style: none;
}

.footer-meta li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: #d5e2ea;
  line-height: 1.5;
}

.footer-meta li + li {
  margin-top: 0.75rem;
}

.footer-meta svg {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: #9ec4ce;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.95rem 3rem 1.25rem;
  border-top: 1px solid rgba(247, 251, 252, 0.1);
  color: #8ea4b0;
  font-size: 0.78rem;
}

.footer-bar p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal a {
  color: #8ea4b0;
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #f7fbfc;
}

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

@media (max-width: 1100px) {
  .site-header {
    z-index: 40;
    padding: 0.85rem 1.25rem;
  }

  .logo {
    min-width: 0;
  }

  .logo img {
    height: 48px;
  }

  .logo-word {
    font-size: 0.92rem;
    letter-spacing: 0.12em;
  }

  .logo-clinic {
    font-size: 0.55rem;
    letter-spacing: 0.22em;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    z-index: 35;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.35rem;
    padding: 6.25rem 1.5rem 2.5rem;
    overflow-y: auto;
    background: rgba(6, 16, 22, 0.94);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .admin-bar .site-nav {
    top: 32px;
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header,
  body.home.nav-open .site-header {
    background: #061016;
    color: #fff;
    text-shadow: none;
    box-shadow: none;
  }

  .site-nav a {
    color: #fff;
    font-size: clamp(0.95rem, 2.6vw, 1.15rem);
    letter-spacing: 0.14em;
    text-align: center;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a[aria-current="page"] {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
  }
}

@media (max-width: 782px) {
  .admin-bar .site-nav {
    top: 46px;
  }
}

@media (max-width: 1100px) and (max-height: 520px) {
  .site-nav {
    justify-content: flex-start;
    gap: 0.85rem;
    padding-top: 5.25rem;
  }
}

@media (max-width: 860px) {
  .hero-copy,
  .subpage,
  .prices-body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .prices-hero h1 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .appt-card {
    padding: 1.6rem 1.2rem 1.5rem;
  }

  .appt-card::before {
    right: -18%;
    width: 18rem;
    opacity: 0.12;
  }

  .price-row {
    letter-spacing: 0.01em;
  }

  .hero-copy {
    padding-bottom: 3.2rem;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.home-band {
  color: var(--ink);
  padding: 5.75rem 3rem 5.25rem;
  scroll-margin-top: 6.5rem;
}

.home-band .kicker {
  color: var(--cyan-deep);
}

.band-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.band-head h2 {
  max-width: 14ch;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.team {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.team::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -5rem;
  right: -5rem;
  width: 560px;
  height: 760px;
  background: url("assets/tooth-team.png") center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.team .band-inner {
  position: relative;
  z-index: 1;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin: 2.8rem 0 0;
  padding: 0;
  list-style: none;
}

.team-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 18px 44px rgba(18, 32, 39, 0.08);
}

.team-card img,
.team-initials {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.team-card img {
  height: auto;
  object-fit: cover;
  object-position: center 18%;
}

.team-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(6, 196, 231, 0.22), transparent 62%),
    #e7eef1;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.6rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}

.team-meta {
  padding: 1.05rem 1.15rem 1.2rem;
  border-top: 3px solid var(--cyan);
}

.team-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.team-role {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.team-bio {
  margin: 0.75rem 0 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.quotes {
  overflow: hidden;
  background: #eef2f4;
  padding-right: 0;
}

.quotes-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  max-width: none;
  margin: 0;
  padding-left: max(3rem, calc((100vw - 1120px) / 2 + 3rem));
}

.quotes-intro {
  position: relative;
  z-index: 1;
  padding: 0.4rem 0 0.8rem;
}

.quotes-mark {
  display: block;
  margin: 0 0 0.2rem;
  color: rgba(18, 32, 39, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7.5rem;
  font-weight: 700;
  line-height: 0.7;
}

.quotes-intro h2 {
  max-width: 9ch;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 2.4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.quotes-rating {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1rem 0 0;
  color: var(--cyan);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

.quotes-rating-score {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.quotes-controls {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.quotes-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.quotes-btn:hover,
.quotes-btn:focus-visible {
  color: var(--cyan-deep);
}

.quotes-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.quotes-track {
  position: relative;
  flex: 1 1 auto;
  height: 2px;
  overflow: hidden;
  background: rgba(18, 32, 39, 0.16);
}

.quotes-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 34%;
  background: var(--ink);
  transition: left 0.25s ease;
}

.quotes-intro .quote-more {
  margin: 1.35rem 0 0;
}

.quote-more a {
  color: var(--cyan-deep);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.quote-more a:hover,
.quote-more a:focus-visible {
  text-decoration: underline;
}

.quotes-rail {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.6rem 3rem 0.8rem 0.2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.quotes-rail:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.quotes-rail::-webkit-scrollbar {
  display: none;
}

.quote-list {
  display: flex;
  gap: 1.15rem;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-list > li {
  flex: 0 0 auto;
  width: min(320px, 78vw);
  scroll-snap-align: start;
}

.quote-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}

.quote-bubble {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 1.35rem 1.3rem 1.15rem;
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 32, 39, 0.08);
}

.quote-bubble::after {
  content: "";
  position: absolute;
  left: 1.55rem;
  bottom: -0.55rem;
  width: 1.1rem;
  height: 1.1rem;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 4px 4px 10px rgba(18, 32, 39, 0.05);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.quote-bubble > p:not(.quote-stars) {
  margin: 0;
  color: #4d5b63;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
}

.quote-stars {
  margin: auto 0 0;
  padding-top: 1rem;
  color: var(--cyan);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.quote-card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding-left: 0.15rem;
}

.quote-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 30%, rgba(6, 196, 231, 0.28), transparent 55%),
    #d9e3e7;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.quote-person {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.quote-card cite {
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.quote-person span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.treatments {
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(18, 32, 39, 0.1);
}

.treatments::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -8rem;
  width: auto;
  height: 80vh;
  aspect-ratio: 565 / 442;
  transform: translateY(-50%);
  background: url("assets/tooth-team.png") center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.treatments .band-inner {
  position: relative;
  z-index: 1;
}

.treat-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.treat-names li {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid var(--cyan);
  font-size: 0.98rem;
}

.treat-gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-areas:
    "room planning chairside"
    "room suite detail"
    "reception desk desk";
  grid-auto-rows: 230px;
  gap: 0.7rem;
  margin-top: 2.5rem;
}

.treat-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #d7e0e4;
}

.photo-room { grid-area: room; }
.photo-planning { grid-area: planning; }
.photo-chairside { grid-area: chairside; }
.photo-suite { grid-area: suite; }
.photo-detail { grid-area: detail; }
.photo-reception { grid-area: reception; }

.photo-reception img {
  object-position: center 22%;
}
.photo-desk { grid-area: desk; }

.treat-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.treat-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 1.6rem 0.85rem 0.7rem;
  background: linear-gradient(transparent, rgba(6, 16, 22, 0.68));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .footer-grid,
  .footer-bar {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 860px) {
  .home-band {
    padding: 3.6rem 1.25rem 3.2rem;
  }

  .team::before {
    top: -2rem;
    right: -9rem;
    width: 420px;
    height: 560px;
    opacity: 0.1;
  }

  .treatments::before {
    right: -10rem;
    height: 80vh;
    opacity: 0.08;
  }

  .team-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .quotes {
    padding-left: 0;
  }

  .quotes-layout {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding-left: 1.25rem;
  }

  .quotes-intro h2 {
    max-width: 14ch;
  }

  .quotes-mark {
    font-size: 5.5rem;
  }

  .quotes-rail {
    padding-right: 1.25rem;
  }

  .quote-list > li {
    width: min(300px, 82vw);
  }

  .treat-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "room planning"
      "room chairside"
      "suite detail"
      "reception reception"
      "desk desk";
    grid-auto-rows: 180px;
  }
}

@media (max-width: 560px) {
  .team-list {
    grid-template-columns: 1fr;
  }
}

.from-side {
  opacity: 0;
  transform: translate3d(-3.25rem, 0, 0);
  transition: opacity 0.7s ease, transform 0.75s ease;
}

.from-side.from-right {
  transform: translate3d(3.25rem, 0, 0);
}

.from-side.is-shown {
  opacity: 1;
  transform: none;
}

.team-list .from-side:nth-child(2) {
  transition-delay: 0.12s;
}

.team-list .from-side:nth-child(3) {
  transition-delay: 0.24s;
}

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

  .site-header,
  .site-nav,
  .nav-toggle-box span,
  .hero-btn,
  .from-side {
    transition: none;
  }

  .from-side,
  .from-side.from-right {
    opacity: 1;
    transform: none;
  }
}

html:has(.contact-page) {
  overflow-x: clip;
}

.contact-form-block {
  position: relative;
  background: #fff;
  box-shadow: 0 24px 60px rgba(18, 32, 39, 0.12);
  padding: 2.6rem 2.5rem 2.8rem;
}

.contact-form-block::before {
  content: "";
  position: absolute;
  top: -6rem;
  right: -16rem;
  z-index: 0;
  width: 720px;
  height: 980px;
  background: url("assets/tooth.png") right center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.contact-form-block > * {
  position: relative;
  z-index: 1;
}

.contact-map {
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.contact-map h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.contact-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.contact-facts a {
  color: var(--cyan-deep);
  text-decoration: none;
}

.map-frame {
  height: 450px;
  margin-top: 1.6rem;
  background: #d7e0e4;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 860px) {
  .contact-form-block {
    padding: 1.6rem 1.25rem 1.8rem;
  }

  .contact-form-block::before {
    top: 0;
    right: -12rem;
    width: 460px;
    height: 640px;
    opacity: 0.12;
  }
}

@media (max-width: 700px) {
  .map-frame {
    height: 320px;
  }
}

.about-page {
  background: #f7f6f4;
  color: var(--ink);
}

.about-wrap {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

.about-hero {
  display: flex;
  align-items: flex-end;
  min-height: 72vh;
  margin-top: var(--header-offset);
  background: #122027 center 40% / cover no-repeat;
  position: relative;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 16, 22, 0.72) 0%, rgba(6, 16, 22, 0.28) 68%, rgba(6, 16, 22, 0.18) 100%),
    linear-gradient(180deg, rgba(6, 16, 22, 0.05), rgba(6, 16, 22, 0.35));
}

.about-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  padding: 0 3rem 4.5rem;
  color: #fff;
  text-align: left;
}

.about-hero .kicker {
  color: var(--cyan);
}

.about-hero h1 {
  margin: 0;
  max-width: 15ch;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(3.1rem, 6.4vw, 5.6rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.about-hero p:last-child {
  max-width: 34rem;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1.6;
}

.about-approach,
.about-cases {
  padding: 5.5rem 0 4.5rem;
}

.about-intro h2,
.about-doctor h2,
.about-tricare h2,
.about-steps-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.about-intro h2,
.about-doctor h2,
.about-tricare h2 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.about-intro p,
.about-doctor-copy p {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: #314047;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-right-card {
  max-width: 36rem;
  margin: 1.2rem 0 0 auto;
  padding: 1.25rem 1.35rem 1.35rem;
  background: rgba(6, 196, 231, 0.12);
  text-align: right;
}

.about-right-card p {
  max-width: none;
  margin: 0;
}

.about-right-card p + p {
  margin-top: 1rem;
}

.about-right-card--on-dark {
  background: rgba(6, 196, 231, 0.14);
}

.about-right-card--on-dark p {
  color: rgba(255, 255, 255, 0.86);
}

.about-principles,
.about-timeline,
.about-steps,
.about-focus {
  margin: 2.6rem 0 0;
  padding: 0;
  list-style: none;
}

.about-principles,
.about-steps,
.about-focus {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.about-principles li,
.about-steps li {
  min-height: 100%;
  padding: 1.35rem 1.2rem 1.45rem;
  background: transparent;
  border-top: 3px solid var(--cyan);
  box-shadow: 0 18px 40px rgba(18, 32, 39, 0.06);
}

.about-principles li.from-right,
.about-timeline li.from-right {
  background: rgba(6, 196, 231, 0.12);
}

.about-principles span,
.about-steps span,
.about-timeline span {
  display: block;
  color: var(--cyan-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.about-principles h3,
.about-steps h3,
.about-timeline h3 {
  margin: 0.7rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.about-principles p,
.about-steps p,
.about-timeline p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-quote {
  margin: 2.8rem 0 0;
  padding: 0;
  border: 0;
}

.about-quote p {
  margin: 0;
  max-width: 22ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.about-quote p::before {
  content: "“";
  color: var(--cyan);
}

.about-doctor {
  padding: 1rem 0 5rem;
  background: #fff;
}

.about-doctor-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) 1.2fr;
  gap: 3rem;
  align-items: end;
  padding-top: 4.5rem;
}

.about-portrait {
  margin: 0;
}

.about-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 24px 60px rgba(18, 32, 39, 0.12);
}

.about-role {
  margin-top: 0.7rem !important;
  color: var(--cyan-deep) !important;
  font-size: 0.75rem !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 3.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.about-quote-light {
  margin-top: 2.4rem;
}

.about-tricare {
  padding: 5.5rem 0;
  background: #061016;
  color: #fff;
}

.about-page > .about-tricare:first-child {
  padding-top: calc(var(--header-offset) + 2.5rem);
}

.about-tricare .kicker,
.about-tricare .about-note .kicker {
  color: var(--cyan);
}

.about-tricare h2,
.about-steps-title,
.about-tricare h3 {
  color: #fff;
}

.about-tricare-lead {
  margin: 1.1rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.2rem;
  font-weight: 300;
}

.about-tricare-intro p {
  max-width: 44rem;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.75;
}


.about-honor {
  margin: 2.4rem 0 0;
  max-width: 16ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.about-steps-title {
  margin-top: 3rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.about-steps {
  margin-top: 1.3rem;
}

.about-steps li {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  border-top-color: var(--cyan);
}

.about-steps h3 {
  font-size: 1.25rem;
}

.about-steps p {
  color: rgba(255, 255, 255, 0.72);
}

.about-steps a {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.about-note {
  margin-top: 1.6rem;
  padding: 1.3rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.about-note p:last-child {
  margin: 0.45rem 0 0;
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.78);
}

.about-signoff {
  margin-top: 2.6rem;
  color: rgba(255, 255, 255, 0.78);
}

.about-signoff p {
  margin: 0.35rem 0 0;
  line-height: 1.6;
}

.about-sign-name {
  margin-top: 1.1rem !important;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.about-focus li {
  padding: 1.15rem 1rem;
  background: transparent;
  border-bottom: 2px solid var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.03em;
}

.about-cases-close {
  margin: 2.2rem 0 0;
  max-width: 18ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.about-consent {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.about-cta {
  display: inline-flex;
  margin-top: 1.8rem;
  padding: 0.95rem 1.35rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-cta:hover,
.about-cta:focus-visible {
  background: var(--cyan-deep);
}

@media (max-width: 980px) {
  .about-principles,
  .about-steps,
  .about-timeline,
  .about-focus {
    grid-template-columns: 1fr 1fr;
  }

  .about-doctor-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .about-portrait {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .about-wrap {
    width: min(1120px, calc(100% - 2rem));
  }

  .about-hero {
    min-height: 78vh;
  }

  .about-hero-copy {
    padding: 0 1.5rem 2.2rem;
  }

  .about-approach,
  .about-cases,
  .about-tricare {
    padding: 3.4rem 0;
  }

  .about-principles,
  .about-steps,
  .about-timeline,
  .about-focus {
    grid-template-columns: 1fr;
  }
}
