/* =========================================================
   DentaRing — styles.css
   Palette from logo: Teal + Gold
   ========================================================= */

:root{
  --teal:        #0F6B5C;
  --teal-dark:   #0A4A40;
  --teal-light:  #E6F1EE;
  --gold:        #C9A227;
  --gold-light:  #E3C567;
  --gold-soft:   #F6EFD8;
  --bg:          #FBF9F4;
  --paper:       #F4EFE6;
  --ink:         #1F2A28;
  --muted:       #5C6B67;
  --line:        rgba(15,107,92,.14);
  --shadow-sm:   0 4px 14px rgba(10,74,64,.06);
  --shadow-md:   0 14px 40px rgba(10,74,64,.10);
  --shadow-lg:   0 26px 60px rgba(10,74,64,.16);
  --radius:      18px;
  --radius-lg:   26px;
  --font-head:   "Cormorant Garamond", Georgia, serif;
  --font-body:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --maxw:        1200px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.7;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:var(--teal); text-decoration:none; transition:color .25s; }
a:hover{ color:var(--gold); }

h1,h2,h3,h4{
  font-family:var(--font-head);
  font-weight:600;
  color:var(--teal-dark);
  line-height:1.2;
  margin:0 0 .5em;
  letter-spacing:.2px;
}
h1{ font-size:clamp(2.1rem,4.4vw,3.4rem); }
h2{ font-size:clamp(1.6rem,3vw,2.4rem); }
h3{ font-size:1.15rem; font-family:var(--font-body); font-weight:600; margin:0 0 .4em; }
p{ margin:0 0 1.1em; color:var(--muted); }

.container{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.section{ padding:96px 0; }
.section-paper{ background:var(--paper); }


/* ---------- Kicker ---------- */
.kicker{
  display:inline-block;
  font-size:.74rem;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:14px;
}

/* ---------- Section head (centered) ---------- */
.section-head{
  max-width:720px;
  margin:0 auto 56px;
  text-align:center;
}
.section-head h2{ margin-bottom:.4em; }
.section-head p{ margin:0; }

/* ---------- Ring mark ---------- */
.ring-mark{
  display:inline-block;
  width:12px; height:12px;
  border-radius:50%;
  border:2.5px solid var(--teal);
  position:relative;
  margin-right:10px;
  vertical-align:middle;
}
.ring-mark::after{
  content:"";
  position:absolute; inset:2px;
  border-radius:50%;
  background:var(--gold);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 30px;
  border-radius:999px;
  font-size:.9rem;
  font-weight:600;
  letter-spacing:.02em;
  border:1.6px solid transparent;
  cursor:pointer;
  transition:all .3s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--teal); color:#fff; }
.btn-primary:hover{ background:var(--teal-dark); color:#fff; transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-gold{ background:var(--gold); color:#fff; }
.btn-gold:hover{ background:#b18f1f; color:#fff; transform:translateY(-2px); box-shadow:0 14px 30px rgba(201,162,39,.35); }
.btn-outline{ border-color:var(--teal); color:var(--teal); background:transparent; }
.btn-outline:hover{ background:var(--teal); color:#fff; }
.btn-ghost{ border-color:rgba(255,255,255,.6); color:#fff; background:transparent; }
.btn-ghost:hover{ background:#fff; color:var(--teal-dark); border-color:#fff; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(251,249,244,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .3s;
}
.site-header.is-scrolled{ box-shadow:var(--shadow-sm); }
.header-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:12px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{ display:flex; align-items:center; }
.brand-logo{ height:100px; width:auto; display:block; }
.brand-logo-footer{ height:64px; }

.nav-list{
  list-style:none; display:flex; align-items:center; gap:4px;
  margin:0; padding:0;
}
.nav-list a{
  display:block;
  padding:9px 16px;
  font-size:.9rem;
  font-weight:500;
  color:var(--ink);
  border-radius:999px;
  transition:all .25s;
}
.nav-list a:hover{ color:var(--teal); background:var(--teal-light); }
.nav-list a.is-active{ color:var(--teal); font-weight:600; }
.nav-cta{
  background:var(--teal) !important;
  color:#fff !important;
  margin-left:10px;
  padding:11px 22px !important;
}
.nav-cta:hover{ background:var(--gold) !important; }

.nav-toggle{
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:8px;
}
.nav-toggle span{
  width:24px; height:2px; background:var(--teal-dark); border-radius:2px;
  transition:transform .3s, opacity .3s;
}

/* =========================================================
   BANNER — 3-image slider
   ========================================================= */
.banner{
  position:relative;
  height:88vh;
  min-height:600px;
  max-height:860px;
  overflow:hidden;
  background:var(--teal-dark);
}
.banner-slides{ position:absolute; inset:0; }

.banner-slide{
  position:absolute; inset:0;
  opacity:0;
  visibility:hidden;
  transition:opacity 1s ease, visibility 1s;
  display:flex;
  align-items:center;
}
.banner-slide.is-active{
  opacity:1;
  visibility:visible;
  z-index:1;
}
.banner-slide img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  transform:scale(1.06);
  transition:transform 8s ease-out;
}
.banner-slide.is-active img{ transform:scale(1); }

.banner-overlay{
  position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(10,74,64,.9) 0%, rgba(10,74,64,.68) 45%, rgba(10,74,64,.3) 100%);
}

.banner-content{
  position:relative;
  z-index:2;
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 24px;
  color:#fff;
}
.banner-content > *{ max-width:640px; }

.banner-eyebrow{
  display:inline-flex; align-items:center;
  font-size:.76rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold-light);
  margin-bottom:22px;
}
.banner-eyebrow .ring-mark{ border-color:var(--gold-light); }
.banner-eyebrow .ring-mark::after{ background:var(--gold-light); }

.banner-content h1{ color:#fff; margin-bottom:22px; }
.banner-content h1 .accent{ color:var(--gold-light); font-style:italic; }
.banner-content p{
  color:rgba(255,255,255,.9);
  font-size:1.02rem;
  margin-bottom:34px;
}
.banner-actions{ display:flex; gap:14px; flex-wrap:wrap; }

.banner-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  z-index:5;
  width:50px; height:50px;
  border-radius:50%;
  border:1.5px solid rgba(255,255,255,.5);
  background:rgba(255,255,255,.1);
  color:#fff;
  font-size:1.3rem;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition:all .3s;
  backdrop-filter:blur(6px);
}
.banner-arrow:hover{ background:#fff; color:var(--teal-dark); border-color:#fff; }
.banner-prev{ left:26px; }
.banner-next{ right:26px; }

.banner-dots{
  position:absolute;
  bottom:34px;
  left:50%;
  transform:translateX(-50%);
  z-index:5;
  display:flex; gap:10px;
}
.banner-dot{
  width:36px; height:3px;
  border:none; border-radius:3px;
  background:rgba(255,255,255,.4);
  cursor:pointer;
  transition:background .3s, width .3s;
}
.banner-dot.is-active{ background:var(--gold-light); width:56px; }

/* =========================================================
   SPLIT (Welcome / Highlights)
   ========================================================= */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:center;
}


/* =========================================================
   WHY CHOOSE US — feature cards
   ========================================================= */


/* =========================================================
   CORE FEATURES — numbered cards
   ========================================================= */


/* =========================================================
   HIGHLIGHT LIST
   ========================================================= */


/* =========================================================
   TESTIMONIALS
   ========================================================= */


/* =========================================================
   FAQ
   ========================================================= */


/* =========================================================
   CTA
   ========================================================= */
.cta-banner{
  background:linear-gradient(120deg, rgba(10,74,64,.95), rgba(15,107,92,.9));
  border-radius:var(--radius-lg);
  padding:72px 56px;
  text-align:center;
  color:#fff;
  position:relative;
  overflow:hidden;
}
.cta-banner::before{
  content:"";
  position:absolute;
  width:340px; height:340px;
  border:1.5px solid rgba(227,197,103,.35);
  border-radius:50%;
  top:-140px; right:-100px;
}
.cta-banner::after{
  content:"";
  position:absolute;
  width:220px; height:220px;
  border:1.5px solid rgba(227,197,103,.25);
  border-radius:50%;
  bottom:-110px; left:-70px;
}
.cta-banner h2{ color:#fff; position:relative; z-index:1; }
.cta-banner p{
  color:rgba(255,255,255,.9);
  max-width:600px; margin:0 auto 32px;
  position:relative; z-index:1;
}
.cta-actions{
  display:flex; gap:14px; justify-content:center; flex-wrap:wrap;
  position:relative; z-index:1;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background:var(--teal-dark);
  color:rgba(255,255,255,.75);
  padding:72px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1.4fr;
  gap:52px;
  padding-bottom:56px;
}
.footer-brand .brand{ margin-bottom:20px; }
.footer-brand p{
  color:rgba(255,255,255,.65);
  font-size:.9rem;
  max-width:320px;
}
.footer-social{ display:flex; gap:12px; margin-top:22px; }
.footer-social a{
  width:38px; height:38px;
  border-radius:50%;
  border:1.4px solid rgba(255,255,255,.25);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:1rem;
  transition:all .3s;
}
.footer-social a:hover{
  background:var(--gold); border-color:var(--gold);
  transform:translateY(-3px);
  color:#fff;
}

.footer-col h4{
  color:#fff;
  font-family:var(--font-body);
  font-size:.82rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin-bottom:22px;
  font-weight:600;
}
.footer-col ul{
  list-style:none; margin:0; padding:0;
  display:flex; flex-direction:column; gap:12px;
}
.footer-col li, .footer-col a{
  color:rgba(255,255,255,.7);
  font-size:.9rem;
}
.footer-col a:hover{ color:var(--gold-light); }

.footer-contact li{
  display:flex;
  gap:12px;
  align-items:flex-start;
  line-height:1.5;
}
.footer-contact i{
  color:var(--gold-light);
  font-size:1rem;
  margin-top:3px;
  flex-shrink:0;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding:24px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:.82rem;
  color:rgba(255,255,255,.55);
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top{
  position:fixed;
  bottom:28px; right:28px;
  width:46px; height:46px;
  border-radius:50%;
  border:none;
  background:var(--gold);
  color:#fff;
  font-size:1.2rem;
  cursor:pointer;
  opacity:0; pointer-events:none;
  transition:all .35s;
  z-index:90;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px rgba(201,162,39,.4);
}
.back-to-top.is-visible{ opacity:1; pointer-events:auto; }
.back-to-top:hover{ background:var(--teal); transform:translateY(-4px); }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s ease, transform .8s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */


@media (max-width:1024px){
  .split{ grid-template-columns:1fr; gap:48px; }
  
  
  
  .footer-grid{ grid-template-columns:1fr 1fr; gap:40px; }
}

@media (max-width:820px){
  .nav-toggle{ display:flex; }
  .nav-list{
    position:fixed;
    top:0; right:0;
    height:100vh;
    width:min(320px,84vw);
    background:#fff;
    flex-direction:column;
    align-items:stretch;
    padding:90px 28px 40px;
    gap:4px;
    transform:translateX(100%);
    transition:transform .4s cubic-bezier(.4,0,.2,1);
    box-shadow:-20px 0 60px rgba(10,74,64,.14);
    z-index:110;
  }
  .nav-list.is-open{ transform:none; }
  .nav-list a{ width:100%; padding:13px 16px; font-size:1rem; }
  .nav-cta{ margin:12px 0 0; text-align:center; }
  .nav-scrim{
    position:fixed; inset:0;
    background:rgba(10,74,64,.4);
    opacity:0; pointer-events:none;
    transition:opacity .35s; z-index:105;
  }
  .nav-scrim.is-open{ opacity:1; pointer-events:auto; }

  .banner{ height:80vh; min-height:540px; }
  .banner-arrow{ display:none; }
  .banner-dots{ bottom:24px; }
  .section{ padding:72px 0; }

  
  
  

  .cta-banner{ padding:52px 28px; }
  .footer-grid{ grid-template-columns:1fr; gap:36px; }
  .footer-bottom{ flex-direction:column; text-align:center; }
}

@media (max-width:520px){
  .brand-logo{ height: 100px; }
  .brand-logo-footer{ height:52px; }
  .btn{ padding:12px 22px; font-size:.85rem; }
  .banner-actions{ flex-direction:column; align-items:stretch; }
  .banner-actions .btn{ width:100%; }
  
  
}


/* ================================
   PATIENT INFORMATION BANNER
================================ */

.patient-banner {
    position: relative;
    width: 100%;
    min-height: 465px;

    background-image: url("assets/banner/patient-guide-banner.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.patient-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 76, 68, 0.96) 0%,
        rgba(0, 76, 68, 0.86) 45%,
        rgba(0, 76, 68, 0.42) 100%
    );
    z-index: -1;
}

.patient-banner-content {
    position: relative;
    z-index: 1;
    padding-top: 45px;
    padding-bottom: 55px;
}

/* Breadcrumb */

.patient-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;

    font-size: 15px;
    color: #ffffff;
}

.patient-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.patient-breadcrumb a:hover {
    color: #e8c65a;
}

.patient-breadcrumb span:nth-child(2) {
    color: #d5c35c;
    font-size: 22px;
}

.patient-breadcrumb span:last-child {
    color: #e8c65a;
}

/* Banner Heading */

.patient-banner-text {
    max-width: 850px;
}

.patient-banner-text h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 20px;
}

.patient-banner-text h1 span {
    color: #e8c65a;
    font-style: italic;
}

.patient-title-line {
    width: 65px;
    height: 4px;
    background: #e8c65a;
    margin-bottom: 24px;
}

.patient-banner-text p {
    max-width: 830px;
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
}


/* ================================
   PATIENT NAVIGATION SECTION
================================ */

.patient-navigation {
    position: relative;
    z-index: 2;

    width: 100%;
    background: #faf9f5;

    /* Keeps tabs below the banner */
    margin-top: 0;
    padding: 30px 0 40px;
}

/* Tabs Container */

.service-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Tab */

.service-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 78px;
    padding: 18px 30px;

    background: #ffffff;
    border: 1px solid #d8e8e5;
    border-radius: 50px;

    color: #172f2d;
    font-size: 19px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;

    transition: all 0.3s ease;
}

.service-tab i {
    font-size: 23px;
    color: #087e70;
    line-height: 1;
}

/* Active Tab */

.service-tab.is-active {
    background: #087e70;
    border-color: #087e70;
    color: #ffffff;
}

.service-tab.is-active i {
    color: #ffffff;
}

/* Hover */

.service-tab:hover {
    background: #087e70;
    border-color: #087e70;
    color: #ffffff;
    transform: translateY(-3px);
}

.service-tab:hover i {
    color: #ffffff;
}


/* ================================
   TABLET VIEW
================================ */

@media (max-width: 991px) {

    .patient-banner {
        min-height: 400px;
    }

    .patient-banner-content {
        padding-top: 35px;
        padding-bottom: 45px;
    }

    .patient-breadcrumb {
        margin-bottom: 35px;
    }

    .patient-banner-text p {
        font-size: 18px;
    }

    .patient-navigation {
        padding: 25px 15px 35px;
    }

    .service-tabs {
        gap: 12px;
    }

    .service-tab {
        min-height: 62px;
        padding: 15px 22px;
        font-size: 16px;
    }

    .service-tab i {
        font-size: 20px;
    }
}


/* ================================
   MOBILE VIEW
================================ */

@media (max-width: 767px) {

    .patient-banner {
        min-height: auto;
        background-position: 60% center;
    }

    .patient-banner-overlay {
        background: rgba(0, 76, 68, 0.88);
    }

    .patient-banner-content {
        padding: 30px 20px 40px;
    }

    .patient-breadcrumb {
        gap: 10px;
        margin-bottom: 30px;
        font-size: 13px;
    }

    .patient-banner-text h1 {
        font-size: 40px;
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .patient-title-line {
        margin-bottom: 20px;
    }

    .patient-banner-text p {
        font-size: 16px;
        line-height: 1.7;
    }

    /* Tabs stay below banner */
    .patient-navigation {
        padding: 25px 15px 30px;
        margin-top: 0;
    }

    .service-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .service-tab {
        width: 100%;
        min-width: 0;
        min-height: 60px;
        padding: 12px 10px;

        gap: 8px;
        border-radius: 16px;

        font-size: 14px;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }

    .service-tab i {
        font-size: 19px;
        flex-shrink: 0;
    }
}


/* Small Mobile */

@media (max-width: 400px) {

    .patient-banner-text h1 {
        font-size: 34px;
    }

    .service-tabs {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-tab {
        min-height: 55px;
        justify-content: center;
        font-size: 15px;
    }
}

/* =========================================
   ABOUT IMAGE - PROPER FRAME ALIGNMENT
========================================= */


/* Main Image */


/* Gold Border / Frame */


/* =========================================
   TESTIMONIAL SLIDER
========================================= */


/* Viewport */


/* Track */


/* Cards */


/* Stars */


/* Review text */


/* Person */


/* =========================================
   ARROWS
========================================= */


/* Left arrow */


/* Right arrow */


/* =========================================
   TABLET
========================================= */


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    

    

    

    

    /* Put arrows below the cards */

    

    

    

    
}


/* =========================================
   TESTIMONIAL CARD BORDER
========================================= */


/* =========================================
   SMALLER TESTIMONIAL ARROWS
========================================= */


/* Keep arrows in the center gap */


/* Mobile arrow size */


/* =========================================
   TESTIMONIAL ARROWS
========================================= */


/* Common arrow button */


/* =========================================
   PREVIOUS ARROW
========================================= */


/* =========================================
   NEXT ARROW
========================================= */


/* Hover */


/* Disabled arrow */


/* =========================================
   MOBILE
========================================= */


.footer-bottom a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #087d70;
}


/* =========================================
   GALLERY SECTION
========================================= */


/* =========================================
   GALLERY HEADING
========================================= */


/* =========================================
   GALLERY GRID
========================================= */


/* =========================================
   GALLERY IMAGE BOX
========================================= */


/* =========================================
   IMAGE
========================================= */


/* =========================================
   HOVER EFFECT
========================================= */


/* =========================================
   TABLET
========================================= */


/* =========================================
   MOBILE
========================================= */


/* =========================================
   SMALL MOBILE
========================================= */


/*About Pge */


/* =========================================================
   PAGE BANNER (single image — About, Services, etc.)
   ========================================================= */
.page-banner{
  position:relative;
  height:60vh;
  min-height:440px;
  max-height:560px;
  overflow:hidden;
  background:var(--teal-dark);
  display:flex;
  align-items:center;
}
.page-banner > img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  transform:scale(1.04);
  animation:pageBannerZoom 12s ease-out forwards;
}
@keyframes pageBannerZoom{
  from{ transform:scale(1.08); }
  to{ transform:scale(1); }
}
.page-banner-overlay{
  position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(10,74,64,.92) 0%, rgba(10,74,64,.7) 50%, rgba(10,74,64,.35) 100%);
}
.page-banner-content{
  position:relative;
  z-index:2;
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 24px;
  color:#fff;
}
.page-banner-content > *{ max-width:680px; }

