/* =========================================================
   Studio Dentale — Global Stylesheet
   Single stylesheet used across every page so sections stay
   visually consistent. Organised by: Tokens > Base > Layout >
   Components (Header, Hero, Treatments, Features, CTA, Doctor,
   Contact, Testimonials, Footer) > Utilities > Responsive.
   ========================================================= */

/* ---------- 0. Fonts ---------- */
@font-face {
  font-family: "Proxima Nova";
  src: url("../assets/font/Proxima Nova Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../assets/font/Proxima Nova Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../assets/font/Proxima Nova Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../assets/font/Proxima Nova Extrabold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 1. Design tokens ---------- */
:root {
  /* Colors (from Figma design library) */
  --color-primary: #055495; /* Dark Cerulean - brand blue */
  --color-primary-dark: #001c34; /* used in gradients */
  --color-accent: #00d1f4; /* cyan glow accent used on buttons */
  --color-white: #ffffff;
  --color-bg-light: #f6f8fa; /* Neutral/white/200 */
  --color-grey-100: #e8e8e8;
  --color-grey-200: #f6f8fa;
  --color-grey-300: #bebebe;
  --color-black-100: #505050;
  --color-black-500: #000000;
  --color-shadow-200: #5b5b5b;
  --color-shadow-300: #4a4a4a;
  --color-shadow-700: #1a1a1a;
  --color-blue-50: rgba(5, 84, 149, 0.05);
  --color-blue-200: rgba(5, 84, 149, 0.2);

  --gradient-dark: linear-gradient(
    112deg,
    var(--color-primary) 5%,
    var(--color-primary-dark) 95%
  );
  --gradient-footer: linear-gradient(
    292deg,
    var(--color-primary) 5%,
    var(--color-primary-dark) 95%
  );
  --gradient-accent: linear-gradient(
    112deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );

  /* Typography */
  --font-heading: "Proxima Nova", "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Proxima Nova", "Poppins", "Segoe UI", Arial, sans-serif;
  --font-ui: "DM Sans", "Segoe UI", Arial, sans-serif;

  /* Spacing / layout */
  --container-width: 1296px;
  --container-padding: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --header-topbar-height: 29px;
  --header-nav-height: 92px;
  --header-subnav-height: 38px;
}

/* ---------- 2. Reset & base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-black-100);
  background: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-black-500);
  line-height: 1.35;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1440px) {
  .container {
    padding: 0;
  }
}

section {
  position: relative;
}

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.16px;
  padding: 13px 24px;
  /* Transparent border on every variant (even ones with no visible border,
     like .btn-primary) so a bordered variant like .btn-secondary sitting
     next to it in the same row is never 2px taller. */
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
  color: var(--color-white);
  z-index: 1;
  box-shadow: none !important;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.btn-primary * {
  position: relative;
  z-index: 3;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -130%;
  width: 90%;
  height: 120%;
  background: linear-gradient(
    90deg,
    rgba(0, 209, 244, 0) 0%,
    rgba(0, 209, 244, 0.45) 30%,
    rgba(0, 209, 244, 0.95) 60%,
    rgba(0, 209, 244, 0) 100%
  );
  transform: skewX(-25deg);
  transition: left 1.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
  pointer-events: none;
}
.btn-primary:hover::after {
  left: 140%;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  box-shadow: none !important;
}

@keyframes SDspin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn:disabled,
.btn.is-loading,
button[type="submit"]:disabled {
  opacity: 0.75 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: none !important;
}

.btn.is-loading::after {
  display: none !important;
}

.btn-secondary {
  background: var(--color-white);
  border: 1px solid var(--color-grey-300);
  color: var(--color-shadow-700);
  box-shadow: 0 1px 2px rgba(10, 170, 50, 0.08);
}
.btn-secondary:hover {
  background: var(--color-bg-light);
}

.btn-link {
  font-weight: 600;
  color: var(--color-shadow-700);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-link.on-dark {
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-black-500);
}
.btn-white:hover {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6.05px rgba(0, 0, 0, 0.05);
}

.topbar {
  background: var(--color-primary);
  padding: 10px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--color-white);
}

.topbar-contacts {
  display: flex;
  gap: 24px;
  align-items: center;
}
.topbar-socials {
  display: flex;
  gap: 20px;
  align-items: center;
}
.topbar-socials a {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--color-white);
}
.topbar-socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.topbar-info {
  display: flex;
  gap: 32px;
  align-items: center;
}
.topbar-item {
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.topbar-item img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}
.topbar-item a,
.topbar-item-link,
.topbar-icon-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.navbar {
  background: var(--color-white);
  /* backdrop-filter: blur(6px); */
  padding: 10px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 17.8px rgba(0, 0, 0, 0.08);
}

.navbar-logo img {
  height: 72px;
  width: auto;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 29px;
}

.nav-link {
  font-size: 16px;
  color: var(--color-black-100);
  letter-spacing: -0.16px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover {
  font-weight: 600;
  color: var(--color-black-500);
}
.nav-link .caret {
  width: 24px;
  height: 24px;
}

.navbar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: var(--color-white);
}
.navbar-toggle svg {
  width: 24px;
  height: 24px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-primary);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}
.icon-btn svg {
  width: 22px;
  height: 22px;
}
.icon-btn .close-icon {
  display: none !important;
}
.icon-btn.is-open {
  background: var(--color-white);
  color: var(--color-primary);
}
.icon-btn.is-open .hamburger-icon {
  display: none !important;
}
.icon-btn.is-open .close-icon {
  display: block !important;
}

.mobile-navbar-actions {
  display: none;
}

/* Nav dropdowns / mega menu */
.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  /* border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12); */
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
  z-index: 110;
}

.dropdown-panel.is-open,
.nav-dropdown.is-open > .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (min-width: 992px) {
  .nav-dropdown:hover > .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-dropdown:hover > .nav-link .caret {
    transform: rotate(180deg);
  }
}

.nav-dropdown.is-open > .nav-link .caret {
  transform: rotate(180deg);
}
.nav-link .caret {
  transition: transform 0.3s ease;
}

.dropdown-panel:not(.mega-menu):not(.more-menu) {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  padding: 20px 12px 12px;
  /* gap: 5px; */
}
.dropdown-panel:not(.mega-menu):not(.more-menu) a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--color-black-100);
}
.dropdown-panel:not(.mega-menu):not(.more-menu) a:hover {
  background: var(--color-blue-50);
  color: var(--color-primary);
}

.more-menu {
  right: 0;
  left: auto;
  min-width: 200px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* box-shadow: 0 14px 36px rgba(0,0,0,0.14); */
}
.more-menu a {
  padding: 5px 20px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black-100);
  /* transition: background 0.15s ease, color 0.15s ease; */
}
.more-menu a:hover {
  background: var(--color-blue-50);
  color: var(--color-primary);
  font-weight: 600;
}

.mega-menu {
  /* .navbar has backdrop-filter, which makes it (not the viewport) the
     containing block for position:fixed descendants — so this offset is
     measured from the navbar's own top edge, not the page's. */
  position: fixed;
  top: var(--header-nav-height);
  right: 72px;
  left: auto;
  transform: translateY(4px);
  width: min(1180px, 94vw);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 40px 36px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--color-white);
}

.mega-menu.is-open,
.nav-dropdown.is-open > .mega-menu,
.nav-dropdown:hover > .mega-menu {
  transform: translateY(0);
}

.mega-menu-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mega-menu-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-black-500);
  text-decoration: none;
}
.mega-menu-icon,
.mobile-menu-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.mega-menu-subheading {
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  color: #1f1f1f;
  margin: -4px 0 4px;
}
.mega-menu-col a {
  font-size: 16px;
  color: var(--color-black-100);
  padding: 0;
  transition: color 0.15s ease;
}
.mega-menu-col a:hover {
  color: var(--color-primary);
  font-weight: 600;
}
a.mega-menu-heading {
  font-size: 22px;
  color: var(--color-black-500);
}
a.mega-menu-heading:hover {
  color: var(--color-primary);
}

