/* Klinik Pergigian Arasu — Tiffany Blue / White / Gold theme */

:root {
  /* Brand palette */
  --tiffany: #0abab5;
  --tiffany-dark: #078f8b;
  --tiffany-light: #e8f8f7;
  --bg: #ffffff;
  --bg-secondary: #f7fafa;
  --gold: #c9a44c;
  --gold-soft: #e8d9a8;
  --charcoal: #1f2933;
  --muted: #667085;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow-soft: 0 8px 24px rgba(31, 41, 51, 0.06);

  /* Semantic aliases used across components */
  --primary: var(--tiffany);
  --primary-hover: var(--tiffany-dark);
  --primary-light: var(--tiffany-light);
  --cream: var(--bg);
  --cream-deep: var(--bg-secondary);
  --brown: var(--charcoal);
  --brown-soft: var(--muted);
  --orange: var(--tiffany);
  --orange-hover: var(--tiffany-dark);

  --font-display: "Nunito", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --fs-section: clamp(1.65rem, 2.8vw, 2.1rem);
  --fs-card: 1.125rem;
  --fs-lead: 1.05rem;
  --fs-copy: 0.95rem;
  --lh-copy: 1.5;

  /* Fluid layout: full-width sections with proportional edge padding */
  --page-pad: clamp(1rem, 4.5vw, 4.5rem);
  --text-measure: 40rem;
  --header-h: 72px;
  --control-h: 44px;
  --radius: 12px;
  --radius-sm: 8px;
  --space-section: clamp(2.75rem, 5vw, 4.25rem);
  --space-tight: 1.25rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown);
  margin: 0 0 0.65rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: none;
  padding-inline: max(var(--page-pad), var(--safe-left))
    max(var(--page-pad), var(--safe-right));
  margin-inline: auto;
}

.section {
  padding: var(--space-section) 0;
  width: 100%;
}

.section-header {
  max-width: var(--text-measure);
  margin-bottom: 1.75rem;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header h2 {
  font-size: var(--fs-section);
}

.section-header p {
  font-size: var(--fs-lead);
  line-height: var(--lh-copy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--white);
}

.btn-primary:active {
  background: #067a76;
  border-color: #067a76;
}

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

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--tiffany-dark);
  border-color: var(--white);
}

.btn-ghost:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* Media frames (real images) */
.media-frame {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tiffany-light);
  margin: 0;
}

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

.media-frame--portrait {
  aspect-ratio: 3 / 4;
}

.media-frame--portrait img {
  object-position: center 20%;
}

.media-frame--team {
  aspect-ratio: 3 / 2;
  min-height: 0;
}

.media-frame--team img {
  object-fit: cover;
  object-position: center top;
}

.media-frame--exterior {
  aspect-ratio: 16 / 9;
  margin-top: 1.25rem;
}

.media-frame--exterior img {
  object-position: center 40%;
}

/* Legacy placeholder styles (unused slots) */
.media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 2px dashed rgba(10, 186, 181, 0.28);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(10, 186, 181, 0.04),
      rgba(10, 186, 181, 0.04) 8px,
      transparent 8px,
      transparent 16px
    ),
    var(--tiffany-light);
  color: var(--tiffany-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 1rem 1.25rem;
  text-transform: uppercase;
  line-height: 1.4;
}

.media-placeholder--portrait {
  aspect-ratio: 4 / 5;
}

.media-placeholder--team {
  aspect-ratio: 21 / 9;
  min-height: 220px;
}

.media-placeholder--exterior {
  aspect-ratio: 16 / 9;
  margin-top: 1.25rem;
  min-height: 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: calc(var(--header-h) + var(--safe-top));
  display: flex;
  align-items: center;
  padding-top: var(--safe-top);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding-inline: max(var(--page-pad), var(--safe-left))
    max(var(--page-pad), var(--safe-right));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 1;
  min-width: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 164, 76, 0.25), transparent 55%),
    var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.68rem;
  color: var(--tiffany-dark);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--brown);
  line-height: 1.15;
}

.logo-text span {
  display: block;
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: stretch;
  height: var(--control-h);
  border: 2px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
  box-sizing: border-box;
}

.lang-toggle button {
  border: 0;
  background: transparent;
  padding: 0 0.85rem;
  min-width: 2.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-toggle button.is-active {
  background: var(--primary);
  color: var(--white);
}

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

.site-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--charcoal);
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
  color: var(--primary);
}