.breadcrumb{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:.82rem;
  font-weight:500;
  color:rgba(255,255,255,.8);
  margin-bottom:22px;
}
.breadcrumb a{ color:rgba(255,255,255,.8); }
.breadcrumb a:hover{ color:var(--gold-light); }
.breadcrumb i{ font-size:.7rem; opacity:.6; }
.breadcrumb span{ color:var(--gold-light); font-weight:600; }

.page-banner-content h1{ color:#fff; margin-bottom:18px; }
.page-banner-content h1 .accent{ color:var(--gold-light); font-style:italic; }
.page-banner-content p{
  color:rgba(255,255,255,.9);
  font-size:1.02rem;
  max-width:560px;
  margin:0;
}

/* =========================================================
   STORY QUOTE
   ========================================================= */


/* =========================================================
   DOCTOR CARD
   ========================================================= */


/* =========================================================
   VALUE CARDS (Why choose — 3-up)
   ========================================================= */


/* =========================================================
   CLINIC GRID (tiles with captions)
   ========================================================= */


/* =========================================================
   ABOUT PAGE — RESPONSIVE
   ========================================================= */


@media (max-width:820px){
  .page-banner{ height:56vh; min-height:400px; }
  .page-banner-content{ padding:0 24px; }
}


/*services page */


/* =========================================================
   SERVICES PAGE — Quick-nav pills
   ========================================================= */
.service-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin:0 auto;
  max-width:1000px;
}
.service-tab{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 22px;
  border-radius:999px;
  border:1.4px solid var(--line);
  background:#fff;
  color:var(--ink);
  font-family:var(--font-body);
  font-size:.88rem;
  font-weight:500;
  cursor:pointer;
  transition:all .3s ease;
  text-decoration:none;
  white-space:nowrap;
}
.service-tab i{
  color:var(--teal);
  font-size:1rem;
  transition:color .3s;
}
.service-tab:hover,
.service-tab.is-active{
  background:var(--teal);
  border-color:var(--teal);
  color:#fff;
  transform:translateY(-2px);
  box-shadow:var(--shadow-sm);
}
.service-tab:hover i,
.service-tab.is-active i{ color:var(--gold-light); }

/* =========================================================
   SERVICES PAGE — Zig-Zag sections
   ========================================================= */
.section-zigzag{ padding:96px 0; }
.section-zigzag.section-paper{ background:var(--paper); }

/* Scroll anchor offset so sticky header doesn't cover headings */
.section-zigzag[id]{ scroll-margin-top:100px; }

.zigzag{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}
.zigzag.reverse .zigzag-media{ order:2; }
.zigzag.reverse .zigzag-content{ order:1; }

/* ---------- Media column ---------- */
.zigzag-media{
  position:relative;
  isolation:isolate;
}
.zigzag-media img{
  width:100%;
  aspect-ratio:5/4;
  object-fit:cover;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
  position:relative;
  z-index:2;
  display:block;
}
.zigzag-frame{
  position:absolute;
  inset:22px -22px -22px 22px;
  border:1.6px solid var(--gold);
  border-radius:var(--radius-lg);
  z-index:1;
  opacity:.55;
}
.zigzag.reverse .zigzag-frame{
  inset:22px 22px -22px -22px;
}

/* ---------- Numbered badge on image ---------- */
.zigzag-badge{
  position:absolute;
  top:22px;
  left:22px;
  z-index:3;
  display:flex;
  align-items:center;
  gap:10px;
  background:rgba(10,74,64,.94);
  color:#fff;
  padding:9px 16px 9px 12px;
  border-radius:999px;
  backdrop-filter:blur(6px);
  box-shadow:0 10px 24px rgba(10,74,64,.25);
}
.zigzag.reverse .zigzag-badge{
  left:auto;
  right:22px;
}
.zigzag-badge-num{
  font-family:var(--font-head);
  font-size:1.15rem;
  font-weight:700;
  color:var(--gold-light);
  line-height:1;
}
.zigzag-badge-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:26px; height:26px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:.85rem;
}

/* ---------- Content column (aligned top-to-bottom) ---------- */
.zigzag-content{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.zigzag-content .kicker{ margin-bottom:10px; }
.zigzag-content h2{ margin-bottom:.5em; }


/* ---------- Feature list (uniform grid) ---------- */
.zigzag-list{
  list-style:none;
  margin:0 0 32px;
  padding:0;
  width:100%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 28px;
  align-items:start;
}
.zigzag-list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:.92rem;
  line-height:1.5;
  color:var(--muted);
}
.zigzag-list i{
  color:var(--teal);
  font-size:1.05rem;
  margin-top:3px;
  flex-shrink:0;
  line-height:1;
}
.zigzag-list strong{
  display:block;
  color:var(--teal-dark);
  font-weight:600;
  margin-bottom:2px;
  font-size:.94rem;
  line-height:1.35;
}
.zigzag-list span{
  display:block;
  font-size:.84rem;
  color:var(--muted);
  line-height:1.5;
}

/* ---------- CTA button alignment ---------- */
.zigzag-content .btn{
  align-self:flex-start;
}
.zigzag-content .btn i{
  font-size:.9rem;
  transition:transform .3s;
}
.zigzag-content .btn:hover i{ transform:translateX(3px); }

/* =========================================================
   SERVICES PAGE — Responsive
   ========================================================= */
@media (max-width:1024px){
  .zigzag{
    grid-template-columns:1fr;
    gap:48px;
  }
  /* On stacked mobile view, always show image first */
  .zigzag.reverse .zigzag-media{ order:0; }
  .zigzag.reverse .zigzag-content{ order:1; }
  .zigzag-frame{ display:none; }
  .zigzag-badge,
  .zigzag.reverse .zigzag-badge{
    left:18px;
    right:auto;
  }
  .zigzag-list{ grid-template-columns:1fr; gap:16px; }
  
}

