:root {
    /* Requested Color Palette */
    --primary: #783a2d;
    --secondary: #a25742;
    --body-bg: #f1ece5;
    
    /* Complementary Shades */
    --primary-glow: rgba(120, 58, 45, 0.4);
    --secondary-glow: rgba(162, 87, 66, 0.4);
    --ink: #2b1712;
    --ink-soft: #4a2d26;
    --gray: #7a635e;
    --gray-light: #ab9b98;
    --line: #dcd0ca;
    --white: #FFFFFF;
    
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --maxw: 1240px;
  }

  @media (prefers-reduced-motion: reduce) {
    *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
  }
  
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--body-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { text-decoration: none; color: inherit; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; }
  ul { list-style: none; margin: 0; padding: 0; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
  
  /* Scroll Reveal Animation */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }

  .eyebrow-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px; border-radius: 100px; border: 1px solid var(--line);
    font-size: 13px; font-weight: 600; color: var(--ink-soft);
  }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: 100px; font-weight: 600; font-size: 15px;
    transition: all .3s ease;
  }
  .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px -10px var(--primary); }
  
  .btn-white { background: var(--white); color: var(--ink); }
  .btn-white .arrow {
    width: 32px; height: 32px; border-radius: 50%; background: var(--primary);
    display: flex; align-items: center; justify-content: center; color: #fff;
  }
  .btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -8px var(--primary-glow); }
  .btn-primary:hover { background: var(--secondary); }
  .btn-primary svg { width: 16px; height: 16px; }
  
  .section-tag {
    display: inline-block; padding: 7px 16px; border-radius: 100px; border: 1px solid var(--line);
    font-size: 13px; font-weight: 600; color: var(--secondary); margin-bottom: 18px;
    background: rgba(162, 87, 66, 0.05);
  }

  /* ===================== HEADER / HERO ===================== */
  .hero {
    position: relative;
    background: #2b140e; /* Deep rich brown for contrast */
    min-height: 860px;
    padding-top: 20px;
    overflow: hidden;
  }
  .hero-glow {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(620px 620px at 82% -6%, rgba(162, 87, 66, 0.25), transparent 60%),
      radial-gradient(500px 500px at 8% 92%, rgba(120, 58, 45, 0.4), transparent 60%);
  }
  .hero-media {
    position: absolute; top: 0; right: 0; bottom: 0; width: 52%; z-index: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  }
  .hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
  .hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(43, 20, 14, 0.15), rgba(43, 20, 14, 0.6) 78%, #2b140e 100%);
  }

  .navbar {
    position: relative; z-index: 6;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-radius: 100px; padding: 8px 8px 8px 22px; max-width: calc(var(--maxw) - 48px);
  }
  .logo {
    display: flex; align-items: center; gap: 9px; font-family: 'Space Grotesk', sans-serif;
    font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -.2px;
  }
  .logo .logo-badge {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(145deg, var(--secondary), var(--primary));
    display: flex; align-items: center; justify-content: center; color: #fff;
  }
  .logo svg { width: 16px; height: 16px; }
  
  .nav-pill { display: flex; align-items: center; gap: 4px; }
  .nav-pill a {
    position: relative; padding: 10px 16px; border-radius: 100px; font-size: 14px; font-weight: 500;
    color: rgba(255,255,255,.7); transition: color .3s; white-space: nowrap;
  }
  .nav-pill a.active, .nav-pill a:hover { color: #fff; }
  .nav-pill a.active::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
    background: var(--secondary); border-radius: 2px;
  }
  .book-call-btn {
    background: var(--white); color: var(--primary); padding: 12px 24px; border-radius: 100px;
    font-weight: 700; font-size: 14px; white-space: nowrap; transition: all .3s;
  }
  .book-call-btn:hover { background: var(--secondary); color: #fff; transform: translateY(-2px); }
  
  .nav-toggle { display: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); width: 42px; height: 42px; border-radius: 50%; color: #fff; align-items: center; justify-content: center; }

  /* ---- Fixed navbar on scroll (all pages) ---- */
  .navbar-spacer { width: 100%; height: 0; }
  .navbar.nav-fixed {
    position: fixed; top: 14px; left: 0; right: 0; margin: 0 auto; z-index: 40;
    box-shadow: 0 20px 45px -18px rgba(0,0,0,.55);
    background: rgba(30, 14, 10, .82);
    animation: navFixedIn .35s ease;
  }
  @keyframes navFixedIn {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-body { position: relative; z-index: 4; padding-top: 110px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: 600px; }

  .hero-copy { max-width: 540px; }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 9px; padding: 8px 8px 8px 16px; border-radius: 100px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.9); font-size: 13px; font-weight: 500; margin-bottom: 26px;
  }
  .hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 10px 2px var(--secondary-glow); }
  .hero-eyebrow .chip { background: rgba(255,255,255,.15); padding: 3px 12px; border-radius: 100px; font-size: 11.5px; font-weight: 600; color: #fff; }

  .hero-copy h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(42px, 5vw, 68px); line-height: 1.05; font-weight: 700; color: #fff; margin: 0 0 24px; letter-spacing: -1.5px;
  }
  .hero-copy p { color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.7; max-width: 440px; margin: 0 0 38px; }

  .hero-cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .hero-secondary { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; font-weight: 600; transition: color .2s; }
  .hero-secondary .play {
    position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
    display: flex; align-items: center; justify-content: center; transition: all .3s;
  }
  .hero-secondary .play::before,
  .hero-secondary .play::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.55); pointer-events: none;
    animation: playLoopPulse 2.2s ease-out infinite;
  }
  .hero-secondary .play::after { animation-delay: 1.1s; }
  @keyframes playLoopPulse {
    0% { transform: scale(1); opacity: .8; }
    100% { transform: scale(1.9); opacity: 0; }
  }
  .hero-secondary:hover { color: var(--secondary); }
  .hero-secondary:hover .play { background: var(--secondary); border-color: var(--secondary); color: #fff; }

  .hero-visual { position: relative; height: 600px; }
  .hero-visual-frame {
    position: absolute; inset: 0; border-radius: 40px 40px 40px 140px; overflow: hidden;
    box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); transform: perspective(1000px) rotateY(-5deg); transition: transform 0.5s;
  }
  .hero-visual-frame:hover { transform: perspective(1000px) rotateY(0deg); }
  .hero-visual-frame img { width: 100%; height: 100%; object-fit: cover; }
  
  .glass-card {
    position: absolute; background: rgba(43, 20, 14, 0.6); border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 20px; padding: 16px 20px; color: #fff; box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); z-index: 5;
  }
  .glass-card.rating-card { top: 30px; left: -30px; display: flex; align-items: center; gap: 12px; min-width: 190px; animation: float 6s ease-in-out infinite; }
  .glass-card.rating-card .stars-row { display: flex; color: #FFC107; gap: 2px; margin-bottom: 4px; }
  .glass-card.rating-card .stars-row svg { width: 14px; height: 14px; }
  .glass-card.rating-card strong { display: block; font-size: 15px; font-weight: 600; }
  
  .proof-chip {
    position: absolute; left: -30px; bottom: 40px; display: flex; align-items: center; gap: 12px;
    background: rgba(43, 20, 14, 0.65); border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(20px); border-radius: 100px; padding: 10px 22px 10px 10px; z-index: 5;
    box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); animation: float 8s ease-in-out infinite reverse;
  }
  .proof-chip .imgs { display: flex; }
  .proof-chip .imgs img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #2b140e; }
  .proof-chip .imgs img:not(:first-child) { margin-left: -12px; }
  .proof-chip .text { color: #fff; font-size: 13px; font-weight: 700; }
  .proof-chip .text span { display: block; font-size: 11px; font-weight: 500; color: rgba(255,255,255,.6); }

  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

  .hero-marquee {
    position: relative; z-index: 4; margin-top: 80px; border-top: 1px solid rgba(255,255,255,.1);
    padding: 24px 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .marquee-track { display: flex; gap: 50px; width: max-content; animation: marquee 30s linear infinite; }
  .marquee-track span { display: flex; align-items: center; gap: 50px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1px; }
  .marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); margin-left: 50px; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ===================== PROCESS STRIP ===================== */
  .process-strip { padding: 56px 0; border-bottom: 1px solid var(--line); background: var(--white); position: relative; }
  .process-strip-inner { display: flex; align-items: center; }
  .process-step {
    display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0;
    padding: 14px 18px; border-radius: var(--radius-md); transition: background .35s, transform .35s;
  }
  .process-step:hover { background: var(--body-bg); transform: translateY(-4px); }
  .process-icon {
    position: relative; flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%;
    background: linear-gradient(145deg, rgba(120,58,45,.10), rgba(162,87,66,.16));
    color: var(--primary); display: flex; align-items: center; justify-content: center;
  }
  .process-icon svg { width: 22px; height: 22px; }
  .process-icon .p-num {
    position: absolute; top: -5px; right: -5px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--primary); color: #fff; font-size: 10px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px -4px var(--primary-glow);
    border: 2px solid var(--white);
  }
  .process-copy h4 { margin: 0 0 3px; font-size: 15.5px; font-weight: 800; color: var(--ink); line-height: 1.3; letter-spacing: -.2px; }
  .process-copy span { font-size: 12.5px; color: var(--gray); font-weight: 600; }
  .process-connector {
    flex: 0 0 clamp(20px, 4vw, 56px); height: 0; margin: 0 2px; align-self: center;
    border-top: 1.5px dashed var(--line); position: relative; top: -18px;
  }

  /* ===================== TRUST STRIP (legacy alias) ===================== */
  .trust-strip { padding: 70px 0; border-bottom: 1px solid var(--line); background: var(--white); }
  .trust-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; color: var(--gray-light); font-weight: 700; font-size: 16px; letter-spacing: .5px; text-transform: uppercase; }

  /* ===================== ABOUT ===================== */
  .about { padding: 120px 0 90px; }
  .about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
  .about-faces { display: flex; margin-bottom: 24px; }
  .about-faces img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--body-bg); box-shadow: 0 4px 14px rgba(0,0,0,.1); }
  .about-faces img:nth-child(2) { margin-left: -18px; }
  .about h2 { font-size: 42px; line-height: 1.25; font-weight: 800; margin: 0; letter-spacing: -1px; }
  .about h2 .muted { color: var(--gray); font-weight: 600; }

  .stat-media { margin-top: 80px; display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 40px; align-items: end; }
  .stat-block h3 { font-size: 48px; font-weight: 800; margin: 0 0 4px; color: var(--primary); letter-spacing: -1.5px; }
  .stat-block p { margin: 0; color: var(--gray); font-size: 15px; font-weight: 600; }
  .stat-media .media-shot { border-radius: var(--radius-lg); overflow: hidden; justify-self: end; width: 240px; height: 180px; box-shadow: 0 20px 40px -10px rgba(120, 58, 45, 0.2); }
  .stat-media .media-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
  .stat-media .media-shot:hover img { transform: scale(1.05); }

  /* ===================== FEATURE TREATMENT ===================== */
  .feature { padding: 100px 0; background: var(--white); }
  .feature-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
  .feature h2 { font-size: 44px; line-height: 1.15; font-weight: 800; margin: 0 0 20px; letter-spacing: -1px; }
  .feature-copy p.lead { color: var(--gray); font-size: 16px; line-height: 1.75; max-width: 440px; margin: 0 0 40px; }

  .doctor-card {
    background: var(--body-bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; color: var(--ink);
    display: flex; flex-direction: column; gap: 16px; max-width: 360px; box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
  }
  .doctor-card:hover { transform: translateY(-5px); }
  .doctor-card .photo { position: relative; border-radius: var(--radius-md); overflow: hidden; height: 200px; }
  .doctor-card .photo img { width: 100%; height: 100%; object-fit: cover; }
  .doctor-card .controls { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; gap: 10px; }
  .doctor-card .controls button {
    flex: 1; height: 40px; border-radius: 100px; background: rgba(255,255,255,.8); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center; color: var(--ink); border: 1px solid rgba(255,255,255,0.5);
  }
  .doctor-card .controls button.hang { background: #E24444; flex: .55; color: #fff; border: none; }
  
  .doctor-card .name { font-size: 18px; font-weight: 800; margin: 0 0 2px; color: var(--primary); }
  .doctor-card .role { font-size: 14px; color: var(--gray); margin: 0 0 10px; font-weight: 600; }
  .doctor-card .desc { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 18px; }
  .doctor-card .book-btn { background: var(--primary); color: #fff; padding: 14px 22px; border-radius: 100px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; transition: background 0.3s;}
  .doctor-card .book-btn:hover { background: var(--secondary); }

  .feature-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 560px; box-shadow: 0 30px 60px -20px rgba(120, 58, 45, 0.2); }
  .feature-media img { width: 100%; height: 100%; object-fit: cover; }
  
  .feature-stat-card {
    position: absolute; top: 24px; right: 24px; background: #fff; border-radius: var(--radius-md);
    padding: 20px; width: 210px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.15);
  }
  .feature-stat-card .row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 0; }
  .feature-stat-card .row div p { margin: 0; font-size: 11px; color: var(--gray); font-weight: 600; line-height: 1.4; }
  .feature-stat-card .row div strong { font-size: 22px; font-weight: 800; display: block; margin-bottom: 4px; color: var(--primary); }
  
  .feature-progress { background: #fff; border-radius: var(--radius-md); padding: 20px; position: absolute; left: 24px; right: 24px; bottom: 24px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.15); }
  .feature-progress .top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--gray); font-weight: 600; margin-bottom: 12px; }
  .feature-progress .top .status-label { display: inline-flex; align-items: center; gap: 6px; }
  .feature-progress .top .status-label .live-dot { width: 7px; height: 7px; border-radius: 50%; background: #2ECC71; box-shadow: 0 0 8px #2ECC71; animation: liveDotPulse 1.8s ease-in-out infinite; }
  .feature-progress .top strong { color: var(--primary); font-weight: 800; }
  .bars { display: flex; align-items: flex-end; gap: 4px; height: 36px; }
  .bars span { flex: 1; background: var(--line); border-radius: 4px; height: 12%; transition: height .8s cubic-bezier(.16,1,.3,1), background .4s; }
  .bars span.on { background: var(--secondary); }
  .bars span.current { background: var(--primary); animation: pulseBar 1.6s ease-in-out infinite; }
  @keyframes pulseBar { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
  @keyframes liveDotPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.8); } }
  .feature-progress .progress-meta { margin-top: 10px; text-align: right; font-size: 11px; font-weight: 600; color: var(--gray-light); letter-spacing: .02em; }

  /* ===================== SERVICES GRID ===================== */
  .services { padding: 20px 0 100px; background: var(--white); }
  .services-head { max-width: 620px; margin-bottom: 50px; }
  .services-head h2 { font-size: 40px; line-height: 1.2; font-weight: 800; margin: 14px 0 0; letter-spacing: -1px; }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
  .service-card { background: var(--body-bg); padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; transition: background .3s, transform .3s; position: relative; }
  .service-card:hover { background: var(--white); transform: translateY(-3px); z-index: 2; box-shadow: 0 20px 40px -20px rgba(43,23,18,.2); }
  .service-card .s-ic {
    width: 42px; height: 42px; border-radius: 12px; margin-bottom: 6px;
    background: rgba(120, 58, 45, .08); color: var(--primary);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .service-card .num { font-size: 12px; font-weight: 700; color: var(--secondary); letter-spacing: .05em; }
  .service-card h4 { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); }
  .service-card span.ml { font-size: 13px; color: var(--gray); }
  .service-card.extra-service { display: none; }
  .services-grid.expanded .service-card.extra-service { display: flex; }

  .view-all-row { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
  .btn-outline {
    background: transparent; color: var(--primary); border: 1.5px solid var(--primary);
  }
  .btn-outline:hover { background: var(--primary); color: #fff; }
  .btn-outline .chev { transition: transform .3s; }
  .view-all-row.is-open .btn-outline .chev { transform: rotate(180deg); }

  .services-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); }
  .services-cta p { margin: 0; color: var(--gray); font-size: 15px; max-width: 420px; }

  /* ===================== ABOUT SPECIALIST ===================== */
  .specialist { padding: 100px 0; border-top: 1px solid var(--line); background: var(--body-bg); }
  .specialist-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 70px; align-items: center; }
  .specialist-copy h2 { font-size: 40px; line-height: 1.2; font-weight: 800; margin: 0 0 20px; letter-spacing: -1px; }
  .specialist-copy p.lead { color: var(--gray); font-size: 16px; line-height: 1.75; max-width: 480px; margin: 0 0 34px; }

  .credential-list { display: flex; flex-direction: column; gap: 16px; margin: 0 0 40px; }
  .credential-list li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink); font-weight: 600; }
  .credential-list .tick {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--secondary-glow); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
  }
  .credential-list .tick svg { width: 14px; height: 14px; }

  .specialist-stats { display: flex; gap: 40px; margin-bottom: 40px; }
  .specialist-stats .s-block strong { display: block; font-size: 30px; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
  .specialist-stats .s-block span { display: block; font-size: 13px; color: var(--gray); font-weight: 600; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px;}

  .specialist-media { position: relative; }
  .specialist-photo { border-radius: var(--radius-lg); overflow: hidden; height: 560px; box-shadow: 0 30px 60px -20px rgba(120, 58, 45, 0.25); }
  .specialist-photo img { width: 100%; height: 100%; object-fit: cover; }

  .specialist-badge-top {
    position: absolute; top: 24px; right: -20px; background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
    padding: 10px 20px; border-radius: 100px; font-size: 13px; font-weight: 700; color: var(--ink);
    display: flex; align-items: center; gap: 10px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.15);
  }
  .specialist-badge-top .dot { width: 8px; height: 8px; border-radius: 50%; background: #2ECC71; box-shadow: 0 0 8px #2ECC71; }

  .specialist-card {
    position: absolute; left: -40px; bottom: 40px; background: #fff; border-radius: var(--radius-md);
    padding: 24px; width: 260px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.2);
  }
  .specialist-card .stars-row { display: flex; color: #F5A623; gap: 2px; margin-bottom: 10px; }
  .specialist-card .stars-row svg { width: 15px; height: 15px; }
  .specialist-card p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 16px; font-style: italic; }
  .specialist-card .who { display: flex; align-items: center; gap: 12px; }
  .specialist-card .who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
  .specialist-card .who strong { display: block; font-size: 14px; font-weight: 800; }
  .specialist-card .who span { display: block; font-size: 12px; color: var(--gray); }

  /* ===================== WHY CHOOSE ===================== */
  .why { padding: 0 0 110px; background: var(--body-bg); overflow: visible; }

  .why-banner {
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 60%, #c07a56 100%);
    padding: 90px 0 130px;
    text-align: center;
  }
  .why-banner-inner { max-width: 860px; display: flex; flex-direction: column; align-items: center; }
  .why-eyebrow { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; margin-bottom: 20px; }
  .why-banner h2 { color: #fff; font-size: 44px; font-weight: 800; line-height: 1.2; margin: 0 0 20px; letter-spacing: -1px; }
  .why-banner p { color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.7; margin: 0; max-width: 720px; }

  .why-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: -78px;
    position: relative;
    z-index: 2;
  }
  .why-check-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 24px 50px -24px rgba(43,23,18,.28);
    transition: transform .3s;
  }
  .why-check-card:hover { transform: translateY(-6px); }
  .why-check-card.wide { grid-column: 1 / 3; }
  .why-check-card .check-ic {
    width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
    background: rgba(120, 58, 45, .1); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
  }
  .why-check-card .check-ic svg { width: 16px; height: 16px; }
  .why-check-card p { margin: 0; font-weight: 700; font-size: 16.5px; color: var(--ink); line-height: 1.5; }

  /* ===================== TESTIMONIAL ===================== */
  .testimonial { padding: 100px 0; background: var(--body-bg); }
  .testimonial-inner { display: flex; gap: 60px; align-items: center; flex-wrap: wrap; }
  .quote-mark { color: var(--secondary); flex-shrink: 0; }
  .quote-mark svg { width: 56px; height: 44px; }
  .testimonial blockquote { font-size: 30px; line-height: 1.5; font-weight: 700; margin: 0; max-width: 720px; letter-spacing: -0.5px; }
  
  .testimonial-author { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
  .testimonial-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
  .testimonial-author strong { display: block; font-size: 16px; font-weight: 800; }
  .testimonial-author span { display: block; font-size: 14px; color: var(--gray); margin-top: 2px; }
  
  .testimonial-nav { margin-left: auto; display: flex; gap: 12px; }
  .testimonial-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; transition: all .3s; }
  .testimonial-nav button.next { background: var(--primary); color: #fff; border-color: var(--primary); }
  .testimonial-nav button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px -10px var(--primary); }

  /* ===================== INSIGHTS ===================== */
  .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .blog-card { background: var(--body-bg); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform 0.4s; }
  .blog-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1); }
  .blog-card .shot { position: relative; height: 220px; }
  .blog-card .shot img { width: 100%; height: 100%; object-fit: cover; }
  .blog-card .tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.95); padding: 8px 16px; border-radius: 100px; font-size: 12px; font-weight: 700; color: var(--primary); }
  .blog-card .body { padding: 24px; }
  .blog-card .author { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
  .blog-card .author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
  .blog-card .author div p { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
  .blog-card .author div span { font-size: 12.5px; color: var(--gray); }
  .blog-card h3 { font-size: 18px; line-height: 1.45; font-weight: 800; margin: 0 0 10px; transition: color 0.3s; cursor: pointer; }
  .blog-card .body p.excerpt { font-size: 13.5px; line-height: 1.65; color: var(--gray); margin: 0 0 18px; }
  .blog-card:hover h3 { color: var(--secondary); }
  .blog-card .learn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--primary); transition: gap 0.3s; }
  .blog-card:hover .learn { gap: 12px; }
  
  .blog-more { display: flex; justify-content: center; margin-top: 50px; }

  /* ===================== FULL WIDTH MASONRY GALLERY ===================== */