.header-book {
  white-space: nowrap;
  height: var(--control-h);
  min-height: var(--control-h);
  padding-top: 0;
  padding-bottom: 0;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.nav-book-mobile {
  display: none;
  margin-top: 1rem;
  text-align: center;
}

.nav-toggle {
  display: none;
  width: var(--control-h);
  height: var(--control-h);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== Hero (designed banner artwork) ========== */
.hero {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  line-height: 0;
}

.hero-banner {
  width: 100%;
}

.hero-banner picture,
.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* ========== Promise band ========== */
.promise {
  background: var(--tiffany-light);
  padding: clamp(2rem, 4.5vw, 3.25rem) 0;
  text-align: center;
}

.promise-inner {
  max-width: var(--text-measure);
  margin-inline: auto;
}

.promise h1 {
  font-size: var(--fs-section);
  margin-bottom: 0.55rem;
}

.promise p {
  font-size: var(--fs-lead);
  line-height: var(--lh-copy);
  margin-bottom: 1.25rem;
}

/* ========== Services ========== */
.services {
  background: var(--bg-secondary);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.4vw, 1.25rem);
}

.service-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #1f2933;
}

.service-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(17, 24, 32, 0.88) 0%, rgba(17, 24, 32, 0.42) 46%, rgba(17, 24, 32, 0.18) 100%);
  pointer-events: none;
}

.service-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.15rem 1.15rem 1.05rem;
}

.service-tile h3 {
  color: #fff;
  font-size: var(--fs-card);
  margin-bottom: 0.3rem;
}

.service-tile p {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-copy);
  line-height: var(--lh-copy);
  margin: 0;
}

.service-dots {
  display: none;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.service-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 186, 181, 0.28);
  cursor: pointer;
}

.service-dot[aria-current="true"] {
  width: 1.35rem;
  background: var(--primary);
}

.services-cta {
  margin-top: 1.75rem;
  text-align: center;
}

.services-cta a {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  border-bottom: 1px solid transparent;
}

.services-cta a:hover {
  border-bottom-color: var(--primary);
}

/* ========== About ========== */
.about {
  padding: 0;
}

.about-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(22rem, 46vw, 34rem);
  overflow: hidden;
  background: #111820;
}

.about-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}

.about-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 18, 24, 0.9) 0%,
    rgba(12, 18, 24, 0.72) 28%,
    rgba(12, 18, 24, 0.28) 58%,
    rgba(12, 18, 24, 0.08) 100%
  );
}

.about-banner .container {
  position: relative;
  z-index: 1;
}

.about-copy {
  max-width: 34rem;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

.about-copy h2 {
  color: #fff;
  font-size: var(--fs-section);
  margin-bottom: 0.65rem;
}

.about-copy p {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-lead);
  line-height: var(--lh-copy);
  margin: 0;
}

/* ========== Why Arasu ========== */
.why-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 72rem);
  margin-inline: auto;
}

.why-item {
  padding: 0.35rem 1.15rem 0.15rem;
  text-align: center;
}

.why-item + .why-item {
  border-left: 1px solid var(--border);
}

.why-item h3 {
  font-size: var(--fs-card);
  margin-bottom: 0.35rem;
}

.why-item p {
  font-size: var(--fs-copy);
  line-height: var(--lh-copy);
  margin: 0;
}

/* ========== Doctors ========== */
.doctors {
  background: var(--bg-secondary);
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.75rem);
  width: min(100%, 72rem);
  margin-inline: auto;
}

.doctor-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.doctor-tile .media-frame {
  border-radius: 0;
}

.doctor-info {
  padding: 1.1rem 1.2rem 1.35rem;
  text-align: center;
}

.doctor-info h3 {
  font-size: var(--fs-card);
  margin-bottom: 0.25rem;
}

.doctor-info p {
  font-size: var(--fs-copy);
  line-height: var(--lh-copy);
  margin: 0;
}

/* ========== Google reviews ========== */
.reviews {
  background: var(--bg-secondary);
}

.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 1.75rem;
}

.reviews-head .section-header {
  margin-bottom: 0;
}

.reviews-eyebrow {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--tiffany-dark);
}

.reviews-summary {
  flex-shrink: 0;
  text-align: right;
}

.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--charcoal);
}

.reviews-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.reviews-platform,
.reviews-total,
.reviews-based {
  margin: 0;
  font-size: var(--fs-copy);
  line-height: 1.4;
}

.reviews-platform {
  color: var(--charcoal);
  font-weight: 600;
}