.mega-menu-cta {
  grid-column: 4 / 5;
  grid-row: 2 / 3;
  background: linear-gradient(180deg, #00d1f4 0%, #055495 100%);
  border-radius: var(--radius-lg);
  padding: 26px 24px 32px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: flex-start;
  justify-content: flex-start;
  max-width: 300px;
  min-height: 225px;
}
.mega-menu-cta h4 {
  color: var(--color-white);
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -1px;
  font-weight: 700;
  margin: 0;
}
.mega-menu-cta p {
  font-size: 16px;
  color: var(--color-white);
  opacity: 0.95;
  margin: 0 0 2px;
  line-height: 1.35;
}
.mega-menu-cta .btn-white {
  align-self: flex-start;
  background: #ffffff;
  color: #0297c8;
  font-weight: 600;
  padding: 8px 20px;
  font-size: 16px;
  border-radius: 25px;
}
.mega-menu-cta .btn-white:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Sticky sub-nav (treatment pills) */
.subnav {
  position: sticky;
  /* Kept in sync with the header's real rendered height by
     initStickyHeaderOffset() in main.js (a fixed/percentage value here
     drifts across breakpoints and ends up hiding the first row under
     the header) — this fallback only applies before JS runs. */
  top: var(--sticky-header-height, 121px);
  z-index: 90;
  background: var(--color-primary);
  padding: 10px 80px;
  display: flex;
  align-items: center;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar {
  display: none;
}
.subnav a {
  flex-shrink: 0;
  color: var(--color-white);
  font-size: 16px;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.subnav a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-white);
  opacity: 0.6;
}
.subnav a:first-child::before {
  display: none;
}

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  display: none;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu-panel {
  background: var(--color-white);
  width: 86%;
  max-width: 380px;
  height: 100%;
  margin-left: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  width: 32px;
  height: 32px;
}

.mobile-menu-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-grey-100);
}
.mobile-menu-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-black-100);
  line-height: 1.4;
}
.mobile-menu-contact-item img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  filter: invert(1);
  opacity: 0.7;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu-links > .nav-link {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-grey-100);
}

.mobile-menu-group {
  border-bottom: 1px solid var(--color-grey-100);
}
.mobile-menu-group summary {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-black-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}
.mobile-menu-group summary::-webkit-details-marker {
  display: none;
}
.mobile-menu-group summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.mobile-menu-group[open] summary::after {
  transform: rotate(-135deg);
}
.mobile-menu-sublinks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 12px 6px;
}
.mobile-menu-sublinks a {
  padding: 4px 0;
  font-size: 14px;
  color: var(--color-black-100);
}

.mobile-menu-subgroup {
  margin-top: 8px;
  border-left: 2px solid var(--color-blue-200);
  padding-left: 10px;
}
.mobile-subheading {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-black-500);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 0;
  list-style: none;
}
.mobile-subheading::-webkit-details-marker {
  display: none;
}
.mobile-subheading::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.mobile-menu-subgroup[open] .mobile-subheading::after {
  transform: rotate(-135deg);
}
.mobile-menu-deep-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 8px;
  margin-top: 4px;
}
.mobile-menu-deep-links a {
  font-size: 13.5px;
  color: var(--color-shadow-200);
  padding: 3px 0;
}
.mobile-menu-deep-links a:hover {
  color: var(--color-primary);
}

.mobile-menu-socials {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}
.mobile-menu-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-socials img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: flex-end;
  padding: 72px;
  background-color: var(--color-bg-light);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    linear-gradient(246deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.48) 99%);
  z-index: 1;
}
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-content {
  max-width: 421px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hero-title {
  color: var(--color-white);
  font-size: 40px;
  letter-spacing: 0.8px;
}
.hero-subtitle {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.18px;
  margin-bottom: 40px;
}
.hero-rating {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-white);
}
.hero-rating-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-rating-score {
  font-size: 24px;
  font-weight: 700;
}
.hero-rating-stars {
  display: flex;
  gap: 4px;
}
.hero-rating-stars svg {
  width: 18px;
  height: 18px;
  fill: #ffb020;
}
.hero-rating-count {
  font-size: 16px;
}

/* ---------- 5b. "Your Smile, Our Expertise" ---------- */
.expertise {
  background: #e9eff6;
  padding: 72px 72px 48px;
}
.expertise-card {
  position: relative;
  max-width: var(--container-width);
  margin: 0 auto;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  border: 6px solid rgb(255, 255, 255);
  overflow: hidden;
  background-image: url("../assets/images/your-smile-bg.jpeg");
  background-size: cover;
  background-position: center;
  padding: 48px;
}
.expertise-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 36, 0.6);
}
.expertise-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: var(--color-white);
}
.expertise-content h2 {
  color: var(--color-white);
  font-size: 48px;
}
.expertise-content p {
  font-size: 18px;
  line-height: 1.35;
  color: var(--color-bg-light);
}
.expertise-badge {
  display: inline-flex;
  align-items: center;
  gap: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 8px 24px 8px 8px;
  background: rgba(255, 255, 255, 0.08);
  max-width: 295px;
}
.expertise-avatars {
  display: flex;
}
.expertise-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-white);
  margin-left: -10px;
}
.expertise-avatars img:first-child {
  margin-left: 0;
}
.expertise-badge p {
  font-size: 14px;
  margin: 0;
  text-align: left;
  color: var(--color-grey-100);
}
.expertise-badge strong {
  color: var(--color-white);
}
.expertise-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- 6. Treatments section ---------- */
.treatments {
  position: relative;
  background: var(--gradient-dark);
  padding: 72px;
  color: var(--color-white);
  overflow: hidden;
}
.treatments::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 16px;
  left: 24px;
  width: 110px;
  height: 130px;
  /* teeth-icon.png's own pixels are ~5% alpha (near-invisible against a
     dark background at any CSS opacity) — teeth-icon-solid.png is the
     same silhouette flattened to full alpha so opacity here actually
     controls visibility. */
  background: url("../assets/images/teeth-icon-solid.png") no-repeat center / contain;
  opacity: 0.04;
  pointer-events: none;
}
.treatments-grid {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.treatments-list-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.treatments-heading h2 {
  color: var(--color-white);
  font-size: 40px;
}
.treatments-heading p {
  color: var(--color-grey-200);
  font-size: 18px;
  margin-top: 10px;
  max-width: 476px;
}

.treatment-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.treatment-tab {
  width: 100%;
  text-align: left;
  padding: 12px 13px;
  border-radius: var(--radius-sm);
  font-size: 18px;
  letter-spacing: -0.5px;
  background: var(--color-grey-100);
  color: var(--color-shadow-200);
  border: 1px solid transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.treatment-tab.is-active {
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 700;
  border-color: var(--color-white);
}

.treatment-detail-col {
  flex: 0 0 772px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.treatment-detail-img {
  width: 100%;
  height: 386px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.treatment-detail-title {
  font-size: 28px;
  letter-spacing: 0.5px;
  color: var(--color-white);
  padding: 20px 0 10px;
}
.treatment-detail-copy {
  font-size: 18px;
  color: var(--color-grey-100);
}
.treatment-detail-actions {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ---------- 7. Feature / "Why choose us" grid ---------- */
.features {
  background: var(--color-blue-50);
  padding: 72px;
  text-align: center;
}
.features h2 {
  font-size: 40px;
  max-width: 600px;
  margin: 0 auto 40px;
}
.features-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.feature-item {
  flex: 1 1 200px;
  max-width: 229px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.feature-item img,
.feature-item svg {
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.feature-item:hover img,
.feature-item:hover svg {
  transform: scale(1.15);
  filter: invert(63%) sepia(77%) saturate(523%) hue-rotate(165deg) brightness(43%) contrast(118%);
}
.feature-item h3 {
  font-size: 20px;
  line-height: 1.25;
}
.feature-item p {
  font-size: 16px;
  color: var(--color-black-100);
  line-height: 1.25;
}

/* For inner pages heading */
.tech-heading, .team-main{
  background-color: var(--color-white);
}
.tech-heading h2{
  max-width: 780px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ---------- 8. CTA banner ---------- */
.cta-banner {
  background: var(--gradient-dark);
  padding: 72px;
  text-align: center;
  color: var(--color-white);
}
.cta-banner h2 {
  color: var(--color-white);
  font-size: 48px;
  margin-bottom: 24px;
}
.cta-banner p {
  color: var(--color-grey-100);
  font-size: 18px;
  margin-bottom: 24px;
}

/* ---------- 8b. Thank-you page ---------- */
.thank-you-section {
  padding: 120px 72px;
  text-align: center;
  background: var(--color-bg-light);
}
.thank-you-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}
.thank-you-icon svg {
  width: 44px;
  height: 44px;
  stroke: var(--color-white);
}
.thank-you-section h1 {
  font-size: 40px;
  margin-bottom: 16px;
}
.thank-you-section p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--color-black-100);
  font-size: 18px;
}

/* ---------- 9. Meet the doctor ---------- */
.doctor {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 72px;
  overflow: hidden;
}
.doctor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0) 80%
  );
}
.doctor-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-index {
  background-image: url("../assets/images/hero-desktop.png");
}
.doctor-nikita {
  background-image: url("../assets/images/dr-nikita-desktop.png");
}
@media (max-width: 768px) {
  .hero-index {
    background-image: url("../assets/images/hero-mobile.png");
  }
  .doctor-nikita {
    background-image: url("../assets/images/dr-nikita-mobile.png");
  }
}
.doctor-content h2 {
  font-size: 40px;
  text-transform: uppercase;
}
.doctor-role {
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 16px;
}
.doctor-bio {
  font-size: 18px;
  color: var(--color-black-100);
}

/* ---------- 10. Contact / visit us section ---------- */
.contact {
  background: var(--gradient-dark);
  padding: 72px;
  color: var(--color-white);
}
.contact-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: stretch;
  flex-wrap: wrap;
}
.contact-info {
  flex: 1 1 400px;
  max-width: 546px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-info h2 {
  color: var(--color-white);
  font-size: 48px;
}
.contact-info > p.lead {
  color: var(--color-grey-100);
  font-size: 16px;
  margin-top: 16px;
}
.contact-detail {
  display: flex;
  gap: 16px;
}
.contact-detail svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail h3 {
  font-size: 18px;
  color: var(--color-white);
}
.contact-detail p {
  font-size: 16px;
  color: var(--color-grey-100);
  margin-top: 6px;
}
.contact-map {
  flex: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-grey-200);
  min-height: 260px;
}
.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-card {
  flex: 1 1 500px;
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--color-black-500);
}
.contact-form-card h3 {
  font-size: 28px;
  color: var(--color-white);
}
.contact-form-card .form-lead {
  color: var(--color-grey-100);
  font-size: 16px;
  margin: 8px 0 16px;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.form-group {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-group label {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--color-grey-100);
}
.form-group input,
.form-group select,
.form-group textarea {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-blue-200);
  border-radius: 10px;
  padding: 15px 16px;
  font-size: 14px;
  color: var(--color-shadow-700);
  font-family: inherit;
  width: 100%;
}
.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error,
.phone-input.field-error {
  border-color: #c0392b;
}
.field-error-msg {
  color: #c0392b;
  font-size: 13px;
  margin: 0;
}
.form-group textarea {
  resize: vertical;
  min-height: 95px;
}
.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* A plain PNG file, not an inline SVG data URI — the data-URI version
     rendered as a broken tiled pattern in testing, twice, while this same
     file-reference technique (see the date/time icons below) has always
     rendered correctly. */
  background-image: url('../assets/images/chevron-select.png');
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 18px 13px;
  padding-right: 48px;
}
.form-group.phone-group {
  display: flex;
}
.phone-prefix {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  padding-right: 10px;
  margin-right: 10px;
  font-weight: 700;
}