.gallery{
    padding:120px 0;
    background:#fff;
    overflow:hidden;
}

.gallery-head{
    max-width:1400px;
    margin:0 auto 60px;
    padding:0 40px;

    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:30px;
    flex-wrap:wrap;
}

.gallery-head h2{
    font-size:clamp(2rem,4vw,4rem);
    font-weight:800;
    line-height:1.1;
    max-width:650px;
    margin-top:12px;
}

.gallery-masonry{
    column-count:4;
    column-gap:20px;
    padding:0 20px;
}

.gallery-item{
    break-inside:avoid;
    margin-bottom:20px;
    overflow:hidden;
    border-radius:28px;
    position:relative;
    cursor:pointer;
}

.gallery-item img{
    width:100%;
    height:auto;
    display:block;
    border-radius:28px;
    transition:
        transform .8s cubic-bezier(.16,1,.3,1),
        filter .4s ease;
}

/* Premium hover */

.gallery-item::after{
    content:"";
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        to top,
        rgba(0,0,0,.35),
        rgba(0,0,0,0)
    );
    opacity:0;
    transition:.4s;
}

.gallery-item:hover img{
    transform:scale(1.06);
}

.gallery-item:hover::after{
    opacity:1;
}

/* Randomized masonry feel */

.gallery-item:nth-child(3n) img{
    aspect-ratio:4/5;
    object-fit:cover;
}