.reviews-track {
  --reviews-gap: 1rem;
  --reviews-visible: 3;
  width: 100%;
  min-width: 0;
  display: flex;
  gap: var(--reviews-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc((100% - (var(--reviews-visible) - 1) * var(--reviews-gap)) / var(--reviews-visible));
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.15rem 1.2rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(31, 41, 51, 0.05);
}

.review-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--tiffany-light);
  color: var(--tiffany-dark);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.review-person h3 {
  margin: 0;
  font-size: var(--fs-card);
}

.review-card-stars {
  margin: 0.15rem 0 0;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.review-text {
  margin: 0 0 0.9rem;
  font-size: var(--fs-copy);
  line-height: var(--lh-copy);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-source {
  margin: auto 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.reviews-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--primary);
  border-radius: 999px;
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
}

.reviews-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reviews-nav:hover {
  background: var(--primary);
  color: var(--white);
}

.reviews-nav:focus-visible,
.reviews-dot:focus-visible,
.reviews-track:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.reviews-nav:disabled {
  opacity: 0.35;
  cursor: default;
  background: var(--white);
  color: var(--primary);
}

.reviews-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 186, 181, 0.28);
  cursor: pointer;
}

.reviews-dot[aria-current="true"] {
  width: 1.35rem;
  background: var(--primary);
}

.reviews-all {
  margin: 1.15rem 0 0;
  text-align: center;
}

.reviews-all a {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  border-bottom: 1px solid transparent;
}

.reviews-all a:hover {
  border-bottom-color: var(--primary);
}

.reviews-banner {
  width: 100%;
  line-height: 0;
  background: var(--bg);
}

.reviews-banner picture,
.reviews-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== Clinic gallery ========== */
.proof-eyebrow {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--tiffany-dark);
}

.clinic-stage {
  position: relative;
  width: 100%;
  height: clamp(380px, 32vw, 520px);
  border-radius: 16px;
  overflow: hidden;
  background: #111820;
}

.clinic-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(to top, rgba(17, 24, 32, 0.78) 0%, rgba(17, 24, 32, 0.28) 55%, rgba(17, 24, 32, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.clinic-track {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.clinic-track::-webkit-scrollbar {
  display: none;
}

.clinic-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.clinic-slide--landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clinic-slide--portrait {
  display: grid;
  grid-template-columns: minmax(0, 62%) minmax(0, 38%);
  background: #f7fafa;
}

.clinic-slide-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 1.35rem 1rem;
  box-sizing: border-box;
  background: #f7fafa;
}

.clinic-slide--portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.clinic-stage.is-portrait {
  height: clamp(420px, 34vw, 540px);
  background: #f7fafa;
}

.clinic-stage.is-portrait::after {
  display: none;
}

.clinic-stage.is-portrait .clinic-overlay {
  left: 62%;
  top: 0;
  right: 0;
  bottom: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: clamp(40px, 4vw, 56px);
  background: #f7fafa;
}

.clinic-stage.is-portrait .clinic-kicker {
  display: block;
}

.clinic-stage.is-portrait .clinic-caption,
.clinic-stage.is-portrait .clinic-toolbar {
  width: min(100%, 360px);
}

.clinic-stage.is-portrait .clinic-caption h3,
.clinic-stage.is-portrait .clinic-counter {
  color: var(--charcoal);
}

.clinic-stage.is-portrait .clinic-caption p {
  color: var(--muted);
}

.clinic-stage.is-portrait .clinic-toolbar {
  margin-top: 1.65rem;
  justify-content: space-between;
}

.clinic-stage.is-portrait .clinic-nav {
  position: static;
  border-color: var(--border);
  background: #fff;
}

.clinic-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.4rem 1.2rem;
  pointer-events: none;
}

.clinic-kicker {
  display: none;
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--tiffany-dark);
}

.clinic-toolbar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.clinic-nav-pair {
  display: flex;
  gap: 0.5rem;
}

.clinic-caption {
  max-width: 34rem;
  text-align: left;
}

.clinic-caption h3 {
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: 1.25rem;
}

.clinic-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-copy);
  line-height: var(--lh-copy);
}

.clinic-nav {
  position: static;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--tiffany-dark);
  cursor: pointer;
  pointer-events: auto;
}

.clinic-counter {
  margin: 0;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.clinic-nav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.clinic-nav:hover,
.clinic-nav:focus-visible {
  background: #fff;
  border-color: #fff;
}

.clinic-nav:focus-visible,
.clinic-track:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.clinic-nav:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ========== Location ========== */
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
}

.location-grid > * {
  min-width: 0;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
}