.form-group input[type="date"],
.form-group input[type="time"] {
  color-scheme: light;
}

.contact-form-card .btn-primary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* Dark/glass variant of the enquiry form card (homepage) */
.contact-form-card.form-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}
.contact-form-card.form-dark h3 {
  color: var(--color-white);
}
.contact-form-card.form-dark .form-lead {
  color: var(--color-grey-100);
}
.contact-form-card.form-dark .form-group label {
  color: rgba(255, 255, 255, 0.75);
}
.contact-form-card.form-dark .form-group input,
.contact-form-card.form-dark .form-group select,
.contact-form-card.form-dark .form-group textarea {
  /* background-color, NOT the `background` shorthand — the shorthand
     silently resets background-repeat to its default ("repeat"), which
     was tiling the select chevron across the whole box on this dark
     variant specifically (this rule is more specific than the base
     `.form-group select` rule that sets background-repeat: no-repeat,
     so it was winning and re-enabling the tile). */
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-white);
}
.contact-form-card.form-dark .form-group input::placeholder,
.contact-form-card.form-dark .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.contact-form-card.form-dark .form-group select option {
  color: var(--color-black-500);
}
.contact-form-card.form-dark .form-group select {
  background-image: url('../assets/images/chevron-select-white.png');
}

/* Preferred date / time fields on the dark form: color-scheme (not a
   custom PNG overlay) tells the browser to render its own native
   calendar/clock glyph in a light color that reads against this dark
   background — in both Chromium and Firefox, with no risk of a second
   icon appearing (the old PNG-overlay + ::-webkit-calendar-picker-indicator
   approach only hid the native glyph on WebKit, so Firefox showed both). */
.contact-form-card.form-dark .form-group input[type="date"],
.contact-form-card.form-dark .form-group input[type="time"] {
  color-scheme: dark;
}

.phone-input {
  display: flex;
  align-items: center;
  background: var(--color-bg-light);
  border: 1px solid var(--color-blue-200);
  border-radius: 10px;
}
.contact-form-card.form-dark .phone-input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}
.phone-input .phone-prefix {
  padding: 12px;
  margin-right: 0;
}
.contact-form-card.form-dark .phone-input .phone-prefix {
  color: var(--color-white);
}
.phone-input input {
  border: none;
  padding: 15px 12px;
  border-radius: 0px;
}
.phone-input input:focus {
  outline: none;
}

.g-recaptcha {
  margin-bottom: 16px;
}
[data-form-feedback] {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
[data-form-feedback].form-error-msg {
  background: rgba(192, 57, 43, 0.12);
}
[data-form-feedback].form-success-msg {
  background: rgba(26, 127, 55, 0.12);
}

/* ---------- 11. Testimonials / gallery ---------- */
.testimonials {
  background: var(--color-blue-50);
  padding: 96px 72px;
  text-align: center;
}
.testimonials h2 {
  font-size: 48px;
}
.testimonials > p {
  font-size: 18px;
  color: var(--color-shadow-300);
  margin: 16px 0 40px;
}
.testimonials-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.testimonial-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--color-grey-100);
}
.testimonial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition:
    filter 0.35s ease,
    transform 0.35s ease;
}
.testimonial-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}
.testimonial-card .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #000000;
  color: var(--color-white);
  text-decoration: underline;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.testimonial-card:hover .overlay {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

/* ---------- Sticky Floating Message Widget ---------- */
.floating-chat-widget {
  position: fixed;
  bottom: 100px;
  right: 32px;
  z-index: 999;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
  filter: drop-shadow(0 8px 24px rgba(0, 93, 153, 0.45));
}
.floating-chat-widget img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.floating-chat-widget:hover {
  transform: scale(1.08) translateY(-2px);
  filter: drop-shadow(0 12px 28px rgba(0, 93, 153, 0.55));
}
@media (max-width: 860px) {
  .floating-chat-widget {
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
  }
}

/* ---------- 12. Footer ---------- */
.site-footer {
  background: var(--gradient-footer);
  color: var(--color-grey-300);
  padding: 72px 72px 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: var(--container-width);
  margin: 0 auto;
}
.footer-brand {
  max-width: 310px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-brand img {
  width: 88px;
  height: 96px;
  object-fit: contain;
}
/* .footer-logo { filter: brightness(0) invert(1); } */
.footer-socials {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: #132e47;
  padding: 14px 20px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  max-width: 215px;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--color-white);
}
.footer-socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
  flex: 1;
}
.footer-col h4 {
  color: var(--color-white);
  font-size: 16px;
  margin-bottom: 28px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-col a,
.footer-col li {
  font-size: 16px;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 24px auto;
  max-width: var(--container-width);
}
.footer-bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 16px;
}
.footer-bottom a {
  text-decoration: underline;
  font-weight: 700;
  color: var(--color-white);
}

/* ---------- 12b. Page hero (About / Dr. Nikita / Meet Team / Gallery / Blogs / Treatment) ---------- */
.page-hero {
  position: relative;
  min-height: 550px;
  display: flex;
  padding: 0 72px;
  background-image: var(--hero-bg-desktop);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: var(--color-white);
}
/* Separate mobile crop slot — falls back to the desktop image until a
   page sets --hero-bg-mobile to something different. */
@media (max-width: 767px) {
  .page-hero {
    background-image: var(--hero-bg-mobile, var(--hero-bg-desktop));
  }
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.86) 0%,
      rgba(0, 0, 0, 0.01) 54%,
      rgba(0, 0, 0, 0) 75%
    );
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-top: 145px;
  padding-bottom: 32px;
}
.breadcrumb {
  display: flex;
  justify-content: flex-start;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--color-grey-100);
}
/* Pinned to the bottom of the hero regardless of how tall the title/
   subtitle/button block above it is — the 32px gap to the hero's own
   bottom edge comes from .page-hero-inner's padding-bottom. */
