/* Location detail pages: Figma staging rebuild */

.clinic-location-page {
  background: var(--white);
  overflow-x: hidden;
}

.clinic-location-page .nav {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(41, 67, 98, 0.08);
}

.clinic-location-page .nav__link,
.clinic-location-page .nav__link--has-dropdown {
  color: var(--tvv-blue);
}

.clinic-location-page .nav__toggle span {
  background: var(--tvv-blue);
}

.clinic-location-page main,
.clinic-location-page section {
  overflow-x: clip;
}

.clinic-location-page section {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.clinic-location-page .fade-in {
  opacity: 1;
  transform: none;
}

.clinic-location-page .nav__inner,
.clinic-location-page .home-container {
  max-width: calc(100vw - 2rem);
}

.uv-hero {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: 8.75rem 0 4.25rem;
}

.uv-hero-card {
  background: var(--tvv-blue);
  border-radius: 8px;
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  overflow: hidden;
}

.uv-hero-card,
.uv-hero-card * {
  min-width: 0;
}

.uv-hero-card__media {
  min-height: 520px;
}

.uv-hero-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.uv-hero-card__content {
  align-self: center;
  max-width: 100%;
  padding: clamp(2rem, 4vw, 4rem);
}

.uv-status {
  align-items: center;
  border-radius: var(--radius-pill);
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  gap: 0.45rem;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 1.25rem;
  padding: 0.55rem 0.85rem;
  text-transform: uppercase;
}

.uv-status::before {
  border-radius: 50%;
  content: "";
  height: 0.48rem;
  width: 0.48rem;
}

.uv-status--open {
  background: rgba(19, 157, 102, 0.16);
  color: #80e0b4;
}

.uv-status--open::before {
  background: var(--green);
}

.uv-status--coming {
  background: rgba(213, 231, 255, 0.16);
  color: var(--sky);
}

.uv-status--coming::before {
  background: #ffb0df;
}

.uv-kicker {
  color: var(--sky);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.uv-hero-card h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 4.7vw, 4.4rem);
  line-height: 1.02;
  margin-bottom: 1.15rem;
  max-width: none;
}

.uv-hero-card h1 span {
  display: block;
  white-space: nowrap;
}

.uv-hero-card__lede {
  color: var(--sky);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 39rem;
}

.uv-facts {
  border-bottom: 1px solid rgba(213, 231, 255, 0.22);
  border-top: 1px solid rgba(213, 231, 255, 0.22);
  display: grid;
  gap: 0;
  margin: 0 0 2rem;
}

.uv-facts div {
  border-bottom: 1px solid rgba(213, 231, 255, 0.18);
  display: grid;
  gap: 1rem;
  grid-template-columns: 7.5rem 1fr;
  padding: 1rem 0;
}

.uv-facts div:last-child {
  border-bottom: 0;
}