.location-card h3 {
  font-size: var(--fs-card);
  margin-bottom: 0.65rem;
}

.address {
  margin-bottom: 1.15rem;
  color: var(--muted);
  line-height: var(--lh-copy);
  font-size: var(--fs-lead);
}

.hours-block {
  margin-bottom: 1.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.hours-block .label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--tiffany-dark);
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  min-height: 100%;
  min-width: 0;
  max-width: 100%;
}

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

/* ========== Final CTA ========== */
.final-cta {
  padding: 2rem 0 var(--space-section);
}

.final-cta-inner {
  background: linear-gradient(135deg, var(--tiffany-dark) 0%, #056663 100%);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  color: var(--white);
}

.final-cta-inner h2 {
  color: var(--white);
  font-size: var(--fs-section);
  margin: 0 0 0.65rem;
}

.final-cta-inner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: min(36rem, 100%);
  margin: 0 auto 1.5rem;
  font-size: var(--fs-lead);
  line-height: var(--lh-copy);
}

.final-cta-inner .btn {
  margin-bottom: 0;
}

.final-cta-inner .btn-primary {
  background: var(--white);
  color: var(--tiffany-dark);
  border-color: var(--white);
}

.final-cta-inner .btn-primary:hover {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}

.final-cta-inner .btn-primary:focus-visible {
  outline-color: var(--gold-soft);
}

.final-cta-note {
  display: block;
  margin: 1.25rem auto 0 !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-copy);
  line-height: var(--lh-copy);
  color: var(--gold-soft) !important;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 0 1.35rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-bottom: 1.75rem;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.footer-grid h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 0 0 0.7rem;
}

.footer-grid a {
  display: block;
  padding: 0.18rem 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  word-break: break-word;
}

.footer-grid a:hover {
  color: var(--primary);
}

.footer-contact p,
.footer-brand + p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .why-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.25rem;
  }

  .why-item:nth-child(odd) {
    border-right: 0;
  }

  .why-item + .why-item {
    border-left: 0;
  }

  .why-item:nth-child(even) {
    border-left: 1px solid var(--border);
  }

  .why-item:nth-child(n + 3) {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
  }

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

  .reviews-track {
    --reviews-visible: 2;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .location-actions {
    flex-direction: column;
  }

  .location-actions .btn {
    width: 100%;
  }

  .map-frame {
    min-height: 260px;
  }

  .map-frame iframe {
    min-height: 260px;
    width: 100%;
  }

  .doctor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

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

  .footer-col--brand {
    grid-column: 1 / -1;
  }

  .media-frame--exterior,
  .media-placeholder--exterior {
    aspect-ratio: 16 / 9;
    max-height: none;
  }
}

@media (max-width: 780px) {
  .about-banner {
    align-items: flex-end;
    min-height: 28rem;
    background: #111820;
  }

  .about-banner img {
    object-position: center 22%;
  }

  .about-banner::after {
    background: linear-gradient(
      to top,
      rgba(12, 18, 24, 0.92) 0%,
      rgba(12, 18, 24, 0.78) 28%,
      rgba(12, 18, 24, 0.2) 52%,
      rgba(12, 18, 24, 0) 72%
    );
  }

  .about-copy {
    max-width: none;
    padding: 0 0 1.35rem;
  }

  .about-copy h2,
  .about-copy p {
    color: #fff;
  }

  .about-copy p {
    color: rgba(255, 255, 255, 0.92);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: calc(var(--header-h) + var(--safe-top)) 0 auto 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem max(1.25rem, var(--safe-right))
      calc(1.5rem + var(--safe-bottom)) max(1.25rem, var(--safe-left));
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
    box-shadow: var(--shadow-soft);
    max-height: calc(100dvh - var(--header-h) - var(--safe-top));
    overflow-y: auto;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav .nav-book-mobile {
    display: inline-flex;
    border-bottom: 0;
    opacity: 1;
    color: var(--white);
  }

  .site-nav .nav-book-mobile:hover {
    color: var(--white);
    opacity: 1;
  }

  .header-book {
    display: none;
  }

  .doctor-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }

  .header-actions {
    gap: 0.5rem;
    flex-shrink: 0;
  }
}