.page-hero-inner > .breadcrumb {
  margin-top: auto;
}
.breadcrumb svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}
.breadcrumb .current {
  color: var(--color-white);
  font-weight: 600;
}
.page-hero-title {
  color: var(--color-white);
  font-size: 56px;
  max-width: 600px;
  letter-spacing: -0.56px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
  line-height: 1.15;
}
.page-hero-eyebrow {
  font-size: 18px;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-hero-subtitle {
  font-size: 18px;
  margin-top: 24px;
  max-width: 635px;
}
.page-hero-inner > .btn-primary {
  margin-top: 36px;
  align-self: flex-start;
}
.page-hero-quote {
  position: absolute;
  background: #f9f9ff;
  border: 1px solid var(--color-blue-200);
  border-radius: 16px;
  padding: 24px 19px;
  max-width: 278px;
  font-style: italic;
  font-weight: 700;
  color: var(--color-shadow-700);
  font-size: 16px;
  right: 72px;
  bottom: 76px;
}

/* ---------- 12c. Framed banner (Vision & Mission / bio intro) ---------- */
.framed-banner {
  position: relative;
  background: var(--gradient-dark);
  background-size: cover;
  background-position: center;
  border: 8px solid var(--color-white);
  border-radius: 40px;
  padding: 120px 72px;
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}
.framed-banner[style*="background-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 36, 0.6);
}
.framed-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}
.framed-banner h2 {
  color: var(--color-white);
  font-size: 40px;
  margin-bottom: 24px;
  font-weight: 600;
}
.framed-banner p {
  font-size: 18px;
  color: var(--color-grey-100);
}

/* ---------- 12d. Value / vision-mission cards ---------- */
.value-cards {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.value-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 24px;
  flex: 1 1 400px;
  max-width: 544px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.value-card:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.value-card .icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-card .icon-badge svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--color-white);
}
.value-card .icon-badge img {
  width: 24px;
  height: 24px;
}
.value-card h3 {
  color: var(--color-white);
  font-size: 32px;
}
.value-card p {
  color: var(--color-grey-100);
  font-size: 19px;
  font-style: italic;
  font-weight: 600;
  margin-top: 16px;
}

/* ---------- 12e. Icon feature cards (Why Studio Dentale — white cards on blue) ---------- */
.icon-feature-section {
  padding: 72px;
  text-align: center;
  color: var(--color-white);
  background: var(--gradient-dark);
}
.icon-feature-section h2 {
  color: var(--color-white);
  font-size: 40px;
  font-weight: 600;
}
.icon-feature-section > p {
  color: var(--color-bg-light);
  font-size: 16px;
  margin: 12px auto 32px;
  max-width: 720px;
}
.icon-feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  max-width: var(--container-width);
  margin: 0 auto;
}
.icon-feature-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  padding: 24px;
  flex: 1 1 380px;
  max-width: 410px;
  text-align: left;
  color: var(--color-white);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.icon-feature-card:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}
.icon-feature-card .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #427AA9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-white);
  transition: background-color 0.25s ease;
}
.icon-feature-card:hover .icon-badge {
  background: var(--color-primary);
}
.icon-feature-card .icon-badge svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--color-white);
}
.icon-feature-card .icon-badge img {
  width: 24px;
  height: 24px;
}
.icon-feature-card h3 {
  font-size: 22px;
  color: var(--color-white);
  transition: color 0.25s ease;
}
.icon-feature-card:hover h3 {
  color: var(--color-black-500);
}
.icon-feature-card p {
  font-size: 16px;
  margin-top: 10px;
  color: var(--color-grey-100);
  transition: color 0.25s ease;
}
.icon-feature-card:hover p {
  color: var(--color-black-100);
}

/* Light variant (tech cards on white bg) */
.feature-card-light {
  background: var(--color-bg-light);
  border: 1px solid var(--color-grey-100);
  border-radius: 24px;
  padding: 24px;
  width: 100%;
  text-align: left;
  transition: box-shadow 0.25s ease;
}
.feature-card-light:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}
.feature-card-light .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #DEE8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature-card-light .icon-badge svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--color-primary);
}
.feature-card-light .icon-badge img {
  width: 24px;
  height: 24px;
}
.feature-card-light h3 {
  font-size: 22px;
  color: var(--color-black-500);
  font-weight: 600;
}
.feature-card-light p {
  font-size: 16px;
  margin-top: 10px;
  color: var(--color-black-100);
}
.feature-card-light p.tech-card-tagline {
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 4px;
}
p.mt-8{
  color: var(--color-black-100);
}
/* Larger, hover-highlighted variant (Awards & Merits, Dr. Nikita page) */
.feature-card-light--award {
  padding: 40px 32px;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.feature-card-light--award:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-4px);
}
.feature-card-light--award:hover .award-year,
.feature-card-light--award:hover h3,
.feature-card-light--award:hover p {
  color: var(--color-white);
}
.feature-card-light--award:hover .award-badge {
  background: var(--color-white);
}
/* Icon-left, text-right layout (Aftercare Guide cards) */
.feature-card-light--row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.feature-card-light--row .icon-badge {
  margin-bottom: 0;
  flex-shrink: 0;
  background: var(--color-white);
  transition: background-color 0.25s ease;
}
.feature-card-light--row .icon-badge img {
  width: 24px;
  height: 24px;
  transition: filter 0.25s ease;
}
.feature-card-light--row:hover .icon-badge {
  background: var(--color-primary);
}
.feature-card-light--row:hover .icon-badge img {
  filter: brightness(0) invert(1);
}

.callout-strip {
  background: rgba(5, 84, 149, 0.05);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 14px 14px 0;
  padding: 27px 24px;
  color: var(--color-primary);
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  margin-top: 32px;
}

/* ---------- 12f. Inside-the-clinic gallery strip ---------- */
.gallery-strip-section {
  background: url("../assets/images/faq-bg.png") no-repeat center / cover;
  padding: 72px;
  text-align: center;
}
.gallery-strip-section--left .press-links-row {
  justify-content: flex-start;
}
.gallery-strip-section--white {
  background: var(--color-white);
  padding-bottom: 10px;
}
.gallery-strip {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  max-width: var(--container-width);
  margin: 32px auto 0;
  scrollbar-width: none;
}
.gallery-strip::-webkit-scrollbar {
  display: none;
}
.gallery-strip img {
  width: 302px;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: transform 0.4s ease;
}
.gallery-strip img:hover {
  transform: scale(1.07);
  position: relative;
  z-index: 2;
}
.gallery-nav {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 32px;
}
.gallery-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.91);
  border: 1px solid var(--color-grey-100);
  box-shadow: 0 0 13.8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-nav svg {
  width: 20px;
  height: 20px;
}

/* ---------- 12g. Two-location "visit us" cards ---------- */
.location-card {
  position: relative;
  background: var(--gradient-dark);
  border-radius: 24px;
  padding: 32px;
  color: var(--color-white);
  overflow: hidden;
}
.location-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url("../assets/images/location-bg.png") no-repeat right top / auto
    100%;
  opacity: 0.9;
  pointer-events: none;
}
.location-card h3 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-size: 36px;
}
.location-card h3 .loc-map-icon {
  width: 22px;
  height: 30px;
  object-fit: contain;
}
.location-card p.address {
  position: relative;
  z-index: 1;
  color: var(--color-bg-light);
  font-size: 18px;
  margin: 20px 0;
}
.location-card .loc-contact {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--color-bg-light);
  margin-top: 16px;
}
.location-card .loc-contact img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.location-card .loc-contact a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.location-card .loc-contact a:hover {
  opacity: 0.85;
}
.location-card .btn-directions {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 18px 24px;
  color: var(--color-white);
  font-weight: 600;
}

/* ---------- 12h. Press / media cards ---------- */
.press-card {
  background: var(--color-white);
  border-radius: 24px;
  overflow: hidden;
  width: 416px;
  max-width: 100%;
}
.press-card-media {
  position: relative;
}
.press-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}
.press-card-body {
  padding: 20px;
  text-align: left;
}
.press-card .tag {
  display: inline-block;
  background: var(--color-white);
  border-radius: 30px;
  padding: 7px 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: -0.14px;
  position: absolute;
  top: 16px;
  left: 16px;
}
.press-card h3 {
  font-size: 20px;
  letter-spacing: -0.2px;
}
.press-card p {
  font-size: 16px;
  color: var(--color-shadow-400, #3b3b3b);
  margin-top: 8px;
}
.press-card .read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  margin-top: 16px;
}
.press-card .read-link svg {
  width: 18px;
  height: 18px;
}