@media (max-width:820px){
  .section-zigzag{ padding:72px 0; }
  .service-tabs{ gap:8px; }
  .service-tab{ padding:10px 16px; font-size:.82rem; }
  .service-tab i{ font-size:.9rem; }
}

@media (max-width:520px){
  .service-tabs{
    flex-direction:column;
    align-items:stretch;
  }
  .service-tab{ justify-content:center; }
  .zigzag-media img{ aspect-ratio:4/3; }
  .zigzag-content .btn{ width:100%; justify-content:center; }
}


/* =========================================================
   SERVICES PAGE — Zig-Zag sections (FIXED)
   ========================================================= */
.section-zigzag{ padding:96px 0; }
.section-zigzag.section-paper{ background:var(--paper); }
.section-zigzag[id]{ scroll-margin-top:100px; }

/* Two equal columns, vertically centered */
.zigzag{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:center;
}
.zigzag.reverse .zigzag-media{ order:2; }
.zigzag.reverse .zigzag-content{ order:1; }

/* ---------- MEDIA (image) column ---------- */
.zigzag-media{
  position:relative;
  width:100%;
  aspect-ratio:5 / 4;        /* fixed frame shape for every section */
  border-radius:var(--radius-lg);
  overflow:hidden;           /* ⭐ clips the image inside the frame */
  box-shadow:var(--shadow-md);
  border:1.5px solid var(--line);   /* subtle neutral border */
  isolation:isolate;
  background:#fff;
}

/* The image fills the frame perfectly */
.zigzag-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;          /* ⭐ no stretching, no overflow */
  object-position:center;
  display:block;
}

/* Gold accent frame — now sits OUTSIDE the image, not behind it */
.zigzag-frame{
  position:absolute;
  inset:-12px -12px auto auto;   /* top-right corner accent (default) */
  width:60%;
  height:60%;
  border-top:1.6px solid var(--gold);
  border-right:1.6px solid var(--gold);
  border-top-right-radius:var(--radius-lg);
  z-index:3;
  opacity:.7;
  pointer-events:none;
}

/* Reverse side — accent moves to top-left */
.zigzag.reverse .zigzag-frame{
  inset:-12px auto auto -12px;
  border-top:1.6px solid var(--gold);
  border-left:1.6px solid var(--gold);
  border-right:none;
  border-top-left-radius:var(--radius-lg);
  border-top-right-radius:0;
}

/* Numbered badge — pinned to the top-left INSIDE the frame */
.zigzag-badge{
  position:absolute;
  top:16px;
  left:16px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 16px 8px 12px;
  background:rgba(10,74,64,.94);
  color:#fff;
  border-radius:999px;
  backdrop-filter:blur(6px);
  box-shadow:0 8px 20px rgba(10,74,64,.28);
  pointer-events:none;
}
.zigzag.reverse .zigzag-badge{
  left:auto;
  right:16px;
}
.zigzag-badge-num{
  font-family:var(--font-head);
  font-size:1.05rem;
  font-weight:700;
  color:var(--gold-light);
  line-height:1;
}
.zigzag-badge-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:24px; height:24px;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:.8rem;
}

/* ---------- CONTENT column ---------- */
.zigzag-content{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.zigzag-content .kicker{ margin-bottom:10px; }
.zigzag-content h2{ margin-bottom:.45em; }


/* ---------- Feature list (uniform 2-col grid) ---------- */
.zigzag-list{
  list-style:none;
  margin:0 0 32px;
  padding:0;
  width:100%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 28px;
  align-items:start;
}
.zigzag-list li{
  display:grid;
  grid-template-columns:18px 1fr;
  gap:10px;
  align-items:start;
  font-size:.92rem;
  line-height:1.5;
  color:var(--muted);
}
.zigzag-list i{
  color:var(--teal);
  font-size:1rem;
  line-height:1.5;
  padding-top:2px;
}
.zigzag-list strong{
  display:block;
  color:var(--teal-dark);
  font-weight:600;
  margin:0 0 2px;
  font-size:.94rem;
  line-height:1.35;
}
.zigzag-list span{
  display:block;
  font-size:.84rem;
  color:var(--muted);
  line-height:1.5;
}

/* ---------- CTA button ---------- */
.zigzag-content .btn{
  align-self:flex-start;
}
.zigzag-content .btn i{
  font-size:.9rem;
  transition:transform .3s;
}
.zigzag-content .btn:hover i{ transform:translateX(3px); }


/* =========================================================
   SERVICES PAGE — Responsive
   ========================================================= */
@media (max-width:1024px){
  .zigzag{
    grid-template-columns:1fr;
    gap:40px;
  }
  /* On stacked view, always show image first */
  .zigzag.reverse .zigzag-media{ order:0; }
  .zigzag.reverse .zigzag-content{ order:1; }

  .zigzag-media{ aspect-ratio:16 / 10; }

  /* Keep the corner accent subtle on mobile */
  .zigzag-frame{
    inset:-10px -10px auto auto;
    width:55%;
    height:55%;
  }
  .zigzag.reverse .zigzag-frame{
    inset:-10px auto auto -10px;
  }

  .zigzag-badge,
  .zigzag.reverse .zigzag-badge{
    left:14px;
    right:auto;
    top:14px;
  }

  .zigzag-list{ grid-template-columns:1fr; gap:14px; }
  
}

@media (max-width:820px){
  .section-zigzag{ padding:72px 0; }
}

@media (max-width:520px){
  .zigzag-media{ aspect-ratio:4 / 3; }
  .zigzag-content .btn{ width:100%; justify-content:center; }
  .zigzag-list li{ grid-template-columns:16px 1fr; gap:8px; }
}


/* ---------- MEDIA (image) column ---------- */
.zigzag-media{
  position:relative;
  width:100%;
  aspect-ratio:5 / 4;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
  border:none;              /* ⭐ removed the border around the image */
  background:transparent;
  isolation:isolate;
}

/* The image fills the frame perfectly */
.zigzag-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:var(--radius-lg);   /* keeps rounded corners on the image itself */
}

/* ⭐ Remove the gold accent line entirely */
.zigzag-frame{
  display:none;
}

/* Numbered badge — stays top-right when reversed (matches your screenshot) */
.zigzag-badge{
  position:absolute;
  top:16px;
  right:16px;               /* ⭐ now pinned top-right by default */
  left:auto;
  z-index:4;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 16px 8px 12px;
  background:rgba(10,74,64,.94);
  color:#fff;
  border-radius:999px;
  backdrop-filter:blur(6px);
  box-shadow:0 8px 20px rgba(10,74,64,.28);
  pointer-events:none;
}
.zigzag.reverse .zigzag-badge{
  right:16px;
  left:auto;
}


@media (max-width:1024px){
  .zigzag{
    grid-template-columns:1fr;
    gap:40px;
  }
  .zigzag.reverse .zigzag-media{ order:0; }
  .zigzag.reverse .zigzag-content{ order:1; }

  .zigzag-media{ aspect-ratio:16 / 10; }
  /* .zigzag-frame stays hidden — no override needed */
  .zigzag-list{ grid-template-columns:1fr; gap:14px; }
  
}


/* =========================================================
   PATIENT INFORMATION PAGE
   ========================================================= */

/* ---------- Anchor scroll offset for sticky header ---------- */
.section[id]{ scroll-margin-top:100px; }

/* =========================================================
   01 — FIRST DENTAL VISIT — vertical step timeline
   ========================================================= */
.visit-steps{
  position:relative;
  max-width:900px;
  margin:0 auto 56px;
  padding-left:70px;
}
.visit-steps::before{
  content:"";
  position:absolute;
  left:26px;
  top:14px;
  bottom:14px;
  width:2px;
  background:linear-gradient(180deg, var(--teal) 0%, var(--gold) 100%);
  opacity:.35;
  border-radius:2px;
}

.visit-step{
  position:relative;
  display:grid;
  grid-template-columns:1fr;
  padding:0 0 34px;
}
.visit-step:last-child{ padding-bottom:0; }


/* ---------- Good-to-know strip ---------- */


/* =========================================================
   03 — PATIENT REVIEWS — action button
   ========================================================= */


/* =========================================================
   04 — DENTAL CARE TIPS
   ========================================================= */


/* ---------- Tips CTA ---------- */


/* =========================================================
   RESPONSIVE
   ========================================================= */


@media (max-width:820px){
  .visit-steps{ padding-left:60px; }
  
  .visit-steps::before{ left:22px; }
  
}


@media (max-width:480px){
  .visit-steps{ padding-left:52px; }
  
  .visit-steps::before{ left:19px; }
}


/* =========================================================
   SAFETY NET — reveal elements must NEVER stay invisible
   ========================================================= */
.reveal{
  opacity:1 !important;      /* visible by default */
  transform:none !important;
}
/* If JS is available, re-enable the animation via .js-loaded on <html> */


/* =========================================================
   PATIENT INFORMATION PAGE — full style block
   ========================================================= */

/* Anchor scroll offset */
.section[id]{ scroll-margin-top:100px; }

/* ---------- 01. FIRST VISIT — step timeline ---------- */
.visit-steps{
  position:relative;
  max-width:900px;
  margin:0 auto 56px;
  padding-left:70px;
}
.visit-steps::before{
  content:"";
  position:absolute;
  left:26px;
  top:14px;
  bottom:14px;
  width:2px;
  background:linear-gradient(180deg, var(--teal) 0%, var(--gold) 100%);
  opacity:.35;
  border-radius:2px;
}
.visit-step{
  position:relative;
  padding:0 0 34px;
}
.visit-step:last-child{ padding-bottom:0; }


/* ---------- Good-to-know strip ---------- */


/* ---------- 03. Reviews — action button ---------- */


/* ---------- 04. DENTAL CARE TIPS ---------- */


/* ---------- Page banner fallback (in case image is missing) ---------- */
.page-banner{
  background:linear-gradient(120deg, #0A4A40, #0F6B5C); /* fallback color */
}
.page-banner > img{
  /* if image fails to load, this gradient shows through */
  background:linear-gradient(120deg, #0A4A40, #0F6B5C);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width:820px){
  .visit-steps{ padding-left:60px; }
  
  .visit-steps::before{ left:22px; }
  
}

@media (max-width:480px){
  .visit-steps{ padding-left:52px; }
  
  .visit-steps::before{ left:19px; }
}


/* =========================================================
   ENQUIRY PAGE — Form section
   ========================================================= */

/* =========================================
   SMALL ENQUIRY FORM
========================================= */


/* Heading */


/* Form Container */


/* Input Fields */


/* Captcha */


/* Captcha Text */


/* Send Button */


/* =========================================
   MOBILE
========================================= */


/* =========================================================
   CONTACT PAGE — Centered contact info cards
   ========================================================= */
.contact-info-section{
  background:var(--bg);
}

.contact-info-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  max-width:1080px;
  margin:0 auto;
}

.contact-info-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:36px 26px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  color:var(--ink);
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.contact-info-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-md);
  border-color:rgba(201,162,39,.4);
  color:var(--ink);
}

.contact-info-icon{
  width:64px; height:64px;
  border-radius:50%;
  background:var(--teal-light);
  color:var(--teal);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
  margin-bottom:20px;
  transition:background .35s, color .35s, transform .35s;
}
.contact-info-card:hover .contact-info-icon{
  background:var(--gold);
  color:#fff;
  transform:scale(1.05);
}

.contact-info-card h3{
  font-family:var(--font-head);
  font-size:1.2rem;
  font-weight:600;
  color:var(--teal-dark);
  margin:0 0 8px;
}
.contact-info-card p{
  font-size:.9rem;
  color:var(--muted);
  line-height:1.6;
  margin:0;
  word-break:break-word;
}

/* =========================================================
   CONTACT PAGE — FULL-WIDTH MAP
   ========================================================= */
.map-full-section{
  background:var(--paper);
  padding-top:96px;
  padding-bottom:0;
}

.map-full-head{
  max-width:720px;
  margin:0 auto 48px;
  text-align:center;
  padding:0 24px;
}
.map-full-head h2{ margin-bottom:.5em; }
.map-full-head p{ margin-bottom:26px; }

.map-full-actions{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
}