@media (max-width: 600px) {
  :root {
    --page-pad: 1rem;
    --space-section: 2.25rem;
    --header-h: 64px;
  }

  .why-row {
    grid-template-columns: 1fr;
  }

  .reviews-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    margin-bottom: 1.25rem;
  }

  .reviews-summary {
    text-align: left;
  }

  .reviews-rating {
    justify-content: flex-start;
  }

  .reviews-track {
    --reviews-visible: 1;
  }

  .service-grid {
    display: flex;
    min-width: 0;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .service-grid::-webkit-scrollbar {
    display: none;
  }

  .service-tile {
    flex: 0 0 94%;
    min-width: 0;
    aspect-ratio: 3 / 2;
    scroll-snap-align: start;
  }

  .clinic-stage {
    height: clamp(280px, 65vw, 420px);
  }

  .clinic-stage:not(.is-portrait) .clinic-overlay {
    top: 0;
    align-items: flex-end;
    padding: 0.9rem 1rem 0.85rem;
  }

  .clinic-caption h3 {
    font-size: 1.05rem;
  }

  .clinic-caption p {
    font-size: 0.86rem;
  }

  .clinic-stage:not(.is-portrait) .clinic-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .clinic-stage:not(.is-portrait) .clinic-nav--prev {
    left: 0.55rem;
    right: auto;
  }

  .clinic-stage:not(.is-portrait) .clinic-nav--next {
    right: 0.55rem;
    left: auto;
  }

  .clinic-stage.is-portrait {
    height: auto;
    background: #f7fafa;
  }

  .clinic-stage.is-portrait .clinic-track {
    height: auto;
  }

  .clinic-stage.is-portrait .clinic-slide--landscape {
    height: 0;
    min-height: 0;
    overflow: hidden;
    align-self: flex-start;
  }

  .clinic-slide--portrait {
    display: block;
    height: auto;
    align-self: flex-start;
    background: #f7fafa;
  }

  .clinic-slide--portrait .clinic-slide-media {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    padding: 0;
  }

  .clinic-slide--portrait img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .clinic-stage.is-portrait .clinic-overlay {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 1.25rem 1.15rem 1.35rem;
    background: #f7fafa;
  }

  .clinic-stage.is-portrait .clinic-caption,
  .clinic-stage.is-portrait .clinic-toolbar {
    width: 100%;
    max-width: none;
  }

  .clinic-stage.is-portrait .clinic-toolbar {
    margin-top: 1.15rem;
  }

  .clinic-stage.is-portrait .clinic-nav {
    position: static;
    top: auto;
    transform: none;
  }

  .service-dots {
    display: flex;
  }

  .why-item,
  .why-item:nth-child(even),
  .why-item + .why-item {
    border-left: 0;
  }

  .why-item + .why-item {
    border-top: 1px solid var(--border);
    padding-top: 1.15rem;
  }

  .promise .btn {
    width: 100%;
  }

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

  .footer-col--brand {
    grid-column: 1 / -1;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.15rem;
  }

  .footer-col--social {
    grid-column: 1 / -1;
  }

  .footer-social {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
  }

  .footer-social a {
    display: inline-block;
    padding: 0.25rem 0;
  }

  .footer-grid h4 {
    margin-bottom: 0.55rem;
  }

  .site-footer {
    padding: 1.75rem 0 calc(1.15rem + var(--safe-bottom));
  }

  .footer-bottom {
    text-align: center;
    margin-top: 0.25rem;
  }

  .location-actions .btn,
  .final-cta-inner .btn {
    width: 100%;
  }

  .media-frame--team,
  .media-placeholder--team {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .media-frame--exterior,
  .media-placeholder--exterior {
    max-height: none;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .logo {
    gap: 0.4rem;
  }

  .logo-text {
    min-width: 0;
    font-size: 0.72rem;
  }

  .lang-toggle button {
    min-width: 2.15rem;
    padding-inline: 0.5rem;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
  }

  .section-header {
    margin-bottom: 1.35rem;
  }

  .final-cta-inner {
    padding: 1.75rem 1.25rem;
  }

  .final-cta-inner h2 {
    margin-bottom: 0.75rem;
  }

  .final-cta-inner p {
    margin-bottom: 1.35rem;
  }

  .final-cta-note {
    margin-top: 1.15rem !important;
  }

  .site-footer {
    padding: 2rem 0 calc(1.25rem + var(--safe-bottom));
  }
}

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

  .footer-col--brand,
  .footer-col--social {
    grid-column: auto;
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 430px) {
  .logo-text {
    display: none;
  }

  .logo {
    flex-shrink: 0;
  }
}

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

  .service-grid,
  .reviews-track,
  .clinic-track {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .site-nav,
  .nav-toggle span,
  .site-header {
    transition: none;
  }
}