/* ---------- 12i. Social follow section ---------- */
.social-follow {
  background: var(--color-bg-light);
  border: 1px solid var(--color-grey-100);
  border-radius: 40px;
  padding: 72px;
  text-align: center;
  max-width: var(--container-width);
  margin: 0 auto;
}
.social-follow h2 {
  font-size: 48px;
  max-width: none;
}
.social-follow p {
  font-size: 18px;
  color: var(--color-black-100);
  max-width: 642px;
  margin: 24px auto;
}
.social-follow-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.social-follow-links a {
  border: 1px solid var(--color-primary);
  border-radius: 12px;
  padding: 13px 24px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--color-primary);
  font-weight: 700;
}
.social-follow-links svg {
  width: 20px;
  height: 20px;
}

/* ---------- 12j. Team member cards ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.team-card:hover {
  border-color: var(--color-primary);
}
.team-card > div:not(.photo) {
  padding: 0 16px 16px;
}
.team-card .photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 302/290;
  background: var(--color-grey-100);
}
.team-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card .photo .socials {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.team-card:hover .photo .socials {
  opacity: 1;
  transform: translateY(0);
}
.team-card .photo .socials img {
  width: 36px;
  height: 36px;
}
.team-card .photo.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-dark);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: 1px;
}
.team-card .role-tag {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  font-weight: 600;
}
.team-card h3 {
  font-size: 20px;
  margin-top: 4px;
}
.team-card p.bio {
  font-size: 14px;
  color: var(--color-black-100);
  margin-top: 8px;
}
.team-section-title {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}
.team-section-title h2 {
  font-size: 40px;
  margin: 0 auto;
  font-weight: 600;
}
.team-section-title p {
  font-size: 18px;
  color: var(--color-black-100);
  margin-top: 12px;
}

/* ---------- 12k. Blog listing ---------- */
.blog-section {
  padding: 96px 72px;
}
.blog-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.blog-filters button {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--color-grey-200);
  font-size: 15px;
  color: var(--color-black-100);
  background: var(--color-white);
}
.blog-filters button.is-active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-grey-100);
  background: var(--color-white);
}
.blog-card .thumb {
  aspect-ratio: 4/3;
  background: var(--color-grey-100);
  overflow: hidden;
}
.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-card .meta {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.blog-card h3 {
  font-size: 20px;
  letter-spacing: -0.2px;
}
.blog-card p {
  font-size: 15px;
  color: var(--color-black-100);
}
.blog-card .read-more {
  margin-top: auto;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
}
.blog-card .read-more svg {
  width: 16px;
  height: 16px;
}
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  padding: 0 16px;
}
.blog-pagination a,
.blog-pagination span {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-grey-200);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-black-500);
  text-decoration: none;
  background: var(--color-white);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.blog-pagination a:hover:not(.is-current):not([aria-disabled="true"]) {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(30, 80, 150, 0.04);
}
.blog-pagination .is-current {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  font-weight: 600;
}
.blog-pagination .is-prevnext {
  width: auto;
  padding: 0 14px;
  border: 1px solid var(--color-grey-200);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}
.blog-pagination .is-prevnext[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.blog-pagination .is-ellipsis {
  border: none;
  width: 24px;
  background: transparent;
  color: var(--color-grey-300);
  font-size: 18px;
  letter-spacing: 2px;
  user-select: none;
}
@media (max-width: 576px) {
  .blog-pagination {
    gap: 6px;
    margin-top: 32px;
    padding: 0 8px;
  }
  .blog-pagination a,
  .blog-pagination span {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    font-size: 13px;
  }
  .blog-pagination .is-prevnext {
    padding: 0 10px;
    font-size: 13px;
    height: 35px;
  }
  .blog-pagination .is-ellipsis {
    width: 16px;
    font-size: 14px;
  }
}
.blog-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-black-100);
}
.blog-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
.breadcrumb--article,
.breadcrumb--article a {
  color: var(--color-black-100);
}
.breadcrumb--article .current {
  color: var(--color-black-500);
}
.breadcrumb--article svg {
  opacity: 0.5;
}

/* Treatment/category page "intro" block (boxed tagline + copy on a white
   card) — shared by cosmetic-dentistry.html and its Laravel twin
   treatment-category.blade.php. */
.intro-card {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 56px 64px;
}
.intro-card h2 {
  font-size: 48px;
  max-width: none;
  margin: 0;
}
.intro-tagline {
  font-style: italic;
  font-weight: 700;
  color: var(--color-black-500);
  margin-top: 12px;
}
.intro-copy {
  margin-top: 16px;
  color: var(--color-black-100);
  font-size: 16px;
  line-height: 1.7;
}
.intro-tagline + .intro-copy {
  margin-top: 20px;
}
.features--left {
  text-align: left;
}
.container-inner {
  max-width: var(--container-width);
  margin: 0 auto;
}
.heading-tight-32 {
  margin: 0 0 32px;
}
.features--left .heading-tight-32 {
  max-width: none;
  margin: 0 0 32px;
}
.section-lead-720-top {
  max-width: 640px;
  margin: 12px auto 0;
}
.section-lead-826 {
  max-width: 826px;
  margin: 12px auto 0;
}
.section-lead-narrow {
  margin: 12px auto 32px;
}
.mt-8 {
  margin-top: 8px;
}
.framed-banner-inner--wide {
  max-width: 920px;
}
.framed-banner-heading--lg {
  font-size: 48px;
}
/* Award badge (icon chip + year + title + issuer) — repeats 3x on
   dr-nikita-agarwal.html */
.award-badge {
  margin: 0 auto 16px;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 0 7.3px rgba(0, 0, 0, 0.08);
}
.award-badge img {
  width: 32px;
  height: 32px;
}
.award-year {
  color: var(--color-primary);
  font-weight: 700;
}
.press-links-row {
  display: flex;
  gap: 24px;
  /* flex-wrap: wrap; */
  justify-content: center;
  max-width: var(--container-width);
  margin: 32px auto 0;
}

/* teeth-whitening.html */
.hero-btn-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.btn-secondary--ghost {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-black-500);
}
.btn-secondary--ghost:hover {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}
.intro-split-row {
  display: flex;
  gap: 48px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  flex-wrap: wrap;
}
.intro-photo-col {
  flex: 1 1 320px;
  position: relative;
}
.intro-photo-col img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 5 / 5;
}
.intro-floating-badge {
  position: absolute;
  right: -80px;
  bottom: 10px;
  background: var(--color-primary);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.intro-floating-badge-title {
  font-weight: 600;
  color: var(--color-white);
  font-size: 14px;
  text-transform: uppercase;
}
.intro-floating-badge-subtitle {
  font-size: 14px;
  color: var(--color-white);
}
.intro-text-col {
  flex: 1 1 420px;
}
.intro-eyebrow {
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 18px;
}
h2.intro-heading-36 {
  font-size: 36px;
  margin: 0;
  margin-top: 20px;
  max-width: 600px;
  font-weight: 600;
}
.features-grid--tight-20 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 32px;
  gap: 20px;
}
.heading-17 {
  font-size: 17px;
}
.text-14 {
  font-size: 14px;
}
.article-body--full {
  max-width: none;
  padding: 0;
}
.article-body--wide {
  max-width: var(--container-width);
}
.page-hero--short {
  min-height: 320px;
}
.page-hero--coming-soon {
  min-height: 420px;
  display: flex;
  align-items: center;
  text-align: center;
}
.page-hero--coming-soon .page-hero-inner {
  text-align: center;
}
.coming-soon-logo {
  height: 56px;
  margin: 0 auto 24px;
}
.coming-soon-subtitle {
  margin: 0 auto;
}
.coming-soon-cta {
  margin-top: 24px;
}
.page-hero-title--xs {
  font-size: 40px;
}
.article-body--tight {
  padding-top: 0;
  padding-bottom: 48px;
}
.enquiry-heading--light {
  color: var(--color-black-500);
}
.enquiry-lead--light {
  color: var(--color-shadow-200);
}
.form-error-msg {
  color: #c0392b;
  margin-bottom: 12px;
  font-size: 14px;
}
.form-success-msg {
  color: #1a7f37;
  margin-bottom: 12px;
  font-size: 14px;
}
.no-border {
  border: none;
}
.social-follow--borderless {
  border: none;
}
/* ---------- 12l. Blog article page ---------- */
.article-hero {
  padding: 32px 72px 0;
  max-width: var(--container-width);
  margin: 0 auto;
}
.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}
.article-date {
  font-size: 15px;
  color: var(--color-black-100);
}
.article-title {
  font-size: 40px;
  letter-spacing: -0.4px;
  max-width: 900px;
}
.article-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 24px;
  margin: 24px 0 40px;
}
.share-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.share-row span {
  font-size: 14px;
  color: var(--color-black-100);
}
.share-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-shadow-700);
}
.share-row svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.article-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 72px 72px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-black-100);
}
.article-body h1,
.article-body h2 {
  font-size: 28px;
  margin: 40px 0 16px;
  color: var(--color-black-500);
}
.article-body h3 {
  font-size: 22px;
  margin: 32px 0 12px;
  color: var(--color-black-500);
}
.article-body h4,
.article-body h5,
.article-body h6 {
  font-size: 18px;
  margin: 24px 0 8px;
  color: var(--color-black-500);
}
.article-body p {
  margin-bottom: 16px;
}
.article-body ul,
.article-body ol {
  margin: 0 0 16px 20px;
  list-style: disc;
}
.article-body ol {
  list-style: decimal;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body a {
  color: var(--color-primary);
  text-decoration: underline;
}
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
}
.article-body strong {
  color: var(--color-black-500);
}
.article-body blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 3px solid var(--color-primary);
  color: var(--color-black-100);
  font-style: italic;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.article-table th,