/* The map itself — full bleed across the viewport */
.map-full-frame{
  width:100%;
  height:520px;
  overflow:hidden;
  background:#0A4A40;
  position:relative;
}
.map-full-frame::after{
  /* thin gold top border for a clean separation */
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background:linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
}
.map-full-frame iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
  filter:saturate(.95);
}

/* =========================================================
   CONTACT PAGE — Responsive
   ========================================================= */
@media (max-width:1024px){
  .contact-info-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
  }
}

@media (max-width:820px){
  .map-full-section{ padding-top:72px; }
  .map-full-frame{ height:420px; }
}

@media (max-width:600px){
  .contact-info-grid{
    grid-template-columns:1fr;
    gap:16px;
  }
  .contact-info-card{ padding:30px 22px; }
  .map-full-head{ margin-bottom:32px; }
  .map-full-actions .btn{ flex:1; min-width:180px; }
  .map-full-frame{ height:340px; }
}


/* ===== NEW SECTIONS STYLING ===== */
/* These styles match the new image design */

/* --- Meet Your Dentist --- */
.meet-dentist {
  background: #fff;
  padding: 80px 0;
}
.meet-dentist .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.meet-dentist .dentist-img img {
  width: 100%;
  border-radius: 24px;
  display: block;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.meet-dentist .dentist-content .kicker {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2b7a6e;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.meet-dentist .dentist-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: #1a3c34;
  margin: 0 0 6px;
  line-height: 1.2;
}
.meet-dentist .dentist-content .subhead {
  font-size: 1.05rem;
  color: #4a6a62;
  margin-bottom: 18px;
  font-weight: 500;
}
.meet-dentist .dentist-content p {
  color: #4a5e58;
  line-height: 1.8;
  margin-bottom: 24px;
}
.meet-dentist .dentist-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}
.meet-dentist .dentist-feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.meet-dentist .dentist-feature-item i {
  font-size: 1.5rem;
  color: #2b7a6e;
  flex-shrink: 0;
  margin-top: 2px;
}
.meet-dentist .dentist-feature-item strong {
  display: block;
  font-size: 0.95rem;
  color: #1a3c34;
  font-weight: 600;
}
.meet-dentist .dentist-feature-item span {
  font-size: 0.92rem;
  color: #5a6e68;
  line-height: 1.5;
}

/* --- Services Grid --- */
.services-section {
  background: #f4faf8;
  padding: 80px 0;
}
.services-section .section-head {
  text-align: center;
  margin-bottom: 50px;
}
.services-section .section-head .kicker {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2b7a6e;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.services-section .section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: #1a3c34;
  margin: 0 0 10px;
}
.services-section .section-head p {
  color: #4a5e58;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 24px 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  border: 1px solid rgba(43, 122, 110, 0.06);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(43, 122, 110, 0.10);
}
.service-card .service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: #e8f3f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #2b7a6e;
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #1a3c34;
  margin: 0 0 8px;
}
.service-card p {
  font-size: 0.92rem;
  color: #5a6e68;
  line-height: 1.6;
  margin: 0;
}
.services-section .btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 44px;
  padding: 14px 36px;
  background: #1a3c34;
  color: #fff;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.3s ease;
}
.services-section .btn-explore:hover {
  background: #2b7a6e;
}

/* --- Why DentaRing --- */
.why-section {
  background: #fff;
  padding: 80px 0;
}
.why-section .section-head {
  text-align: center;
  margin-bottom: 50px;
}
.why-section .section-head .kicker {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2b7a6e;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.why-section .section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: #1a3c34;
  margin: 0 0 10px;
}
.why-section .section-head p {
  color: #4a5e58;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.why-card {
  text-align: center;
  padding: 30px 16px;
}
.why-card .why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: #e8f3f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #2b7a6e;
}
.why-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a3c34;
  margin: 0 0 8px;
}
.why-card p {
  font-size: 0.9rem;
  color: #5a6e68;
  line-height: 1.6;
  margin: 0;
}

/* --- Visit Steps --- */
.visit-section {
  background: #f4faf8;
  padding: 80px 0;
}
.visit-section .section-head {
  text-align: center;
  margin-bottom: 50px;
}
.visit-section .section-head .kicker {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2b7a6e;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.visit-section .section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: #1a3c34;
  margin: 0 0 10px;
}
.visit-section .section-head p {
  color: #4a5e58;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.visit-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.visit-step {
  text-align: center;
  position: relative;
  padding: 0 10px;
}
.visit-step .step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2b7a6e;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.visit-step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a3c34;
  margin: 0 0 8px;
}
.visit-step p {
  font-size: 0.88rem;
  color: #5a6e68;
  line-height: 1.6;
  margin: 0;
}


