  /* ===== RESET & BASE ===== */
  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  :root {
    --primary: #6f4e2b;
    --primary-dark: #593e22;
    --dark: #1e1e1e;
    --card-bg: #6f4e2b14;
    --white: #f8fafc;
    --light-gray: #f5f5f5;
    --border-gray: #d9d9d9;
    --text-muted: #555;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Poltawski Nowy', serif;
    --radius-card: 12px;
    --radius-pill: 120px;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.4;
    overflow-x: hidden;
    background: var(--white);
    font-size: 16px;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
  }

  a:hover {
    opacity: 0.85;
  }

  .error-404-actions a {
    display: flex !important;
  }

  ul {
    list-style: none;
  }

  address {
    font-style: normal;
  }

  /* ===== CONTAINER =====
    Figma is 1920px with 240px side padding = 1440px content.
    We use max-width:1920 + 12.5% padding (= 240px at 1920px) */
  .container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4%, 80px);
    position: relative;
    z-index: 1;
  }


  /* ===== BUTTONS ===== */
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.15;
    letter-spacing: 0.32px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--primary);

    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
  }

  .np-whitening-text .btn-primary {

    white-space: wrap;

  }

  .sp-section .btn-primary {
    max-width: none;
  }

  .btn-width {
    max-width: 275px;
    width: 100%;

  }

  .btn-primary:hover {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    opacity: 1;
  }

  .btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.15;
    letter-spacing: 0.32px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s;
  }

  .btn-white:hover {
    transform: translateY(-1px);
    opacity: 1;
  }

  .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.15;
    letter-spacing: 0.32px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--primary);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
  }

  .form-input::placeholder {
    color: #000000 !important;
  }

  .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    opacity: 1;
  }

  .btn-full {
    width: 100%;
    border-radius: 50px;
  }

  /* ===== TOP BANNER ===== */
  .top-banner {
    background: var(--primary);
    text-align: center;
    padding: 12px 10px;
  }

  .top-banner p {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.02em;
  }

  /* ===== HERO ===== */
  .hero-section {
    position: relative;
    height: auto;
    overflow: hidden;
  }

  /* Full hero height only on home page (when bg image is present) */
  .hero-section:has(.hero-bg) {
    height: 860px;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 147%;
    object-fit: none;
    object-position: center top;
    z-index: 0;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.48) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.32) 3.82%, rgba(0, 0, 0, 0) 26.05%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.32) 2.64%, rgba(0, 0, 0, 0) 21.14%);
    z-index: 1;
  }

  /* Navbar */
  .navbar {
    max-width: 1440px;
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    padding: 0 clamp(12px, 2.5%, 48px);
    transition: top 0.3s;
    margin: auto;
  }


  .navbar.fixed {
    position: fixed;
    top: 0;
    padding: 8px clamp(12px, 2.5%, 48px);
  }

  /* Inner pages: fixed from load, glass look until scroll */
  .navbar.inner-page {
    position: fixed;
    top: 0;
    padding: 8px clamp(12px, 2.5%, 48px);
  }

  .navbar.fixed .nav-container {
    background: var(--primary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
    transition: background 0.3s, box-shadow 0.3s;
  }

  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: var(--radius-card);
    padding: 5px 24px;
    gap: 12px;
    overflow: visible;
  }



  .valley-white-logo img {
    height: 80px;
    width: auto;
    display: block;
    max-width: 168px;
    width: 100%;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: center;
    flex-wrap: nowrap;
    min-width: 0;

  }

  .nav-links li a {
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--white);
    font-size: 14.5px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
  }

  .mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ===== NAV DROPDOWN ===== */
  .has-dropdown {
    position: relative;
  }

  .nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    min-width: 210px;
    padding: 8px 0;
    z-index: 200;
    list-style: none;
  }

  .nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #fff;
  }

  .has-dropdown:hover .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown {
    display: block;
  }

  .nav-dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark) !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
  }

  .nav-dropdown li a:hover {
    background: var(--card-bg);
    color: #fff !important;
    opacity: 1;
  }

  .nav-dropdown li a.active {
    background: var(--primary) !important;
    color: #fff !important;
  }

  /* Flyout submenu (e.g. Patient Forms) */
  .has-flyout {
    position: relative;
  }


  .has-flyout>a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .has-flyout>a svg {
    flex-shrink: 0;

    transform: rotate(90deg);
    transition: transform 0.3s ease, opacity 0.2s ease;
    margin-left: 8px;
  }

  .nav-flyout {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    min-width: 220px;
    padding: 8px 0;
    z-index: 201;
    list-style: none;
    margin-left: 0;
  }

  .has-flyout:hover .nav-flyout,
  .has-flyout:focus-within .nav-flyout {
    display: block;
  }

  .nav-flyout li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark) !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
  }

  .nav-flyout li a:hover {
    background: var(--card-bg);
    color: var(--primary) !important;
  }

  /* Highlight the Patient Forms trigger when flyout is open */
  .nav-dropdown li:hover>a {
    background: var(--primary) !important;
    color: #fff !important;
  }

  .has-flyout:hover>a svg {
    opacity: 1;
    transform: rotate(0deg);
  }

  /* Mobile: dropdown becomes a static list */
  @media (max-width: 1024px) {
    .nav-dropdown {
      display: block;
      position: static;
      transform: none;
      box-shadow: none;
      border-radius: 0;
      background: rgba(255, 255, 255, 0.08);
      min-width: 0;
      padding: 0;
      margin-top: 4px;
    }

    .nav-dropdown::before {
      display: none;
    }

    .nav-dropdown li a {
      color: rgba(255, 255, 255, 0.85) !important;
      padding: 8px 16px 8px 28px;
      font-size: 13px;
    }

    .nav-dropdown li a:hover,
    .nav-dropdown li a.active {
      background: rgba(255, 255, 255, 0.2) !important;
      color: #fff !important;
    }
  }

  /* Hero Content */
  .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 122px clamp(20px, 12.5%, 240px) 56px;
    gap: 40px;
  }

  .hero-text {
    max-width: 708px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
    flex-shrink: 0;
  }

  .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.32px;
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    line-height: 1.15;
  }

  .hero-text h1 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-style: italic;
    font-size: 48px;
    line-height: 1.15;
    color: var(--white);
  }

  .hero-subtitle {
    font-size: 20px;
    line-height: 1.4;
    color: var(--white);
    font-weight: 400;
  }

  .hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-shrink: 0;
  }

  .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--white);
    line-height: 1.4;
  }

  .stat-number {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.52px;
    white-space: nowrap;
  }

  .stat-text {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.36px;
    max-width: 251px;
  }

  .stat-divider {
    width: 2px;
    height: 86px;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
  }

  /* ===== SECTION COMMON ===== */
  .section-header {
    text-align: center;
  }



  .section-header h2,
  .about-us h2,
  .before-after h2,
  .delighted-patients h2,
  .patient-reviews h2,
  .cta-section h2,
  .meet-doctor h2 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-style: italic;
    font-size: 48px;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 24px;
  }

  .section-header p {
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0.36px;
    color: var(--dark);
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-subtitle-small {
    font-size: 22px;
    line-height: 1.3;
    color: var(--dark);
    margin-top: 42px;
    font-weight: 400;
  }

  /* ===== DENTAL SOLUTIONS ===== */
  .dental-solutions {
    padding: 100px 0;
    background: var(--white);
  }

  .dental-solutions .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    align-items: stretch;
  }

  .solutions-grid .solution-card {
    height: 100%;
  }

  .solution-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 21px;
  }

  .solution-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    flex: 1;
  }

  .solution-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.36px;
    line-height: 1.4;
    display: block;
  }

  .solution-info h3 {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.56px;
    line-height: 1.2;
    color: var(--dark);
  }

  .solution-info p {
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.36px;
    color: var(--dark);
    text-align: center;
  }

  .solution-image {
    width: 100%;
    height: 280px;
    border-radius: var(--radius-card);
    overflow: hidden;
    flex-shrink: 0;
  }

  .solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    object-fit: cover;
  }

  .solutions-cta {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  /* ===== ABOUT US ===== */
  .about-us {
    padding: 100px 0;
    background: var(--white);
  }

  .about-us .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-us h2 {
    text-align: center;
    margin-bottom: 60px;
  }

  /* Wrapper that layers video on top of the marquee */
  .about-video-marquee {
    position: relative;
    width: 100%;
  }

  .about-video-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0 clamp(20px, 12.5%, 240px);
    pointer-events: none;
  }

  .about-video-inner .about-video-placeholder {
    pointer-events: auto;
  }

  .about-video-placeholder {
    width: 676px;
    max-width: 100%;
    height: 375px;
    background: #222;
    border-radius: var(--radius-card);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    position: relative;
    z-index: 3;
  }

  .about-video-placeholder iframe,
  .video-placeholder iframe {
    pointer-events: none;
  }

  .about-video-placeholder.playing iframe,
  .video-placeholder.playing iframe {
    pointer-events: auto;
  }

  /* Hide custom button while playing; reveal on hover */
  .about-video-placeholder.playing .about-play-btn,
  .video-placeholder.playing .play-btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }

  .about-video-placeholder.playing:hover .about-play-btn,
  .video-placeholder.playing:hover .play-btn {
    opacity: 1;
    pointer-events: auto;
  }


  .play-btn:hover {
    transform: scale(1.1);
  }

  .video-label {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
  }

  .label-icon {
    display: flex;
    align-items: center;
  }

  .label-highlight {
    background: #1e4fa3;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  /* Services Marquee — centered over the video */
  .services-marquee {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 3;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    z-index: 0;
  }

  .marquee-track {
    display: flex;
    align-items: center;
    gap: 18px;
    animation: marquee 35s linear infinite;
    white-space: nowrap;
    width: max-content;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 10px 0;
  }

  .marquee-track span {
    font-size: 16px;
    color: var(--dark);
    line-height: 1.2;
  }

  .marquee-track .dot {
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
  }

  @keyframes marquee {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }

  /* ===== SMILE EXPERTS ===== */
  .smile-experts {
    padding: 100px 0;
    background: var(--white);
  }

  /* Two-column top row */
  .smile-experts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 60px;
  }

  .smile-experts-left .section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
  }

  .smile-experts-left h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 38px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .smile-experts-left p {
    font-size: 16px;
    line-height: 1.78;
    color: var(--text-muted);
    margin-bottom: 14px;
  }

  /* Feature cards on the right */
  .smile-experts-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .se-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-card);
    padding: 20px 24px;
    transition: box-shadow 0.2s, border-color 0.2s;
  }

  .se-feature-card:hover {
    box-shadow: 0 4px 16px rgba(111, 78, 43, 0.1);
    border-color: var(--primary);
  }

  .se-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(111, 78, 43, 0.1);
  }

  .se-feature-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
  }

  .se-feature-card p {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
  }

  /* New patient offer card */
  .smile-experts-offer {
    
    border-radius: var(--radius-card);
  
    text-align: center;
    position: relative;
  }

  .smile-experts-offer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 5px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
  }

  .smile-experts-offer h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 34px;
    font-weight: 500;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 18px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .smile-experts-offer p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    max-width: 840px;
    margin: 0 auto 32px;
  }

  .smile-experts-offer strong {
    color: #fff;
  }

  .smile-experts-offer-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .btn-white {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    border: 2px solid #fff;
    transition: 0.5s;
  }


  .btn-white:hover {
    opacity: 0.9;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
  }

  .btn-outline-dark {
    display: inline-block;
    padding: 14px 28px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    background: transparent;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }

  .btn-outline-dark:hover {
    background: var(--primary);
    color: #fff;
  }

  /* ===== MEET DOCTOR ===== */
  .meet-doctor {
    padding: 100px 0;
    background: var(--card-bg);
  }

  .doctor-grid {
    display: flex;
    gap: 80px;
    align-items: flex-start;
  }

  .doctor-image {
    flex-shrink: 0;
    width: 388px;
  }

  .doctor-img-placeholder {
    width: 388px;
    height: 438px;
    background: #2a2a2a;
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
  }

  .doctor-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .doctor-name-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 6px;
    letter-spacing: 0.2px;
  }

  .doctor-info {
    flex: 1;
  }

  .doctor-info h2 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-style: italic;
    font-size: 48px;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 32px;
  }

  .doctor-bio {
    margin-bottom: 32px;
  }

  .doctor-bio p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 12px;
  }

  /* ===== BEFORE & AFTER ===== */
  .before-after {
    padding: 100px 0;
  }

  .before-after h2 {
    text-align: center;
    margin-bottom: 80px;
  }

  /* ===== SECTION SLIDER (Before/After + Delighted Patients) ===== */
  .section-slider {
    position: relative;
  }

  .section-slider-inner {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .section-slider-overflow {
    flex: 1;
    overflow: hidden;
  }

  .section-slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    gap: 23px;
  }

  .ba-slider .section-slider-track {
    gap: 24px;
  }

  .dp-slider .section-slider-track {
    gap: 32px;
  }

  /* Arrow buttons */
  .slider-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .slider-arrow:hover {
    background: var(--primary);
    color: var(--white);
  }

  .slider-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
  }

  /* Dots */
  .slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    min-height: 20px;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--border-gray);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, width 0.25s;
  }

  .slider-dot.active {
    background: var(--primary);
    width: 24px;
  }

  .ba-card {
    position: relative;
    height: 252px;
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    cursor: ew-resize;
  }

  .ba-before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #cbdbe5;
    z-index: 1;
    clip-path: inset(0 50% 0 0);
  }

  .ba-after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #cbdbe5;
    z-index: 0;
  }

  .ba-before img,
  .ba-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .ba-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--white);
    z-index: 2;
  }

  .ba-slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    z-index: 3;
  }

  /* ===== ADVANCED DENTISTRY ===== */
  .advanced-dentistry {
    padding: 100px 0;
  }

  .advanced-grid {
    display: flex;
    gap: 80px;
    align-items: center;
  }

  .advanced-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .advanced-text h2 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-style: italic;
    font-size: 48px;
    line-height: 1.15;
    color: var(--dark);
  }

  .advanced-desc {
    font-size: 18px;
    line-height: 1.45;
    color: var(--dark);
  }

  .advanced-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 10px 0 14px;
  }

  .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .feature-icon {
    width: 33px;
    height: 32px;
    flex-shrink: 0;
  }

  .feature-item span {
    font-size: 18px;
    line-height: 1.45;
    color: var(--dark);
  }

  .advanced-images {
    flex: 1;
    min-width: 0;
  }

  .advanced-video-wrap {
    position: relative;
    max-width: 100%;
    width: 100%;
    height: 477px;
    border-radius: var(--radius-card);
    overflow: hidden;
  }

  .advanced-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .advanced-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }

  .advanced-play-btn:hover {
    background: var(--primary-dark);
    transform: translate(-50%, -50%) scale(1.08);
  }

  /* ===== DELIGHTED PATIENTS ===== */
  .delighted-patients {
    padding: 100px 0;
  }

  .delighted-patients h2 {
    text-align: center;
    margin-bottom: 80px;
  }

  .patient-videos-grid {
    /* replaced by section-slider */
  }

  .video-card {
    border-radius: var(--radius-card);
    overflow: hidden;
  }

  .video-placeholder {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
    /* 16:9 */
    background: #222;
    border-radius: var(--radius-card);
    overflow: hidden;
  }

  .video-placeholder .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* ===== IMPLANT GUIDE FORM ===== */
  .implant-guide {
    padding: 100px 0;
    background: var(--white);
  }

  .implant-guide .section-header {
    margin-bottom: 48px;
  }

  .implant-guide .section-header h2 {
    font-size: 48px;
    max-width: 870px;
    margin: 0 auto 24px;
  }

  .implant-guide .section-header p {
    font-size: 18px;
  }

  .guide-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 48px 42px;
    max-width: 1120px;
    width: 100%;
    margin: auto;
  }

  .guide-form-wrapper {
    display: flex;
    gap: 48px;
    align-items: stretch;
  }

  .guide-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-width: 0;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .form-label {
    font-size: 12px;
    font-weight: 200;
    color: #1E1E1E;
    line-height: 1.15;
  }

  .form-input {
    height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-body);
    color: var(--dark);
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
  }

  .form-input::placeholder {
    color: #aaa;
  }

  .form-input:focus {
    border-color: var(--primary);
  }

  .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .check-input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: var(--primary);
    cursor: pointer;
  }

  .check-label {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
  }

  .form-error {
    display: block;
    font-size: 12px;
    color: #e53e3e;
    margin-top: 4px;
  }

  .form-input.input-error {
    border-color: #e53e3e;
  }

  .form-legal-links {
    font-size: 12px;
    color: #555;
    margin: 0;
  }

  .form-legal-links a {
    color: var(--primary);
    text-decoration: underline;
  }

  .form-legal-links a:hover {
    opacity: 0.8;
  }
  h2.white_class {
    color: #fff;
}

  .guide-divider {
    width: 1px;
    background: #6f4e2b4f;
    align-self: stretch;
    flex-shrink: 0;
  }

  .guide-info {
    flex:0 0 306px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    justify-content: center;
  }

  .guide-img-placeholder {
    width: 100%;
    max-width: 310px;
    aspect-ratio: 4/3;

    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #666;
  }

  .guide-details {
    width: 100%;
  }

  .guide-details h3 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .guide-details ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
  }

  .guide-details li {
    font-size: 17px;
    line-height: 1.45;
    color: var(--dark);
    padding-left: 0;
  }

  /* .guide-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
  } */

  /* ===== PATIENT REVIEWS ===== */
  .patient-reviews {
    padding: 100px 0;
    background: var(--card-bg);
  }

  .patient-reviews h2 {
    margin-bottom: 60px;
  }

  .review-card {
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-card);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 220px;
    background: var(--card-bg);
  }

  .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-shrink: 0;
  }

  .reviewer-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 12px;
  }

  .stars {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
  }

  .review-text {
    font-size: 16px;
    line-height: 1.7;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
    flex: 1;
  }

  .review-text.scrollable {
    display: block;
    -webkit-line-clamp: unset;
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* Scrollbar styling for review text */
  .review-text.scrollable::-webkit-scrollbar {
    width: 4px;
  }

  .review-text.scrollable::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
  }

  .review-text.scrollable::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
  }

  .review-text.scrollable::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark, #00263a);
  }

  .read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    align-self: flex-start;
    cursor: pointer;
    flex-shrink: 0;
  }

  .read-more:hover {
    text-decoration: underline;
    opacity: 1;
  }

  /* ===== CTA SECTION ===== */
  .cta-section {
    padding: 100px 0 60px;
    text-align: center;
    background: var(--card-bg);
  }

  .cta-section .section-header {
    margin-bottom: 60px;
  }

  .cta-section h2 {
    margin-bottom: 42px;
  }

  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  /* ===== FOOTER ===== */
  .footer {
    background: var(--card-bg);
  }

  .footer .container {

    border-radius: var(--radius-card) var(--radius-card) 0 0;
    padding-top: 48px;
    padding-bottom: 0;
  }

  .footer-top {
    margin-bottom: 48px;
  }

  .footer-valley-white-logo img {
    height: 90px;
    width: auto;
  }

  .footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 48px;

    align-items: start;
  }

  .footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.2;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
  
  }

  .footer-links a,
  .footer-links span,
  .footer-links address {
    font-size: 14px;
    line-height: 1.4;
    color: var(--dark);
  }

  .footer-links a:hover {
    color: var(--primary);
    opacity: 1;
  }

  .footer-cta-col {}

  .footer-cta-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
  }

  .footer-cta-col>p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 24px;
    max-width: 446px;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    padding-top: 50px;
    font-size: 14px;
    color: var(--dark);
  }

  .footer-bottom a {
    color: var(--dark);
  }

  .footer-bottom a:hover {
    color: var(--primary);
    opacity: 1;
  }


  .inside_footer {
    background-color: #f8fafc;
  }

  .for_padding {
    padding-bottom: 90px;
  }


  .bg_light {
    background: var(--card-bg);
  }

  /* ===== MOBILE NAV (1300px) ===== */
  @media only screen and (min-width: 1025px) and (max-width: 1300px) {
    .footer-columns {
      grid-template-columns: 185px 144px 220px 1fr !important;
    }


  }

  @media (max-width: 1300px) {

    /* Show hamburger, hide desktop nav */
    .mobile-menu-btn {
      display: flex;
      padding: 6px;
    }

    .mobile-menu-btn span {
      width: 22px;
      height: 2px;
      transition: all 0.3s ease;
    }

    .nav-cta {
      display: none;
    }

    /* Hide desktop nav links on mobile — panel takes over */
    .nav-links {
      display: none !important;
    }

    /* Navbar position */
    .navbar {
      padding: 0 clamp(12px, 3%, 60px);
      top: 16px;
    }

    .nav-container {
      padding: 10px 20px;
      gap: 12px;
      border-radius: 10px;
    }

    .valley-white-logo img {
      height: 56px;
    }

    /* Non-nav 1280px adjustments */
    .hero-text h1 {
      font-size: 38px;
    }

    .stat-number {
      font-size: 22px;
    }

    .review-prev {
      left: -60px;
    }

    .review-next {
      right: -60px;
    }

    .footer-columns {
      grid-template-columns: 200px 160px 220px 1fr;
      gap: 32px;
    }
  }

  /* ===== HERO COMPACT (1880px) — keep side-by-side but reduce spacing ===== */
  @media (max-width: 1880px) {
    .hero-text {
      max-width: 540px;
    }

    .hero-stats {
      gap: 16px;
    }

    .stat-number {
      font-size: 22px;
    }

    .stat-text {
      font-size: 15px;
    }
  }

  /* ===== HERO ROW FIT (1301–1600px) — keep side-by-side, tighten to avoid overflow ===== */
  @media (min-width: 1301px) and (max-width: 1600px) {
    .hero-content {
      padding-left: clamp(20px, 5%, 100px);
      padding-right: clamp(20px, 5%, 100px);
      gap: 32px;
    }

    .hero-text {
      max-width: 460px;
    }

    .hero-stats {
      gap: 14px;
    }

    .stat-number {
      font-size: 20px;
    }

    .stat-text {
      font-size: 14px;
    }
  }

  /* ===== HERO STATS WRAP (1300px) ===== */
  @media (max-width: 1300px) {
    .hero-section:has(.hero-bg) {
      height: auto;
      min-height: 640px;
    }

    .hero-content {
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-end;
      gap: 32px;
      padding-bottom: 50px;
    }

    .hero-stats {
      width: 100%;
      justify-content: flex-start;
    }
  }

  /* ===== TABLET (1024px) ===== */
  @media (max-width: 1024px) {

    .dental-solutions,
    .about-us,
    .smile-experts,
    .meet-doctor,
    .before-after,
    .advanced-dentistry,
    .delighted-patients,
    .implant-guide,
    .patient-reviews {
      padding: 70px 0;
    }

    .cta-section {
      padding: 70px 0 40px;
    }

    .hero-section:has(.hero-bg) {
      height: 630px;
    }

    .hero-content {
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-end;
      gap: 32px;
      padding-bottom: 50px;
    }

    .hero-text h1 {
      font-size: 36px;
    }

    .hero-stats {
      width: 100%;
      justify-content: center;
    }

    .solutions-grid {
      grid-template-columns: 1fr 1fr;
    }

    .solutions-cta {
      flex-wrap: wrap;
      justify-content: center;
    }

    .experts-grid {
      grid-template-columns: 1fr 1fr;
    }

    .expert-card:nth-child(2n) {
      border-right: none;
    }

    .expert-card:nth-child(3n) {
      border-right: 1px solid #cbdce5;
    }

    .expert-card:nth-child(4) {
      border-bottom: 1px solid #cbdce5;
    }

    .expert-card.wide {
      grid-column: 1 / 3;
      border-right: none;
      border-bottom: none;
    }

    .expert-card h3 {
      font-size: 28px;
    }

    .doctor-grid {
      flex-direction: column;
      gap: 40px;
      align-items: center;
    }

    .doctor-image {
      width: 100%;
      max-width: max-content;
      margin-right: auto;
    }

    .doctor-img-placeholder {
      width: 100%;
      height: 380px;
    }

    .doctor-info h2 {
      font-size: 36px;
    }

    .ba-card {
      height: 220px;
    }

    .advanced-text h2 {
      font-size: 36px;
    }


    .guide-form-wrapper {
      flex-direction: column-reverse;
    }

    .guide-divider {
      width: 100%;
      height: 1px;
    }

    .guide-info {
      flex: none;
      width: 100%;
      flex-direction: row;
      align-items: flex-start;
      gap: 24px;
    }

    .guide-img-placeholder {
      width: 100%;
      flex-shrink: 0;
    }

    .reviews-grid {
      grid-template-columns: 1fr 1fr;
    }

    .review-prev {
      left: -40px;
    }

    .review-next {
      right: -40px;
    }

    .footer-columns {
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    .section-header h2,
    .about-us h2,
    .before-after h2,
    .delighted-patients h2,
    .patient-reviews h2,
    .cta-section h2,
    .meet-doctor h2,
    .implant-guide .section-header h2 {
      font-size: 38px;
    }
  }

  /* ===== TABLET/MOBILE (991px) — Advanced Dentistry stacks ===== */
  @media (max-width: 991px) {
    .advanced-grid {
      flex-direction: column-reverse;
      gap: 40px;
    }
    .smile-experts-offer-btns {
 flex-direction: row !important; 
    align-items: flex-start;
    justify-content: left;
}
    
    .smile-experts-offer h2 {
 
    margin-left: 0;
}
.smile-experts-offer-text {
     padding-left: 0px !important; 
             padding-right: 0px !important;
}

.smile-experts-offer-inner {
    grid-template-columns: 1fr !important;
}
    .quick-cards-grid {

      grid-template-columns: repeat(2, 1fr) !important;
    }

    .for_padd {
      padding-bottom: 90px !important;
    }

    .advanced-text {
      flex: none;
      width: 100%;
    }

    .advanced-images {
      width: 100%;
      flex: none;
    }

    .advanced-video-wrap {
      width: 100%;
      height: auto;
    }

    .about-team-grid {

      grid-template-columns: repeat(3, 1fr) !important;
    }
  }

  /* ===== MOBILE (768px) ===== */
  @media (max-width: 768px) {
    .smile-experts-row {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .smile-experts-offer-btns .btn-primary,
    .smile-experts-offer-btns .btn-outline-primary {
      max-width: 100%;
      width: 100%;
    }


    .fin-providers-dark-grid {

      grid-template-columns: repeat(1, 1fr) !important;
    }

    .fin-provider-dark-stat {
      flex-wrap: wrap;
    }

    .smile-experts-left h2 {
      font-size: 30px;
    }

    

    .smile-experts-offer h2 {
      font-size: 26px;
    }

    .smile-experts-offer-btns {
      flex-direction: column;
      align-items: center;
    }

    .smile-experts-offer-btns .btn-white,
    .smile-experts-offer-btns .btn-outline-white {
      width: 100%;
      max-width: 320px;
      text-align: center;
    }

    .dental-solutions,
    .about-us,
    .smile-experts,
    .meet-doctor,
    .before-after,
    .advanced-dentistry,
    .delighted-patients,
    .implant-guide,
    .quick-cards,
    .patient-reviews {
      padding: 50px 0 !important;
    }

    .insurance-section {
      padding-top: 50px !important;
    }

    .insurance-logos-row {

      padding: 48px 0 50px !important;
    }

    .cta-section {
      padding: 50px 0 30px;
    }

    /* Nav — tighter on mobile */
    .navbar {
      padding: 0 12px;
      top: 12px;
    }

    .nav-container {
      padding: 8px 16px;
      gap: 8px;
      border-radius: 10px;
    }



    /* Hero */
    .hero-section:has(.hero-bg) {
      height: auto;
      min-height: 500px;
    }

    .hero-bg {
      height: 100%;
      object-fit: cover;
    }

    .hero-content {
      padding-top: 130px;
      padding-bottom: 40px;
      gap: 28px;
    }

    .hero-text {
      gap: 18px;
    }

    .hero-text h1 {
      font-size: 28px;
      line-height: 1.2;
    }

    .hero-subtitle {
      font-size: 16px;
    }

    .hero-badge {
      font-size: 13px;
      padding: 6px 16px;
    }

    .btn-white {
      font-size: 15px;
      padding: 12px 22px;
    }

    /* Hero stats — 3 equal columns */
    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px 16px;
      width: 100%;
    }

    .stat-divider {
      display: none;
    }

    .stat {
      align-items: flex-start;
      text-align: left;
    }

    .stat-number {
      font-size: 18px;
      white-space: normal;
    }

    .stat-text {
      font-size: 13px;
      max-width: none;
    }

    /* Section headings */
    .section-header h2,
    .about-us h2,
    .before-after h2,
    .delighted-patients h2,
    .patient-reviews h2,
    .cta-section h2,
    .meet-doctor h2,
    .advanced-text h2,
    .implant-guide .section-header h2 {
      font-size: 28px;
      margin-bottom: 16px;
    }

    .section-header p {
      font-size: 16px;
    }

    .section-subtitle-small {
      font-size: 18px;
      margin-top: 12px;
    }

    /* Dental Solutions */
    .solutions-grid {
      grid-template-columns: 1fr;
    }

    .solution-card {
      padding: 20px;
    }

    .solution-info h3 {
      font-size: 22px;
    }

    .solution-info p {
      font-size: 16px;
    }

    .solution-image {
      height: auto;
    }

    .solutions-cta {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      width: 100%;
      max-width: 380px;
      margin: 0 auto;
    }

    .solutions-cta .btn-primary,
    .solutions-cta .btn-outline {
      width: 100%;
      justify-content: center;
    }

    /* About / Marquee */
    .about-us {
      padding: 50px 0 0;
    }

    .about-video-placeholder {
      height: 42vw;
    }

    .services-marquee {
      margin-top: -20px;
    }

    .marquee-track span {
      font-size: 15px;
    }

    /* Smile Experts */
    .experts-grid {
      grid-template-columns: 1fr;
    }

    .expert-card.wide {
      grid-column: 1;
      border-bottom: none;
    }

    .expert-card {
      padding: 28px 20px 50px;
      border-right: none !important;
      border-bottom: 1px solid #cbdce5;
    }

    .expert-card:last-child {
      border-bottom: none;
    }

    .expert-card h3 {
      font-size: 24px;
      margin-bottom: 12px;
    }

    .expert-card p {
      font-size: 16px;
    }

    /* Meet Doctor */
    .doctor-grid {
      flex-direction: column;
      gap: 28px;
      align-items: center;
    }

    .doctor-image {
      width: 100%;
      max-width: 100%;
    }

    .doctor-img-placeholder {
      width: 100%;
      height: auto;
    }

    .doctor-info h2 {
      font-size: 28px;
      margin-bottom: 20px;
    }

    .doctor-bio p {
      font-size: 16px;
    }

    /* Before & After */
    .before-after h2 {
      margin-bottom: 40px;
    }

    .ba-card {
      height: 200px;
    }

    /* Advanced Dentistry */
    .advanced-grid {

      gap: 28px;
    }

    .advanced-text {
      flex: none;
      width: 100%;
      gap: 14px;
    }

    .advanced-img-placeholder {
      height: 260px;
    }

    .feature-item span {
      font-size: 16px;
    }

    /* Delighted Patients */
    .delighted-patients h2,
    .implant-guide h2 {
      margin-bottom: 40px;
    }


    /* Implant Guide */
    .guide-content {
      padding: 28px 20px;
    }

    .guide-form-wrapper {
      flex-direction: column-reverse;
      gap: 28px;
    }

    .guide-divider {
      width: 100%;
      height: 1px;
    }

    .guide-info {
      flex: none;
      width: 100%;
      flex-direction: column;
    }

    .guide-img-placeholder {
      width: 100%;
      height: auto;
      aspect-ratio: 3/2;
    }

    .guide-details h3 {
      font-size: 18px;
    }

    .guide-details li {
      font-size: 16px;
    }

    /* Reviews */
    .patient-reviews h2 {
      margin-bottom: 32px;
    }

    .reviews-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .review-prev,
    .review-next {
      display: none;
    }

    .review-card {
      padding: 20px;
    }

    /* CTA */
    .cta-buttons {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      width: 100%;
      max-width: 380px;
      margin: 0 auto;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-outline {
      width: 100%;
      justify-content: center;
    }

    /* Footer */
    .footer-columns {
      grid-template-columns: 1fr;
      gap: 28px;
    }

    .footer-bottom {
      flex-direction: column;
      gap: 8px;
      text-align: center;
    }

    .footer-valley-white-logo img {
      height: 56px;
    }

    .footer-top {
      margin-bottom: 32px;
    }
  }

  /* ===== SLIDER RESPONSIVE ===== */
  @media (max-width: 768px) {
    .section-slider-inner {
      gap: 10px;
    }

    .slider-arrow {
      width: 36px;
      height: 36px;
    }

    .slider-arrow svg {
      width: 16px;
      height: 16px;
    }

    .slider-dots {
      margin-top: 20px;
    }
  }

  /* All sliders: move arrows below content on small mobile */
  @media (max-width: 575px) {
    a.white-btn {
      max-width: 100%;
      width: 100%;
    }

    .fin-insurance-logos-grid {
      grid-template-columns: repeat(1, 1fr) !important;
    }

    .sp-step-card {
      padding: 36px 28px !important;
    }

    .np-ins-provider-grid {
      grid-template-columns: repeat(1, 1fr) !important;
    }

    .np-ins-logos-grid {
      grid-template-columns: 1fr !important;
    }

    .about-team-grid {
      grid-template-columns: 1fr !important;
    }

    a.btn-outline-white {
      max-width: 100% !important;
      width: 100% !important;
    }

    .sp-benefit-card {
      justify-content: center;
      flex-wrap: wrap;
    }

    .footer-cta-title {
      font-size: 20px !important;
    }

    .sp-section .btn-primary {
      max-width: 100%;
    }

    .page-hero-btns .btn-white,
    .page-hero-btns .btn-white-outline {
      max-width: 100%;
      width: 100%;
    }

  }

  @media (max-width: 480px) {
      .legal_link {
    
    gap: 7px !important;
}

    .inside_footer {
      padding: 48px 20px !important;

    }

    .section-slider .section-slider-inner {
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
    }

    .section-slider .section-slider-overflow {
      order: 1;
      flex: 0 0 100%;
      width: 100%;
    }

    .section-slider .slider-arrow-prev {
      order: 2;
      flex-shrink: 0;
    }

    .section-slider .slider-arrow-next {
      order: 3;
      flex-shrink: 0;
    }

    .section-slider .slider-dots {
      width: 100%;
      margin-top: 12px;
    }
  }

  /* ===== SMALL MOBILE (480px) ===== */
  @media (max-width: 480px) {
    .hero-section:has(.hero-bg) {
      min-height: 520px;
    }

    .hero-text h1 {
      font-size: 24px;
    }

    .hero-subtitle {
      font-size: 15px;
    }

    .hero-badge {
      font-size: 12px;
    }

    .hero-stats {
      grid-template-columns: repeat(2, 1fr);
      gap: 8px 10px;
    }

    .stat-number {
      font-size: 15px;
    }

    .stat-text {
      font-size: 12px;
    }

    .section-header h2,
    .about-us h2,
    .before-after h2,
    .delighted-patients h2,
    .patient-reviews h2,
    .cta-section h2,
    .meet-doctor h2,
    .advanced-text h2,
    .implant-guide .section-header h2 {
      font-size: 24px;
    }

    .expert-card h3 {
      font-size: 22px;
    }

    .doctor-info h2 {
      font-size: 24px;
    }

    .top-banner p {
      font-size: 13px;
    }

    .btn-primary,
    .btn-outline,
    .btn-white {
      font-size: 15px;
      padding: 12px 20px;
      max-width: 100%;
      width: 100%;
    }


    .solution-image {
      height: 220px;
    }

    .ba-card {
      height: 160px;
    }

    .advanced-img-placeholder {
      height: 210px;
    }


    .about-video-placeholder {
      height: 44vw;
    }
  }

  /* ===== EXTRA SMALL (360px) ===== */
  @media (max-width: 360px) {
    .hero-text h1 {
      font-size: 22px;
    }

    .section-header h2,
    .about-us h2,
    .before-after h2,
    .delighted-patients h2,
    .patient-reviews h2,
    .cta-section h2,
    .meet-doctor h2,
    .advanced-text h2,
    .implant-guide .section-header h2 {
      font-size: 22px;
    }

    .nav-container {
      padding: 10px 16px;
    }



    .expert-card {
      padding: 20px 16px 90px;
    }
  }

  .slider-dots {
    display: none;
  }

  /* ===== MOBILE SLIDE-IN NAV PANEL ===== */
  .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  .mobile-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 90vw;
    height: 100%;
    background: #fff;
    z-index: 901;
    transform: translateX(110%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.18);
    overflow: hidden;
  }

  .mobile-nav-panel.open {
    transform: translateX(0);
  }

  .mobile-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #ebebeb;
    flex-shrink: 0;
  }

  .mobile-panel-valley-white-logo img {
    height: 80px;
    width: auto;
  }

  .mobile-panel-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
  }

  .mobile-panel-close:hover {
    background: #e0e0e0;
  }

  .mobile-panel-nav {
    flex: 1;
    overflow-y: auto;
    padding: 4px 0;
  }

  .mobile-panel-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-panel-nav>ul>li>a,
  .mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
  }

  .mobile-panel-nav>ul>li>a:hover,
  .mobile-dropdown-toggle:hover {
    color: var(--primary);
    background: #f0f6fa;
  }

  .mobile-dropdown-toggle svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }

  .has-mobile-dropdown.open>.mobile-dropdown-toggle svg {
    transform: rotate(180deg);
  }

  .mobile-dropdown {
    display: none;
    background: #f8fafc;
    border-bottom: 1px solid #e1ebf0;
    max-height: 220px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .has-mobile-dropdown.open>.mobile-dropdown {
    display: block;
  }

  .mobile-dropdown li a {
    display: block;
    padding: 11px 20px 11px 32px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #e1ebf0;
    transition: color 0.2s ease;
  }

  .mobile-dropdown li:last-child a {
    border-bottom: none;
  }

  .mobile-dropdown li a:hover {
    color: var(--primary);
  }

  .mobile-panel-footer {
    padding: 20px;
    border-top: 1px solid #ebebeb;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
  }

  .mobile-panel-cta {
    display: block;
    text-align: center;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
  }

  .mobile-panel-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .mobile-panel-phone:hover {
    color: var(--primary);
  }

  /* ── Options Cards Section ────────────────────────── */
  .sp-options-section {
    padding: 80px 0;
    background: #f4f7f9;
  }

  .sp-options-header {
    text-align: center;
    margin-bottom: 48px;
  }

  .sp-options-header h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 700;
    color: var(--dark);
  }

  .sp-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .sp-option-card {
    background: #fff;
    border: 1px solid #dbe5ec;
    border-radius: var(--radius-card);
    padding: 36px 28px 32px;
    text-align: center;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  }

  .sp-option-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(0, 57, 86, 0.12);
    transform: translateY(-4px);
  }

  .sp-option-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e6f0f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
  }

  .sp-option-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
  }

  .sp-option-card p {
    font-size: 0.9rem;
    color: #556778;
    line-height: 1.7;
    margin: 0;
  }

  @media (max-width: 768px) {
    .sp-options-grid {
      grid-template-columns: 1fr;
      max-width: 440px;
      margin: 0 auto;
    }
  }

  /* ── Linear Steps Section ─────────────────────────── */
  .sp-steps-section {
    padding: 80px 0;
    background: #fff;
  }

  .sp-steps-section--alt {
    background: #f4f7f9;
  }

  .sp-steps-header {
    text-align: center;
    margin-bottom: 56px;
  }

  .sp-steps-header h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 700;
    color: var(--dark);
  }

  .sp-steps-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 780px;
    margin: 0 auto;
  }

  .sp-step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    position: relative;
  }

  .sp-step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(0, 57, 86, 0.3);
  }

  .sp-step-connector {
    position: absolute;
    left: 25px;
    top: 52px;
    width: 2px;
    bottom: 0;
    background: linear-gradient(to bottom, var(--primary), #cbe0ec);
  }

  .sp-step-connector--last {
    display: none;
  }

  .sp-step-body {
    padding-bottom: 44px;
    flex: 1;
  }

  .sp-step:last-child .sp-step-body {
    padding-bottom: 0;
  }

  .sp-step-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    padding-top: 12px;
  }

  .sp-step-body p {
    font-size: 15px;
    color: #556778;
    line-height: 1.8;
    margin: 0;
  }

  @media (max-width: 600px) {
    .sp-step-number {
      width: 42px;
      height: 42px;
      font-size: 1rem;
    }

    .sp-step-connector {
      left: 20px;
      top: 42px;
    }

    .sp-steps-grid {
      gap: 0;
    }
  }

  /* ── FAQ Accordion Section ────────────────────────── */
  .sp-faq-accordion-section {
    padding: 80px 0;
    background: #f4f7f9;
  }

  .sp-faq-accordion-section h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    text-align: center;
  }

  .sp-faq-accordion-section>.container>p {
    font-size: 16px;
    color: #556778;
    line-height: 1.7;
    margin-bottom: 48px;
    text-align: center;
  }

  .sp-faq-accordion {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .faq-item {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #dbe5ec;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .faq-item:hover {
    box-shadow: 0 4px 18px rgba(0, 57, 86, 0.08);
  }

  .faq-item.open {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 57, 86, 0.12);
  }

  .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    gap: 16px;
    transition: background 0.2s ease;
  }

  .faq-item.open .faq-question {
    background: #f0f6fa;
  }

  .faq-question>span:first-child {
    font-size: 15px;
    font-weight: 700;
    color: #1a2e4a;
    line-height: 1.4;
    flex: 1;
  }

  .faq-item.open .faq-question>span:first-child {
    color: var(--primary);
  }

  .faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid #d1dce5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #aaa;
    background: #f9f9f9;
    transition: transform 0.3s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .faq-item.open .faq-icon {
    background: #e6f0f5;
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(45deg);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 22px;
    border-top: 1px solid transparent;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
      padding 0.38s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.28s ease,
      border-top-color 0.28s ease;
  }

  .faq-item.open .faq-answer {
    max-height: 600px;
    padding: 0 22px 22px;
    opacity: 1;
    border-top-color: #e1ebf0;
  }

  .faq-answer p {
    font-size: 15px;
    color: #556778;
    line-height: 1.8;
    margin: 16px 0 0;
  }

  .faq-answer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(111, 78, 43, 0.35);
    transition: text-decoration-color 0.2s ease, color 0.2s ease;
  }

  .faq-answer a:hover {
    color: var(--primary);
    text-decoration-color: var(--primary);
  }

  /* ── Services Index Page ──────────────────────────── */
  .services-list-section {
    padding: 80px 0;
    background: #f8fafc;
  }

  .services-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
  }

  .service-list-card {
    background: #fff;
    border: 1px solid #dbe5ec;
    border-radius: var(--radius-card);
    padding: 0 0 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .service-list-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(0, 57, 86, 0.12);
    transform: translateY(-3px);
  }

  .service-list-card-img {
    width: 100%;
    height: 190px;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 20px;
  }

  .service-list-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }

  .service-list-card:hover .service-list-card-img img {
    transform: scale(1.05);
  }

  .service-list-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    padding: 0 24px;
  }

  .service-list-card p {
    font-size: 0.88rem;
    color: #556778;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 20px;
    padding: 0 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: gap 0.2s ease;
    padding: 0 24px;
  }

  .learn-more-link:hover {
    gap: 10px;
  }

  .learn-more-link svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
  }

  .learn-more-link:hover svg {
    transform: translateX(3px);
  }

  @media (max-width: 991px) {
    .services-list-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 600px) {
    .services-list-grid {
      grid-template-columns: 1fr;
    }
  }

  /* Expandable service card styles */
  .service-details-expand {
    max-height: 72px;
    /* Height of 3 lines of text */
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-bottom: 20px;
  }

  /* When collapsed: clamp first paragraph, hide the rest */
  .service-list-card:not(.expanded) .service-details-expand p:first-of-type {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 24px !important;
    margin: 0 !important;
  }

  .service-list-card:not(.expanded) .service-details-expand p:not(:first-of-type) {
    display: none !important;
  }

  /* When expanded: show all paragraphs inside scrollable container capped at 170px */
  .service-list-card.expanded .service-details-expand {
    max-height: 170px !important;
    overflow-y: auto;
  }

  .service-list-card.expanded .service-details-expand p {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    padding: 0 24px !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
  }

  .service-list-card.expanded .service-details-expand p:last-child {
    margin-bottom: 0 !important;
  }

  .service-list-card.expanded .toggle-btn svg {
    transform: rotate(90deg);
  }

  .service-list-card .toggle-btn {
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    margin-top: auto;
  }

  .inside_footer {
    background-color: #f8fafc;
    padding: 48px 42px;
    border: 1px solid #f8fafc;
    border-radius: 20px;
    box-shadow: 0px 0px 32px rgba(0, 0, 0, 0.06);
  }

  /*-----privacy_page------*/
  ul.common-listing li {
    list-style: disc;
  }

  .common-listing li::marker {
    font-size: 22px;
    color: var(--primary);
  }

  .page-hero {
    background: var(--primary);
    padding: 80px 25px;
    padding-top: 160px;
    /* offset for fixed navbar */
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    text-align: center;
  }

  .page-hero-inner {
    max-width: 850px;
    margin: 0 auto;
  }

  .page-breadcrumb {
    font-size: .74rem;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: .04em;
  }

  .page-breadcrumb a {
    color: #fff;
  }

  .page-breadcrumb a:hover {
    color: #fff;
  }

  .page-hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 3.2rem);
    color: #fff;
    line-height: normal;
    margin-bottom: 40px;
    font-family: var(--ff-serif);
  }

  .page-hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, .8);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto;
    margin-bottom: 0;
  }

  .page-hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
  }

  .btn-white-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.15;
    letter-spacing: 0.32px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    border: 2px solid rgba(255, 255, 255, 0.7);
    cursor: pointer;
    white-space: nowrap;
    transition: 0.5s;

  }

  .btn-white-outline:hover {
    background: #fff;
    border-color: #fff;

    color: #6f4e2b;
  }

  section.legal-section {
    padding: 80px 40px;
  }

  .legal-content {
    max-width: 1100px;
    width: 100%;
    margin: auto;
  }

  .legal-content p {
    width: 100%;
    max-width: 100%;
    margin: 16px 0;
  }

  .legal-content h2.section-title {
    margin: 40px 0 20px;
    font-family: var(--ff-serif);
  }

  .legal-content p a {
    color: var(--primary);
    font-weight: 700;
    display: inline-block;
  }

  .legal-content .common-listing a {
    color: var(--primary);
    font-weight: 700;
    display: inline-block;

  }

  ul.common-listing {
    padding-left: 0;
    margin-left: 20px;
  }



  @media only screen and (max-width: 768px) {
    section.legal-section {
      padding: 50px 25px;
    }

  }


  /*-----------------------*/

  /* ===== DR. CHEEMA PAGE ===== */
  .doctor-section {
    padding: 80px 0;
  }

  .doctor-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 64px;
    align-items: start;
  }

  .doctor-img-wrap {
    border-radius: var(--radius-card);
    overflow: hidden;
    position: sticky;
    top: 100px;
  }

  .doctor-img-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top center;
    display: block;
  }

  .doctor-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
  }

  .doctor-badge {
    background: var(--card-bg);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--primary);
  }

  .doctor-name {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.15;
  }

  .doctor-title-line {
    font-size: 17px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 14px;
  }

  .doctor-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0a66c2;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 24px;
  }

  .doctor-linkedin:hover {
    text-decoration: underline;
  }

  .doctor-bio p {
    font-size: 16px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 18px;
  }

  .doctor-divider {
    border: none;
    border-top: 1px solid var(--border-gray);
    margin: 32px 0;
  }

  .doctor-specialties-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--dark);
  }

  .doctor-specialties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
  }

  .doctor-specialties li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #444;
  }

  .doctor-specialties li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
  }

  .doctor-cta-strip {
    background: var(--primary);
    padding: 60px 0;
    text-align: center;
  }

  .doctor-cta-strip h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(24px, 3vw, 36px);
    color: #fff;
    margin-bottom: 12px;
  }

  .doctor-cta-strip p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
  }

  /* ===== DOCTOR PROFILE PAGES ===== */
  .dr-section-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 10px;
  }

  .dr-favorites-section {
    padding: 80px 0;
    background: var(--card-bg);
  }

  .dr-favorites-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 40px;
    text-align: center;
  }

  .dr-favorites-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
  }

  .dr-favorites-col h4 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
  }

  .dr-favorites-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .dr-favorites-col ul li {
    padding: 8px 0;
    font-size: 16px;
    color: var(--dark);
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .dr-favorites-col ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
  }

  .dr-learn-more {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
  }

  .dr-learn-more h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 14px;
  }

  .dr-learn-more>.container>p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
  }

  .dr-learn-more-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .dr-learn-card {
    background: var(--card-bg);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-card);
    padding: 32px 28px;
    text-align: left;
    text-decoration: none;
    transition: box-shadow 0.25s, transform 0.25s;
    display: block;
  }

  .dr-learn-card:hover {
    box-shadow: 0 8px 28px rgba(111, 78, 43, 0.12);
    transform: translateY(-3px);
  }

  .dr-learn-card-icon {
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid var(--border-gray);
  }

  .dr-learn-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
  }

  .dr-learn-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
  }

  .dr-appt-cta {
    background: var(--primary);
    padding: 80px 0;
    text-align: center;
  }

  .dr-appt-cta h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
  }

  .dr-appt-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
    max-width: 600px;
    margin: 0 auto 36px;
  }

  .dr-appt-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .dr-location-section {
    padding: 80px 0;
    background: var(--card-bg);
  }

  .dr-location-section h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 40px;
  }

  .dr-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  .dr-location-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
  }

  .dr-location-info p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.6;
  }

  .dr-location-info a {
    color: var(--primary);
    text-decoration: none;
  }

  .dr-location-info a:hover {
    text-decoration: underline;
  }

  .dr-hours {
    margin: 20px 0;
    padding: 16px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
  }

  .dr-hours p {
    margin-bottom: 4px;
    font-size: 15px;
  }

  .dr-location-map img {
    width: 100%;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-gray);
  }

  @media (max-width: 768px) {

    .dr-favorites-grid,
    .dr-learn-more-cards,
    .dr-location-grid {
      grid-template-columns: 1fr;
    }

    .dr-appt-btns {
      flex-direction: column;
      align-items: center;
    }

    .dr-appt-btns a {
      width: 100%;
      max-width: 320px;
      text-align: center;
    }
  }

  /* ===== ABOUT PAGE ===== */
  .about-intro {
    padding: 80px 0;
    background: var(--white);
  }

  .about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .about-intro-text h2 {
    font-size: 2rem;
    margin-bottom: 16px;
  }

  .about-intro-text p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 14px;
  }

  .about-intro-img img {
    width: 100%;
    border-radius: var(--radius-card);
    object-fit: cover;
    max-height: 500px;
  }

  .about-intro-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .about-intro-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    background: var(--card-bg);
    border-radius: 10px;
    padding: 12px 16px;
  }

  .about-located {
    padding: 80px 0;
    background: var(--card-bg);
  }

  .about-located-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .about-located-img img {
    width: 100%;
    border-radius: var(--radius-card);
    object-fit: cover;
    max-height: 420px;
  }

  .about-located-text h2 {
    font-size: 1.9rem;
    margin-bottom: 16px;
  }

  .about-located-text p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 10px;
  }

  .about-hours {
    background: var(--white);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 16px 0;
  }

  .about-hours p {
    margin-bottom: 4px;
    font-size: 14px;
  }

  .about-located-text a {
    color: var(--primary);
  }

  .about-payment {
    padding: 80px 0;
    background: var(--white);
  }

  .about-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .about-payment-text h2 {
    font-size: 1.9rem;
    margin-bottom: 16px;
  }

  .about-payment-text p {
    color: var(--text-muted);
    line-height: 1.75;
  }

  .about-payment-img img {
    width: 100%;
    border-radius: var(--radius-card);
    object-fit: cover;
    max-height: 380px;
  }

  .about-different-footer {
    text-align: center;
    margin-top: 40px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
  }

  .about-reviews {
    padding: 80px 0;
    background: var(--card-bg);
  }

  /* Slider layout */
  .reviews-slider-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
  }

  .reviews-slider-viewport {
    flex: 1;
    overflow: hidden;
  }

  .reviews-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(.4, 0, .2, 1);
  }

  /* Arrow buttons */
  .reviews-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }

  .reviews-arrow:hover {
    background: var(--primary);
    color: #fff;
  }

  /* Dot indicators */
  .reviews-dots {
    display: none;
  }

  .reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(111, 78, 43, 0.25);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
  }

  .reviews-dot.active {
    background: var(--primary);
    transform: scale(1.25);
  }

  /* Card */
  .about-review-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .about-review-stars {
    color: #f5a623;
    font-size: 18px;
    letter-spacing: 2px;
    flex-shrink: 0;
  }

  .review-text-wrap {
    overflow: hidden;
  }

  .review-text-wrap p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .review-text-wrap.expanded {
    overflow-y: auto;
    max-height: 140px;
  }

  .review-text-wrap.expanded p {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .review-read-more {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-align: left;
    flex-shrink: 0;
  }

  .about-review-author {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
  }

  /* ── New Patient Resources page ───────────────────────────────────────────── */
  .np-section {
    padding: 80px 0;
  }

  .np-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .np-two-col--reverse .np-img-col {
    order: 2;
  }

  .np-two-col--reverse .np-text-col {
    order: 1;
  }

  .np-img {
    width: 100%;
    border-radius: var(--radius-card);
    object-fit: cover;
    max-height: 480px;
  }

  .np-text-col h2 {
    margin-top: 12px;
  }

  .np-text-col p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 14px;
  }

  .np-btn-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
  }

  .np-checklist {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
  }

  .np-checklist li {
    padding-left: 26px;
    position: relative;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
  }

  .np-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
  }

  .np-gift-highlights {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .np-gift-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .np-gift-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(111, 78, 43, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .np-gift-item strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
  }

  .np-gift-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
  }

  .np-whitening-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 48px 56px;
  }

  .np-whitening-icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(111, 78, 43, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .np-whitening-text h2 {
    margin-bottom: 12px;
  }

  .np-whitening-text p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0;
  }

  .np-ins-logos-col {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 36px 32px;
  }

  .np-logos-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 24px;
  }

  .np-ins-logos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
  }

  .np-ins-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    background: var(--card-bg);
    border-radius: 8px;
    min-height: 56px;
  }

  .np-ins-logo-item img {
    height: 36px;
    width: auto;
    object-fit: contain;
  }

  .np-ins-logo-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
  }

  .np-ins-provider-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 40px;
  }

  .np-ins-provider-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    border: 1px solid rgba(111, 78, 43, 0.10);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  }

  .np-ins-provider-item:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(111, 78, 43, 0.12);
    color: var(--primary);
  }

  .np-ins-provider-item img {
    height: 22px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
  }

  .np-ins-provider-item span {
    flex: 1;
  }

  .np-ins-provider-item--text {
    justify-content: space-between;
  }

  .np-ext-icon {
    flex-shrink: 0;
    color: var(--primary);
    opacity: 0.5;
    transition: opacity 0.2s;
  }

  .np-ins-provider-item:hover .np-ext-icon {
    opacity: 1;
  }

  .np-ins-note {
    text-align: center;
    margin-top: 28px;
    font-size: 14px;
    color: var(--text-muted);
  }

  .np-ins-note a {
    color: var(--primary);
    font-weight: 600;
  }

  /* ── Patient Reviews page ─────────────────────────────────────────────────── */
  .pr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
  }

  .pr-grid .review-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 2px 12px rgba(111, 78, 43, 0.07);
    height: auto;
  }

  .pr-grid .review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
  }

  .pr-grid .reviewer-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
  }

  .pr-grid .stars {
    display: flex;
    gap: 3px;
  }

  .pr-grid .review-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
    font-style: italic;
  }

  @media (max-width: 900px) {
    .np-two-col {
      grid-template-columns: 1fr;
      gap: 36px;
    }

    .np-two-col--reverse .np-img-col {
      order: 0;
    }

    .np-two-col--reverse .np-text-col {
      order: 0;
    }

    .np-whitening-inner {
      flex-direction: column;
      text-align: center;
      padding: 36px 24px;
    }

    .np-ins-provider-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .pr-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (min-width: 601px) and (max-width: 900px) {
    .pr-grid {
      grid-template-columns: 1fr 1fr;
    }

    .np-ins-provider-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .about-new-patient {
    padding: 80px 0;
    background: var(--card-bg);
  }

  .about-new-patient-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .about-new-patient-text .section-eyebrow {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
  }

  .about-new-patient-text h2 {
    font-size: 2rem;
    margin-bottom: 16px;
  }

  .about-new-patient-text p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 10px;
  }

  .about-new-patient-img img {
    width: 100%;
    border-radius: var(--radius-card);
    object-fit: cover;
    max-height: 420px;
  }

  .about-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
  }

  @media (max-width: 900px) {
    .about-intro-grid {
      grid-template-columns: 1fr;
    }

    .about-reviews-grid {
      grid-template-columns: 1fr;
    }

    .about-new-patient-inner {
      grid-template-columns: 1fr;
    }

    .about-intro-badges {
      grid-template-columns: 1fr;
    }
  }

  .about-overview {
    padding: 80px 0;
    background: var(--white);
  }

  .about-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .about-overview-text h2 {
    font-size: 2rem;
    margin-bottom: 16px;
  }

  .about-overview-text p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 14px;
  }

  .about-overview-img img {
    width: 100%;
    border-radius: var(--radius-card);
    object-fit: cover;
    max-height: 460px;
  }

  .about-highlight-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .about-highlight-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 18px;
  }

  .about-highlight-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-highlight-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
  }

  .about-highlight-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
  }

  .about-different {
    padding: 80px 0;
    background: var(--card-bg);
  }

  .about-different-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 48px;
  }

  .about-different-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 36px 32px;
  }

  .about-different-icon {
    width: 56px;
    height: 56px;
    background: var(--card-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }

  .about-different-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }

  .about-different-card ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
  }

  .about-different-card li {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
    font-size: 14px;
    padding-left: 22px;
    position: relative;
  }

  .about-different-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
  }

  .about-doctors {
    padding: 80px 0;
    background: var(--white);
  }

  .about-doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
  }

  .about-doctor-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: box-shadow 0.2s;
  }

  .about-doctor-card:hover {
    box-shadow: 0 8px 24px rgba(111, 78, 43, 0.12);
  }

  .about-doctor-img {
    height: 360px;
    overflow: hidden;
    background: var(--card-bg);
  }

  .about-doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .about-doctor-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .about-doctor-info h3 {
    font-size: 1.15rem;
    margin: 0;
  }

  .about-doctor-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
  }

  .about-doctor-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
  }

  .about-doctor-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
    padding-top: 4px;
  }

  .about-team {
    padding: 80px 0;
    background: var(--white);
  }

  .about-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
  }

  .about-team-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
  }

  .about-team-avatar {
    border-radius: 50%;
    background: var(--card-bg);
    overflow: hidden;
    margin: 0 auto 18px;
    border: 3px solid var(--white);
    box-shadow: 0 4px 14px rgba(111, 78, 43, 0.15);
  }

  .about-team-card h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }

  .about-team-role {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
  }

  .about-team-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
  }

  .team-bio-wrap {
    text-align: left;
    margin-top: 10px;
  }

  .team-bio-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .team-bio-wrap.expanded .team-bio-text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .team-bio-toggle {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
  }

  /* Team Modal */
  .team-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .team-modal-overlay.active {
    display: flex;
  }

  /* Box is a flex column — close button on top (fixed), inner scrolls below */
  .team-modal-box {
    background: var(--white);
    border-radius: var(--radius-card);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
  }

  .team-modal-close {
    flex-shrink: 0;
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-gray);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    margin: 10px 14px 10px auto;
    position: relative;
    z-index: 2;
  }

  .team-modal-close:hover {
    color: var(--dark);
    background: var(--white);
  }

  /* Scrollable area */
  .team-modal-inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    align-items: start;
    overflow-y: auto;
    flex: 1;
  }

  .team-modal-img-wrap {
    background: var(--card-bg);
    border-radius: 0 0 0 var(--radius-card);
    overflow: hidden;
    position: sticky;
    top: 0;
  }

  .team-modal-img-wrap img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    display: block;
  }

  .team-modal-content {
    padding: 28px 32px 36px 28px;
  }

  .team-modal-content h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
  }

  .team-modal-role {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 20px;
  }

  .team-modal-bio {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
  }

  @media (max-width: 600px) {
    .team-modal-inner {
      grid-template-columns: 1fr;
    }

    .team-modal-img-wrap {
      height: 240px;
      border-radius: 0;
      position: static;
    }

    .team-modal-img-wrap img {
      aspect-ratio: unset;
      height: 100%;
    }

    .team-modal-content {
      padding: 20px 20px 28px;
    }
  }

  .about-technology {
    padding: 80px 0;
    background: var(--white);
  }

  .about-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
  }

  .about-tech-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    text-align: center;
  }

  .about-tech-card svg {
    margin-bottom: 16px;
  }

  .about-tech-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .about-tech-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
  }

  @media (max-width: 900px) {
    .about-overview-grid {
      grid-template-columns: 1fr;
    }

    .about-overview-img {
      order: -1;
    }

    .about-different-grid {
      grid-template-columns: 1fr;
    }

    .about-doctors-grid {
      grid-template-columns: 1fr;
    }

    .about-team-grid {
      grid-template-columns: 1fr 1fr;
    }

    .about-tech-grid {
      grid-template-columns: 1fr 1fr;
    }

    .about-highlight-cards {
      grid-template-columns: 1fr;
    }
  }

  /* ===== TOUR OUR OFFICE PAGE ===== */
  .tour-section {
    padding: 80px 0;
  }

  .tour-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
  }

  .tour-intro h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--dark);
  }

  .tour-intro p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
  }

  .tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .tour-grid-item {
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    position: relative;
  }

  .tour-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }

  .tour-grid-item:hover img {
    transform: scale(1.04);
  }

  .tour-video-item {
    aspect-ratio: unset !important;
    padding: 0;
    background: #000;
  }

  .tour-video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    /* 4:3 to match photo cells */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: #111;
  }

  .tour-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
  }

  /* ===== SERVICE PAGES (Invisalign, ClearCorrect, etc.) ===== */
  .service-section {
    padding: 80px 0;
  }

  .service-grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 64px;
    align-items: start;
  }

  .service-img-wrap {
    border-radius: var(--radius-card);
    overflow: hidden;
    position: sticky;
    top: 100px;
  }

  .service-img-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .service-badge {
    display: inline-block;
    background: var(--card-bg);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--primary);
    margin-bottom: 20px;
  }

  .service-content h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
  }

  .service-content h3 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 14px;
    line-height: 1.25;
  }

  .service-content p {
    font-size: 16px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 18px;
  }

  .service-divider {
    border: none;
    border-top: 1px solid var(--border-gray);
    margin: 32px 0;
  }

  .service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .service-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
  }

  .service-list li::before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 6px;
  }

  /* ===== SECTION-WISE PAGE LAYOUT (All-On-4, Invisalign, etc.) ===== */
  .sp-section {
    padding-top: 90px;
    padding-bottom: 90px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eff5 100%);
  }

  .sp-section--alt {
    background: #fff;
    padding-bottom: 90px;
  }

  /* image LEFT, text RIGHT (default) */
  .sp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  /* text LEFT, image RIGHT */
  .sp-row--reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .sp-row--reverse .sp-img-outer {
    order: 2;
  }

  .sp-row--reverse .sp-content {
    order: 1;
  }

  /* Premium image frame — green border offset */
  .sp-img-outer {
    position: relative;
    padding: 16px 0 0 16px;
  }

  .sp-img-outer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border: 2px solid var(--primary);
    border-radius: var(--radius-card);
    opacity: 0.35;
    pointer-events: none;
  }

  /* Reverse rows: offset goes the other way */
  .sp-row--reverse .sp-img-outer {
    padding: 16px 16px 0 0;
  }

  .sp-row--reverse .sp-img-outer::before {
    left: auto;
    right: 0;
  }

  .sp-img-wrap {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.13);
    position: relative;
  }

  .sp-img-wrap img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.55s ease;
  }

  .sp-img-wrap:hover img {
    transform: scale(1.04);
  }

  .sp-content {
    display: flex;
    flex-direction: column;
  }

  /* Green accent bar before every section heading */
  .sp-content h2::before {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 18px;
  }

  .sp-content h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 18px;
    line-height: 1.15;
  }

  .sp-content p {
    font-size: 16px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 20px;
  }

  .sp-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .sp-check-list li {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    padding-left: 22px;
    position: relative;
  }

  .sp-check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
  }

  .sp-content .service-badge {
    margin-bottom: 18px;
  }

  .sp-content .service-list {
    margin-top: 8px;
  }

  /* Premium service list for image sections */
  .sp-content .service-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #444;
    line-height: 1.65;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(0, 57, 86, 0.05);
    border: 1px solid rgba(0, 57, 86, 0.12);
  }

  .sp-content .service-list li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: var(--primary);
    margin-top: 5px;
  }

  /* ── Premium Benefits Section (no image, last section) ── */
  .sp-benefits-section {
    padding: 90px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
  }

  .sp-benefits-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgb(0 57 86 / 18%);
    pointer-events: none;

  }

  .sp-benefits-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgb(0 57 86 / 18%);
    pointer-events: none;
    z-index: 0;
  }

  .sp-benefits-inner {
    text-align: center;
    margin-bottom: 56px;
  }

  .sp-benefits-inner h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(30px, 3.5vw, 46px);
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .sp-benefits-inner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
  }

  .sp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .sp-benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-card);
    padding: 28px 28px 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: background .3s, border-color .3s, transform .3s;
    backdrop-filter: blur(120px);
  }

  .sp-benefit-card:hover svg {
    color: #fff;
  }

  .sp-benefit-card:hover {
    background: rgb(0 57 86 / 26%);
    border-color: rgba(0, 57, 86, 0.35);
  }

  .sp-benefit-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
  }

  .sp-benefit-icon svg {
    display: block;
  }

  .sp-benefit-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-weight: 500;
    padding-top: 9px;
  }

  /* ===== SMILE GALLERY PAGE ===== */
  .gallery-section {
    padding: 80px 0;
  }

  .gallery-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
  }

  .filter-btn {
    padding: 10px 26px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
  }

  .filter-btn:hover,
  .filter-btn.active {
    background: var(--primary);
    color: #fff;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .gallery-item {
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    background: #000;
  }

  .gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .gallery-item:hover img {
    transform: scale(1.04);
    opacity: 0.9;
  }

  .gallery-item-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 20px 14px 12px;
  }

  .gallery-item.hidden {
    display: none;
  }

  /* Gallery Before/After Grid */
  .gallery-ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .gallery-ba-item {
    display: block;
  }

  .gallery-ba-item.hidden {
    display: none;
  }

  .gallery-ba-card {
    height: 280px;
    position: relative;
  }

  .gallery-ba-card .ba-labels {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 4;
    pointer-events: none;
  }

  .ba-label-before,
  .ba-label-after {
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  /* ===== CAREERS PAGE ===== */
  .careers-section {
    padding: 80px 0;
  }

  .careers-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
  }

  .careers-intro h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark);
  }

  .careers-intro p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
  }

  .positions-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
  }

  .positions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
  }

  .position-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
  }

  .position-item::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
  }

  .careers-form-wrap {
    background: #fff;
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 40px;
  }

  .careers-form-wrap h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
  }

  .careers-form-wrap p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 28px;
  }

  .careers-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .careers-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
  }

  .careers-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
  }

  .careers-form .form-input {
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--light-gray);
    transition: border-color 0.2s;
    outline: none;
  }

  .careers-form .form-input:focus {
    border-color: var(--primary);
    background: #fff;
  }

  .upload-area {
    border: 2px dashed var(--border-gray);
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
    position: relative;
  }

  .upload-area:hover {
    border-color: var(--primary);
  }

  .upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
  }

  .upload-icon {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .upload-area p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
  }

  .upload-area strong {
    color: var(--primary);
  }

  /* ===== RESPONSIVE: SUBPAGES ===== */
  @media (max-width: 991px) {

    .sp-row,
    .sp-row--reverse {
      grid-template-columns: 1fr;
      gap: 36px;
    }

    /* sp-section--alt (reverse): image TOP, text BOTTOM on mobile */
    .sp-row--reverse .sp-img-outer {
      order: 1;
    }

    .sp-row--reverse .sp-content {
      order: 2;
    }

    .sp-img-wrap img {
      height: auto;
    }




    .sp-benefits-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 1024px) {
    .service-grid {
      grid-template-columns: 1fr;
    }

    .service-img-wrap {
      position: static;
      max-width: 560px;
    }

    .service-img-wrap img {
      height: 320px;
    }

    .doctor-grid {
      grid-template-columns: 1fr;
    }

    .doctor-img-wrap {
      position: static;
      max-width: 420px;
    }

    .tour-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .gallery-ba-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .careers-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 640px) {
    .tour-grid {
      grid-template-columns: repeat(1, 1fr);
    }

    .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .gallery-ba-grid {
      grid-template-columns: 1fr;
    }

    .gallery-ba-card {
      height: 240px;
    }

    .doctor-specialties {
      grid-template-columns: 1fr;
    }

    .careers-form .form-row {
      grid-template-columns: 1fr;
    }

    .careers-form-wrap {
      padding: 24px 18px;
    }
  }

  @media (max-width: 480px) {
    .gallery-grid {
      grid-template-columns: 1fr;
    }

    .gallery-filters {
      gap: 8px;
    }

    .filter-btn {
      padding: 8px 18px;
      font-size: 14px;
    }
  }

  .hover_txt_flip {
    color: #70afff;
    font-weight: 600;
    position: relative;
    display: inline-block;
  }

  .hover_txt_flip:before {
    content: "";
    width: 0;
    height: 2px;
    position: absolute;
    bottom: 0;
    -webkit-transition: all 1s ease-out;
    transition: all 1s ease-out;
  }

  .hover_txt_flip:hover {
    color: #177dff !important;
  }

  .hover_txt_flip:hover:before {
    width: 100%;
    -webkit-transition: all .15s cubic-bezier(.4, 0, 1, 1);
    transition: all .15s cubic-bezier(0.4, 0, 1, 1);
  }

  /* ===== INSURANCE & FINANCING PAGE ===== */

  /* Main two-col layout */
  .inf-main-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eff5 100%);
  }

  .inf-main-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 56px;
    align-items: start;
  }

  /* Left content */
  .inf-content h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
  }

  .inf-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
  }

  .inf-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin: 28px 0 14px;
  }

  .inf-ins-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
  }

  .inf-ins-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
  }

  .inf-ins-list li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
  }

  .inf-content .btn-primary {
    margin-top: 32px;
    display: inline-block;
  }

  /* Right sidebar */
  .inf-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
  }

  .inf-sidebar-card {
    background: var(--light-bg);
    border: 1px solid #dbe2e8;
    border-radius: 14px;
    padding: 28px 26px;
  }

  .inf-sidebar-card h3 {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
  }

  .inf-sidebar-card--green {
    background: var(--primary);
    border-color: var(--primary);
    text-align: center;
  }

  .inf-sidebar-card--green h3 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.4);
  }

  .inf-sidebar-card--green p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .inf-call-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
  }

  .inf-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .inf-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .inf-contact-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
  }

  .inf-contact-list li a {
    font-size: 14px;
    color: var(--dark);
    text-decoration: none;
    line-height: 1.5;
  }

  .inf-contact-list li a:hover {
    color: var(--primary);
  }

  .inf-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .inf-hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    padding: 9px 0;
    border-bottom: 1px solid #dbe2e8;
  }

  .inf-hours-list li:last-child {
    border-bottom: none;
  }

  .inf-hours-list li span:first-child {
    font-weight: 600;
    color: var(--dark);
  }

  /* valley-white-logo Slider */
  .inf-slider-section {
    padding: 70px 0 0;
    background: #fff;
    overflow: hidden;
  }

  .inf-slider-section .container {
    text-align: center;
    margin-bottom: 40px;
  }

  .inf-slider-section h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
  }

  .inf-slider-section p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
  }

  .inf-valley-white-logo-slider-wrap {
    overflow: hidden;
    width: 100%;
    padding: 40px 0 64px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  }

  .inf-valley-white-logo-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: inf-scroll 40s linear infinite;
  }

  .inf-valley-white-logo-track:hover {
    animation-play-state: paused;
  }

  @keyframes inf-scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }

  .inf-valley-white-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #dbe2e8;
    border-radius: 12px;
    padding: 18px 32px;
    min-width: 200px;
    height: 100px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.2s, transform 0.2s;
    flex-shrink: 0;
  }

  .inf-valley-white-logo-item:hover {
    box-shadow: 0 6px 20px rgba(0, 57, 86, 0.13);
    transform: translateY(-2px);
  }

  .inf-valley-white-logo-item img {
    max-height: 134px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .inf-valley-white-logo-item:hover {
    box-shadow: 0 4px 16px rgba(0, 57, 86, 0.12);
  }

  .inf-valley-white-logo-item span {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    white-space: nowrap;
  }

  .inf-valley-white-logo-item--vet {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    border-color: #c8d4ff;
  }

  .inf-valley-white-logo-item--vet span {
    color: #3451b2;
  }

  .inf-valley-white-logo-item--highlight {
    background: linear-gradient(135deg, #f0f7fb 0%, #e0f0f8 100%);
    border-color: #9bc3df;
  }

  .inf-valley-white-logo-item--highlight span {
    color: var(--primary);
  }

  /* Payment Methods */
  .inf-payment-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eff5 100%);
  }

  .inf-payment-header {
    text-align: center;
    margin-bottom: 52px;
  }

  .inf-payment-header h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
  }

  .inf-payment-header p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
  }

  .inf-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .inf-payment-card {
    background: #fff;
    border: 1px solid #dbe2e8;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
  }

  .inf-payment-card:hover {
    box-shadow: 0 8px 28px rgba(0, 57, 86, 0.10);
    transform: translateY(-3px);
  }

  .inf-payment-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 57, 86, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
  }

  .inf-payment-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
  }

  .inf-payment-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
  }

  /* Financing Partners */
  .inf-financing-section {
    padding: 80px 0;
    background: #fff;
  }

  .inf-financing-header {
    text-align: center;
    margin-bottom: 52px;
  }

  .inf-financing-header h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
  }

  .inf-financing-header p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
  }

  .inf-partner-banners {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
  }

  /* ── Banner image links (LendingPoint & Sunbit) ── */
  .inf-banner-img-link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  }

  .inf-banner-img-link:hover {
    opacity: 0.92;
    transform: translateY(-2px);
  }

  .inf-banner-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* ── Cherry Card ── */
  .inf-cherry-card {
    background: #fff;
    border: 2px solid #2e8b57;
    border-radius: 12px;
    padding: 36px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .inf-cherry-valley-white-logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .inf-cherry-valley-white-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
  }

  .inf-cherry-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.75;
    max-width: 480px;
    margin: 0;
  }

  .inf-cherry-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: 4px;
  }

  .inf-cherry-btn:hover {
    background: #00263a;
  }

  /* Responsive */
  @media (max-width: 1100px) {
    .inf-main-grid {
      grid-template-columns: 1fr 320px;
      gap: 40px;
    }
  }

  @media (max-width: 991px) {
    .inf-main-grid {
      grid-template-columns: 1fr;
    }

    .inf-sidebar {
      position: static;
      display: grid;
      grid-template-columns: 1fr 1fr;
    }

    .inf-ins-list {
      grid-template-columns: 1fr 1fr;
    }

    .inf-payment-grid {
      grid-template-columns: repeat(2, 1fr);
    }

  }

  @media (max-width: 640px) {
    .inf-sidebar {
      grid-template-columns: 1fr;
    }

    .inf-ins-list {
      grid-template-columns: 1fr;
    }

    .inf-payment-grid {
      grid-template-columns: 1fr;
    }

    .inf-cherry-card {
      padding: 28px 20px;
    }
  }

  /* ── Insurance page: small mobile (≤480px) ── */
  @media (max-width: 480px) {

    /* prevent any child from escaping the viewport */
    .inf-main-section,
    .inf-slider-section,
    .inf-payment-section,
    .inf-financing-section {
      overflow-x: hidden;
    }

    .inf-main-section {
      padding: 48px 0;
    }

    /* sidebar cards: tighter padding */
    .inf-sidebar-card {
      padding: 20px 16px;
      width: 100%;
      box-sizing: border-box;
    }

    .inf-sidebar-card h3 {
      font-size: 15px;
      margin-bottom: 12px;
    }

    /* contact list: allow email to wrap */
    .inf-contact-list li a {
      font-size: 13px;
      word-break: break-all;
    }

    .inf-hours-list li {
      font-size: 12px;
      padding: 7px 0;
    }

    /* green CTA card */
    .inf-sidebar-card--green p {
      font-size: 13px;
    }

    .inf-call-btn {
      font-size: 14px;
      padding: 12px 16px;
    }

    /* insurance list: single column */
    .inf-ins-list {
      grid-template-columns: 1fr;
      gap: 8px;
    }

    /* payment cards: reduce padding */
    .inf-payment-section {
      padding: 48px 0;
    }

    .inf-payment-card {
      padding: 20px 16px;
    }

    .inf-payment-icon {
      width: 50px;
      height: 50px;
    }

    .inf-payment-card h3 {
      font-size: 15px;
    }

    .inf-payment-card p {
      font-size: 13px;
    }

    /* financing section */
    .inf-financing-section {
      padding: 48px 0;
    }

    .inf-financing-header h2 {
      font-size: 22px;
    }

    .inf-financing-header p {
      font-size: 13px;
    }

    /* cherry card */
    .inf-cherry-card {
      padding: 24px 16px;
    }

    .inf-cherry-card p {
      font-size: 13px;
    }

    .inf-cherry-btn {
      padding: 11px 28px;
      font-size: 14px;
    }

    /* banner images: full width, no overflow */
    .inf-banner-img-link,
    .inf-banner-img {
      width: 100%;
      max-width: 100%;
    }

    /* logo slider: smaller cards */
    .inf-valley-white-logo-item {
      min-width: 140px;
      height: 76px;
      padding: 12px 18px;
    }

    .inf-valley-white-logo-item img {
      max-width: 110px;
      max-height: 50px;
    }

    /* slider section heading */
    .inf-slider-section h2 {
      font-size: 20px;
    }

    .inf-slider-section p {
      font-size: 13px;
    }
  }

  /* ── Extra-small (≤360px) ── */
  @media (max-width: 360px) {
    .inf-sidebar-card {
      padding: 16px 12px;
    }

    .inf-content h2 {
      font-size: 20px;
    }

    .inf-content h3 {
      font-size: 15px;
    }

    .inf-content p,
    .inf-ins-list li {
      font-size: 13px;
    }
  }

  /* ===== PATIENT FORMS PAGE ===== */
  .pf-section {
    padding: 80px 0 90px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eff5 100%);
  }

  .pf-header {
    text-align: center;
    margin-bottom: 52px;
  }

  .pf-header h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
  }

  .pf-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
  }

  .pf-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto 36px;
  }

  .pf-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    border: 1px solid #dbe2e8;
    border-radius: 14px;
    padding: 28px 32px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  }

  .pf-card:hover {
    box-shadow: 0 8px 32px rgba(0, 57, 86, 0.13);
    transform: translateY(-3px);
    border-color: var(--primary);
  }

  .pf-card-icon {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    background: rgba(0, 57, 86, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .pf-card-body {
    flex: 1;
  }

  .pf-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
  }

  .pf-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
  }

  .pf-card-action {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 57, 86, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }

  .pf-card:hover .pf-card-action {
    background: var(--primary);
  }

  .pf-card:hover .pf-card-action svg path {
    stroke: #fff;
  }

  .pf-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dbe2e8;
    border-radius: 10px;
    padding: 16px 20px;
  }

  .pf-note svg {
    flex-shrink: 0;
    margin-top: 2px;
  }

  .pf-note p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
  }

  .pf-note p a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
  }

  .pf-note p a:hover {
    text-decoration: underline;
  }

  @media (max-width: 600px) {
    .pf-card {
      padding: 20px 18px;
      gap: 16px;
    }

    .pf-card-icon {
      width: 52px;
      height: 52px;
    }

    .pf-card-body h3 {
      font-size: 16px;
    }
  }

  /* ===== TESTIMONIALS PAGE ===== */
  .testimonials-summary {
    background: var(--light-bg);
    padding: 48px 0;
    border-bottom: 1px solid #e1ebf2;
  }

  .testimonials-summary-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
  }

  .testimonials-rating-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }

  .testimonials-rating-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
  }

  .testimonials-stars {
    display: flex;
    gap: 3px;
  }

  .testimonials-rating-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
  }

  .testimonials-stat-divider {
    width: 1px;
    height: 60px;
    background: #d1dce5;
  }

  /* Testimonials Grid */
  .testimonials-page-section {
    padding: 80px 0 90px;
  }

  .testimonials-page-header {
    text-align: center;
    margin-bottom: 56px;
  }

  .testimonials-page-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
  }

  .testimonials-page-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.75;
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .testimonial-card {
    background: #fff;
    border: 1px solid #dbe2e8;
    border-radius: 14px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow 0.2s, transform 0.2s;
  }

  .testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(0, 57, 86, 0.10);
    transform: translateY(-3px);
  }

  .testimonial-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .testimonial-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
  }

  .testimonial-stars {
    display: flex;
    gap: 2px;
  }

  .testimonial-source {
    margin-left: auto;
    flex-shrink: 0;
    opacity: 0.85;
  }

  .testimonial-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    flex: 1;
  }

  @media (max-width: 991px) {
    .testimonials-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-summary-inner {
      gap: 36px;
    }

    .testimonials-stat-divider {
      display: none;
    }
  }

  @media (max-width: 600px) {
    .testimonials-grid {
      grid-template-columns: 1fr;
    }

    .testimonials-page-header h2 {
      font-size: 28px;
    }

    .testimonials-rating-number {
      font-size: 34px;
    }
  }

  /* ===== SITEMAP PAGE ===== */
  .sitemap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
  }

  .sitemap-col {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eff5 100%);
    border-radius: var(--radius-card);
    padding: 28px 24px;
  }

  .sitemap-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #6f4e2b;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 57, 86, 0.2);
  }

  .sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .sitemap-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6f4e2b;
    font-weight: 500;
    transition: color 0.2s;
  }

  .sitemap-list li a::before {
    content: '→';
    color: #6f4e2b;
    font-size: 13px;
    flex-shrink: 0;
  }

  .sitemap-list li a:hover {
    color: #6f4e2b;
    opacity: 1;
  }

  @media (max-width: 1100px) {
    .sitemap-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (max-width: 768px) {
    .sitemap-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
  }

  @media (max-width: 480px) {
    .sitemap-grid {
      grid-template-columns: 1fr;
    }
  }

  .single-post-content.entry-content img {
    display: none;
  }

  /* ====================================================
    404 PAGE
    ==================================================== */
  .error-404-section {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: var(--primary);
  }

  .error-404-inner {
    text-align: center;
    max-width: 580px;
  }

  .error-404-icon {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 8px;
    animation: floatTooth 3s ease-in-out infinite;
  }

  @keyframes floatTooth {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-10px);
    }
  }

  .error-404-code {
    font-family: 'Playfair Display', serif;
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: 800;
    line-height: 1;
    color: #fff;
    background-clip: text;
    margin: 0 0 8px;
  }

  .error-404-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    color: #fff;
    margin-bottom: 16px;
  }

  .error-404-msg {
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
  }

  .error-404-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
  }

  .btn-outline-teal {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s;
  }

  .btn-outline-teal:hover {
    background: var(--primary);
    color: #fff;
  }

  .error-404-links {
    border-top: 1px solid #e5f5f4;
    padding-top: 24px;
  }

  .error-404-links p {
    color: #777;
    font-size: .9rem;
    margin-bottom: 12px;
  }

  .error-404-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: center;
  }

  .error-404-links ul li a {
    color: var(--primary);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: color .2s;
  }

  .error-404-links ul li a:hover {
    color: var(--dark-teal);
  }

  /* ===== INVISALIGN SAPPHIRE BADGE ===== */

  /*
  * position: absolute takes it OUT of flex flow, so the navbar height
  * is determined by the logo/buttons only — not the badge size.
  * The badge is vertically centred inside nav-container at all sizes.
  */
  .invisalign-sapphire-badge {
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    right: 10px;
    z-index: 50;
    line-height: 0;
    display: block;
    transition: opacity 0.2s, transform 0.2s;
  }

  .invisalign-sapphire-badge:hover {
    opacity: 0.9;
    transform: translateY(-50%) scale(1.05);
  }

  .invisalign-sapphire-badge img {
    width: 90px;
    height: 100px;
    display: block;
  }

  /* ── Desktop (>1300px): badge sits at far right of nav
    Add padding-right so "Book Now" button doesn't slide under it ── */
  @media (min-width: 1301px) {
    .nav-container {
      padding-right: 110px;
      /* 90px badge + 20px breathing room */
    }
  }

  /* ── Mobile / tablet (≤1300px):
    right: 50px keeps the badge just to the LEFT of the hamburger button
    (hamburger is ~36px wide + nav-container right padding ~14px) ── */
  @media (max-width: 1300px) {
    .invisalign-sapphire-badge {
      right: 50px;
    }

    .invisalign-sapphire-badge img {
      width: 72px;
      height: 82px;
    }
  }

  @media (max-width: 768px) {
    .invisalign-sapphire-badge {
      right: 54px;
      /* tighter padding on small screens */
    }

    .invisalign-sapphire-badge img {
      width: 62px;
      height: 82px;
    }
  }

  @media (max-width: 480px) {
    .invisalign-sapphire-badge img {
      width: 52px;
      height: 82px;
    }
  }

  .sp-benefit-card:hover .sp-benefit-icon {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 18px rgba(12, 171, 82, 0.35);
  }

  .sp-benefit-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-5px);

  }

  .footer-links .social-icon {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: color var(--primary);
  }

  .footer-links .social-icon p {
    color: var(--primary);
    font-size: 15px;
  }

  /* ===== QUICK ACTION CARDS ===== */
  .quick-cards {
        padding: 100px 0;
    background: var(--card-bg);
  }

  .quick-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .quick-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px 32px;
    text-align: center;
    border: 1px solid #ececec;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: var(--dark);
    overflow: hidden;
  }

  .quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--qc-accent, #6f4e2b);
  }

  .quick-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
    border-color: transparent;
  }

  .quick-card-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--qc-accent, #6f4e2b);
    background: rgb(240 237 233);
    border-radius: 20px;
    padding: 5px 12px;
  }

  .quick-card--patient {
    --qc-accent: #6f4e2b;
    --qc-accent-soft: rgba(111, 78, 43, 0.1);
  }

  .quick-card--anxiety {
    --qc-accent: #6f4e2b;
    --qc-accent-soft: rgba(79, 124, 172, 0.1);
  }

  .quick-card--emergency {
    --qc-accent: #6f4e2b;
    --qc-accent-soft: rgba(192, 57, 43, 0.1);
  }

  .quick-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgb(255 153 0 / 10%);
    color: var(--qc-accent, #6f4e2b);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s, color 0.25s;
    font-size: 24px;
  }

  .quick-card:hover .quick-card-icon {
    background: var(--qc-accent, #6f4e2b);
    color: #fff;
  }

  .quick-card h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin: 0;
  }

  .quick-card p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
    flex: 1;
  }

  .quick-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--qc-accent, #6f4e2b);
    letter-spacing: 0.2px;
    margin-top: 6px;
    padding: 10px 18px;
    border: 1.5px solid var(--qc-accent, #6f4e2b);
    border-radius: 30px;
    transition: background 0.25s, color 0.25s;
  }

  .quick-card-btn svg {
    transition: transform 0.25s;
  }

  .quick-card:hover .quick-card-btn {
    background: var(--qc-accent, #6f4e2b);
    color: #fff;
  }

  .quick-card:hover .quick-card-btn svg {
    transform: translateX(3px);
  }

  /* ===== GOAL NAVIGATION ===== */
  .goal-nav {
    padding: 80px 0;
    background: var(--card-bg);
  }

  .goal-nav .section-header {
    margin-bottom: 48px;
  }

  .goal-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .goal-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-card);
    padding: 36px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    color: var(--dark);
  }

  .goal-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 57, 86, 0.2);
    opacity: 1;
  }

  .goal-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease;
  }

  .goal-card:hover .goal-card-icon {
    background: rgba(255, 255, 255, 0.18);
  }

  .goal-card:hover .goal-card-icon svg path,
  .goal-card:hover .goal-card-icon svg rect,
  .goal-card:hover .goal-card-icon svg polyline,
  .goal-card:hover .goal-card-icon svg circle {
    stroke: #fff;
    fill: none;
  }

  .goal-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
    margin: 0;
    transition: color 0.25s ease;
  }

  .goal-card:hover h3 {
    color: var(--white);
  }

  .goal-card-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 20px;
    border: 1.5px solid var(--primary);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    background: transparent;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }

  .goal-card:hover .goal-card-btn {
    background: rgba(255, 255, 255, 0.18);
    border-color: #fff;
    color: #fff;
  }

  /* ===== OFFICE GALLERY ===== */
  .office-gallery {
    padding: 100px 0;
    background: var(--white);
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 8px;
  }

  .gallery-item:nth-child(6n+1) {
    grid-column: span 2;
  }

  .gallery-item:nth-child(6n+4) {
    grid-column: span 2;
  }

  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: var(--card-bg);
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
  }

  .gallery-item:hover img {
    transform: scale(1.06);
  }

  .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(111, 78, 43, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }

  /* Lightbox */
  .gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 6, 3, 0.93);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .gallery-lightbox.active {
    opacity: 1;
    pointer-events: all;
  }

  .lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .lightbox-content img {
    max-width: 88vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    user-select: none;
  }

  .lightbox-counter {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .lightbox-close {
    position: fixed;
    top: 18px;
    right: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10001;
  }

  .lightbox-close:hover {
    background: var(--primary);
  }

  .lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(111, 78, 43, 0.75);
    border: none;
    color: #fff;
    font-size: 40px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;

    justify-content: center;
    transition: background 0.2s;
    z-index: 10001;
  }

  .lightbox-nav:hover {
    background: var(--primary);
  }

  .lightbox-prev {
    left: 16px;
  }

  .lightbox-next {
    right: 16px;
  }

  @media (max-width: 1024px) {
    .gallery-grid {
      grid-template-columns: repeat(4, 1fr);
      grid-auto-rows: 180px;
    }

    .gallery-item:nth-child(6n+1),
    .gallery-item:nth-child(6n+4) {
      grid-column: span 1;
    }

    .gallery-item:nth-child(4n+1) {
      grid-column: span 2;
    }
  }

  @media (max-width: 600px) {
    .office-gallery {
      padding: 60px 0;
    }

    .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
      grid-auto-rows: 140px;
      gap: 6px;
    }

    .gallery-item:nth-child(n) {
      grid-column: span 1 !important;
    }

    .gallery-item:nth-child(5n+1) {
      grid-column: span 2 !important;
    }

    .lightbox-nav {
      width: 42px;
      height: 42px;
      font-size: 32px;
    }

    .lightbox-prev {
      left: 6px;
    }

    .lightbox-next {
      right: 6px;
    }
  }

  /* ===== INSURANCE SECTION ===== */
  .insurance-section {
   background: var(--white);
    padding-top: 100px;
  }

  .insurance-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1300px;
    margin: 0 auto;

    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  }

  .insurance-panel {
    padding: 60px 52px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .insurance-panel--light {
    background: #f5f0eb;
  }

  .insurance-panel--dark {
    background: var(--primary);
  }

  .insurance-panel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
  }

  .insurance-panel-icon svg {
    filter: drop-shadow(0 4px 16px rgba(111, 78, 43, 0.15));
  }

  .insurance-panel--dark .insurance-panel-icon svg {
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.25));
  }

  .insurance-panel--light h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 30px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.25;
    margin: 0;
  }

  .insurance-panel--dark h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 30px;
    font-weight: 500;
    color: #fff;
    line-height: 1.25;
    margin: 0;
  }

  .insurance-panel--light p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
  }

  .insurance-panel--dark p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
  }

  .insurance-panel--dark p strong {
    color: #fff;
  }

  .insurance-panel-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
  }

  .insurance-panel-btns .btn-primary {
    text-align: center;
  }

  .btn-outline-white {
    display: inline-block;
    padding: 12px 24px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-pill);
    ;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    text-align: center;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
  }

  .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
  }

  .insurance-logos-row {
    border-top: 1px solid var(--border-gray);
    padding: 48px 0 100px;
    text-align: center;
  }

  .insurance-logos-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 32px;
  }

  /* Marquee wrapper */
  .insurance-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: auto;
  }

  .insurance-marquee-wrapper::before,
  .insurance-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
  }

  .insurance-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
  }

  .insurance-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
  }

  .insurance-marquee-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    padding: 8px 10px;
    animation: marquee-scroll 32s linear infinite;
  }

  .insurance-marquee-track:hover {
    animation-play-state: paused;
  }

  @keyframes marquee-scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }

  .ins-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 18px 32px;
    min-width: 160px;
    height: 90px;
    flex-shrink: 0;
    transition: box-shadow 0.2s, border-color 0.2s;
  }

  .ins-logo-card:hover {
    box-shadow: 0 4px 16px rgba(111, 78, 43, 0.12);
    border-color: var(--primary);
  }

  .ins-logo-card img {
    height: 44px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.55;
    transition: filter 0.25s, opacity 0.25s;
  }

  .ins-logo-card:hover img {
    filter: grayscale(0);
    opacity: 1;
  }

  /* ===== RESPONSIVE: NEW SECTIONS ===== */
  @media (max-width: 1024px) {
    .goal-nav {
      padding: 60px 0;
    }

    .quick-cards {
      padding: 70px 0;
    }

    .insurance-panel {
      padding: 48px 36px;
    }

    .insurance-panel--light h2,
    .insurance-panel--dark h2 {
      font-size: 26px;
    }
  }

  @media (max-width: 768px) {

    .smile-experts-offer-btns .white-btn,
    .smile-experts-offer-btns .btn-outline-white {
      max-width: 100%;
      width: 100%;
    }

    .office-gallery {
      padding: 50px 0;

    }

    .quick-cards-grid {
      grid-template-columns: 1fr !important;
      max-width: 440px;
      margin: 0 auto;
    }

    .goal-nav-grid {
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .goal-card {
      padding: 28px 16px;
    }

    .goal-card h3 {
      font-size: 15px;
    }

    .insurance-split {
      grid-template-columns: 1fr;
      border-radius: 0;
    }

    .insurance-panel {
      padding: 48px 28px;
    }

    .insurance-logos {
      gap: 18px 28px;
    }

    .insurance-logos img {
      height: 24px;
    }
  }

  @media (max-width: 480px) {
    .about-team .about-team-grid {
      grid-template-columns: repeat(1, 1fr) !important;
    }

    .about-team-avatar img {
      width: 100%;
      height: 100%;
      max-width: 280px;
    }

    .goal-nav-grid {
      grid-template-columns: 1fr;
      max-width: 380px;
      margin: 0 auto;
    }

    .quick-card {
      padding: 28px 20px;
    }

    .insurance-panel {
      padding: 40px 20px;
    }
  }

  a.txt_under {
    text-decoration: underline;
  }

  .collage_class {
    text-decoration: underline;
  }

  .white-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
  }

  .office-gallery .section-header {

    margin-bottom: 48px;
  }

  .guide-form-wrapper .guide-form .disclaimer-msg p {
    font-size: 14px;
  }

  .guide-form-wrapper .guide-form .disclaimer-msg p a:hover {
    color: var(--primary) !important;
  }

  section.location-section {
    line-height: 0;
  }

  .dr_position img {
    object-fit: cover;
    object-position: 50% 30%;
  }

  .review-bottom {
    display: flex;
    justify-content: space-between;
  }

  @media (max-width: 700px) {

    .about-team-grid {
      grid-template-columns: repeat(2, 1fr) !important;
    }
  }

  /* ── Service Sub-page: Info Boxes ──────────────────────────────────────────── */
  .sp-info-boxes-section {
    padding: 90px 0;
    background: #1c1208;
    border-bottom: none;
  }

  .sp-info-boxes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .sp-info-box {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 36px 28px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  }

  .sp-info-box-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 12px;
    display: block;
  }

  .sp-info-box-body {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    flex: 1;
  }

  /* ── Service Sub-page: Step Cards ───────────────────────────────────────────── */
  .sp-step-cards-section {
    padding: 90px 0;
    background: #1c1208;
  }

  .sp-step-cards-section h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
  }

  .sp-step-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;

  }

  .sp-step-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 44px 40px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  }

  .sp-step-card:hover {
    transform: translateY(-5px);
    background: rgba(111, 78, 43, 0.22);
    border-color: rgba(111, 78, 43, 0.5);
  }

  .sp-step-num {
    position: absolute;
    top: 30%;
    right: 20px;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    box-shadow: none;
    font-size: 180px;
    font-weight: 900;
    line-height: 1;
    display: block;
    margin-bottom: 0;
    pointer-events: none;
    user-select: none;
    letter-spacing: -6px;
    filter: blur(2px);
  }

  .sp-step-num::before {
    content: '0';
  }

  .sp-step-card h3 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
  }

  .sp-step-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.82;
    margin: 0;
  }

  .sp-step-card p+p {
    margin-top: 14px;
  }

  /* ── Service Sub-page: FAQ list ───────────────────────────────────────────── */
  .sp-page-faq-section {
    padding: 70px 0;
    background: var(--bg-white);
  }

  /* ── Service Sub-page: Related Services ─────────────────────────────────────── */
  .sp-related-section {
    padding: 80px 0;
    background: #1c1208;
  }

  .sp-related-section h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
  }

  .sp-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 44px;
  }

  .sp-related-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  }

  .sp-related-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
  }

  .sp-related-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.72;
    margin: 0;
    flex: 1;
  }

  .sp-related-link {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 9px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    align-self: flex-start;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .sp-related-link:hover {
    text-decoration: none;
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.55);
  }

  .sp-related-card:hover {
    transform: translateY(-4px);
    background: rgba(111, 78, 43, 0.28);
    border-color: rgba(111, 78, 43, 0.65);
  }

  /* ── Service Sub-page: Follow-up text section ──────────────────────────────── */
  .sp-followup-section {
    padding: 60px 0;
    background: var(--card-bg);
  }

  .sp-followup-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .sp-followup-inner h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin-bottom: 18px;
  }

  .sp-followup-inner p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
  }

  @media (max-width: 768px) {
    .sp-info-boxes-grid {
      grid-template-columns: 1fr;
    }

    .sp-step-cards-grid {
      grid-template-columns: 1fr;
    }

    .sp-related-grid {
      grid-template-columns: 1fr;
    }
  }

  /* ── Service Sub-page: Additional Enhancements ── */
  .sp-info-box:hover {
    transform: translateY(-5px);
    background: rgba(111, 78, 43, 0.22);
    border-color: rgba(111, 78, 43, 0.5);
  }

  .sp-info-box-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    flex-shrink: 0;
  }

  .sp-info-box-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-pill);
    transition: all 0.25s ease;
    align-self: flex-start;
  }

  .sp-info-box-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    opacity: 1;
  }

  .page-hero.has-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    z-index: 1;
  }

  .page-hero.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: -1;
  }

  .sp-step-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .sp-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(111, 78, 43, 0.1);
  }

  .sp-related-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }

  .sp-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(111, 78, 43, 0.1);
    border-color: var(--primary);
  }

  .sp-related-link svg {
    transition: transform 0.2s ease;
  }

  .sp-related-card:hover .sp-related-link svg {
    transform: translateX(3px);
  }

  .custom_width {
    width: fit-content;
  }

  /* ── Mobile Navigation Active States ── */
  .mobile-dropdown li a.active {
    background: var(--primary) !important;
    color: #fff !important;
  }

  .mobile-dropdown-toggle.active {
    color: var(--primary) !important;
    background: #f0f6fa !important;
  }

  .sp-step-cards-section ul.np-checklist li {
    color: rgba(255, 255, 255, 0.72);
  }

  /* ═══════════════════════════════════════════════════════════════
   FINANCIAL PAGES
═══════════════════════════════════════════════════════════════ */

  /* ── Insurance section ──────────────────────────────────────── */
  .fin-insurance-section {
    padding: 80px 0;
    background: #fff;
  }

  .fin-insurance-section-header {
    margin-bottom: 48px;
  }

  .fin-insurance-section-header h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 14px;
  }

  .fin-insurance-section-header p {
    font-size: 15px;
    color: #555;
    line-height: 1.75;
    max-width: 680px;
  }

  .fin-insurance-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
  }

  .fin-insurance-logo-card {
    background: #f8fafc;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    min-height: 80px;
  }

  .fin-insurance-logo-card:hover {
    background: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(111, 78, 43, 0.1);
  }

  .fin-insurance-logo-card img {
    max-height: 34px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.2s, opacity 0.2s;
  }

  .fin-insurance-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
  }

  .fin-insurance-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
  }

  .fin-insurance-tag {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    background: #f0f3f7;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 14px;
    letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }

  .fin-insurance-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }

  /* ── Promo pair (dark gradient) ─────────────────────────────── */
  .fin-promo-section {
    padding: 100px 0;
    background: linear-gradient(150deg, #3d2415 0%, #2a1508 100%);
    position: relative;
    overflow: hidden;
  }

  .fin-promo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(-55deg,
        transparent,
        transparent 38px,
        rgba(255, 255, 255, 0.018) 38px,
        rgba(255, 255, 255, 0.018) 39px);
    pointer-events: none;
  }

  .fin-promo-header {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
  }

  .fin-promo-header-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d4a76a;
    margin-bottom: 14px;
  }

  .fin-promo-header h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-style: italic;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.2;
  }

  .fin-promo-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.75;
  }

  .fin-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    position: relative;
  }

  .fin-promo-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 22px;
    padding: 44px 40px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
  }

  .fin-promo-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(212, 167, 106, 0.06);
    pointer-events: none;
  }

  .fin-promo-card:hover {
    border-color: rgba(212, 167, 106, 0.35);
    transform: translateY(-4px);
  }

  .fin-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #d4a76a;
    background: rgba(212, 167, 106, 0.12);
    border: 1px solid rgba(212, 167, 106, 0.28);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 24px;
    width: fit-content;
  }

  .fin-promo-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(212, 167, 106, 0.1);
    border: 1px solid rgba(212, 167, 106, 0.2);
    color: #d4a76a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 22px;
  }

  .fin-promo-card h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.65rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.25;
  }

  .fin-promo-card>p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.75;
    margin: 0 0 28px;
  }

  .fin-promo-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: rgba(212, 167, 106, 0.08);
    border: 1px solid rgba(212, 167, 106, 0.18);
    border-radius: 14px;
    margin-bottom: 28px;
  }

  .fin-promo-stat-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    font-style: italic;
    color: #d4a76a;
    line-height: 1;
    white-space: nowrap;
  }

  .fin-promo-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    line-height: 1.5;
  }

  .fin-promo-highlights {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .fin-promo-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
  }

  .fin-promo-highlights li::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(212, 167, 106, 0.15) url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23d4a76a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    border: 1px solid rgba(212, 167, 106, 0.3);
  }

  .fin-promo-providers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
  }

  .fin-promo-provider-pill {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 7px 16px;
    letter-spacing: 0.02em;
  }

  .fin-promo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e1e1e;
    background: #d4a76a;
    border: 1.5px solid #d4a76a;
    border-radius: 10px;
    padding: 13px 24px;
    text-decoration: none;
    margin-top: auto;
    width: fit-content;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  }

  .fin-promo-link:hover {
    background: #c4955a;
    border-color: #c4955a;
    color: #fff;
    transform: translateX(3px);
  }

  @media (max-width: 768px) {
    .fin-promo-grid {
      grid-template-columns: 1fr;
    }

    .fin-promo-header h2 {
      font-size: 1.8rem;
    }

    .fin-promo-card {
      padding: 36px 28px 32px;
    }
  }

  /* ── Program intro (dental-membership-plan) ─────────────────── */
  .fin-program-intro-section {
    padding: 80px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
  }

  .fin-program-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .fin-program-intro-img-wrap {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    aspect-ratio: 4 / 3;
  }

  .fin-program-intro-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .fin-program-intro-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .fin-program-intro-heading {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 18px;
    line-height: 1.2;
  }

  .fin-program-intro-body {
    font-size: 15.5px;
    color: #555;
    line-height: 1.85;
    margin-bottom: 18px;
  }

  .fin-program-intro-cta-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 28px;
  }

  .fin-program-intro-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
  }

  .fin-program-intro-btn:hover {
    background: var(--primary-dark);
    color: #fff;
  }

  @media (max-width: 768px) {
    .fin-program-intro-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
  }

  /* ── Membership plan cards ──────────────────────────────────── */
  .fin-plan-cards-section {
    padding: 90px 0;
    background: linear-gradient(150deg, #3d2415 0%, #2a1508 100%);
    position: relative;
    overflow: hidden;
  }

  .fin-plan-cards-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(-55deg,
        transparent,
        transparent 38px,
        rgba(255, 255, 255, 0.015) 38px,
        rgba(255, 255, 255, 0.015) 39px);
    pointer-events: none;
  }

  .fin-plan-intro {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 700px;
    margin: 0 auto 52px;
    line-height: 1.8;
    text-align: center;
  }

  .fin-plan-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
  }

  .fin-plan-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  }

  .fin-plan-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 167, 106, 0.45);
  }

  .fin-plan-name {
    font-size: 11px;
    font-weight: 800;
    color: #d4a76a;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
  }

  .fin-plan-price-main {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
  }

  .fin-plan-price-period {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 6px;
    margin-bottom: 28px;
  }

  .fin-plan-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 0 0 24px;
  }

  .fin-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
  }

  .fin-plan-features li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
  }

  .fin-plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 15px;
    height: 15px;
    background: #d4a76a;
    border-radius: 50%;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M2.5 7.5l3.5 3.5 6-7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/cover;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M2.5 7.5l3.5 3.5 6-7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/cover;
  }

  .fin-plan-features li.fin-plan-discount {
    font-weight: 700;
    color: #d4a76a;
    font-size: 15px;
  }

  .fin-plan-cta {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background: #d4a76a;
    color: #1e1e1e;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: background 0.2s ease;
  }

  .fin-plan-cta:hover {
    background: #c4955a;
    color: #fff;
    opacity: 1;
  }

  /* ── Payment provider sections ──────────────────────────────── */
  /* ── Payment providers (dark cards) ────────────────────────── */
  .fin-providers-dark-section {
    padding: 100px 0;
    background: linear-gradient(150deg, #3d2415 0%, #2a1508 100%);
    position: relative;
    overflow: hidden;
  }

  .fin-providers-dark-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(-55deg,
        transparent,
        transparent 38px,
        rgba(255, 255, 255, 0.015) 38px,
        rgba(255, 255, 255, 0.015) 39px);
    pointer-events: none;
  }

  .fin-providers-dark-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
  }

  .fin-provider-dark-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.3s;
  }

  .fin-provider-dark-card:hover {
    border-color: rgba(212, 167, 106, 0.4);
    transform: translateY(-4px);
  }

  .fin-provider-dark-logo-wrap {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 40px;
    min-height: 230px;
  }

  .fin-provider-dark-logo {

    max-width: 330px;
    width: auto;
    object-fit: contain;
    display: block;
  }

  .fin-provider-dark-body {
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .fin-provider-dark-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(212, 167, 106, 0.09);
    border: 1px solid rgba(212, 167, 106, 0.2);
    border-radius: 12px;
    margin-bottom: 22px;
  }

  .fin-provider-dark-stat-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: #d4a76a;
    white-space: nowrap;
    line-height: 1;
  }

  .fin-provider-dark-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
  }

  .fin-provider-dark-body h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.45rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
  }

  .fin-provider-dark-body p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.75;
    margin-bottom: 24px;
    flex: 1;
  }

  .fin-provider-dark-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1e1e1e;
    background: #d4a76a;
    border: 1.5px solid #d4a76a;
    border-radius: 10px;
    padding: 11px 22px;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s, color 0.2s;
  }

  .fin-provider-dark-btn:hover {
    background: #c4955a;
    border-color: #c4955a;
    color: #fff;
  }

  @media (max-width: 900px) {
    .fin-providers-dark-grid {
      grid-template-columns: 1fr;
      max-width: 480px;
      margin: 0 auto;
    }
  }

  /* ── Have More Questions ────────────────────────────────────── */
  .fin-have-questions {
    padding: 72px 0;
    background: #1c1208;
    text-align: center;
  }

  .fin-have-questions h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
  }

  .fin-have-questions p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.75;
  }

  /* ── Office Fee Tables ──────────────────────────────────────── */
  .fin-fee-tables-section {
    padding: 80px 0;
    background: #f8fafc;
  }

  .fin-fee-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    text-align: center;
  }

  .fin-fee-group {
    margin-bottom: 56px;
  }

  .fin-fee-group:last-child {
    margin-bottom: 0;
  }

  .fin-fee-group-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2.5px solid var(--primary);
  }

  .fin-fee-table-container {
    overflow-x: auto;
    overflow-y: visible;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    background: #fff;
    position: relative;
    -webkit-overflow-scrolling: touch;
  }

  /* Horizontal scrollbar styling */
  .fin-fee-table-container::-webkit-scrollbar {
    height: 5px;
  }

  .fin-fee-table-container::-webkit-scrollbar-track {
    background: #f0f3f6;
    border-radius: 0 0 14px 14px;
  }

  .fin-fee-table-container::-webkit-scrollbar-thumb {
    background: #d4a76a;
    border-radius: 10px;
  }

  .fin-fee-table-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
  }

  .fin-fee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
  }

  .fin-fee-table thead tr {
    background: var(--primary);
  }

  .fin-fee-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--primary);
    padding: 20px 22px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
  }

  .fin-th-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .fin-th-inner svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
    flex-shrink: 0;
  }

  .fin-fee-table tbody tr {
    border-bottom: 1px solid #f0f3f6;
    transition: background 0.15s;
  }

  .fin-fee-table tbody tr:last-child {
    border-bottom: none;
  }

  .fin-fee-table tbody tr:hover {
    background: #fdf8f4;
  }

  .fin-fee-table td {
    padding: 13px 18px;
    color: #333;
    vertical-align: top;
  }

  .fin-fee-table td:nth-child(2) {
    font-weight: 600;
    white-space: nowrap;
  }

  .fin-fee-table td:nth-child(3) {
    color: #999;
    font-size: 12px;
  }

  .fin-fee-table td:nth-child(4) {
    color: #27a96e;
    font-weight: 600;
    white-space: nowrap;
  }

  /* ── Welcome section ────────────────────────────────────────── */
  .fin-welcome-section {
    background: #1c1208;
    position: relative;
    overflow: hidden;
  }



  .fin-welcome-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 100px 24px;
    text-align: center;
    position: relative;
  }

  .fin-welcome-deco {
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
  }

  .fin-welcome-section h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 600;
    color: #fff;
    margin: 0 0 24px;
    line-height: 1.2;
  }

  .fin-welcome-divider {
    width: 52px;
    height: 2px;
    background: #d4a76a;
    border-radius: 2px;
    margin: 0 auto 24px;
  }

  .fin-welcome-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.85;
    margin: 0 0 36px;
  }

  .fin-welcome-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 12px 24px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }

  .fin-welcome-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
  }

  /* ── Contact Page ───────────────────────────────────────────── */
  .contact-main-section {
    padding: 90px 0;
    background: #f4f6f9;
  }

  .contact-main-grid {
    gap: 50px;
    display: flex;
    align-items: center;
  }

  /* ── Info panel (dark side) ── */
  .contact-info-panel {
    background: linear-gradient(150deg, #3d2415 0%, #2a1508 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 35%;
  }

  .contact-info-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #1c1208;
    pointer-events: none;
  }

  .contact-info-card {
    position: relative;
    padding: 56px 44px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
  }

  .contact-info-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d4a76a;
    background: rgba(212, 167, 106, 0.12);
    border: 1px solid rgba(212, 167, 106, 0.3);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 20px;
    width: fit-content;
  }

  .contact-info-heading {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .contact-info-intro {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 36px;
  }

  .contact-info-block {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
  }

  .contact-info-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(212, 167, 106, 0.15);
    color: #d4a76a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    border: 1px solid rgba(212, 167, 106, 0.2);
  }

  .contact-info-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #d4a76a;
    margin-bottom: 5px;
  }

  .contact-info-value {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
  }

  .contact-info-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    margin-top: 5px;
    transition: color 0.2s;
  }

  .contact-info-link:hover {
    color: #d4a76a;
  }

  .contact-hours-table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 4px;
  }

  .contact-hours-table td {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    padding: 3px 0;
  }

  .contact-hours-table td:first-child {
    font-weight: 600;
    width: 110px;
    color: rgba(255, 255, 255, 0.9);
  }

  .contact-hours-closed td {
    color: rgba(255, 255, 255, 0.28) !important;
  }

  /* ── Form panel (light side) ── */
  .contact-form-panel {
    background: #f4f6f9;
    display: flex;
    align-items: center;

    box-sizing: border-box;
    width: 100%;
    max-width: 70%;
  }

  .contact-form-wrap {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e8ecf0;
    padding: 0;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    width: 100%;
  }

  .contact-form-accent-bar {
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, #d4a76a 100%);
  }

  .contact-form-heading {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    padding: 36px 36px 0;
  }

  .contact-form-sub {
    font-size: 14px;
    color: #888;
    margin-bottom: 28px;
    line-height: 1.6;
    padding: 0 36px;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0 36px 36px;
  }

  .contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .contact-form-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #555;
    letter-spacing: 0.02em;
  }

  .contact-required {
    color: var(--primary);
  }

  .contact-textarea {
    height: 120px;
    resize: vertical;
    padding-top: 12px;
    line-height: 1.6;
  }

  .contact-submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 15px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.02em;
  }

  .contact-submit-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
  }

  .contact-submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
  }

  @media (max-width: 960px) {
    .contact-main-grid {
      grid-template-columns: 1fr;
    }

    .contact-info-card {
      padding: 44px 32px;
    }



    .contact-form-heading {
      padding: 28px 28px 0;
    }

    .contact-form-sub {
      padding: 0 28px;
    }

    .contact-form {
      padding: 0 28px 28px;
    }
  }

  @media (max-width: 520px) {
    .contact-form-row {
      grid-template-columns: 1fr;
    }

    .contact-info-heading {
      font-size: 1.6rem;
    }
  }

  /* New Patient Resources banner */
  .contact-new-patient-section {
    padding: 56px 0;
    background: #1c1208;
  }

  .contact-new-patient-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
  }

  .contact-new-patient-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #d4a76a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .contact-new-patient-body {
    flex: 1;
    min-width: 220px;
  }

  .contact-new-patient-body h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
  }

  .contact-new-patient-body p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 600px;
  }

  .contact-new-patient-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e1e1e;
    background: #d4a76a;
    border-radius: 10px;
    padding: 13px 26px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
  }

  .contact-new-patient-btn:hover {
    background: #c4955a;
    color: #fff;
  }

  /* Testimonials Slider */
  .contact-testimonials-section {
    padding: 90px 0;
    background: #f8fafc;
  }

  .ct-slider-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .ct-slider-viewport {
    overflow: hidden;
    flex: 1;
  }

  .ct-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .contact-testimonial-card {
    background: #fff;
    border: 1px solid #eaeff5;
    border-radius: 18px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s, box-shadow 0.25s;
    min-width: 0;
    flex-shrink: 0;
  }

  .contact-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(111, 78, 43, 0.1);
  }

  .ct-slider-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }

  .ct-slider-btn:hover {
    background: var(--primary);
    color: #fff;
  }

  @media (max-width: 768px) {
    .ct-slider-wrap {
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    .ct-slider-viewport {
      order: 1;
      flex: 1 0 100%;
    }

    .ct-slider-prev {
      order: 2;
    }

    .ct-slider-next {
      order: 3;
    }
  }

  .ct-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
  }

  .ct-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
  }

  .ct-dot.active {
    background: var(--primary);
    transform: scale(1.25);
  }

  .contact-testimonial-stars {
    color: #f5a623;
    font-size: 15px;
    letter-spacing: 2px;
  }

  .contact-testimonial-text {
    font-size: 14.5px;
    color: #555;
    line-height: 1.8;
    flex: 1;
    font-style: italic;
  }

  .contact-testimonial-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.04em;
  }

  @media (max-width: 900px) {
    .contact-new-patient-inner {
      flex-direction: column;
      align-items: flex-start;
    }
  }

  /* ── Financial mobile ───────────────────────────────────────── */
  @media (max-width: 768px) {
    .fin-plan-cards-grid {
      grid-template-columns: 1fr;
    }

    .fin-promo-grid {
      grid-template-columns: 1fr;
    }

    .fin-provider-inner,
    .fin-provider-inner.reverse {
      grid-template-columns: 1fr;
      direction: ltr;
      gap: 32px;
    }

    .fin-insurance-logos-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .fin-fee-table {
      font-size: 12px;
    }

    .fin-fee-table td,
    .fin-fee-table th {
      padding: 10px 12px;
    }
  }

  @media (max-width: 1080px) {

    .fin-providers-dark-grid {

      grid-template-columns: repeat(2, 1fr);
      width: 100%;
      max-width: 100%;
    }
  }

  .sp-step-cards-section .np-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4a76a;
    font-weight: 700;
    font-size: 14px;
  }

  div#ct-slider-dots {
    display: none;
  }

  @media (max-width: 1024px) {

    .contact-main-grid {

      flex-wrap: wrap;
    }

    .contact-info-panel {

      width: 100%;
      max-width: 100%;
    }

    .contact-form-wrap {
      width: 100%;
      max-width: 100%;
    }

    .contact-form-panel {
      width: 100%;
      max-width: 100%;
    }
  }
  
  
   /* New patient offer card */
  .smile-experts-offer {
   
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
  }

  .smile-experts-offer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
  }

  .smile-experts-offer-text {
    padding: 52px 60px;
  }

  .smile-experts-offer-img {
    height: 100%;
    min-height: 420px;
  }

  .smile-experts-offer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
        border-radius: 12px;
  }

  .smile-experts-offer-badge {
    display: inline-block;
    background: rgba(106, 74, 28, 0.12);
    border: 1px solid rgba(106, 74, 28, 0.3);
    border-radius: 20px;
    padding: 5px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
  }

  .smile-experts-offer h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 34px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 18px;
  }

  .smile-experts-offer p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-body);
    margin: 0 0 20px;
  }

  .smile-experts-offer strong {
    color: var(--text-dark);
  }

  .smile-experts-offer-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
  }

  .btn-outline-primary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }

  .btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
  }
  
      .smile-experts-offer-inner {
      grid-template-columns: 1fr 1fr;
    }

    .smile-experts-offer-text {
      padding: 40px 28px;
          text-align: start;
     padding-left: 50px;
    }

    .smile-experts-offer-img {
      min-height: 260px;
      order: -1;
    }

    .smile-experts-offer h2 {
      font-size: 26px;
    }

    .smile-experts-offer-btns {
      flex-direction: column;
      align-items: flex-start;
    }

    .smile-experts-offer-btns .btn-primary,
    .smile-experts-offer-btns .btn-outline-primary {
      width: 100%;
      max-width: 320px;
      text-align: center;
    }
    
    .legal_link {
    display: flex;
    gap: 20px;
}

.bottom_col {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.bottom_col a:first-child {
    margin-top: 20px;
}

.bottom_col:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: 200px;
    background: #6f4e2b40;
}

.footer-links a:not(:last-child) {
    padding-bottom: 12px;
}

.footer-links span:not(:last-child) {
    padding-bottom: 12px;
}