.article-table td {
  border: 1px solid var(--color-grey-100);
  padding: 12px 16px;
  text-align: left;
}
.article-table th {
  background: var(--color-bg-light);
  font-weight: 600;
}

.article-callout {
  background: rgba(5, 84, 149, 0.05);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-style: italic;
  color: var(--color-primary);
  font-weight: 600;
}

/* FAQ accordion (reusable — also used on treatment template + FAQs page) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.faq-item {
  border: none;
  border-radius: 16px;
  overflow: hidden;
}
.faq-question {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 52px 18px 20px;
  text-align: left;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-black-500);
  background: var(--color-bg-light);
  border-radius: 16px;
}
.faq-question svg {
  display: none;
}
.faq-question::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: url("../assets/images/faq-close.svg") no-repeat center / contain;
}
.faq-item.is-open .faq-question {
  background: var(--color-primary);
  color: var(--color-white);
  padding-bottom: 16px;
  border-radius: 16px 16px 0 0;
}
/* Underline only the question — from where the text starts to where the
   toggle icon ends — instead of running the full width of the card. */
.faq-item.is-open .faq-question::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.faq-item.is-open .faq-question::after {
  background-image: url("../assets/images/faq-open.svg");
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: var(--color-bg-light);
}
.faq-item.is-open .faq-answer {
  max-height: 400px;
  background: var(--color-primary);
  border-radius: 0 0 16px 16px;
}
.faq-answer p {
  padding: 0 20px 20px;
  font-size: 16px;
  color: var(--color-black-100);
  margin: 0;
}
.faq-item.is-open .faq-answer p {
  color: var(--color-grey-100);
  padding-top: 16px;
}

.faq-section {
  padding: 96px 72px;
  text-align: center;
  background: url("../assets/images/faq-bg.png") no-repeat center / cover;
}
.faq-section h2 {
  font-size: 40px;
  font-weight: 600;
  color: var(--color-black-500);
}
.faq-section > p {
  margin: 12px auto 32px;
  max-width: 560px;
  color: var(--color-black-100);
}
.faq-section .faq-list {
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}

.prev-next-nav {
  max-width: 820px;
  margin: 0 auto 56px;
  padding: 0 72px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--color-grey-100);
  padding-top: 32px;
}
.prev-next-nav a {
  max-width: 340px;
  font-size: 15px;
  color: var(--color-black-100);
}
.prev-next-nav a span.label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 4px;
}
.prev-next-nav .next-post {
  text-align: right;
  margin-left: auto;
}

.related-posts {
  background: var(--color-blue-50);
  padding: 72px;
}
.related-posts h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 32px;
}

/* ---------- 12m. Experts photo grid (About page) ---------- */
.experts-section {
  padding: 72px 72px 96px;
  text-align: center;
}
.experts-section h2 {
  font-size: 40px;
}
.experts-section > p {
  max-width: 720px;
  margin: 12px auto 40px;
  color: var(--color-black-100);
  font-size: 16px;
}
.experts-grid {
  display: flex;
  gap: 24px;
  max-width: var(--container-width);
  margin: 0 auto;
  flex-wrap: wrap;
}
.expert-card {
  position: relative;
  flex: 1 1 400px;
  margin-bottom: 40px;
}
.expert-card .expert-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 610/595;
}
.expert-card .expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}
.expert-card:hover .expert-photo img {
    filter: grayscale(0%);
}
.expert-card .caption {
  position: absolute;
  left: 150px;
  right: 24px;
  max-width: 320px;
  bottom: 0;
  transform: translateY(22%);
  background: var(--color-white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: underline;
  color: var(--color-black-500);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.expert-card .caption svg {
  width: 18px;
  height: 18px;
}

/* ---------- 12n. Two-column dark bio section (Dr. Nikita page) ---------- */
.bio-section {
  position: relative;
  background: #0b0b0b url("../assets/images/nikita-bio-photo.png") no-repeat right center;
  background-size: cover;
  padding: 88px 72px;
  color: var(--color-white);
  display: flex;
  overflow: hidden;
}
.bio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.75) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
}
.bio-text-col {
  position: relative;
  z-index: 1;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}
.bio-text-col h2 {
  color: var(--color-white);
  font-size: 40px;
  opacity: 0.95;
}
.bio-text-col p {
  color: var(--color-grey-100);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 20px;
}
.bio-text-col hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
}

/* ---------- 12u. Generic scroll-reveal (fade + slide up into view) ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 12o. Video testimonial cards ---------- */
.video-row-section {
  padding: 72px;
  text-align: center;
}
.video-row-section h2 {
  font-size: 32px;
}
.video-row-section > p {
  color: var(--color-black-100);
  font-size: 16px;
  margin: 12px auto 32px;
}
.video-row {
  display: flex;
  gap: 50px;
  overflow-x: auto;
  max-width: var(--container-width);
  margin: 0 auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.video-row::-webkit-scrollbar {
  display: none;
}
.video-card {
  flex-shrink: 0;
  width: 280px;
  scroll-snap-align: start;
  text-align: left;
  border: 1px solid var(--color-grey-100);
  border-radius: 16px;
  overflow: hidden;
  padding-bottom: 12px;
}
.video-card .thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--color-grey-100);
  border: none;
  padding: 0;
  cursor: pointer;
}
.video-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card .play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card .play-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
  margin-left: 3px;
}
.video-card h3 {
  font-size: 17px;
  margin-top: 12px;
  padding: 0 12px;
}
.video-card .tag {
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ---------- 12p. Before/After grid ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.ba-card, .testimonial-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.ba-card .half, .testimonial-card .half {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.ba-card .half img, .testimonial-card .half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-card .ba-badge, .testimonial-card .ba-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 14px;
  letter-spacing: 0.3px;
  z-index: 2;
  pointer-events: none;
}
/* Same grayscale-to-color hover treatment as the homepage's
   .testimonial-card "See more Transformation" cards. */
.ba-card.has-overlay > img {
  filter: grayscale(100%);
  transition:
    filter 0.35s ease,
    transform 0.35s ease;
}
.ba-card.has-overlay:hover > img {
  filter: grayscale(0%);
  transform: scale(1.03);
}
.ba-card.has-overlay .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #000000;
  color: var(--color-white);
  text-decoration: underline;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.ba-card.has-overlay:hover .overlay {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.ba-card .label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ---------- 12q. Review cards (star rating) ---------- */
.features--white {
  background: var(--color-white);
}
.features--white h2 {
  font-weight: 600;
  margin: 0 auto;
}
.features--pricing h2 {
  max-width: none;
}
.section-heading-row {
  text-align: center;
}
.section-heading-row h2 {
  margin: 0 auto;
  max-width: 480px;
}
.section-heading-row p {
  margin: 12px auto 0;
  max-width: 480px;
}
.review-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.review-card {
  flex: 1 1 380px;
  max-width: 416px;
  border: 1px solid var(--color-grey-100);
  border-radius: 20px;
  padding: 24px;
  text-align: left;
}
.review-card .stars-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.review-card .stars {
  display: flex;
  gap: 3px;
}
.review-card .stars svg {
  width: 16px;
  height: 16px;
  fill: #ffb020;
}
.review-card .tag {
  font-size: 12px;
  text-transform: uppercase;
  background: var(--color-grey-100);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
}
.review-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.review-card p.quote {
  font-size: 15px;
  color: var(--color-black-100);
  font-style: italic;
  margin-bottom: 20px;
}
.review-card .reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--color-grey-100);
  padding-top: 16px;
}
.review-card .reviewer .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-black-500);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.review-card .reviewer h4 {
  font-size: 15px;
}
.review-card .reviewer p {
  font-size: 13px;
  color: var(--color-black-100);
}