.uv-facts dt {
  color: var(--sky);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.uv-facts dd {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

.uv-facts a {
  color: inherit;
  text-decoration: none;
}

.uv-hero-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.home-btn--outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.home-btn--outline-light:hover {
  background: var(--white);
  color: var(--tvv-blue);
}

.uv-quote {
  background: var(--pale-green);
  padding: 4.5rem 0;
}

.uv-quote__inner {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

.uv-quote__inner p {
  color: var(--tvv-blue);
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  line-height: 1.08;
}

.uv-quote__inner cite {
  color: var(--tvv-blue);
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  margin-top: 1.5rem;
  text-transform: uppercase;
}

.uv-first-families {
  background: #eff7fc;
}

.uv-first-families .home-section-heading {
  margin-bottom: 1.8rem;
}

.uv-first-families__panel {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 auto;
  max-width: 560px;
}

.uv-first-families__panel p {
  color: var(--tvv-blue);
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.uv-first-families__panel strong {
  font-weight: 800;
}

.uv-first-families__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  position: relative;
  width: min(100%, 460px);
}

.uv-first-families__form input,
.uv-first-families__form button {
  border: 0;
  font-family: var(--font-body);
  min-height: 3.25rem;
}

.uv-first-families__form input {
  background: var(--white);
  border-radius: 0;
  color: var(--tvv-blue);
  font-size: 0.92rem;
  min-width: 0;
  outline: 2px solid transparent;
  outline-offset: -2px;
  padding: 0 1.1rem;
}

.uv-first-families__form input:focus {
  outline-color: rgba(38, 128, 255, 0.45);
}

.uv-first-families__form button {
  background: var(--tvv-blue);
  border-radius: 0 999px 999px 0;
  color: var(--white);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0 1.8rem;
  text-transform: uppercase;
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}

.uv-first-families__form button:hover {
  background: #1f3652;
}

.uv-first-families__panel .uv-first-families__status {
  color: var(--tvv-blue);
  font-size: 0.78rem;
  font-weight: 700;
  grid-column: 1 / -1;
  line-height: 1.35;
  margin: 0.9rem 0 0;
}

.uv-first-families__disclaimer {
  color: var(--tvv-blue);
  font-family: var(--font-body);
  font-size: 0.58rem !important;
  line-height: 1.45;
  margin: 0.2rem auto 0;
  max-width: 380px;
  text-align: center;
}

.uv-first-families__disclaimer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.clinic-location-page.privacy-modal-open {
  overflow: hidden;
}

.privacy-modal[hidden] {
  display: none;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(41, 67, 98, 0.44);
  backdrop-filter: blur(1px);
}

.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
}

.privacy-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: calc(100svh - 3rem);
  overflow-y: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(29, 50, 80, 0.24);
  color: #294362;
  padding: 1.75rem 2rem 1.5rem;
}

.privacy-modal__title {
  margin: 0 0 0.85rem;
  color: #294362;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
}

.privacy-modal__updated {
  margin: 0 0 1rem;
  color: #5a6a7a;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.privacy-modal__content {
  display: grid;
  gap: 0.72rem;
  color: #294362;
  font-size: 0.76rem;
  line-height: 1.55;
}

.privacy-modal__content p,
.privacy-modal__content ul {
  margin: 0;
}

.privacy-modal__content h3 {
  margin: 0.35rem 0 -0.25rem;
  color: #294362;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
}

.privacy-modal__content ul {
  display: grid;
  gap: 0.46rem;
  padding-left: 1.05rem;
}

.privacy-modal__actions {
  position: sticky;
  right: 0;
  bottom: -1.5rem;
  display: flex;
  justify-content: flex-end;
  margin: 1.25rem -2rem 0;
  padding: 1rem 2rem 0.1rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 38%, #fff);
}

.privacy-modal__close {
  min-width: 8.75rem;
  min-height: 2.35rem;
  border: 0;
  border-radius: 999px;
  background: #294362;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.privacy-modal__close:hover {
  background: #1d3250;
}

.uv-first-families__form[data-state="error"] .uv-first-families__status {
  color: #9f2f2f;
}

.uv-team {
  background: var(--white);
}

.uv-team-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uv-team-card {
  background: var(--white);
  border: 1px solid rgba(41, 67, 98, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(41, 67, 98, 0.07);
  overflow: hidden;
}

.uv-team-card img {
  aspect-ratio: 4 / 5;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center 18%;
  width: 100%;
}

.uv-team-card__body {
  padding: 1.35rem;
}

.uv-team-card h3 {
  color: var(--tvv-blue);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 0.35rem;
}

.uv-team-card__role {
  color: var(--electric);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.uv-team-card p:not(.uv-team-card__role) {
  color: var(--ink-muted);
  font-size: 0.84rem;
  line-height: 1.62;
}

.uv-tour {
  background: #f7fafc;
}

.uv-tour__header {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.uv-tour__header .uv-kicker {
  color: var(--electric);
}

.uv-tour__header h2 {
  color: var(--tvv-blue);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.05;
}

.uv-tour__controls {
  display: flex;
  gap: 0.65rem;
}

.uv-tour__button {
  align-items: center;
  background: var(--tvv-blue);
  border: 1px solid var(--tvv-blue);
  border-radius: var(--radius-pill);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  height: 2.6rem;
  justify-content: center;
  transition: background var(--ease), color var(--ease);
  width: 2.6rem;
}

.uv-tour__button:hover {
  background: var(--white);
  color: var(--tvv-blue);
}

.uv-tour__viewport {
  display: grid;
  gap: 1rem;
  grid-auto-columns: calc((100% - 1rem) / 2);
  grid-auto-flow: column;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.uv-tour__viewport::-webkit-scrollbar {
  display: none;
}

.uv-tour-card {
  background: var(--white);
  border: 1px solid rgba(41, 67, 98, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(41, 67, 98, 0.08);
  overflow: hidden;
  scroll-snap-align: start;
}

.uv-tour-card img {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  width: 100%;
}

.uv-tour-card figcaption {
  color: var(--tvv-blue);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 1rem 1.15rem;
}

.uv-services {
  background: var(--white);
}

.uv-services .home-service-grid {
  grid-template-columns: repeat(6, minmax(0, 200px));
  gap: 12px;
}

.uv-services .home-service-card {
  min-height: 200px;
}

.uv-testimonials {
  background: #f7fafc;
}

@media (max-width: 1120px) {
  .uv-hero-card {
    grid-template-columns: 1fr;
  }

  .uv-hero-card__media {
    min-height: 420px;
  }

  .uv-team-grid,
  .uv-services .home-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .uv-services .home-service-card {
    min-height: 136px;
  }
}

@media (max-width: 760px) {
  .uv-hero {
    padding: 6.5rem 0 2.25rem;
  }

  .uv-hero-card__media {
    min-height: 0;
  }

  .uv-hero-card__media img {
    aspect-ratio: 4 / 3;
  }

  .uv-hero-card__content {
    padding: 1.6rem;
  }

  .uv-hero-card__lede {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .uv-facts div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .uv-hero-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .uv-hero-card__actions .home-btn {
    width: 100%;
  }

  .uv-quote {
    padding: 3.25rem 0;
  }

  .uv-first-families__panel {
    gap: 0.9rem;
  }

  .uv-first-families__disclaimer {
    font-size: 0.52rem !important;
  }

  .privacy-modal {
    padding: 0.75rem;
  }

  .privacy-modal__dialog {
    width: min(100%, 21.25rem);
    max-height: calc(100svh - 1.5rem);
    padding: 1.25rem 1.1rem 1rem;
  }

  .privacy-modal__title {
    margin-bottom: 0.65rem;
    font-size: 1rem;
  }

  .privacy-modal__updated {
    margin-bottom: 0.8rem;
    font-size: 0.54rem;
  }

  .privacy-modal__content {
    gap: 0.65rem;
    font-size: 0.58rem;
    line-height: 1.48;
  }

  .privacy-modal__content h3 {
    font-size: 0.66rem;
  }

  .privacy-modal__content ul {
    gap: 0.4rem;
    padding-left: 0.95rem;
  }

  .privacy-modal__actions {
    bottom: -1rem;
    margin: 1rem -1.1rem 0;
    padding: 0.9rem 1.1rem 0;
  }

  .privacy-modal__close {
    width: 100%;
    min-height: 2.25rem;
    font-size: 0.6rem;
  }

  .uv-first-families__form {
    grid-template-columns: 1fr;
  }

  .uv-first-families__form input {
    border-radius: 8px 8px 0 0;
    min-height: 3.1rem;
  }

  .uv-first-families__form button {
    border-radius: 0 0 8px 8px;
    min-height: 3.1rem;
    width: 100%;
  }

  .uv-team-grid,
  .uv-services .home-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .uv-tour__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .uv-tour__viewport {
    grid-auto-columns: 86%;
  }
}