/* --- Gallery / Clinic Glimpse --- */
.clinic-glimpse {
  background: #fff;
  padding: 80px 0;
}
.clinic-glimpse .section-head {
  text-align: center;
  margin-bottom: 50px;
}
.clinic-glimpse .section-head .kicker {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2b7a6e;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.clinic-glimpse .section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: #1a3c34;
  margin: 0 0 10px;
}
.clinic-glimpse .section-head p {
  color: #4a5e58;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}


/* --- Testimonials (New Design) --- */


/* --- Responsive --- */
@media (max-width: 1024px) {
  .meet-dentist .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .visit-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  
  
}

@media (max-width: 767px) {
  .meet-dentist .dentist-content h2 {
    font-size: 2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .visit-steps {
    grid-template-columns: 1fr;
  }
  
  
  
  
  .services-section .section-head h2,
.why-section .section-head h2,
.visit-section .section-head h2,
.clinic-glimpse .section-head h2 {
    font-size: 2rem;
  }
}


/* ===== NEW ABOUT PAGE SECTIONS ===== */

/* --- Our Clinic Intro --- */
.about-clinic {
  background: #fff;
  padding: 80px 0;
}
.about-clinic .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-clinic .clinic-img img {
  width: 100%;
  border-radius: 24px;
  display: block;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.about-clinic .clinic-content .kicker {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2b7a6e;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.about-clinic .clinic-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: #1a3c34;
  margin: 0 0 18px;
  line-height: 1.2;
}
.about-clinic .clinic-content p {
  color: #4a5e58;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* --- Meet Founder --- */


/* --- Why Choose DentaRing (Values) --- */


/* --- Our Approach --- */


/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-clinic .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  
  
  
}

@media (max-width: 767px) {
  .about-clinic .clinic-content h2 {
    font-size: 2rem;
  }
  
  
  
}


/* ---------- Home service cards are links to services.html#section ---------- */
a.service-card{
  display:block;
  text-decoration:none;
  color:inherit;
  cursor:pointer;
}
a.service-card:focus-visible{
  outline:2px solid #2b7a6e;
  outline-offset:4px;
}

/* Anchor landing offset below the sticky header */
.section-zigzag[id]{ scroll-margin-top:170px; }

/* =========================================================
   WHY DENTARING — premium teal band (overrides above)
   ========================================================= */
.why-section{
  position:relative;
  overflow:hidden;
  padding:100px 0 110px;
  background:
    radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(135deg, #0A4A40 0%, #0F6B5C 55%, #12806E 100%);
  color:#fff;
}
.why-section .why-glow{
  position:absolute; inset:auto -10% -40% auto;
  width:620px; height:620px; border-radius:50%;
  background:radial-gradient(circle, rgba(201,162,39,.28), transparent 65%);
  pointer-events:none;
}
.why-section::before{
  content:""; position:absolute; top:-180px; left:-160px;
  width:420px; height:420px; border-radius:50%;
  border:1px solid rgba(227,197,103,.25);
  box-shadow:0 0 0 40px rgba(255,255,255,.02), 0 0 0 80px rgba(255,255,255,.015);
  pointer-events:none;
}
.why-section .container{ position:relative; z-index:1; }

.why-section .section-head{ margin-bottom:60px; }
.why-section .section-head .kicker{
  color:var(--gold-light);
  letter-spacing:3px;
}
.why-section .section-head h2{
  color:#fff;
  font-size:3rem;
}
.why-section .section-head h2 .accent{
  color:var(--gold-light);
  font-style:italic;
}
.why-section .section-head .why-quote{
  position:relative;
  max-width:640px;
  margin:18px auto 0;
  padding:0 34px;
  font-family:var(--font-head);
  font-style:italic;
  font-size:1.45rem;
  line-height:1.5;
  color:rgba(255,255,255,.88);
}
.why-section .section-head .why-quote::before,
.why-section .section-head .why-quote::after{
  position:absolute;
  font-size:3.2rem;
  line-height:1;
  color:var(--gold);
  font-style:normal;
}
.why-section .section-head .why-quote::before{ content:"\201C"; left:0; top:-8px; }
.why-section .section-head .why-quote::after { content:"\201D"; right:0; bottom:-26px; }

.why-grid{ gap:24px; }
.why-card{
  position:relative;
  text-align:left;
  padding:34px 26px 30px;
  border-radius:var(--radius);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(6px);
  overflow:hidden;
  transition:transform .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.why-card::after{
  content:""; position:absolute; left:0; top:0;
  height:3px; width:0;
  background:linear-gradient(90deg, var(--gold), var(--gold-light));
  transition:width .45s ease;
}
.why-card:hover{
  transform:translateY(-8px);
  background:rgba(255,255,255,.11);
  border-color:rgba(227,197,103,.45);
  box-shadow:0 24px 50px rgba(0,0,0,.22);
}
.why-card:hover::after{ width:100%; }


.why-card .why-icon{
  margin:0 0 22px;
  width:58px; height:58px;
  border-radius:16px;
  background:linear-gradient(135deg, var(--gold), var(--gold-light));
  color:var(--teal-dark);
  font-size:1.5rem;
  box-shadow:0 10px 24px rgba(201,162,39,.35);
  transition:transform .35s ease;
}
.why-card:hover .why-icon{ transform:rotate(-6deg) scale(1.06); }

.why-card h4{
  color:#fff;
  font-size:1.45rem;
  margin:0 0 10px;
}
.why-card p{
  color:rgba(255,255,255,.75);
  font-size:.95rem;
  line-height:1.65;
}

@media (max-width:1024px){
  .why-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:767px){
  .why-section{ padding:70px 0 80px; }
  .why-section .section-head h2{ font-size:2.1rem; }
  .why-section .section-head .why-quote{ font-size:1.2rem; padding:0 26px; }
  .why-grid{ grid-template-columns:1fr; }
  .why-card{ text-align:center; }
  .why-card .why-icon{ margin:0 auto 18px; }
}

/* =========================================================
   YOUR VISIT, STEP BY STEP — connected timeline (home page)
   ========================================================= */
.visit-section{
  position:relative;
  overflow:hidden;
  padding:100px 0;
  background:
    radial-gradient(circle at 8% 15%, rgba(201,162,39,.10), transparent 32%),
    radial-gradient(circle at 92% 85%, rgba(15,107,92,.10), transparent 35%),
    linear-gradient(180deg, #F7FBF9 0%, #FBF9F4 100%);
}
.visit-section .section-head{ margin-bottom:64px; }
.visit-section .section-head .kicker{ color:var(--teal); letter-spacing:3px; }
.visit-section .section-head h2{ color:var(--teal-dark); font-size:3rem; }

.visit-section .visit-steps{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:28px;
  max-width:none;
  margin:0;
  padding:0;
  position:relative;
}
/* gold dotted connector running through the number badges */
.visit-section .visit-steps::before{
  content:"";
  position:absolute;
  top:30px; bottom:auto;
  left:12.5%; right:12.5%;
  width:auto; height:2px;
  opacity:1;
  background:repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
  z-index:0;
}
.visit-section .visit-step{
  position:relative;
  z-index:1;
  padding:0;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.visit-section .visit-step .step-num{
  width:60px; height:60px;
  margin:0 0 26px;
  border-radius:50%;
  background:#fff;
  border:2px solid var(--teal);
  color:var(--teal);
  font-family:var(--font-head);
  font-size:1.5rem;
  font-weight:700;
  font-variant-numeric:lining-nums;
  box-shadow:0 0 0 8px rgba(15,107,92,.08);
  display:flex; align-items:center; justify-content:center;
  transition:all .35s ease;
}
.visit-section .visit-step:hover .step-num{
  background:linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color:var(--gold);
  color:var(--teal-dark);
  box-shadow:0 0 0 10px rgba(201,162,39,.18);
  transform:scale(1.08);
}

.visit-section .step-card{
  position:relative;
  width:100%;
  flex:1;
  padding:34px 24px 30px;
  background:#fff;
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
/* little pointer connecting card to its badge */
.visit-section .step-card::before{
  content:"";
  position:absolute;
  top:-8px; left:50%;
  width:14px; height:14px;
  background:#fff;
  border-left:1px solid var(--line);
  border-top:1px solid var(--line);
  transform:translateX(-50%) rotate(45deg);
}
.visit-section .visit-step:hover .step-card{
  transform:translateY(-8px);
  box-shadow:var(--shadow-lg);
  border-color:rgba(201,162,39,.45);
}
.visit-section .step-icon{
  width:56px; height:56px;
  margin:0 auto 18px;
  border-radius:16px;
  background:var(--teal-light);
  color:var(--teal);
  font-size:1.5rem;
  display:flex; align-items:center; justify-content:center;
  transition:all .35s ease;
}
.visit-section .visit-step:hover .step-icon{
  background:var(--teal);
  color:#fff;
  transform:rotate(-6deg);
}
.visit-section .visit-step h4{
  font-family:var(--font-head);
  font-size:1.4rem;
  font-weight:600;
  color:var(--teal-dark);
  margin:0 0 10px;
}
.visit-section .visit-step p{
  font-size:.93rem;
  line-height:1.65;
  color:var(--muted);
  margin:0;
}

/* Tablet: 2 x 2, no horizontal connector */
@media (max-width:1024px){
  .visit-section .visit-steps{ grid-template-columns:repeat(2, 1fr); row-gap:44px; }
  .visit-section .visit-steps::before{ display:none; }
}
/* Mobile: vertical timeline, badge on the left */
@media (max-width:767px){
  .visit-section{ padding:70px 0; }
  .visit-section .section-head{ margin-bottom:44px; }
  .visit-section .section-head h2{ font-size:2.1rem; }
  .visit-section .visit-steps{ grid-template-columns:1fr; row-gap:22px; }
  .visit-section .visit-steps::before{
    display:block;
    top:24px; bottom:24px;
    left:23px; right:auto;
    width:2px; height:auto;
    background:repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 16px);
  }
  .visit-section .visit-step{
    flex-direction:row;
    align-items:flex-start;
    gap:18px;
    text-align:left;
  }
  .visit-section .visit-step .step-num{
    flex:0 0 48px;
    width:48px; height:48px;
    margin:0;
    font-size:1.2rem;
    box-shadow:0 0 0 6px rgba(15,107,92,.08);
  }
  .visit-section .step-card{ padding:22px 20px; }
  .visit-section .step-card::before{
    top:17px; left:-8px;
    transform:rotate(-45deg);
  }
  .visit-section .step-icon{ margin:0 0 12px; width:46px; height:46px; font-size:1.25rem; }
}

/* =========================================================
   CLINIC GLIMPSE — larger photos (2 x 2), caption on image
   ========================================================= */


/* =========================================================
   HOME CTA — "Let's Talk About Your Smile"
   ========================================================= */
.cta-banner.cta-talk{
  background:#0C4A3E;
  padding:84px 40px 90px;
  border-radius:24px;
  box-shadow:0 30px 60px rgba(10,74,64,.18);
}
.cta-banner.cta-talk::before,
.cta-banner.cta-talk::after{ display:none; }      /* replaced by the gold arcs */
.cta-talk .cta-talk-arcs{
  position:absolute; top:0; right:0;
  width:320px; height:180px;
  fill:none;
  stroke:var(--gold);
  stroke-width:1.4;
  opacity:.9;
  pointer-events:none;
}
.cta-banner.cta-talk h2{
  font-family:var(--font-head);
  font-size:clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight:600;
  line-height:1.1;
  margin:0 0 16px;
}
.cta-banner.cta-talk p{
  font-size:1.15rem;
  max-width:680px;
  margin:0 auto 36px;
  color:rgba(255,255,255,.92);
}
.cta-talk .cta-actions{ gap:22px; }
.cta-talk .btn{
  min-width:250px;
  padding:16px 34px;
  border-radius:999px;
  font-size:1.05rem;
  font-weight:600;
  justify-content:center;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.cta-talk .cta-talk-gold{
  background:#D8B66B;
  color:var(--teal-dark);
  border:2px solid #D8B66B;
}
.cta-talk .cta-talk-gold:hover{
  background:#E3C567;
  border-color:#E3C567;
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(216,182,107,.35);
}
.cta-talk .cta-talk-outline{
  background:transparent;
  color:#fff;
  border:2px solid rgba(255,255,255,.9);
}
.cta-talk .cta-talk-outline:hover{
  background:#fff;
  color:var(--teal-dark);
  transform:translateY(-2px);
}
@media (max-width:767px){
  .cta-banner.cta-talk{ padding:60px 22px 64px; }
  .cta-talk .cta-talk-arcs{ width:200px; height:112px; }
  .cta-talk .btn{ min-width:0; width:100%; }
}

/* =========================================================
   REVIEWS — 2 large cards per view + Google rating badge
   ========================================================= */
.gr-section{
  padding:100px 0;
  background:linear-gradient(180deg, #F4FAF8 0%, #FBF9F4 100%);
}
.gr-section .section-head{ text-align:center; margin-bottom:40px; }
.gr-section .section-head .kicker{ color:var(--teal); letter-spacing:3px; }
.gr-section .section-head h2{ color:var(--teal-dark); font-size:3rem; }

.gr-bar{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px; flex-wrap:wrap;
  margin-bottom:28px;
}
.gr-badge{
  display:inline-flex; align-items:center; gap:14px;
  padding:12px 22px 12px 12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  box-shadow:var(--shadow-sm);
  text-decoration:none;
  transition:box-shadow .25s ease, transform .25s ease;
}
.gr-badge:hover{ box-shadow:var(--shadow-md); transform:translateY(-2px); }
.gr-g{
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font:700 1.35rem/1 Arial, sans-serif;
  color:#4285F4;
  background:#fff;
  box-shadow:inset 0 0 0 2px #E8EAED;
}
.gr-badge-text strong{
  display:flex; align-items:center; gap:8px;
  font-size:1.15rem; color:var(--ink);
}
.gr-badge-stars{ color:#FBBC05; font-size:.9rem; letter-spacing:1px; }
.gr-badge-text > span{ font-size:.82rem; color:var(--muted); }
.gr-badge-text > span i{ font-size:.7rem; margin-left:2px; }

.gr-nav{ display:flex; gap:12px; }
.gr-btn{
  width:52px; height:52px; border-radius:50%;
  border:1.5px solid var(--teal);
  background:#fff; color:var(--teal);
  font-size:1.2rem; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:all .25s ease;
}
.gr-btn:hover{ background:var(--teal); color:#fff; transform:translateY(-2px); }

.gr-viewport{ overflow:hidden; padding:14px 6px 30px; margin:0 -6px; }
.gr-track{
  display:flex; gap:30px;
  transition:transform .6s cubic-bezier(.22,.8,.3,1);
}
.gr-card{
  position:relative;
  flex:0 0 calc(50% - 15px);
  display:flex; flex-direction:column;
  min-height:320px;
  padding:44px 46px 38px;
  background:#fff;
  border-radius:24px;
  border:1px solid var(--line);
  box-shadow:var(--shadow-md);
  overflow:hidden;
}
.gr-card::before{                                /* gold accent bar */
  content:""; position:absolute; left:0; top:0; bottom:0; width:5px;
  background:linear-gradient(180deg, var(--gold), var(--gold-light));
}
.gr-card-top{ display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:22px; }
.gr-stars{ color:#F5B301; font-size:1.25rem; display:flex; gap:4px; }
.gr-quote{ font-size:4.2rem; line-height:.6; color:var(--teal-light); }
.gr-text{
  flex:1;
  margin:0 0 30px;
  font-family:var(--font-head);
  font-size:1.6rem;
  line-height:1.45;
  font-style:italic;
  color:var(--ink);
}
.gr-who{
  display:flex; align-items:center; gap:16px;
  padding-top:24px;
  border-top:1px solid var(--line);
}
.gr-avatar{
  width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--teal), var(--teal-dark));
  color:#fff; font-family:var(--font-head); font-size:1.5rem; font-weight:700;
}
.gr-who strong{ display:block; font-size:1.05rem; color:var(--teal-dark); }
.gr-who span{ font-size:.88rem; color:var(--muted); }
/* Google "G" mark on reviews copied from Google */
.gr-card.is-google .gr-who::after{
  content:"G";
  margin-left:auto;
  width:30px; height:30px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font:700 .95rem/1 Arial, sans-serif; color:#4285F4;
  box-shadow:inset 0 0 0 1.5px #E8EAED;
}

.gr-dots{ display:flex; justify-content:center; gap:8px; }
.gr-dots button{
  width:10px; height:10px; padding:0; border:0; border-radius:999px;
  background:rgba(15,107,92,.2); cursor:pointer;
  transition:width .3s ease, background .3s ease;
}
.gr-dots button.is-active{ width:30px; background:var(--gold); }

@media (max-width:1024px){
  .gr-card{ padding:36px 32px 30px; }
  .gr-text{ font-size:1.35rem; }
}
@media (max-width:767px){
  .gr-section{ padding:70px 0; }
  .gr-section .section-head h2{ font-size:2.1rem; }
  .gr-bar{ justify-content:center; }
  .gr-card{ flex:0 0 100%; min-height:0; padding:30px 24px 26px; }
  .gr-text{ font-size:1.25rem; }
  .gr-quote{ font-size:3.2rem; }
}

/* =========================================================
   HOME SERVICES — photo cards
   ========================================================= */
.services-section{
  background:
    radial-gradient(circle at 0% 0%, rgba(201,162,39,.08), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(15,107,92,.08), transparent 35%),
    #F6FAF8;
}
.services-section .services-grid{ gap:30px; margin-bottom:50px; }

.services-section .svc-card{
  display:flex; flex-direction:column;
  padding:0;
  text-align:left;
  background:#fff;
  border-radius:22px;
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
  transition:transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.services-section .svc-card:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow-lg);
  border-color:rgba(201,162,39,.5);
}

.svc-media{
  position:relative;
  height:210px;
  overflow:hidden;
}
.svc-media img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  transition:transform .7s ease;
}
.svc-media::after{                              /* teal tint, fades on hover */
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(10,74,64,.05) 40%, rgba(10,74,64,.55));
  transition:opacity .4s ease;
}
.svc-card:hover .svc-media img{ transform:scale(1.08); }
.svc-card:hover .svc-media::after{ opacity:.6; }


.svc-body{
  position:relative;
  flex:1;
  display:flex; flex-direction:column;
  padding:44px 28px 28px;
}
.services-section .svc-card .service-icon{
  position:absolute; top:-32px; left:28px;
  width:64px; height:64px;
  margin:0;
  border-radius:18px;
  background:linear-gradient(135deg, var(--gold), var(--gold-light));
  color:var(--teal-dark);
  font-size:1.6rem;
  box-shadow:0 12px 24px rgba(201,162,39,.35), 0 0 0 5px #fff;
  transition:transform .4s ease;
}
.svc-card:hover .service-icon{ transform:rotate(-8deg) scale(1.06); }

.services-section .svc-card h3{
  font-size:1.5rem;
  line-height:1.25;
  color:var(--teal-dark);
  margin:0 0 8px;
}
.services-section .svc-card p{
  font-size:.95rem;
  color:var(--muted);
  margin:0 0 20px;
}
.svc-more{
  margin-top:auto;
  display:inline-flex; align-items:center; gap:8px;
  font-size:.9rem; font-weight:600;
  color:var(--teal);
  letter-spacing:.3px;
}
.svc-more i{ transition:transform .3s ease; }
.svc-card:hover .svc-more{ color:var(--gold); }
.svc-card:hover .svc-more i{ transform:translateX(6px); }

@media (max-width:767px){
  .svc-media{ height:190px; }
  .svc-body{ padding:42px 22px 24px; }
  .services-section .svc-card .service-icon{ left:22px; }
}

/* =========================================================
   TIGHTER SPACING BETWEEN SECTIONS (all pages)
   One place to control it: change --section-space below.
   ========================================================= */
:root{
  --section-space: 48px;          /* desktop */
  --section-head-gap: 36px;       /* space under each section heading */
}
@media (max-width:1024px){ :root{ --section-space: 40px; --section-head-gap: 30px; } }
@media (max-width:767px){  :root{ --section-space: 32px; --section-head-gap: 24px; } }

body .section,
body .section-zigzag,
body .meet-dentist,
body .services-section,
body .why-section,
body .visit-section,
body .clinic-glimpse,
body .gr-section,
body .about-clinic {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}
body .map-full-section{ padding-top: var(--section-space); }

body .section-head,
body .services-section .section-head,
body .why-section .section-head,
body .visit-section .section-head,
body .clinic-glimpse .section-head,
body .gr-section .section-head {
  margin-bottom: var(--section-head-gap);
}
body .services-section .services-grid{ margin-bottom: 36px; }

/* Enquiry page: "Book an Appointment" jumps to the form below the sticky header */
#form{ scroll-margin-top:170px; }
@media (max-width:991px){ #form{ scroll-margin-top:140px; } }

/* =========================================================
   SERVICES PAGE — subcategory list (panel with rows)
   ========================================================= */
.zigzag-content h2{ margin-bottom:18px; }
.zigzag-sublabel{
  display:flex; align-items:center; gap:12px;
  margin:6px 0 16px;
  font-size:.78rem; font-weight:700;
  letter-spacing:2.5px; text-transform:uppercase;
  color:var(--muted);
}
.zigzag-sublabel span{
  width:36px; height:2px; border-radius:2px;
  background:linear-gradient(90deg, var(--gold), var(--gold-light));
}

.zigzag-list.zigzag-list--titles{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  column-gap:28px;
  row-gap:0;
  margin:0 0 34px;
  padding:10px 22px;
  background:#fff;
  position:relative;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:0 18px 40px rgba(10,74,64,.08);
}
.zigzag-list.zigzag-list--titles::before{        /* short gold accent on the top edge */
  content:""; position:absolute; top:-2px; left:28px;
  width:64px; height:4px; border-radius:4px;
  background:linear-gradient(90deg, var(--gold), var(--gold-light));
}
.zigzag-list--titles li{
  position:relative;
  display:flex;
  align-items:center;
  gap:14px;
  padding:15px 6px;
  border-bottom:1px dashed rgba(15,107,92,.18);
  border-radius:12px;
  background:none;
  box-shadow:none;
}
/* drop the divider on the last row of each column */
.zigzag-list--titles li:last-child,
.zigzag-list--titles li:nth-last-child(2):nth-child(odd){ border-bottom-color:transparent; }

.zigzag-list--titles li i{
  flex:0 0 38px;
  width:38px; height:38px;
  margin:0;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--teal), var(--teal-dark));
  color:#fff;
  font-size:1.1rem;
  box-shadow:0 0 0 4px var(--teal-light);
}
.zigzag-list--titles li strong{
  font-family:var(--font-head);
  font-size:1.22rem;
  font-weight:600;
  line-height:1.3;
  color:var(--teal-dark);
}
@media (max-width:1200px){
  .zigzag-list.zigzag-list--titles{ grid-template-columns:1fr; }
  .zigzag-list--titles li:nth-last-child(2):nth-child(odd){ border-bottom-color:rgba(15,107,92,.18); }
}
@media (max-width:767px){
  .zigzag-list.zigzag-list--titles{ padding:6px 14px; }
  .zigzag-list--titles li strong{ font-size:1.12rem; }
}

/* =========================================================
   PATIENT GUIDE PAGE — Before visit / First visit / Tips / FAQs
   ========================================================= */
.pg-section[id]{ scroll-margin-top:150px; }
.patient-navigation .service-tab{ min-height:64px; padding:14px 26px; font-size:1.05rem; }

/* ---------- 01 Before your visit ---------- */


.pg-tl-card h3 {
  font-family:var(--font-head);
  font-size:1.4rem; font-weight:600;
  color:var(--teal-dark);
  margin:0 0 8px;
}
.pg-tl-card p { margin:0; font-size:.94rem; line-height:1.65; color:var(--muted); }

/* ---------- 02 First visit — centre timeline ---------- */
.pg-timeline{
  position:relative;
  list-style:none;
  max-width:980px;
  margin:0 auto 40px;
  padding:0;
}
.pg-timeline::before{
  content:""; position:absolute; top:10px; bottom:10px; left:50%;
  width:2px; transform:translateX(-50%);
  background:repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 16px);
}
.pg-tl-item{
  position:relative;
  width:50%;
  padding:0 56px 26px 0;
}
.pg-tl-item:nth-child(even){ margin-left:50%; padding:0 0 26px 56px; }


.pg-tl-card{
  position:relative;
  display:grid;
  grid-template-columns:52px 1fr;
  column-gap:18px;
  padding:24px 26px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:var(--shadow-sm);
}
.pg-tl-card .pg-tl-icon{ grid-row:span 2; }
.pg-tl-icon{
  width:52px; height:52px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--gold), var(--gold-light));
  color:var(--teal-dark); font-size:1.35rem;
}
.pg-tl-card::after{                       /* pointer toward the line */
  content:""; position:absolute; top:36px; right:-8px;
  width:14px; height:14px; background:#fff;
  border-top:1px solid var(--line); border-right:1px solid var(--line);
  transform:rotate(45deg);
}
.pg-tl-item:nth-child(even) .pg-tl-card::after{
  right:auto; left:-8px;
  border:0; border-bottom:1px solid var(--line); border-left:1px solid var(--line);
}


/* ---------- 03 Dental care tips ---------- */


/* ---------- 04 FAQs ---------- */
.pg-faq{
  display:grid;
  grid-template-columns:minmax(0, 4fr) minmax(0, 7fr);
  gap:48px;
  align-items:start;
}
.pg-faq-intro{ position:sticky; top:150px; }
.pg-faq-intro h2{ margin-bottom:14px; }
.pg-faq-intro p{ margin-bottom:24px; }
.pg-faq-contact{ display:flex; flex-wrap:wrap; gap:12px; }

.pg-faq-list{ display:flex; flex-direction:column; gap:12px; counter-reset:faq; }
.pg-faq-item{
  counter-increment:faq;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:var(--shadow-sm);
  overflow:hidden;
}
.pg-faq-item[open]{ border-color:rgba(201,162,39,.5); }
.pg-faq-item summary{
  list-style:none;
  cursor:pointer;
  display:flex; align-items:center; gap:16px;
  padding:18px 22px;
  font-family:var(--font-head);
  font-size:1.25rem; font-weight:600;
  color:var(--teal-dark);
}
.pg-faq-item summary::-webkit-details-marker{ display:none; }
.pg-faq-item summary::before{
  content:counter(faq, decimal-leading-zero);
  flex:0 0 auto;
  font-variant-numeric:lining-nums;
  font-size:1rem; font-weight:700;
  color:var(--gold);
}
.pg-faq-item summary::after{
  content:"+";
  margin-left:auto;
  flex:0 0 32px; width:32px; height:32px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--teal-light); color:var(--teal);
  font-family:var(--font-body); font-size:1.25rem; font-weight:400;
  transition:transform .3s ease, background .3s ease, color .3s ease;
}
.pg-faq-item[open] summary::after{ transform:rotate(45deg); background:var(--teal); color:#fff; }
.pg-faq-item p{ margin:0; padding:0 22px 22px 60px; font-size:.95rem; line-height:1.7; }

/* ---------- Responsive ---------- */

@media (max-width:991px){
  
  .pg-faq{ grid-template-columns:1fr; gap:28px; }
  .pg-faq-intro{ position:static; }
  .pg-section[id]{ scroll-margin-top:130px; }
}
@media (max-width:767px){
  
  

  .pg-timeline::before{ left:23px; transform:none; }
  .pg-tl-item, .pg-tl-item:nth-child(even){ width:100%; margin-left:0; padding:0 0 18px 64px; }
  
  .pg-tl-card{ grid-template-columns:44px 1fr; column-gap:14px; padding:20px 18px; }
  .pg-tl-icon{ width:44px; height:44px; font-size:1.15rem; }
  .pg-tl-card::after, .pg-tl-item:nth-child(even) .pg-tl-card::after{
    right:auto; left:-8px; top:32px;
    border:0; border-bottom:1px solid var(--line); border-left:1px solid var(--line);
  }

  
  
  

  .pg-faq-item summary{ font-size:1.1rem; padding:16px 18px; gap:12px; }
  .pg-faq-item p{ padding:0 18px 18px; }
}

/* ---------- Patient Guide: Before your visit — 4 topic cards ---------- */


/* Patient Guide — Everyday Dental Care: 6 topics, 3 per row */


/* Nav — current page stays highlighted (same look as hover) */
.nav-list a.is-active{
  color:var(--teal);
  background:var(--teal-light);
  font-weight:600;
}

/* =========================================================
   HOME FAQ — dark intro card + numbered accordion
   (reuses the Patient Guide .pg-faq layout)
   ========================================================= */
.home-faq{
  background:
    radial-gradient(circle at 100% 0%, rgba(201,162,39,.08), transparent 35%),
    var(--bg);
}
.home-faq .pg-faq{ align-items:stretch; }
.home-faq-card{
  position:relative;
  overflow:hidden;
  align-self:start;
  padding:40px 36px 36px;
  border-radius:24px;
  color:#fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(227,197,103,.25), transparent 45%),
    linear-gradient(155deg, #0F6B5C 0%, #0A4A40 100%);
  box-shadow:0 24px 50px rgba(10,74,64,.22);
}
.home-faq-card::after{                     /* faint ring decoration */
  content:""; position:absolute; right:-70px; bottom:-70px;
  width:220px; height:220px; border-radius:50%;
  border:1.5px solid rgba(227,197,103,.3);
  pointer-events:none;
}
.home-faq-icon{
  width:58px; height:58px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--gold), var(--gold-light));
  color:var(--teal-dark); font-size:1.6rem;
  margin-bottom:20px;
}
.home-faq-card .kicker{ color:var(--gold-light); }
.home-faq-card h2{ color:#fff; }
.home-faq-card p{ color:rgba(255,255,255,.85); }
.home-faq-card .pg-faq-contact{ position:relative; z-index:1; }
.home-faq .pg-faq-item p a{ font-weight:600; }
@media (max-width:767px){
  .home-faq-card{ padding:30px 22px 26px; }
  .home-faq-card .btn{ width:100%; }
}

/* Home FAQ: short list, so the intro card should not stick while scrolling */
.home-faq .pg-faq{ align-items:start; }
.home-faq .home-faq-card{ position:relative; top:auto; }

/* =========================================================
   ABOUT — Why choose DentaRing (intro tile + 5 value cards)
   ========================================================= */


/* About values: icon at top, text anchored to the bottom so taller rows look balanced */


/* =========================================================
   BENTO LAYOUTS — dark intro tile + value cards
   (About "Our approach", Patient Guide "Before your visit" & "Everyday dental care")
   ========================================================= */


/* =========================================================
   ABOUT v2 — Why choose (split + slim rows)
   ========================================================= */


/* =========================================================
   ABOUT v2 — Our approach (dark band, connected steps)
   ========================================================= */


/* ---------- Responsive ---------- */


/* =========================================================
   PATIENT GUIDE — Before your visit: 4 wide cards (2 x 2)
   ========================================================= */


/* =========================================================
   PATIENT GUIDE — topic carousels (icon illustration cards)
   ========================================================= */


/* illustration panel */


/* controls */


/* =========================================================
   PATIENT GUIDE — photo cards (Before your visit / Everyday dental care)
   ========================================================= */
.ph-grid{ display:grid; gap:24px; }
.ph-grid--4{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
.ph-grid--3{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
.ph-card{
  display:flex; flex-direction:column;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.ph-media{ position:relative; height:200px; overflow:hidden; }
.ph-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.ph-media::after{                       /* soft fade into the card */
  content:""; position:absolute; inset:auto 0 0 0; height:40%;
  background:linear-gradient(180deg, transparent, rgba(10,74,64,.35));
}

.ph-body{ position:relative; padding:40px 24px 26px; flex:1; }
.ph-icon{
  position:absolute; top:-28px; left:24px;
  width:56px; height:56px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--gold), var(--gold-light));
  color:var(--teal-dark); font-size:1.45rem;
  box-shadow:0 10px 22px rgba(201,162,39,.35), 0 0 0 5px #fff;
}
.ph-body h3{
  font-family:var(--font-head);
  font-size:1.4rem; font-weight:600; line-height:1.25;
  color:var(--teal-dark);
  margin:0 0 10px;
}
.ph-body p{ margin:0; font-size:.94rem; line-height:1.7; color:var(--muted); }

@media (max-width:1100px){
  .ph-grid--4, .ph-grid--3{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:640px){
  .ph-grid--4, .ph-grid--3{ grid-template-columns:1fr; gap:18px; }
  .ph-media{ height:190px; }
}

/* =========================================================
   CONTACT — Appointment form that sends via WhatsApp
   ========================================================= */
.wa-section{ background:var(--paper); }
.wa-grid{
  display:grid;
  grid-template-columns:minmax(0, 5fr) minmax(0, 7fr);
  gap:40px;
  align-items:start;
}
.wa-side{
  position:relative; overflow:hidden;
  padding:44px 38px;
  border-radius:24px;
  color:#fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(227,197,103,.28), transparent 45%),
    linear-gradient(150deg, #0F6B5C 0%, #0A4A40 100%);
  box-shadow:0 24px 50px rgba(10,74,64,.22);
}
.wa-side-icon{
  width:58px; height:58px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background:#25D366; color:#fff; font-size:1.7rem;
  margin-bottom:20px;
}
.wa-side .kicker{ color:var(--gold-light); }
.wa-side h2{ color:#fff; margin-bottom:14px; }
.wa-side p{ color:rgba(255,255,255,.85); }
.wa-side p strong{ color:#fff; }
.wa-side-list{ list-style:none; margin:26px 0 0; padding:0; display:flex; flex-direction:column; gap:14px; }
.wa-side-list li{ display:flex; align-items:center; gap:12px; color:rgba(255,255,255,.9); font-size:.95rem; }
.wa-side-list i{
  flex:0 0 36px; width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.1); color:var(--gold-light);
}
.wa-side-list a{ color:#fff; }
.wa-side-list a:hover{ color:var(--gold-light); }

.wa-form{
  padding:40px 40px 32px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow-md);
}
.wa-form h2{
  font-family:var(--font-head);
  font-size:clamp(1.9rem, 3vw, 2.5rem);
  font-weight:700;
  color:#0C4A3E;
  margin:0 0 22px;
}
.wa-field{ margin-bottom:18px; }
.wa-field label{ display:block; margin-bottom:7px; font-size:.95rem; font-weight:500; color:var(--ink); }
.wa-field .req{ color:#C0392B; }
.wa-field .opt{ color:var(--muted); font-weight:400; }
.wa-field input,
.wa-field select,
.wa-field textarea{
  width:100%;
  padding:13px 15px;
  font:inherit; font-size:.95rem;
  color:var(--ink);
  background:#fff;
  border:1px solid #CFD8D5;
  border-radius:8px;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.wa-field input::placeholder,
.wa-field textarea::placeholder{ color:#8A9894; }
.wa-field input:focus,
.wa-field select:focus,
.wa-field textarea:focus{
  outline:none;
  border-color:var(--teal);
  box-shadow:0 0 0 3px rgba(15,107,92,.15);
}
.wa-field textarea{ resize:vertical; min-height:110px; }
.wa-select{ position:relative; }
.wa-select select{ appearance:none; -webkit-appearance:none; padding-right:42px; cursor:pointer; }
.wa-select i{ position:absolute; right:15px; top:50%; transform:translateY(-50%); pointer-events:none; color:var(--ink); }
.wa-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }

.wa-field.has-error input{ border-color:#C0392B; box-shadow:0 0 0 3px rgba(192,57,43,.12); }
.wa-error{ display:block; min-height:0; margin-top:5px; font-size:.82rem; color:#C0392B; }
.wa-error:empty{ display:none; }

.wa-submit{
  width:100%;
  margin-top:6px;
  padding:15px 20px;
  border:0; border-radius:8px;
  background:#0C4A3E; color:#fff;
  font:inherit; font-size:1.05rem; font-weight:600;
  cursor:pointer;
  transition:background .25s ease, transform .25s ease;
}
.wa-submit:hover{ background:var(--teal); transform:translateY(-1px); }
.wa-note{ margin:12px 0 0; text-align:center; font-size:.85rem; color:var(--ink); }

@media (max-width:991px){
  .wa-grid{ grid-template-columns:1fr; gap:24px; }
}
@media (max-width:520px){
  .wa-form{ padding:28px 20px 24px; }
  .wa-side{ padding:32px 24px; }
  .wa-row{ grid-template-columns:1fr; gap:0; }
}

/* Patient Guide photo cards: show more of each photo (no curve, icon stays on the left) */
.ph-media{ height:250px; }
.ph-media::after{ display:none; }
@media (max-width:640px){ .ph-media{ height:230px; } }

/* =========================================================
   MOBILE CAROUSELS (home: Services + Why DentaRing)
   Desktop/tablet: normal grid. Phones: one card between arrows + dots.
   ========================================================= */
.mc-btn, .mc-dots{ display:none; }

@media (max-width:767px){
  .mc{
    display:grid;
    grid-template-columns:40px minmax(0, 1fr) 40px;
    align-items:center;
    column-gap:8px;
  }
  .mc-viewport{ overflow:hidden; grid-column:2; grid-row:1; padding:6px 2px 18px; }
  .mc-viewport > *{
    display:flex !important;
    gap:16px;
    margin:0;
    transition:transform .55s cubic-bezier(.22,.8,.3,1);
    touch-action:pan-y;
  }
  .mc-viewport > * > *{ flex:0 0 100%; min-width:0; }
  /* slides that start off-screen must still be visible when they slide in */
  .mc .reveal{ opacity:1; transform:none; }
  .mc .service-card:hover, .mc .why-card:hover{ transform:none; }

  .mc-btn{
    display:flex; align-items:center; justify-content:center;
    width:40px; height:40px; border-radius:50%;
    padding:0; cursor:pointer;
    font-size:1rem;
    transition:background .25s ease, color .25s ease;
  }
  .mc-prev{ grid-column:1; grid-row:1; }
  .mc-next{ grid-column:3; grid-row:1; }
  .mc--light .mc-btn{ background:#fff; color:var(--teal); border:1.5px solid var(--teal); box-shadow:var(--shadow-sm); }
  .mc--light .mc-btn:active{ background:var(--teal); color:#fff; }
  .mc--dark .mc-btn{ background:rgba(255,255,255,.1); color:#fff; border:1.5px solid rgba(255,255,255,.45); }
  .mc--dark .mc-btn:active{ background:var(--gold); color:var(--teal-dark); border-color:var(--gold); }

  .mc-dots{
    display:flex; justify-content:center; gap:8px;
    grid-column:1 / -1; grid-row:2;
    margin-top:4px;
  }
  .mc-dots button{
    width:9px; height:9px; padding:0; border:0; border-radius:999px; cursor:pointer;
    transition:width .3s ease, background .3s ease;
  }
  .mc--light .mc-dots button{ background:rgba(15,107,92,.22); }
  .mc--dark .mc-dots button{ background:rgba(255,255,255,.3); }
  .mc-dots button.is-active{ width:26px; background:var(--gold) !important; }
}

@media (max-width:767px){
  .mc{ grid-template-columns:34px minmax(0, 1fr) 34px; column-gap:6px; }
  .mc-btn{ width:34px; height:34px; font-size:.9rem; }
}
@media (max-width:400px){
  .services-section .container, .why-section .container{ padding-left:14px; padding-right:14px; }
}

/* Book Appointment links land on the contact form, below the sticky header */
#appointment{ scroll-margin-top:120px; }
@media (max-width:991px){ #appointment{ scroll-margin-top:100px; } }

/* Patient Guide carousels on phones */
@media (max-width:767px){
  .mc .pg-timeline{ margin:0; padding:0; max-width:none; }
  .mc .pg-timeline::before{ display:none; }                  /* one step at a time: no connecting line */
  .mc .pg-tl-item, .mc .pg-tl-item:nth-child(even){ width:auto; margin:0; padding:0 0 0 58px; }
  .mc .ph-grid{ gap:16px; }
}
@media (max-width:767px){
  /* timeline step in the carousel: number badge centred above the card */
  .mc .pg-tl-item, .mc .pg-tl-item:nth-child(even){
    padding:0; display:flex; flex-direction:column; align-items:center;
  }
  
  .mc .pg-tl-card{ width:100%; }
  .mc .pg-tl-card::after, .mc .pg-tl-item:nth-child(even) .pg-tl-card::after{
    left:50%; right:auto; top:-8px; transform:translateX(-50%) rotate(45deg);
    border:0; border-top:1px solid var(--line); border-left:1px solid var(--line);
  }
}
@media (max-width:400px){
  .pg-section .container{ padding-left:14px; padding-right:14px; }
}
@media (max-width:767px){
  .mc .pg-tl-card{ grid-template-columns:1fr; text-align:center; padding:22px 18px; }
  .mc .pg-tl-card .pg-tl-icon{ grid-row:auto; margin:0 auto 12px; }
}

@media (max-width:767px){
  .mc .contact-info-grid{ gap:16px; }
  .mc .contact-info-card{ height:auto; }
}
@media (max-width:400px){
  .contact-info-section .container{ padding-left:14px; padding-right:14px; }
}

/* =========================================================
   FOOTER — larger logo, wider Services column, tighter gaps
   ========================================================= */
.brand-logo-footer{ height:96px; }
.footer-grid{
  grid-template-columns:1.2fr .7fr 1.55fr 1.25fr;
  gap:36px;
}
@media (min-width:1101px){
  .footer-col:nth-child(3) a{ white-space:nowrap; }      /* each service on one line */
}
@media (max-width:1100px){
  .footer-grid{ grid-template-columns:1fr 1fr; gap:36px; }
}
@media (max-width:820px){
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .brand-logo-footer{ height:84px; }
}

/* footer: no plate behind the logo; Services column only as wide as its longest name,
   remaining space shared by the logo and Quick Links columns */
.brand-logo-footer{ height:96px; }
@media (min-width:1101px){
  /* columns sized to their content; leftover space shared equally between the 4 columns */
  .footer-grid{
    grid-template-columns:minmax(220px, 300px) auto auto minmax(250px, 300px);
    justify-content:space-between;
    column-gap:32px;
  }
  .footer-contact li:last-child span{ white-space:nowrap; }
}
@media (max-width:820px){ .brand-logo-footer{ height:84px; } }

/* footer: light logo version + lift the logo block level with the column headings */
@media (min-width:821px){
  .footer-brand{ margin-top:-24px; }
}
.footer-brand .brand{ margin-bottom:12px; }


/* Banner slide 3 (Dr. Rasika photo): same full-width photo and same teal shade as slides 1 & 2 */
.banner-slide--photo-right img{ object-position:center 30%; }


/* Services page: show each photo complete (frame follows the photo's own shape, no cropping) */
.zigzag-media{ aspect-ratio:auto; height:auto; overflow:hidden; }
.zigzag-media img{
  position:relative; inset:auto;
  width:100%; height:auto; aspect-ratio:auto;
  object-fit:contain;
}
.zigzag{ align-items:center; }

/* =========================================================
   CLINIC GLIMPSE — carousel: 2 main photos in the centre, 1 smaller on each side
   ========================================================= */
.gl{ position:relative; }
.gl-stage{
  position:relative;
  height:440px;
  overflow:hidden;
}
.gl-slide{
  position:absolute; top:50%;
  margin:0;
  width:35%; height:100%;
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:var(--teal-light);
  box-shadow:var(--shadow-md);
  transform:translateY(-50%);
  transition:left .7s cubic-bezier(.22,.8,.3,1), width .7s ease, height .7s ease, opacity .5s ease, filter .5s ease;
  cursor:pointer;
}
.gl-slide img{ width:100%; height:100%; object-fit:cover; display:block; }
.gl-slide figcaption{
  position:absolute; left:0; right:0; bottom:0;
  display:flex; flex-direction:column; gap:2px;
  padding:60px 22px 18px;
  color:#fff;
  background:linear-gradient(180deg, transparent, rgba(10,74,64,.88));
  transition:opacity .4s ease;
}
.gl-num{
  font-family:var(--font-head); font-variant-numeric:lining-nums;
  font-weight:700; font-size:.95rem; letter-spacing:1px; color:var(--gold-light);
}
.gl-slide figcaption strong{ font-family:var(--font-head); font-size:1.5rem; font-weight:600; line-height:1.2; }
.gl-line{ font-size:.88rem; color:rgba(255,255,255,.82); }

/* positions (set by script): main = the 2 large centre photos, side = smaller ones at the edges */
.gl-slide.is-main{ width:35%; height:100%; opacity:1; z-index:2; cursor:default; }
.gl-slide.is-side{ width:13%; height:74%; opacity:.75; z-index:1; filter:saturate(.85); }
.gl-slide.is-side figcaption{ opacity:0; }
.gl-slide.is-side:hover{ opacity:1; }
.gl-slide.is-hidden{ width:13%; height:74%; opacity:0; z-index:0; pointer-events:none; }

.gl-controls{ display:flex; align-items:center; justify-content:center; gap:18px; margin-top:28px; }
.gl-btn{
  width:48px; height:48px; border-radius:50%;
  border:1.5px solid var(--teal); background:#fff; color:var(--teal);
  font-size:1.1rem; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .25s ease, color .25s ease;
}
.gl-btn:hover{ background:var(--teal); color:#fff; }
.gl-dots{ display:flex; gap:8px; }
.gl-dots button{
  width:10px; height:10px; padding:0; border:0; border-radius:999px; cursor:pointer;
  background:rgba(15,107,92,.22); transition:width .3s ease, background .3s ease;
}
.gl-dots button.is-active{ width:30px; background:var(--gold); }

@media (max-width:1024px){ .gl-stage{ height:360px; } }
@media (max-width:767px){
  .gl-stage{ height:300px; }
  .gl-slide.is-main{ width:76%; }
  .gl-slide.is-side, .gl-slide.is-hidden{ width:10%; }
  .gl-slide figcaption{ padding:48px 16px 14px; }
  .gl-slide figcaption strong{ font-size:1.25rem; }
}

/* Reviews: real Google reviews vary in length — smaller text, long ones scroll inside the card */
.gr-body{ flex:1; max-height:250px; overflow-y:auto; margin:0 0 20px; padding-right:8px; }
.gr-body .gr-text{ margin:0 0 12px; font-size:1.35rem; line-height:1.45; }
.gr-body .gr-text:last-child{ margin-bottom:0; }
.gr-body::-webkit-scrollbar{ width:4px; }
.gr-body::-webkit-scrollbar-thumb{ background:rgba(15,107,92,.25); border-radius:4px; }
@media (max-width:1024px){ .gr-body .gr-text{ font-size:1.22rem; } }
@media (max-width:767px){ .gr-body .gr-text{ font-size:1.15rem; } .gr-body{ max-height:240px; } }

/* compact review cards: whole card + arrows fit on screen together */
.gr-card{ min-height:0; padding:30px 36px 26px; }
.gr-card-top{ margin-bottom:14px; }
.gr-quote{ font-size:3rem; }
.gr-who{ padding-top:16px; }
.gr-avatar{ width:46px; height:46px; font-size:1.25rem; }
.gr-viewport{ padding-bottom:20px; }
@media (max-width:767px){ .gr-card{ padding:24px 22px 22px; } }

/* footer logo: shown at (almost) its full natural size so the small tagline is as large as possible */
.brand-logo-footer{ height:114px; max-width:100%; }
@media (min-width:1101px){
  .footer-grid{ grid-template-columns:minmax(260px, 345px) auto auto minmax(250px, 300px); }
}
@media (max-width:820px){ .brand-logo-footer{ height:104px; } }

/* Patient Guide banner: keep Dr. Rasika and the patient (right side) in view */
.patient-banner{ background-position:65% center; }

/* Footer contact: icon box = exactly one text line tall, so icon and text share the same centre line
   (multi-line address keeps its icon level with the first line) */
.footer-contact li{ align-items:flex-start; line-height:1.5; }
.footer-contact li > i{
  margin-top:0;
  height:1.35rem; line-height:1;
  display:flex; align-items:center; justify-content:center;
  width:1.2rem;
}
.footer-contact li > span,
.footer-contact li > a{ line-height:1.35rem; }
.footer-contact li > span{ line-height:1.5; }

/* Contact banner: photo covers the full width; banner is taller so less of the photo is trimmed */
/* same height as the other page banners (60vh, 440–560px) */
.page-banner--contact > img{
  object-fit:cover; object-position:center 62%;
  animation:none; transform:none;
}
.page-banner--contact .page-banner-overlay{
  background:linear-gradient(90deg, rgba(10,74,64,.94) 0%, rgba(10,74,64,.82) 32%, rgba(10,74,64,.35) 55%, rgba(10,74,64,.05) 75%, rgba(10,74,64,0) 100%);
}
@media (max-width:820px){
  .page-banner--contact .page-banner-overlay{ background:rgba(10,74,64,.72); }
}

/* =========================================================
   HOME BANNER — phones: photo on top (fully visible), text below on teal, arrows shown
   ========================================================= */
@media (max-width:820px){
  .banner{ height:auto; min-height:0; max-height:none; }
  .banner-slides{ position:relative; inset:auto; display:grid; }
  .banner-slide{ position:relative; inset:auto; grid-area:1 / 1; display:flex; flex-direction:column; align-items:stretch; background:#0A4A40; }
  .banner-slide img,
  .banner-slide--photo-right img{
    position:relative; inset:auto; left:auto; right:auto;
    width:100%; height:auto; aspect-ratio:4 / 3;
    object-fit:cover; object-position:center 35%;
    transform:none; flex:0 0 auto;
  }
  .banner-slide--photo-right img{ aspect-ratio:16 / 9; object-position:center; }
  .banner-overlay,
  .banner-slide--photo-right .banner-overlay{
    inset:0 0 auto 0; height:auto; aspect-ratio:4 / 3;
    background:linear-gradient(180deg, rgba(10,74,64,0) 70%, rgba(10,74,64,.9) 100%);
  }
  .banner-slide--photo-right .banner-overlay{ aspect-ratio:16 / 9; }
  .banner-content{ padding:22px 20px 64px; }
  .banner-content h1{ font-size:1.9rem; margin-bottom:14px; }
  .banner-content p{ font-size:.95rem; margin-bottom:22px; }

  .banner-arrow{
    display:flex;
    top:calc(min(75vw, 100%) / 2 - 18px); transform:none;
    width:36px; height:36px; font-size:1rem;
    background:rgba(10,74,64,.55); border-color:rgba(255,255,255,.7);
  }
  .banner-prev{ left:10px; }
  .banner-next{ right:10px; }
  .banner-dots{ bottom:22px; }
}

/* Phones/tablets: the slide-out menu waits off-screen to the right. Hide it completely while
   closed so it can't widen the page or peek in when zooming out, and clip any sideways overflow. */
html, body{ overflow-x:clip; }
@media (max-width:820px){
  .nav-list{ visibility:hidden; transition:transform .4s cubic-bezier(.4,0,.2,1), visibility 0s linear .4s; }
  .nav-list.is-open{ visibility:visible; transition:transform .4s cubic-bezier(.4,0,.2,1), visibility 0s; }
}

/* =========================================================
   ABOUT — Our story (split with gold frame), Founder card, Why choose cards
   ========================================================= */
.ab-split{ display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.ab-split-content h2{ margin-bottom:.5em; }
.ab-split-content h2 .accent{ color:var(--gold); }
.ab-split-media{ position:relative; max-width:540px; justify-self:end; width:100%; }
.ab-split-media img{
  position:relative; z-index:2; display:block;
  width:100%; height:650px; object-fit:cover;
  border-radius:var(--radius-lg); box-shadow:var(--shadow-md);
}
.ab-split-frame{
  position:absolute; z-index:1; inset:22px -22px -22px 22px;
  border:1.6px solid var(--gold); border-radius:var(--radius-lg); opacity:.55;
}
.story-quote{
  position:relative; margin:28px 0; padding:22px 26px 22px 64px;
  background:var(--gold-soft); border-left:4px solid var(--gold); border-radius:14px;
  font-family:var(--font-head); font-size:1.2rem; font-style:italic; line-height:1.5; color:var(--teal-dark);
}
.story-quote i{ position:absolute; top:14px; left:20px; font-size:2rem; line-height:1; color:var(--gold); opacity:.7; }

.doctor-card{
  display:grid; grid-template-columns:455px 1fr; gap:56px; align-items:start;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:44px; box-shadow:var(--shadow-sm);
}
.doctor-photo{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); }
.doctor-photo img{ display:block; width:100%; height:682px; object-fit:cover; object-position:center top; }
.doctor-info h3{ font-family:var(--font-head); font-size:1.7rem; font-weight:600; color:var(--teal-dark); margin:0 0 10px; }
.doctor-cred{
  display:inline-flex; align-items:center; gap:8px; margin-bottom:22px;
  padding:6px 14px; border-radius:999px; background:var(--gold-soft);
  font-size:.85rem; font-weight:500; color:#9A7A12;
}
.doctor-info > p{ font-size:.98rem; line-height:1.75; }
.doctor-facts{ list-style:none; margin:24px 0 0; padding:0 0 0 18px; border-left:2px solid var(--line); display:flex; flex-direction:column; gap:18px; }
.doctor-facts li{ display:flex; gap:14px; align-items:flex-start; }
.doctor-facts li > i{ flex:0 0 auto; font-size:1.3rem; color:var(--teal); margin-top:2px; }
.doctor-facts strong{ display:block; color:var(--teal-dark); font-size:1rem; }
.doctor-facts span{ color:var(--muted); font-size:.93rem; line-height:1.6; }
.doctor-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }

.value-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.value-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:44px 32px; text-align:center; display:flex; flex-direction:column; align-items:center;
}
.value-icon{
  width:64px; height:64px; border-radius:50%; margin-bottom:22px;
  display:flex; align-items:center; justify-content:center;
  background:var(--teal-light); color:var(--teal); font-size:1.6rem;
}
.value-card h3{ font-family:var(--font-head); font-size:1.6rem; font-weight:600; color:var(--teal-dark); margin:0 0 10px; }
.value-card p{ margin:0; font-size:.96rem; line-height:1.7; }

@media (max-width:1100px){
  .doctor-card{ grid-template-columns:1fr; gap:32px; padding:32px; }
  .doctor-photo{ max-width:455px; margin:0 auto; width:100%; }
}
@media (max-width:991px){
  .ab-split{ grid-template-columns:1fr; gap:48px; }
  .ab-split-media{ justify-self:center; }
  .ab-split-media img{ height:auto; aspect-ratio:5/4; }
  .ab-split-frame{ display:none; }
  .value-grid{ grid-template-columns:1fr; gap:18px; }
}
@media (max-width:600px){
  .doctor-card{ padding:22px 18px; }
  .doctor-photo img{ height:auto; aspect-ratio:2/3; }
  .doctor-actions .btn{ width:100%; }
}

.section-alt{ background:var(--teal-light); }

/* About › Our story: image sized and framed exactly like the reference page */
.ab-split{ gap:72px; }
.ab-split-media{ max-width:none; justify-self:stretch; }
.ab-split-media img{ height:680px; object-position:center; border:1.5px solid rgba(201,162,39,.6); }
.ab-split-frame{ display:none; }
@media (max-width:1100px){ .ab-split-media img{ height:540px; } }
@media (max-width:991px){ .ab-split{ gap:40px; } .ab-split-media img{ height:auto; aspect-ratio:5/4; } }

/* About: "Our Clinic" label in the same gold style as "Our Story" */
.about-clinic .clinic-content .kicker{ color:var(--gold); font-size:.74rem; letter-spacing:.18em; }

/* Page banners: breadcrumb and gold label stay on ONE line, centred on the same middle line */
.page-banner-content .breadcrumb,
.page-banner-content .banner-eyebrow{
  display:inline-flex; align-items:center; vertical-align:middle;
  line-height:1; height:22px; margin-bottom:22px;
}
.page-banner-content .breadcrumb{ margin-right:14px; }

/* Services: short intro under each service heading, and second line in the banner */
.zigzag-lead{ font-size:1.02rem; line-height:1.75; color:var(--muted); margin:0 0 22px; max-width:560px; }
.page-banner-content .page-banner-sub{ margin-top:12px; }

/* About › Our story: circular clinic badge shown whole (no crop, no box) */
.ab-split-media img{
  height:auto; aspect-ratio:1 / 1; object-fit:contain;
  border:0; border-radius:50%; box-shadow:0 24px 50px rgba(10,74,64,.18);
  max-width:460px; margin:0 auto;
}
@media (max-width:991px){ .ab-split-media img{ aspect-ratio:1 / 1; max-width:360px; } }