/* ---------- 12r. Clinical journey / numbered steps ---------- */
.journey-section {
  background: var(--color-bg-light);
  padding: 72px;
  text-align: center;
}
.journey-section--decorated {
  background: url("../assets/images/faq-bg.png") no-repeat center / cover;
}
.journey-eyebrow {
  font-size: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 500;
}
.journey-section h2 {
  font-size: 40px;
  margin-top: 8px;
  font-weight: 600;
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container-width);
  margin: 40px auto 0;
}
.journey-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.journey-step {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: 20px;
  padding: 15px;
  text-align: left;
}
.journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  width: 24px;
  transform: translateY(-50%);
  border-top: 2px dashed var(--color-grey-300);
}
.journey-step .num {
  font-size: 48px;
  font-weight: 700;
  color: #E9F0F5;
  text-align: right;
}
.journey-step h3 {
  font-size: 24px;
  font-weight: 600;
}
.journey-step p {
  font-size: 16px;
  color: var(--color-black-300);
  margin-top: 8px;
}

/* ---------- 12s. Benefit checklist (gradient panel + photo) ---------- */
.benefit-panel {
  background: var(--gradient-accent);
  border-radius: 40px;
  padding: 64px;
  color: var(--color-white);
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}
.benefit-panel-text {
  flex: 1 1 400px;
  text-align: left;
}
.benefit-panel h2 {
  color: var(--color-white);
  font-size: 48px;
  max-width: none;
  margin: 0;
  text-align: left;
}
.benefit-panel p.lead {
  color: var(--color-bg-light);
  font-size: 18px;
  margin: 16px 0 20px;
}
.benefit-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-white);
  list-style: none;
}
.benefit-checklist .icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #fff;
}
.benefit-checklist svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--color-white);
}
.benefit-panel-photo {
  flex: 1 1 360px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.benefit-panel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 12t. Case study quote block ---------- */
.case-study {
  display: flex;
  border-radius: 24px;
  overflow: hidden;
  max-width: var(--container-width);
  margin: 0 auto;
}
.case-study-photo {
  flex: 1 1 380px;
}
.case-study-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-study-text {
  flex: 1 1 420px;
  background: var(--gradient-accent);
  color: var(--color-white);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  gap: 16px;
}
.case-study-eyebrow {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-bg-light);
}
.case-study-text blockquote {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.35;
}
.case-study-text p {
  font-size: 18px;
  color: var(--color-grey-100);
}

/* ---------- 12u. Pricing table ---------- */
.pricing-list {
  max-width: 780px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 24px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-grey-100);
}
.pricing-row:last-child {
  border-bottom: none;
}
.pricing-row .name {
  font-size: 20px;
  font-weight: 600;
}
.pricing-row .dots {
  display: none;
}
.pricing-row .price {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

/* ---------- 12v. Filter pill row (reused across gallery pages) ---------- */
.filter-pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-pills button {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--color-grey-200);
  font-size: 15px;
  color: var(--color-black-100);
  background: var(--color-white);
}
.filter-pills button.is-active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ---------- 12v-b. Treatment category service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  min-width: 0;
  background: var(--color-blue-50);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(5, 84, 149, 0.12);
}
.service-card h3 {
  font-size: 20px;
}
.service-card p {
  font-size: 15px;
  color: var(--color-black-100);
  flex: 1;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-blue-200);
}
.service-card .btn-secondary {
  text-align: center;
  justify-content: center;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.service-card .btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ---------- 12w. Practice gallery grid ---------- */
.clinic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.clinic-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.clinic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clinic-card .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  color: var(--color-white);
  font-size: 13px;
  padding: 8px 12px;
}