.gallery-item:nth-child(4n) img{
    aspect-ratio:4/6;
    object-fit:cover;
}

.gallery-item:nth-child(5n) img{
    aspect-ratio:4/4;
    object-fit:cover;
}

/* Large Desktop */

@media (max-width:1400px){
    .gallery-masonry{
        column-count:3;
    }
}

/* Tablet */

@media (max-width:992px){

    .gallery{
        padding:90px 0;
    }

    .gallery-masonry{
        column-count:2;
        padding:0 16px;
    }

    .gallery-head{
        padding:0 20px;
    }
}

/* Mobile */

@media (max-width:640px){

    .gallery-masonry{
        column-count:1;
    }

    .gallery-head{
        padding:0 16px;
        margin-bottom:40px;
    }

    .gallery-head h2{
        font-size:2rem;
    }
}

  /* ===================== HOURS & LOCATION ===================== */
  .newsletter { padding: 100px 0; background: var(--body-bg); }
  .visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
  .visit-copy h2 { font-size: 38px; font-weight: 800; line-height: 1.2; margin: 14px 0 30px; letter-spacing: -1px; max-width: 440px; }

  .info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
  .info-row .ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--primary); }
  .info-row .ic svg { width: 19px; height: 19px; }
  .info-row .txt strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
  .info-row .txt a, .info-row .txt span { font-size: 14.5px; color: var(--gray); line-height: 1.6; }
  .info-row .txt a { transition: color .2s; }
  .info-row .txt a:hover { color: var(--secondary); }

  .visit-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 30px 60px -30px rgba(43,23,18,.15); }
  .visit-card .rating-line { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
  .visit-card .rating-line .stars-row { display: flex; color: #F5A623; gap: 2px; }
  .visit-card .rating-line .stars-row svg { width: 15px; height: 15px; }
  .visit-card .rating-line strong { font-size: 16px; font-weight: 800; }
  .visit-card .rating-line span { font-size: 13px; color: var(--gray); font-weight: 600; }

  .hours-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
  .hours-table tr { border-bottom: 1px solid var(--line); }
  .hours-table tr:last-child { border-bottom: none; }
  .hours-table td { padding: 10px 0; font-size: 14.5px; color: var(--ink-soft); }
  .hours-table td:first-child { font-weight: 700; color: var(--ink); }
  .hours-table td:last-child { text-align: right; }
  .hours-table tr.today td { color: var(--primary); font-weight: 800; }
  .hours-table tr.closed td:last-child { color: var(--gray-light); }

  .map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); margin-top: 6px; }
  .map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

  /* ===================== FOOTER ===================== */
  footer {
    padding-top: 80px; 
    overflow: hidden;
    /* Adding the requested bottom gradient */
    background: linear-gradient(to top, rgba(162, 87, 66, 0.15) 0%, var(--body-bg) 100%);
  }
  .footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .8fr); gap: 40px; }
  .footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin: 0 0 24px; font-weight: 800; }
  .footer-col ul li { margin-bottom: 16px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
  .footer-col ul li a { transition: color 0.3s, transform 0.3s; display: inline-block; }
  .footer-col ul li a:hover { color: var(--secondary); transform: translateX(5px); }
  
  .footer-contact a { font-size: 18px; font-weight: 700; color: var(--ink); transition: color 0.3s; }
  .footer-contact a:hover { color: var(--secondary); }
  .social-row { display: flex; gap: 12px; margin-top: 20px; }
  .social-row a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; background: #fff; transition: all 0.3s; color: var(--ink); }
  .social-row a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }
  
  /* Wavy text hover effect on the large footer logo */
  .footer-wordmark {
    font-size: min(8vw, 220px); font-weight: 800; color: var(--white); text-align: center;
    line-height: 1; letter-spacing: -4px; margin-top: 60px; -webkit-text-stroke: 1px var(--line);
    cursor: pointer; display: flex; justify-content: center; user-select: none;
  }
  .wavy-char {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease, -webkit-text-stroke 0.3s ease;
  }
  .footer-wordmark:hover .wavy-char {
    animation: waveAnim 1.2s ease-in-out infinite;
    color: var(--secondary);
    -webkit-text-stroke: 1px var(--primary);
  }
  
  @keyframes waveAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px) scale(1.05); }
  }

  .footer-bottom {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
    padding: 30px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--gray); font-weight: 500;
  }
  .footer-bottom ul { display: flex; gap: 30px; }
  .footer-bottom ul li a:hover { color: var(--secondary); }

  /* ===================== INNER PAGE HERO ===================== */
  .page-hero { position: relative; background: #2b140e; padding-top: 20px; padding-bottom: 90px; overflow: hidden; }
  .page-hero .hero-glow { background:
      radial-gradient(620px 620px at 82% -10%, rgba(162, 87, 66, 0.25), transparent 60%),
      radial-gradient(500px 500px at 8% 100%, rgba(120, 58, 45, 0.4), transparent 60%); }
  .page-hero-body { position: relative; z-index: 3; padding: 70px 0 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .page-hero-body .section-tag.light { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); }
  .page-hero-body h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(34px, 5vw, 54px); line-height: 1.1; font-weight: 700; color: #fff; margin: 18px 0 16px; letter-spacing: -1px; }
  .page-hero-body p { color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.7; max-width: 600px; margin: 0 auto 22px; }
  .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.55); }
  .breadcrumb a { color: #fff; transition: color .2s; }
  .breadcrumb a:hover { color: var(--secondary); }

  /* ===================== MOBILE NAV DRAWER (shared) ===================== */
  #mobileMenu .mlink { color: #fff; font-size: 24px; font-weight: 700; transition: color 0.3s; }
  #mobileMenu .mlink:hover, #mobileMenu .mlink.active { color: var(--secondary); }

  /* ===================== TREATMENTS PAGE ===================== */
  .treatments-page { padding: 90px 0 40px; background: var(--white); }
  .treatments-category { margin-bottom: 54px; }
  .treatments-category:last-child { margin-bottom: 0; }
  .treatments-category-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
  .treatments-category-head h3 { font-size: 22px; font-weight: 800; color: var(--primary); margin: 0; letter-spacing: -.3px; }
  .treatments-category-head span { flex: 1; height: 1px; background: var(--line); }
  .treatments-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
  .treatments-full-grid .service-card p { margin: 6px 0 0; font-size: 13.5px; color: var(--gray); line-height: 1.55; }

  /* ===================== GALLERY PAGE ===================== */
  .gallery-page { padding: 90px 0 100px; background: var(--white); }
  .gallery-full-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 20px; }
  .gallery-full-grid .gallery-item { grid-area: auto; }

  /* ===================== BLOGS PAGE ===================== */
  .blogs-page { padding: 90px 0 100px; background: var(--white); }
  .blog-card .shot { background: var(--line); }
  .blog-meta-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--gray); font-weight: 600; margin-bottom: 12px; }
  .blog-meta-row .dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gray-light); }

  /* ===================== ABOUT PAGE EXTRAS ===================== */
  .about-page-intro { padding: 90px 0 20px; background: var(--white); text-align: center; }
  .about-page-intro .wrap { max-width: 820px; }
  .about-page-intro h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; margin: 16px 0 18px; }
  .about-page-intro p { color: var(--gray); font-size: 16.5px; line-height: 1.8; }
  .timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 50px; }
  .timeline-item { background: var(--body-bg); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px 22px; text-align: center; transition: transform .3s; }
  .timeline-item:hover { transform: translateY(-6px); }
  .timeline-item strong { display: block; font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
  .timeline-item span { font-size: 13.5px; color: var(--gray); font-weight: 600; }

  /* ===================== CONTACT PAGE FORM ===================== */
  .contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
  .contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact-form label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
  .contact-form input, .contact-form textarea {
    width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line);
    background: var(--body-bg); font-family: inherit; font-size: 14.5px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
  }
  .contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(162,87,66,.15); }
  .contact-form textarea { resize: vertical; min-height: 110px; }
  .contact-form button { align-self: flex-start; margin-top: 4px; }
  .form-note { font-size: 12.5px; color: var(--gray-light); margin-top: -4px; }

  /* ===================== RESPONSIVE ===================== */
  @media (max-width: 1024px) {
    .specialist-grid { grid-template-columns: 1fr; gap: 50px; }
    .specialist-media { order: -1; }
    .specialist-photo { height: 460px; }
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .stat-media { grid-template-columns: repeat(3, 1fr); }
    .stat-media .media-shot { display: none; }
    .feature-grid { grid-template-columns: 1fr; gap: 40px;}
    .doctor-card { max-width: 100%; flex-direction: row; align-items: center; }
    .doctor-card .photo { width: 40%; height: auto; align-self: stretch; }
    .insights-head { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
      grid-auto-rows: 200px;
      grid-template-areas:
        "a a"
        "a a"
        "b c"
        "d e"
        "f f"
        "g g";
    }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .visit-grid { grid-template-columns: 1fr; gap: 50px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
    .treatments-full-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-full-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .timeline { grid-template-columns: repeat(2, 1fr); }
    .process-strip-inner { flex-wrap: wrap; gap: 20px; }
    .process-connector { display: none; }
    .process-step { flex: 0 0 calc(50% - 10px); }
  }
  
  @media (max-width: 960px) {
    .hero-body { grid-template-columns: 1fr; padding-top: 60px; }
    .hero-visual { height: 440px; order: -1; }
    .hero-copy { max-width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
    .hero-cta-row { justify-content: center; }
    .glass-card.rating-card { left: 16px; top: 16px; }
    .proof-chip { left: 16px; bottom: 16px; }
  }
  
  @media (max-width: 820px) {
    .nav-pill { display: none; }
    .nav-toggle { display: flex; }
    .book-call-btn { display: none; }
    .hero { min-height: auto; padding-bottom: 60px; }
    .hero-marquee { margin-top: 50px; }
    .trust-row { justify-content: center; text-align: center; }
    .about h2 { font-size: 32px; }
    .doctor-card { flex-direction: column; }
    .doctor-card .photo { width: 100%; height: 220px; }
  }
  
  @media (max-width: 640px) {
    .wrap { padding: 0 20px; }
    .hero-visual { height: 320px; }
    .glass-card.rating-card, .proof-chip { display: none; }
    .blog-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; grid-template-areas: none; gap: 14px; }
    .gallery-item, .gallery-item.g1, .gallery-item.g2, .gallery-item.g3, .gallery-item.g4, .gallery-item.g5, .gallery-item.g6, .gallery-item.g7 { grid-area: auto; height: 260px; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .testimonial blockquote { font-size: 22px; }
    .testimonial-nav { margin-left: 0; }
    .feature h2, .why-banner h2, .gallery-head h2 { font-size: 32px; }
    .why-banner { padding: 70px 0 150px; }
    .why-checklist { grid-template-columns: 1fr; margin-top: -110px; gap: 16px; }
    .why-check-card.wide { grid-column: 1; }
    .why-check-card { padding: 22px; }
    .stat-media { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .stat-block h3 { font-size: 38px; }
    .hero-copy h1 { font-size: 36px; }
    .treatments-full-grid { grid-template-columns: 1fr; }
    .gallery-full-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .timeline { grid-template-columns: 1fr 1fr; }
    .process-step { flex: 0 0 100%; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .page-hero-body h1 { font-size: 30px; }
  }
  /* ===================== VIDEO MODAL (home page) ===================== */
  .video-modal {
    display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; padding: 24px;
  }
  .video-modal.open { display: flex; }
  .video-modal-backdrop {
    position: absolute; inset: 0; background: rgba(15, 8, 6, .85); backdrop-filter: blur(4px);
  }
  .video-modal-box {
    position: relative; width: 100%; max-width: 900px; aspect-ratio: 16/9; background: #000;
    border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0,0,0,.7);
    animation: videoModalIn .35s cubic-bezier(0.16,1,0.3,1);
  }
  @keyframes videoModalIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
  .video-modal-box video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
  .video-modal-close {
    position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; z-index: 2;
    transition: background .2s;
  }
  .video-modal-close:hover { background: var(--primary); }

  /* ===================== CHAT WIDGET (all pages, bottom-left, fixed) ===================== */
  .chat-widget { position: fixed; left: 20px; bottom: 20px; z-index: 45; font-family: 'Plus Jakarta Sans', sans-serif; }
  .chat-toggle {
    width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -8px rgba(120,58,45,.6);
    position: relative; transition: transform .25s ease, background .25s ease;
  }
  .chat-toggle:hover { background: var(--secondary); transform: translateY(-2px); }
  .chat-toggle svg { width: 26px; height: 26px; }
  .chat-toggle .chat-toggle-close-icon { display: none; }
  .chat-toggle::before {
    content: ""; position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid rgba(120, 58, 45, .45); animation: chatPing 2.4s ease-out infinite;
  }
  .chat-widget.open .chat-toggle::before { animation: none; opacity: 0; }
  @keyframes chatPing { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
  .chat-widget.open .chat-toggle .chat-toggle-open-icon { display: none; }
  .chat-widget.open .chat-toggle .chat-toggle-close-icon { display: flex; }

  .chat-panel {
    display: none; position: absolute; left: 0; bottom: 74px; width: 280px;
    background: var(--white); border-radius: 20px; box-shadow: 0 24px 55px -18px rgba(43,23,18,.35);
    overflow: hidden; border: 1px solid var(--line);
  }
  .chat-widget.open .chat-panel { display: block; animation: chatPanelIn .3s cubic-bezier(0.16,1,0.3,1); }
  @keyframes chatPanelIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
  .chat-panel-head {
    background: var(--primary); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 14px;
  }
  .chat-panel-head .chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ee08a; flex-shrink: 0; }
  .chat-panel-body { padding: 16px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
  .chat-panel-actions { display: flex; gap: 10px; padding: 0 16px 16px; }
  .chat-action {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 12px; border-radius: 100px; font-size: 13px; font-weight: 700; color: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .chat-action:hover { transform: translateY(-2px); }
  .chat-action.call { background: var(--primary); }
  .chat-action.whatsapp { background: #25D366; }
  .chat-action svg { width: 16px; height: 16px; }

  @media (max-width: 640px) {
    .chat-widget { left: 14px; bottom: 14px; }
    .chat-panel { width: calc(100vw - 28px); max-width: 300px; }
  }










  /* ===================== OUR TEAM SECTION (horizontal slider) =====================
   Uses the site's theme variables from style.css (--primary, --secondary, --body-bg,
   --ink, --gray, --line, --radius-*). Keep style.css loaded before this file.
   Layout: 3 cards (desktop) / 2 (tablet) / 1 + peek of next (mobile).
*/
.team { padding: 100px 0; background: var(--white); border-top: 1px solid var(--line); overflow: hidden; }
.team-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.team-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; font-weight: 800; margin: 0 0 16px; letter-spacing: -1px; color: var(--ink); }
.team-head p { color: var(--gray); font-size: 16px; line-height: 1.75; margin: 0; }

/* ---------- Slider ---------- */
.team-slider { --gap: 24px; --per-view: 3; position: relative; }

.team-track {
  display: flex; gap: var(--gap);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scrollbar-width: none; -ms-overflow-style: none;
  /* room for hover-lift + shadow so they aren't clipped */
  padding: 14px 2px 36px; margin: -14px -2px -36px;
  cursor: grab; outline: none;
}
.team-track::-webkit-scrollbar { display: none; }
.team-track:focus-visible { outline: 2px solid var(--secondary); outline-offset: 4px; border-radius: var(--radius-md); }
.team-track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; -webkit-user-select: none; }
.team-track.is-dragging * { pointer-events: none; }

.team-card {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  min-width: 0; scroll-snap-align: start;
  background: var(--body-bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 14px 14px 26px; text-align: center; position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.team-card:hover { transform: translateY(-8px); border-color: var(--secondary); box-shadow: 0 30px 55px -25px var(--primary-glow); }

.team-photo {
  position: relative; height: 260px; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 22px;
  background: linear-gradient(160deg, rgba(162,87,66,.18), rgba(120,58,45,.32));
  display: flex; align-items: flex-end; justify-content: center;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; -webkit-user-drag: none; }
.team-placeholder { width: 78%; height: 88%; color: var(--primary); opacity: .55; transition: transform .45s ease, opacity .3s; }
.team-card:hover .team-placeholder { transform: scale(1.05); opacity: .75; }

.team-badge {
  position: absolute; top: 14px; left: 14px; background: var(--primary); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 6px 14px; border-radius: 100px; letter-spacing: .3px;
}

.team-info { padding: 0 12px; }
.team-name { font-size: 19px; font-weight: 800; color: var(--primary); margin: 0 0 8px; letter-spacing: -.2px; }
.team-qual {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--secondary);
  background: rgba(162,87,66,.08); border: 1px solid var(--line); padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
}
.team-role { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.5; margin: 0 0 6px; }
.team-reg { display: block; font-size: 12.5px; color: var(--gray); font-weight: 600; }
.team-ml { display: block; font-size: 13px; color: var(--gray); margin-top: 4px; }

/* Chief surgeon highlighted */
.team-card.lead { background: linear-gradient(160deg, var(--primary), #5a2a20); border-color: var(--primary); }
.team-card.lead .team-photo { background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.06)); }
.team-card.lead .team-placeholder { color: #fff; opacity: .6; }
.team-card.lead .team-badge { background: #fff; color: var(--primary); }
.team-card.lead .team-name { color: #fff; }
.team-card.lead .team-qual { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.team-card.lead .team-role { color: rgba(255,255,255,.9); }
.team-card.lead .team-reg { color: rgba(255,255,255,.7); }
.team-card.lead .team-ml { color: rgba(255,255,255,.65); }

/* ---------- Controls ---------- */
.team-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 44px; }
.team-btn {
  width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--primary); border: 1.5px solid var(--line);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.team-btn svg { width: 18px; height: 18px; }
.team-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }
.team-btn:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }

.team-progress { position: relative; width: 140px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.team-progress span { position: absolute; top: 0; left: 0; height: 100%; width: 30%; border-radius: 4px; background: linear-gradient(90deg, var(--secondary), var(--primary)); transition: left .15s linear, width .2s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .team-slider { --per-view: 2; }
}
@media (max-width: 820px) {
  .team { padding: 80px 0; }
  .team-head { margin-bottom: 38px; }
}
@media (max-width: 640px) {
  .team { padding: 64px 0; }
  .team-slider { --gap: 16px; --per-view: 1.15; }   /* peek of the next card hints at swiping */
  .team-track { padding-left: 24px; padding-right: 24px; margin-left: -24px; margin-right: -24px; scroll-padding-left: 24px; }
  .team-photo { height: 230px; }
  .team-name { font-size: 18px; }
  .team-controls { margin-top: 36px; gap: 14px; }
  .team-btn { width: 44px; height: 44px; }
  .team-progress { width: 100px; }
}
@media (max-width: 380px) {
  .team-slider { --per-view: 1.08; }
  .team-photo { height: 200px; }
}
/* On touch devices the hover lift would stick after a tap */
@media (hover: none) {
  .team-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
  .team-card.lead:hover { border-color: var(--primary); }
  .team-card:hover .team-placeholder { transform: none; opacity: .55; }
  .team-track { cursor: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .team-track { scroll-behavior: auto; }
}