/* ---------- 13. Utilities ---------- */
.text-center {
  text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hidden {
  display: none !important;
}

/* ---------- 13b. Small reusable utilities ----------
   Kept intentionally minimal — only for genuinely generic, repeated
   single-purpose patterns (pulled out of inline styles). Anything
   component-specific belongs in its own named class instead. */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.text-center {
  text-align: center;
}
.heading-md {
  font-size: 40px;
  font-weight: 600;
}
.section-tight-top {
  padding-top: 72px;
}
.features-light {
  padding: 40px 20px;
  padding-bottom: 60px;
}
.features-grid--spaced {
  margin-top: 40px;
}

.mt-12 {
  margin-top: 12px;
}
.features-grid--tight {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 32px;
  gap: 24px;
}
.features-grid--cols-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.features-grid--cols-3 > * {
  flex: 0 1 calc(33.333% - 16px);
  min-width: 260px;
}

.framed-banner-vision {
  background-image: url("../assets/images/vision-mission-bg.jpeg");
}
.framed-banner-vision::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 36, 0.6);
}
.framed-banner--wide {
  padding: 80px 120px;
}
.callout-strip--boxed {
  text-align: left;
  max-width: 870px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero-title--sm {
  font-size: 48px;
  font-weight: 600;
  /* max-width: 450px; */
}
.section-lead-720 {
  text-align: center;
  max-width: 720px;
  margin: 12px auto 32px;
  color: var(--color-black-100);
}
.center-mt-40 {
  text-align: center;
  margin-top: 40px;
}
.video-row-section--tinted {
  background: var(--color-blue-50);
}
.mt-32 {
  margin-top: 32px;
}
.mb-32 {
  margin-bottom: 32px;
}

/* ---------- 14. Responsive ---------- */
@media (max-width: 1024px) {
  .mega-menu {
    grid-template-columns: repeat(2, 1fr);
    width: min(780px, 94vw);
  }
  .mega-menu-cta {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 1100px) {
  .topbar,
  .navbar,
  .subnav,
  .hero,
  .treatments,
  .features,
  .cta-banner,
  .doctor,
  .contact,
  .testimonials,
  .site-footer,
  .page-hero,
  .icon-feature-section,
  .gallery-strip-section,
  .expertise,
  .faq-section {
    padding-left: 32px;
    padding-right: 32px;
  }
  .topbar-socials {
    display: flex;
    gap: 14px;
  }
  .topbar-info {
    gap: 20px;
    min-width: 0;
    flex: 1;
  }
  .topbar-item {
    min-width: 0;
  }
  .topbar-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mega-menu {
    right: 32px;
  }
  .treatments-grid {
    flex-direction: column;
  }
  .treatments-list-col {
    flex-basis: auto;
    width: 100%;
  }
  .treatment-detail-col {
    flex-basis: auto;
    width: 100%;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .framed-banner {
    padding: 56px 32px;
  }
  .contact-grid.two-locations {
    flex-direction: column;
  }
  .bio-text-col {
    max-width: 100%;
  }
  .experts-grid {
    flex-direction: column;
  }
  .expert-card {
    flex-basis: auto;
    min-width: 0;
    width: 100%;
  }
  .ba-grid,
  .journey-grid,
  .clinic-grid,
  .service-grid,
  .features-grid--tight,
  .features-grid--tight-20 {
    grid-template-columns: repeat(2, 1fr);
  }
  .journey-step:nth-child(2n)::after {
    display: none;
  }
  .benefit-panel,
  .case-study {
    flex-direction: column;
  }
  .benefit-panel-photo,
  .case-study-photo,
  .case-study-text {
    flex-basis: auto;
    min-width: 0;
    width: 100%;
  }
  .case-study-photo {
    min-height: 260px;
  }
}

@media (max-width: 860px) {
  .topbar {
    padding: 8px 20px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .topbar-contacts {
    display: flex;
    align-items: center;
  }
  .topbar-socials {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .topbar-socials a {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .topbar-info {
    width: auto;
    gap: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .topbar-item {
    display: inline-flex;
    align-items: center;
  }
  .topbar-item img {
    width: 18px;
    height: 18px;
  }
  .topbar-item-link,
  .topbar-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    min-width: 28px;
    min-height: 28px;
    color: inherit;
  }
  .topbar-item--mail span,
  .topbar-item--phone span,
  .topbar-item--hours {
    display: none !important;
  }
  .subnav {
    gap: 20px;
    padding: 10px 20px;
  }
  .subnav a {
    font-size: 14px;
  }
  .treatments-heading,
  .treatments-heading h2,
  .treatments-heading p {
    text-align: center;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  /* Treatment tabs become a horizontal slider on mobile instead of the
     desktop's full-width stacked list. */
  .treatment-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* This is a flex item inside a column-direction parent; without an
       explicit min-width:0, its 8 nowrap buttons force it (and everything
       above it) to their full unwrapped content width instead of
       scrolling within a properly constrained box — the classic flexbox
       "min-width:auto" overflow bug. */
    min-width: 0;
    width: 100%;
  }
  .treatment-tabs::-webkit-scrollbar {
    display: none;
  }
  .treatment-tab {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 15px;
    padding: 10px 16px;
  }
  /* Keep Book Appointment / View Treatment Details on one left-aligned row;
     let the row scroll horizontally instead of wrapping to a second line. */
  .treatment-detail-actions {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-width: 0;
    width: 100%;
  }
  .treatment-detail-actions::-webkit-scrollbar {
    display: none;
  }
  .treatment-detail-actions .btn {
    flex: 0 0 auto;
    padding: 11px 18px;
    font-size: 14px;
  }
  .navbar-menu {
    display: none;
  }
  .mobile-navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mobile-book-btn {
    padding: 9px 14px;
    font-size: 13.5px;
    border-radius: var(--radius-md);
  }
  .navbar-toggle {
    display: inline-flex;
  }
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .features-grid {
    gap: 32px;
  }
  .contact-grid {
    flex-direction: column;
  }
  /* Same fix as .treatments-list-col above: these have a flex-basis
     baseline (400px / 500px) and no min-width:0, so once the grid
     stacks to a column they refuse to shrink below that baseline and
     force the whole page to overflow horizontally. */
  .contact-info,
  .contact-form-card {
    flex-basis: auto;
    min-width: 0;
    width: 100%;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
  }
  .page-hero-title {
    font-size: 40px;
  }
  .page-hero-quote {
    position: static;
    margin-top: 24px;
    max-width: 100%;
  }
  .value-cards {
    flex-direction: column;
  }
  .icon-feature-card,
  .feature-card-light,
  .press-card {
    width: 100%;
  }
  .expertise-card {
    padding: 32px 20px;
    min-height: 0;
  }
  .expertise-badge {
    flex-direction: row;
    align-items: flex-start;
    border-radius: 20px;
    padding: 16px;
  }
  .expertise-badge p {
    text-align: left;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-hero,
  .article-body,
  .related-posts,
  .prev-next-nav {
    padding-left: 32px;
    padding-right: 32px;
  }
  .article-title {
    font-size: 30px;
  }
}

/* Below this width, "Book Appointment" + "View Treatment Details" no longer
   fit on one line without cramming or hidden horizontal scroll — let them
   wrap onto centered stacked rows instead. */
@media (max-width: 430px) {
  .treatment-detail-actions {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: center;
  }
  .treatment-detail-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .topbar,
  .navbar,
  .subnav,
  .hero,
  .treatments,
  .features,
  .cta-banner,
  .doctor,
  .contact,
  .testimonials,
  .site-footer,
  .page-hero,
  .icon-feature-section,
  .gallery-strip-section,
  .social-follow,
  .expertise,
  .faq-section,
  .journey-section,
  .blog-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero {
    min-height: 480px;
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .hero-title {
    font-size: 30px;
  }
  .treatments-heading h2,
  .features h2,
  .cta-banner h2,
  .doctor-content h2,
  .contact-info h2,
  .testimonials h2,
  .faq-section h2,
  .expertise-content h2,
  .journey-section h2 {
    font-size: 26px;
  }
  .treatments-heading,
  .treatments-heading h2,
  .treatments-heading p {
    text-align: center;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .features,
  .cta-banner {
    padding: 40px 24px;
  }
  .faq-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .treatments::before {
    width: 64px;
    height: 76px;
    top: 12px;
    left: 16px;
  }
  .doctor-content {
    max-width: 300px;
  }
  .testimonials {
    padding: 40px 24px;
  }
  .location-card::after {
    background-size: auto 70%;
    opacity: 0.6;
  }
  .subnav {
    gap: 14px;
  }
  .subnav a {
    font-size: 13px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
    .feature-item {
    flex-basis: 29%;
    max-width: 130px;
  }
  .feature-item img {
    width: 56px;
    height: 56px;
  }
  .feature-item h3 {
    font-size: 16px;
  }
  .intro-card {
    padding: 32px 24px;
  }
  .intro-card h2 {
    font-size: 30px;
  }
  .intro-floating-badge {
    right: 12px;
  }
  .feature-item p {
    font-size: 14px;
  }
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .footer-col ul{
    gap: 12px;
  }
  .page-hero-title {
    font-size: 30px;
  }
  .framed-banner h2,
  .icon-feature-section h2,
  .social-follow h2,
  .team-section-title h2 {
    font-size: 26px;
  }
  .team-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }
  .social-follow {
    padding: 40px 20px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .article-hero,
  .article-body,
  .related-posts,
  .prev-next-nav {
    padding-left: 20px;
    padding-right: 20px;
  }
  .article-cover {
    max-height: 260px;
  }
  .ba-grid,
  .journey-grid,
  .clinic-grid,
  .service-grid,
  .features-grid--tight,
  .features-grid--tight-20 {
    grid-template-columns: 1fr;
  }
  .journey-step::after {
    display: none;
  }
  .review-card {
    flex-basis: 100%;
  }
  .video-card {
    width: 220px;
  }
  .benefit-panel {
    padding: 24px;
  }
  /* Long service names (e.g. "In Office Bleach: Chairside without Laser")
     don't fit next to the price on one nowrap line at this width — stack
     name above price instead of overflowing the page. */
  .pricing-row {
    flex-wrap: wrap;
    row-gap: 2px;
    justify-content: center;
  }
  .pricing-row .name {
    font-size: 15px;
    flex: 1 1 100%;
    white-space: normal;
  }
  .pricing-row .dots {
    display: none;
  }
  .pricing-row .price {
    font-size: 15px;
  }
  .experts-section{
    padding: 36px 36px 48px;
  }
  .expert-card .caption{
    left: 28px;
  }
  .bio-section{
    padding: 20px 40px;
  }
  .case-study-text blockquote{
    font-size: 28px;
  }
}

/* ---------- Reusable video popup (any [data-video-id] trigger) ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.is-open {
  display: flex;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 36, 0.85);
}
.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
}
.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal-close svg {
  width: 18px;
  height: 18px;
}
.video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Medivision Webpack Video Section ---------- */
.webpack-video-section {
  max-width: var(--container-width);
  margin: 40px auto;
  padding: 0 72px;
}
.webpack-video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.webpack-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 1100px) {
  .webpack-video-section {
    padding: 0 32px;
  }
}
@media (max-width: 860px) {
  .webpack-video-section {
    padding: 0 20px;
    margin: 28px auto;
  }
  .webpack-video-container {
    border-radius: 12px;
  }
}

/* ---------- Compact Responsive Video Cards ---------- */
.video-card--compact {
  width: 210px !important;
  max-width: 210px !important;
  flex-shrink: 0;
  border-radius: 14px;
}
.thumb--compact {
  position: relative;
  width: 100%;
  aspect-ratio: 9/14 !important;
  max-height: 320px !important;
  background: #000;
  overflow: hidden;
  border-radius: 10px;
}
.thumb--compact iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card-title {
  padding: 10px 14px 2px !important;
  font-size: 14.5px !important;
  font-weight: 700;
  color: var(--color-black-500, #132e47);
}
.video-card-tag {
  margin: 0 14px 10px !important;
  display: inline-block;
  font-size: 11px !important;
}

/* ---------- Read More Button & Expansion ---------- */
.quote .hidden {
  display: none !important;
}
.read-more-btn {
  background: transparent;
  border: none;
  color: #0297C8;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  padding: 0 0 0 4px;
  margin: 0;
  display: inline-block;
  transition: color 0.2s ease;
}
.read-more-btn:hover {
  color: #055495;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .video-card--compact {
    width: 180px !important;
    max-width: 180px !important;
  }
  .thumb--compact {
    max-height: 270px !important;
  }
}
@media (max-width: 480px) {
  .video-card--compact {
    width: 160px !important;
    max-width: 160px !important;
  }
  .thumb--compact {
    max-height: 240px !important;
  }
}

/* ----------------------------------------------------------------------
   404 ERROR PAGE STYLES
   ---------------------------------------------------------------------- */
.error-404-section {
  padding: 80px 20px;
  background: var(--color-bg-light);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-404-container {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-404-badge {
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.9;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.error-404-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-black-500);
  margin-bottom: 16px;
}

.error-404-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black-100);
  margin-bottom: 32px;
}

.error-404-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.error-404-links {
  border-top: 1px solid var(--color-grey-200);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--color-black-100);
}

.error-404-link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: center;
}

.error-404-link-group a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.error-404-link-group a:hover {
  color: var(--color-primary-dark);
}

@media (max-width: 576px) {
  .error-404-section {
    padding: 60px 16px;
  }
  .error-404-badge {
    font-size: 72px;
  }
  .error-404-title {
    font-size: 22px;
  }
  .error-404-desc {
    font-size: 14px;
  }
}

