/*
Theme Name: Dentasure Dental & Aesthetic Clinic
Theme URI: 
Author: Dentasure Dental & Aesthetic Clinic
Author URI: 
Description: Premium WordPress theme for Dentasure Dental & Aesthetic Clinic, Dr. Shivani Gupta BDS. Fully responsive for mobile, tablet, and desktop. Image-based treatments, smile gallery, video embed, appointment booking.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: dentasure-dental
Tags: dental, healthcare, elementor, clinic, medical, appointment, responsive, custom-colors, custom-logo
*/

/* ============================================================
   ROOT DESIGN TOKENS
============================================================ */
:root {
  /* Dentasure premium palette — deep navy, dental blue, champagne gold, ivory */
  --yd-primary:       #16233F;   /* deep navy */
  --yd-primary-dark:  #0D1626;   /* near-black navy for hovers */
  --yd-primary-light: #EAEEF6;   /* pale navy tint for badges/backgrounds */
  --yd-secondary:     #2E5E85;   /* clean dental blue */
  --yd-accent:        #B98F4C;   /* champagne / gold accent */
  --yd-teal:          #23566F;   /* dental blue (secondary buttons) */
  --yd-teal-light:    #E9EFF3;   /* pale blue tint */
  --yd-rose:          #F1E7D3;   /* soft champagne tint (replaces rose) */
  --yd-bg:            #FBF8F2;   /* warm ivory background */
  --yd-white:         #FFFFFF;
  --yd-dark:          #1C2331;   /* deep charcoal/navy text */
  --yd-dark-mid:      #3E4757;
  --yd-grey:          #6B7280;
  --yd-light-grey:    #E7E3D9;
  --yd-border:        #D9D4C7;
  --yd-success:       #34C759;
  --yd-gold:          #C6A15B;   /* champagne/gold */
  --font-heading:     'Playfair Display', 'Poppins', serif;
  --font-body:        'Inter', sans-serif;
  --section-py:       80px;
  --container-max:    1280px;
  --container-px:     24px;
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   28px;
  --r-full: 9999px;
  --sh-sm:   0 1px 4px rgba(0,0,0,.08);
  --sh-md:   0 4px 20px rgba(22,35,63,.10);
  --sh-lg:   0 12px 48px rgba(22,35,63,.16);
  --sh-card: 0 2px 20px rgba(22,35,63,.07);
  --sh-teal: 0 8px 32px rgba(35,86,111,.16);
  --tr:      .3s cubic-bezier(.4,0,.2,1);
  --tr-slow: .55s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   GLOBAL OVERFLOW FIX — ROOT CAUSE OF CLIPPING BUG
============================================================ */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
body {
  overflow-x: hidden;
  max-width: 100vw;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--yd-dark);
  background: var(--yd-bg);
  -webkit-font-smoothing: antialiased;
}
*,*::before,*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}
img, video, svg, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--yd-primary); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--yd-primary-dark); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--yd-dark); word-wrap: break-word; overflow-wrap: break-word; }
h1 { font-size: clamp(1.6rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1.05rem; }
p { margin-bottom: 1rem; color: var(--yd-dark-mid); word-wrap: break-word; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT — container never exceeds viewport
============================================================ */
.yd-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
  /* Hard cap at viewport */
  box-sizing: border-box;
}
.yd-section { padding-block: var(--section-py); }
.yd-section--white { background: var(--yd-white); }
.yd-section--bg    { background: var(--yd-bg); }
.yd-section--teal  { background: var(--yd-teal); }
.yd-section--warm  { background: linear-gradient(135deg,#FFF9F7 0%,#FEF0EC 100%); }
.yd-section--gradient { background: linear-gradient(135deg,var(--yd-primary) 0%,var(--yd-secondary) 100%); }
.yd-section--dark  { background: #0F2027; }

/* ============================================================
   SECTION HEADERS
============================================================ */
.yd-section-header { text-align: center; margin-bottom: 56px; }
.yd-section-header[style*="max-width"] { margin-inline: auto; }
.yd-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yd-primary);
  background: var(--yd-primary-light);
  padding: 6px 18px;
  border-radius: var(--r-full);
  margin-bottom: 14px;
}
.yd-label--teal { color: var(--yd-teal); background: var(--yd-teal-light); }
.yd-title { margin-bottom: 14px; }
.yd-desc { font-size: 1rem; color: var(--yd-grey); max-width: 600px; margin-inline: auto; line-height: 1.8; }
.yd-gradient-text {
  background: linear-gradient(135deg,var(--yd-primary),var(--yd-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   BUTTONS
============================================================ */
.yd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .92rem;
  padding: 13px 28px;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  min-height: 44px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.yd-btn-primary  { background: var(--yd-primary); color: #fff; border-color: var(--yd-primary); box-shadow: 0 4px 16px rgba(22,35,63,.35); }
.yd-btn-primary:hover  { background: var(--yd-primary-dark); border-color: var(--yd-primary-dark); color: #fff; transform: translateY(-2px); }
.yd-btn-outline  { background: transparent; color: var(--yd-primary); border-color: var(--yd-primary); }
.yd-btn-outline:hover  { background: var(--yd-primary); color: #fff; }
.yd-btn-teal     { background: var(--yd-teal); color: #fff; border-color: var(--yd-teal); box-shadow: var(--sh-teal); }
.yd-btn-teal:hover     { background: #143f45; color: #fff; transform: translateY(-2px); }
.yd-btn-white    { background: #fff; color: var(--yd-primary); border-color: #fff; }
.yd-btn-white:hover    { background: var(--yd-primary-light); color: var(--yd-primary); }
.yd-btn-gold     { background: linear-gradient(135deg,var(--yd-gold),var(--yd-accent)); color: #fff; border: none; }
.yd-btn-gold:hover     { transform: translateY(-2px); color: #fff; }
.yd-btn-lg  { padding: 16px 36px; font-size: 1rem; }
.yd-btn-sm  { padding: 10px 20px; font-size: .82rem; }
.yd-btn-full { width: 100%; }
@media(hover:none) { .yd-btn:hover { transform: none; } }

/* ============================================================
   HEADER
============================================================ */
#yd-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: all var(--tr);
  width: 100%;
}
#yd-header.yd-scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(22,35,63,.10);
  padding: 8px 0;
}
/* Inner pages show this header transparently over a dark banner before scrolling — brighten text for contrast */
#yd-header.yd-header--dark-context:not(.yd-scrolled) .yd-nav > li > a { color: rgba(255,255,255,.88); }
#yd-header.yd-header--dark-context:not(.yd-scrolled) .yd-nav > li > a:hover,
#yd-header.yd-header--dark-context:not(.yd-scrolled) .yd-nav > li.active > a { color: var(--yd-primary); background: #fff; }
#yd-header.yd-header--dark-context:not(.yd-scrolled) .yd-nav-arrow { color: rgba(255,255,255,.88); }
#yd-header.yd-header--dark-context:not(.yd-scrolled) .yd-header-phone { color: #fff; }
#yd-header.yd-header--dark-context:not(.yd-scrolled) .yd-header-phone i { color: #fff; }
#yd-header.yd-header--dark-context:not(.yd-scrolled) .yd-logo-tagline { color: rgba(255,255,255,.8); }
@media (hover: none) {
  #yd-header.yd-header--dark-context:not(.yd-scrolled) .yd-nav > li > a:hover { color: rgba(255,255,255,.88); background: none; }
}
.yd-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.yd-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; min-width: 0; }
.yd-logo-icon { width: 44px; height: 44px; min-width: 44px; background: linear-gradient(135deg,var(--yd-primary),var(--yd-secondary)); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-family: var(--font-heading); font-size: .95rem; flex-shrink: 0; }
.yd-logo-icon-img { width: 44px; height: 44px; min-width: 44px; object-fit: contain; flex-shrink: 0; }
.yd-logo-text-wrap { min-width: 0; overflow: hidden; }
.yd-logo-name { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; color: var(--yd-primary); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yd-logo-tagline { font-size: .6rem; color: var(--yd-teal); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; display: block; white-space: nowrap; }
.yd-logo img { height: 48px; width: auto; max-height: 48px; }

/* Desktop Nav */
.yd-nav { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.yd-nav > li { position: relative; list-style: none; }
.yd-nav > li > a {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 500;
  color: var(--yd-dark-mid);
  padding: 8px 11px;
  border-radius: var(--r-sm);
  transition: all var(--tr);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.yd-nav > li > a:hover,
.yd-nav > li.active > a { color: var(--yd-primary); background: var(--yd-primary-light); }
.yd-nav-arrow { font-size: .55rem; transition: transform var(--tr); }
.yd-nav > li:hover .yd-nav-arrow { transform: rotate(180deg); }
/* Dropdown */
.yd-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: 0 12px 48px rgba(0,0,0,.14);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--tr);
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--yd-primary);
  z-index: 100;
  list-style: none;
}
.yd-nav > li:hover .yd-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.yd-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: .82rem;
  color: var(--yd-dark-mid);
  border-radius: var(--r-sm);
  font-weight: 500;
  transition: all var(--tr);
  white-space: nowrap;
}
.yd-dropdown a:hover { color: var(--yd-primary); background: var(--yd-primary-light); }
.yd-dropdown a i { color: var(--yd-primary); width: 14px; font-size: .75rem; flex-shrink: 0; }

/* Header Actions */
.yd-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.yd-header-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .82rem;
  color: var(--yd-teal);
  white-space: nowrap;
}
.yd-header-phone i { color: var(--yd-primary); }
/* Hamburger */
.yd-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--yd-border);
  border-radius: var(--r-sm);
  padding: 8px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  min-height: 40px;
}
.yd-hamburger span { display: block; width: 18px; height: 2px; background: var(--yd-dark); border-radius: 2px; transition: all var(--tr); }

/* Mobile Nav Overlay */
.yd-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 999;
  padding: 80px 20px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex-direction: column;
}
.yd-mobile-nav.open { display: flex; }
.yd-mn-item { border-bottom: 1px solid var(--yd-light-grey); }
.yd-mn-item > a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .98rem;
  color: var(--yd-dark);
  padding: 13px 4px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.yd-mn-item > a:hover { color: var(--yd-primary); }
.yd-mobile-sub { display: none; padding: 4px 0 12px 16px; flex-direction: column; gap: 2px; }
.yd-mobile-sub.open { display: flex; }
.yd-mobile-sub a { font-size: .88rem; color: var(--yd-grey); padding: 8px 12px; border-radius: var(--r-sm); min-height: 40px; display: flex; align-items: center; }
.yd-mobile-sub a:hover { color: var(--yd-primary); background: var(--yd-primary-light); }
.yd-mn-sub-row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--yd-light-grey); }
.yd-mn-sub-row > a { border-bottom: none; flex: 1; }
.yd-mn-toggle { background: none; border: none; color: var(--yd-grey); cursor: pointer; font-size: .8rem; padding: 12px 8px; min-height: 44px; min-width: 44px; }

/* ============================================================
   HERO — Overflow fixed
============================================================ */
.yd-hero {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg,#FFF9F7 0%,#FEF0EC 45%,#FFF4F2 100%);
  padding-top: 80px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden; /* clip pseudo-elements only */
  width: 100%;
}
/* Decorative blobs — clipped to hero */
.yd-hero::before {
  content: '';
  position: absolute;
  top: -15%; right: -8%;
  width: 55%;
  max-width: 600px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(22,35,63,.07) 0%,transparent 70%);
  pointer-events: none;
}
.yd-hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -5%;
  width: 45%;
  max-width: 480px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(35,86,111,.06) 0%,transparent 70%);
  pointer-events: none;
}
.yd-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 52px;
  position: relative;
  z-index: 1;
  width: 100%;
}
.yd-hero-content { min-width: 0; }
.yd-hero-clinic-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1.5px solid var(--yd-border);
  border-radius: var(--r-full);
  padding: 7px 18px;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 600;
  color: var(--yd-teal);
  margin-bottom: 16px;
  box-shadow: var(--sh-sm);
  max-width: 100%;
}
.yd-hero-pulse { width: 8px; height: 8px; background: var(--yd-success); border-radius: 50%; animation: yd-pulse 2s infinite; flex-shrink: 0; }
@keyframes yd-pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(1.4); } }
.yd-hero-title {
  font-size: clamp(1.75rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--yd-dark);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.yd-hero-title .highlight { color: var(--yd-primary); }
.yd-hero-subtitle {
  font-size: 1rem;
  color: var(--yd-grey);
  margin-bottom: 14px;
  line-height: 1.75;
  max-width: 480px;
}
.yd-hero-doctor-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--yd-teal);
  color: #fff;
  border-radius: var(--r-md);
  padding: 11px 18px;
  margin-bottom: 28px;
  box-shadow: var(--sh-teal);
  max-width: 100%;
}
.yd-hero-doctor-badge img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.4); flex-shrink: 0; }
.yd-doc-name { font-family: var(--font-heading); font-weight: 700; font-size: .88rem; line-height: 1.2; }
.yd-doc-qual { font-size: .68rem; opacity: .8; }
.yd-hero-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.yd-hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.yd-hero-trust-item { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--yd-grey); white-space: nowrap; }
.yd-hero-trust-item i { color: var(--yd-primary); font-size: .85rem; flex-shrink: 0; }
.yd-hero-trust-item strong { color: var(--yd-dark); }
.yd-hero-visual { position: relative; display: flex; justify-content: flex-end; min-width: 0; }
.yd-hero-img-wrap { position: relative; max-width: 480px; width: 100%; }
.yd-hero-img-wrap::before { content: ''; position: absolute; top: -8%; right: -12%; width: 65%; aspect-ratio: 1; background: radial-gradient(circle at 35% 30%,rgba(96,165,250,.55) 0%,rgba(59,130,246,.28) 45%,transparent 72%); filter: blur(6px); z-index: 0; pointer-events: none; }
.yd-hero-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); position: relative; z-index: 1; }
.yd-hero-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.yd-hero-img-placeholder { width: 100%; aspect-ratio: 4/5; background: linear-gradient(135deg,var(--yd-primary-light),#F1E7D3); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--yd-primary); gap: 14px; }
.yd-float-card { position: absolute; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 12px 16px; animation: yd-float 4s ease-in-out infinite; z-index: 2; }
@keyframes yd-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
.yd-float-left  { bottom: 48px; left: -28px; animation-delay: 0s; }
.yd-float-right { top: 48px; right: -28px; animation-delay: 2s; }
.yd-float-num { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--yd-primary); line-height: 1; }
.yd-float-lbl { font-size: .68rem; color: var(--yd-grey); margin: 0; }
.yd-float-rating { display: flex; align-items: center; gap: 3px; margin-bottom: 2px; }
.yd-float-rating i { color: #F59E0B; font-size: .7rem; }

/* ── FEATURE-TAG PILLS (hero / about hero) ── */
.yd-pill-row { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.yd-pill { background: #fff; color: var(--yd-dark); font-size: .74rem; font-weight: 600; padding: 7px 14px; border-radius: var(--r-full); box-shadow: var(--sh-card); border: 1px solid rgba(0,0,0,.04); }

/* ============================================================
   STATS BAR
============================================================ */
.yd-stats-bar { background: var(--yd-teal); padding-block: 48px; width: 100%; }
.yd-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--r-lg); overflow: hidden; }
.yd-stat { background: rgba(255,255,255,.05); padding: 32px 20px; text-align: center; transition: background var(--tr); }
.yd-stat:hover { background: rgba(255,255,255,.12); }
.yd-stat-icon { font-size: 1.8rem; margin-bottom: 10px; color: rgba(255,255,255,.7); }
.yd-stat-num { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 6px; }
.yd-stat-lbl { font-size: .82rem; color: rgba(255,255,255,.7); font-weight: 500; }

/* ============================================================
   ABOUT SECTION
============================================================ */
.yd-about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ── ABOUT PAGE: premium single-column bio layout (no photo) ── */
.yd-about-inner--single { display: block; max-width: 780px; margin: 0 auto; text-align: center; }
.yd-about-inner--single h2 { font-size: clamp(1.7rem,3.5vw,2.3rem); }
.yd-about-inner--single .yd-prose { text-align: left; margin-top: 22px; }
.yd-about-inner--single .yd-prose p { font-size: 1.02rem; line-height: 1.85; color: var(--yd-grey); margin-bottom: 18px; }
.yd-about-inner--single .yd-prose h2,
.yd-about-inner--single .yd-prose h3,
.yd-about-inner--single .yd-prose h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--yd-dark);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--yd-primary-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.yd-about-inner--single .yd-prose h2::before,
.yd-about-inner--single .yd-prose h3::before,
.yd-about-inner--single .yd-prose h4::before {
  content: '';
  width: 6px;
  height: 20px;
  border-radius: var(--r-full);
  background: linear-gradient(180deg,var(--yd-primary),var(--yd-secondary));
  flex-shrink: 0;
}
.yd-about-inner--single .yd-prose > h2:first-child,
.yd-about-inner--single .yd-prose > h3:first-child,
.yd-about-inner--single .yd-prose > h4:first-child { margin-top: 0; }
.yd-about-inner--single .yd-prose ul,
.yd-about-inner--single .yd-prose ol { text-align: left; list-style: none; padding-left: 0; margin: 0 0 18px; color: var(--yd-grey); line-height: 1.85; }
.yd-about-inner--single .yd-prose li { margin-bottom: 10px; padding-left: 28px; position: relative; }
.yd-about-inner--single .yd-prose li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--yd-teal);
  font-size: .78rem;
  width: 18px;
  height: 18px;
  background: var(--yd-teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yd-about-inner--single .yd-credentials { text-align: left; }
.yd-about-img-wrap { position: relative; }
.yd-about-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.yd-about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; }
.yd-about-img-placeholder { width: 100%; aspect-ratio: 4/5; background: linear-gradient(135deg,var(--yd-primary-light),#F1E7D3); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--yd-primary); gap: 14px; }
.yd-exp-badge { position: absolute; bottom: 32px; right: -24px; background: var(--yd-primary); color: #fff; border-radius: var(--r-lg); padding: 18px 22px; text-align: center; box-shadow: var(--sh-lg); }
.yd-exp-badge .num { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.yd-exp-badge .lbl { font-size: .7rem; opacity: .9; margin: 0; }
.yd-practo-badge { position: absolute; top: 28px; left: -24px; background: #fff; border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 10px; z-index: 2; }
.yd-practo-badge .icon { width: 34px; height: 34px; background: linear-gradient(135deg,#5B5EA6,#9B72CF); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: #fff; font-size: .9rem; flex-shrink: 0; }
.yd-practo-badge .text strong { display: block; font-size: .82rem; color: var(--yd-dark); }
.yd-practo-badge .text span { font-size: .7rem; color: var(--yd-grey); }

/* ── ABOUT PAGE: HERO (name/photo/rating/CTA) ── */
.yd-about-hero { position: relative; overflow: hidden; padding: 76px 0 108px; background: linear-gradient(180deg,#E7F0FE 0%,#fff 92%); }
.yd-about-hero-inner { position: relative; display: grid; grid-template-columns: .82fr 1fr; gap: 40px; align-items: center; min-height: 440px; }
.yd-about-hero-visual { position: relative; }
.yd-about-hero-bigname { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--font-heading); font-weight: 800; font-size: clamp(4.5rem,10vw,9rem); line-height: 1; color: #2563EB; opacity: .09; white-space: nowrap; pointer-events: none; z-index: 0; letter-spacing: -2px; user-select: none; }
.yd-about-hero-photo-wrap { position: relative; z-index: 1; max-width: 380px; margin-inline: auto; }
.yd-about-hero-photo-wrap::after { content: ''; position: absolute; top: -10%; right: -14%; width: 55%; aspect-ratio: 1; background: radial-gradient(circle at 35% 30%,rgba(96,165,250,.5) 0%,rgba(59,130,246,.25) 45%,transparent 72%); filter: blur(6px); z-index: -1; pointer-events: none; }
.yd-about-hero-photo { position: relative; z-index: 1; }
.yd-about-hero-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.yd-about-hero-photo--cutout { max-width: 320px; margin: 0 auto; }
.yd-about-hero-photo--cutout img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; filter: drop-shadow(0 24px 28px rgba(15,32,39,.18)); }
.yd-about-hero-photo-placeholder { width: 100%; aspect-ratio: 3/4; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--yd-primary); gap: 12px; }
.yd-about-hero-rating { position: absolute; left: 30px; bottom: -14px; background: #fff; border-radius: var(--r-lg); padding: 13px 22px; box-shadow: var(--sh-lg); max-width: 290px; z-index: 2; display: flex; align-items: center; gap: 14px; }
.yd-about-hero-rating .stars-row { display: flex; align-items: baseline; gap: 4px; font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; color: var(--yd-primary); flex-shrink: 0; padding-right: 14px; border-right: 1px solid var(--yd-border); }
.yd-about-hero-rating .stars-row i { color: #F59E0B; font-size: 1rem; }
.yd-about-hero-rating p { font-size: .72rem; color: var(--yd-grey); margin: 0; line-height: 1.35; }
.yd-about-hero-content { position: relative; z-index: 1; }
.yd-about-hero-eyebrow { display: inline-block; font-size: .95rem; color: var(--yd-teal); font-weight: 600; margin-bottom: 6px; }
.yd-about-hero-name { font-size: clamp(2.4rem,5vw,3.6rem); font-weight: 800; margin: 0 0 10px; color: var(--yd-dark); }
.yd-about-hero-tagline { font-size: 1.05rem; color: var(--yd-grey); margin-bottom: 28px; max-width: 380px; line-height: 1.6; }
.yd-about-hero-tooth { position: absolute; top: 4%; right: 0; width: clamp(110px,15vw,210px); z-index: 0; filter: drop-shadow(0 14px 26px rgba(35,86,111,.22)); animation: yd-hero-float 5s ease-in-out infinite; pointer-events: none; }
.yd-about-hero-tooth img { width: 100%; height: auto; display: block; }
.yd-about-hero-patients { position: absolute; right: 0; bottom: -10px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--r-lg); padding: 12px 18px; box-shadow: var(--sh-lg); z-index: 2; }
.yd-avatar-stack { display: flex; }
.yd-avatar-stack span { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,var(--yd-primary-light),#F1E7D3); color: var(--yd-primary); display: flex; align-items: center; justify-content: center; font-size: .66rem; font-weight: 700; border: 2px solid #fff; margin-left: -10px; font-family: var(--font-heading); }
.yd-avatar-stack span:first-child { margin-left: 0; }
.yd-about-hero-patients .num { display: block; font-family: var(--font-heading); font-weight: 800; color: var(--yd-dark); font-size: 1.05rem; line-height: 1.15; }
.yd-about-hero-patients .lbl { font-size: .68rem; color: var(--yd-grey); }
@keyframes yd-hero-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (max-width: 900px) {
  .yd-about-hero { padding: 56px 0 64px; }
  .yd-about-hero-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; min-height: 0; }
  .yd-about-hero-content { order: 2; }
  .yd-about-hero-visual { order: 1; padding-bottom: 40px; }
  .yd-about-hero-tagline { margin-inline: auto; }
  .yd-about-hero-tooth { display: none; }
  .yd-about-hero-patients { position: static !important; transform: none !important; margin: 20px auto 0; display: inline-flex; order: 3; }
  .yd-about-hero-rating { position: relative !important; transform: none !important; margin: -22px auto 0; display: inline-flex; order: 1; z-index: 3; }
}
@media (max-width: 480px) {
  .yd-about-hero-bigname { display: none; }
  .yd-about-hero-photo-wrap { max-width: 260px; }
}
.yd-credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 28px; }
.yd-cred-item { display: flex; align-items: flex-start; gap: 11px; background: var(--yd-bg); border-radius: var(--r-md); padding: 16px; border: 1px solid var(--yd-border); }
.yd-cred-icon { width: 36px; height: 36px; min-width: 36px; background: var(--yd-primary-light); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: var(--yd-primary); font-size: .95rem; margin-top: 1px; }
.yd-cred-text { min-width: 0; }
.yd-cred-text h6 { font-size: .86rem; color: var(--yd-dark); margin: 0 0 8px; font-weight: 700; }
.yd-cred-text p { font-size: .76rem; color: var(--yd-grey); margin: 0; }
.yd-cred-text ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.yd-cred-text li { font-size: .78rem; color: var(--yd-grey); line-height: 1.5; padding-left: 16px; position: relative; }
.yd-cred-text li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--yd-primary); }
.yd-memberships { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.yd-membership-tag { background: var(--yd-teal-light); color: var(--yd-teal); font-size: .68rem; font-weight: 700; padding: 4px 12px; border-radius: var(--r-full); font-family: var(--font-heading); letter-spacing: .05em; text-transform: uppercase; }

/* ============================================================
   TREATMENTS — IMAGE CARDS
============================================================ */
.yd-treatments-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; min-width: 0; }
.yd-treatments-grid > * { min-width: 0; }
.yd-treatment-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card); transition: all var(--tr); cursor: pointer; border: 1.5px solid var(--yd-border); }
.yd-treatment-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--yd-primary); }
.yd-treatment-img { position: relative; overflow: hidden; height: 190px; background: linear-gradient(135deg,var(--yd-primary-light),#F1E7D3); }
.yd-treatment-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--tr-slow); }
.yd-treatment-card:hover .yd-treatment-img img { transform: scale(1.07); }
.yd-treatment-img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--yd-primary); gap: 8px; padding: 16px; text-align: center; }
.yd-treatment-img-placeholder i { font-size: 2.2rem; opacity: .5; }
.yd-treatment-img-placeholder span { font-size: .68rem; color: var(--yd-grey); font-weight: 600; font-family: var(--font-heading); line-height: 1.4; }
.yd-treatment-overlay { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(22,35,63,.88),rgba(185,143,76,.75)); opacity: 0; transition: opacity var(--tr); display: flex; align-items: center; justify-content: center; }
.yd-treatment-card:hover .yd-treatment-overlay { opacity: 1; }
.yd-treatment-overlay-btn { color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: .8rem; background: rgba(255,255,255,.2); border: 1.5px solid rgba(255,255,255,.5); padding: 8px 18px; border-radius: var(--r-full); backdrop-filter: blur(4px); }
.yd-treatment-tag { position: absolute; top: 10px; left: 10px; background: var(--yd-primary); color: #fff; font-size: .62rem; font-weight: 700; font-family: var(--font-heading); letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--r-full); }
.yd-treatment-body { padding: 18px 16px; }
.yd-treatment-body h4 { font-size: .92rem; margin-bottom: 8px; line-height: 1.35; }
.yd-treatment-body p { font-size: .78rem; color: var(--yd-grey); margin-bottom: 12px; line-height: 1.6; }
.yd-treatment-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.yd-treatment-price { font-family: var(--font-heading); font-size: .84rem; font-weight: 700; color: var(--yd-teal); }
.yd-treatment-link { font-family: var(--font-heading); font-size: .76rem; font-weight: 600; color: var(--yd-primary); display: inline-flex; align-items: center; gap: 4px; }

/* ============================================================
   WHY CHOOSE US
============================================================ */
.yd-why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; min-width: 0; }
.yd-why-grid > * { min-width: 0; }
.yd-why-card { background: #fff; border-radius: var(--r-lg); padding: 32px 26px; box-shadow: var(--sh-card); position: relative; overflow: hidden; transition: all var(--tr); border: 1.5px solid transparent; }
.yd-why-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--yd-primary); }
.yd-why-num { position: absolute; top: 14px; right: 18px; font-family: var(--font-heading); font-size: 3rem; font-weight: 800; color: var(--yd-primary-light); line-height: 1; }
.yd-why-icon { width: 56px; height: 56px; background: linear-gradient(135deg,var(--yd-primary),var(--yd-secondary)); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.4rem; color: #fff; }
.yd-why-card h4 { margin-bottom: 10px; font-size: 1rem; }
.yd-why-card p { font-size: .86rem; color: var(--yd-grey); margin: 0; line-height: 1.7; }

/* ============================================================
   INSTAGRAM GRID
============================================================ */
.yd-instagram-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; min-width: 0; }
.yd-instagram-grid > * { min-width: 0; }
/* ── REVIEWS PAGE: RATING STATS ROW ── */
.yd-rating-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; max-width: 620px; margin: 0 auto 24px; min-width: 0; }
.yd-rating-stats > * { min-width: 0; }
.yd-rating-stat { text-align: center; }
.yd-rating-stat-num { font-family: var(--font-heading); font-weight: 800; font-size: 2.4rem; color: var(--yd-primary); line-height: 1.1; }
.yd-rating-stat-lbl { color: var(--yd-grey); font-size: .85rem; margin-top: 2px; }
@media (max-width: 640px) {
  .yd-rating-stat-num { font-size: 1.5rem; }
  .yd-rating-stat-lbl { font-size: .68rem; }
  .yd-rating-stats { gap: 8px; }
}
@media (max-width: 360px) {
  .yd-rating-stat-num { font-size: 1.25rem; }
}

.yd-instagram-grid.yd-instagram-grid--3col { grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 900px) { .yd-instagram-grid.yd-instagram-grid--3col { grid-template-columns: repeat(2,1fr); gap: 18px; } }
@media (max-width: 768px) { .yd-instagram-grid.yd-instagram-grid--3col { grid-template-columns: 1fr !important; gap: 16px; } }
.yd-insta-item { border-radius: var(--r-md); overflow: hidden; position: relative; aspect-ratio: 1; cursor: pointer; }
.yd-insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--tr-slow); }
.yd-insta-item:hover img { transform: scale(1.07); }
.yd-insta-overlay { position: absolute; inset: 0; background: rgba(22,35,63,.75); opacity: 0; transition: opacity var(--tr); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; gap: 7px; padding: 14px; }
.yd-insta-item:hover .yd-insta-overlay { opacity: 1; }
.yd-insta-overlay i { font-size: 1.6rem; }
.yd-insta-overlay span { font-size: .74rem; font-weight: 600; font-family: var(--font-heading); }
.yd-insta-item.yd-is-video::before { content: '\f144'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 2rem; color: rgba(255,255,255,.9); z-index: 2; pointer-events: none; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.yd-insta-item.yd-is-video::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.18); z-index: 1; pointer-events: none; }
.yd-insta-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,var(--yd-primary-light),#F1E7D3); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--yd-primary); gap: 7px; font-size: .72rem; font-family: var(--font-heading); font-weight: 600; text-align: center; padding: 14px; }
.yd-insta-placeholder i { font-size: 1.8rem; opacity: .5; }
.yd-insta-profile-cta { text-align: center; margin-top: 32px; padding: 24px; background: #fff; border-radius: var(--r-lg); border: 1.5px solid var(--yd-border); display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.yd-insta-handle { font-family: var(--font-heading); font-size: .95rem; font-weight: 700; color: var(--yd-dark); display: flex; align-items: center; gap: 8px; }
.yd-insta-stats { display: flex; gap: 18px; }
.yd-insta-stat { text-align: center; }
.yd-insta-stat strong { display: block; font-family: var(--font-heading); font-size: .95rem; color: var(--yd-dark); }
.yd-insta-stat span { font-size: .72rem; color: var(--yd-grey); }

/* ============================================================
   VIDEO SECTION
============================================================ */
.yd-videos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.yd-video-card { border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--sh-card); transition: all var(--tr); }
.yd-video-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.yd-video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--yd-teal); }
.yd-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yd-video-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; gap: 8px; opacity: .8; padding: 16px; text-align: center; }
.yd-video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; background: rgba(255,255,255,.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--yd-primary); font-size: 1.3rem; cursor: pointer; transition: all var(--tr); z-index: 2; box-shadow: 0 4px 16px rgba(0,0,0,.2); min-width: 52px; }
.yd-video-play:hover { background: #fff; transform: translate(-50%,-50%) scale(1.1); }
.yd-video-info { padding: 18px 16px; }
.yd-video-info h4 { font-size: .92rem; margin-bottom: 6px; }
.yd-video-info p { font-size: .78rem; color: var(--yd-grey); margin: 0; line-height: 1.6; }
.yd-video-iframe-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.yd-video-iframe-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: var(--r-lg); }

/* ============================================================
   TESTIMONIALS
============================================================ */
.yd-testi-slider { overflow: hidden; position: relative; }
.yd-testi-track { display: flex; gap: 20px; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.yd-testi-track .yd-testi-card { min-width: calc(33.333% - 14px); flex-shrink: 0; }
.yd-testi-card { background: #fff; border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--sh-card); position: relative; border-top: 4px solid var(--yd-primary); min-width: 0; }

/* ── VIDEO REVIEW CARDS (Reviews page horizontal slider) ── */
.yd-vreview-card { min-width: calc(25% - 15px); flex-shrink: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card); cursor: pointer; transition: transform var(--tr); }
.yd-vreview-card:hover { transform: translateY(-4px); }
.yd-vreview-thumb { position: relative; aspect-ratio: 3/4; background: linear-gradient(135deg,var(--yd-primary-light),#F1E7D3); overflow: hidden; }
.yd-vreview-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yd-vreview-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--yd-primary); font-size: 2.4rem; opacity: .45; }
.yd-vreview-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.yd-vreview-play i { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--yd-primary); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.yd-vreview-info { padding: 16px 16px 18px; }
.yd-vreview-info h5 { font-size: .92rem; margin: 0 0 4px; }
.yd-vreview-info p { font-size: .8rem; color: var(--yd-grey); margin: 0 0 8px; line-height: 1.5; }
.yd-vreview-tag { display: inline-block; font-size: .68rem; font-weight: 700; color: var(--yd-teal); background: var(--yd-teal-light); padding: 3px 10px; border-radius: var(--r-full); font-family: var(--font-heading); }
@media (max-width: 1024px) { .yd-vreview-card { min-width: calc(50% - 10px); } }
@media (max-width: 640px)  { .yd-vreview-card { min-width: 100%; } }
.yd-testi-quote { position: absolute; top: 14px; right: 20px; font-size: 3rem; color: var(--yd-primary-light); line-height: 1; font-family: Georgia,serif; }
.yd-testi-stars { color: #F59E0B; margin-bottom: 11px; font-size: .85rem; }
.yd-testi-text { font-size: .88rem; color: var(--yd-grey); line-height: 1.8; margin-bottom: 20px; }
.yd-testi-author { display: flex; align-items: center; gap: 12px; }
.yd-testi-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--yd-primary-light); background: linear-gradient(135deg,var(--yd-primary-light),#F1E7D3); display: flex; align-items: center; justify-content: center; color: var(--yd-primary); font-weight: 700; font-family: var(--font-heading); font-size: .88rem; }
.yd-testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.yd-testi-name { font-family: var(--font-heading); font-weight: 700; font-size: .9rem; color: var(--yd-dark); margin-bottom: 2px; }
.yd-testi-role { font-size: .74rem; color: var(--yd-grey); }
.yd-testi-src { font-size: .68rem; color: var(--yd-primary); font-weight: 600; margin-top: 3px; display: flex; align-items: center; gap: 4px; }
.yd-slider-nav { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 36px; }
.yd-slider-btn { width: 42px; height: 42px; min-width: 42px; border-radius: 50%; border: 2px solid var(--yd-border); background: #fff; color: var(--yd-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--tr); touch-action: manipulation; }
.yd-slider-btn:hover { background: var(--yd-primary); border-color: var(--yd-primary); color: #fff; }
.yd-slider-dots { display: flex; gap: 7px; align-items: center; }
.yd-slider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yd-border); cursor: pointer; transition: all var(--tr); border: none; padding: 0; min-height: 8px; }
.yd-slider-dot.active { background: var(--yd-primary); width: 22px; border-radius: var(--r-full); }

/* ============================================================
   APPOINTMENT
============================================================ */
.yd-appt-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; min-width: 0; }
.yd-appt-inner > * { min-width: 0; }
.yd-appt-label { background: rgba(255,255,255,.2); color: #fff; }
.yd-appt-title { color: #fff; margin-bottom: 14px; }
.yd-appt-desc { color: rgba(255,255,255,.85); }
.yd-appt-features { margin-top: 24px; display: flex; flex-direction: column; }
.yd-appt-feat { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.9); font-size: .88rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.yd-appt-feat:last-child { border-bottom: none; }
.yd-appt-feat i { color: rgba(255,255,255,.7); font-size: .88rem; flex-shrink: 0; width: 16px; }
.yd-form-box { background: #fff; border-radius: var(--r-xl); padding: 40px 36px; box-shadow: 0 20px 60px rgba(0,0,0,.2); min-width: 0; }
.yd-form-box h3 { margin-bottom: 24px; font-size: 1.25rem; color: var(--yd-dark); }
.yd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; min-width: 0; }
.yd-form-group { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.yd-form-group.yd-full { grid-column: 1 / -1; }
.yd-form-group label { font-family: var(--font-heading); font-size: .76rem; font-weight: 600; color: var(--yd-dark-mid); }
.yd-form-group input,
.yd-form-group select,
.yd-form-group textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--yd-border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--yd-dark);
  background: var(--yd-bg);
  transition: border-color var(--tr), box-shadow var(--tr);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px;
}
.yd-form-group input:focus,
.yd-form-group select:focus,
.yd-form-group textarea:focus { border-color: var(--yd-primary); box-shadow: 0 0 0 3px rgba(22,35,63,.10); background: #fff; }
.yd-form-group textarea { resize: vertical; min-height: 90px; }
.yd-form-msg { display: none; margin-top: 12px; padding: 12px 16px; border-radius: var(--r-md); font-size: .88rem; font-weight: 500; }
.yd-form-msg.success { background: #D1FAE5; color: #065F46; display: block; }
.yd-form-msg.error   { background: #FEE2E2; color: #991B1B; display: block; }

/* ============================================================
   FAQ
============================================================ */
.yd-faq-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.yd-faq-sidebar { position: sticky; top: 100px; }
.yd-faq-sidebar-title { font-size: clamp(1.5rem,2.6vw,1.9rem); line-height: 1.3; margin-top: 14px; margin-bottom: 12px; }
.yd-faq-sidebar-desc { font-size: .95rem; line-height: 1.7; color: var(--yd-grey); }
.yd-faq-sidebar-card { background: var(--yd-bg); border: 1px solid var(--yd-border); border-radius: var(--r-xl); padding: 32px 28px; }
.yd-faq-sidebar-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.yd-faq-sidebar-actions .yd-btn { width: 100%; justify-content: center; }
.yd-accordion { display: flex; flex-direction: column; gap: 10px; }
.yd-acc-item { border: 1.5px solid var(--yd-border); border-radius: var(--r-md); overflow: hidden; transition: border-color var(--tr); }
.yd-acc-item.open { border-color: var(--yd-primary); }
.yd-acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: none; border: none; cursor: pointer; text-align: left; gap: 14px; min-height: 44px; touch-action: manipulation; }
.yd-acc-trigger h5 { font-size: .88rem; font-weight: 600; color: var(--yd-dark); margin: 0; line-height: 1.5; text-align: left; }
.yd-acc-icon { width: 26px; height: 26px; min-width: 26px; background: var(--yd-primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--yd-primary); font-size: 1rem; font-weight: 400; transition: all var(--tr); line-height: 1; }
.yd-acc-item.open .yd-acc-icon { background: var(--yd-primary); color: #fff; transform: rotate(45deg); }
.yd-acc-body { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1); }
.yd-acc-item.open .yd-acc-body { max-height: 400px; }
.yd-acc-body-inner { padding: 0 20px 18px; }
.yd-acc-body-inner p { font-size: .84rem; color: var(--yd-grey); margin: 0; line-height: 1.75; }

/* ============================================================
   BLOG
============================================================ */
.yd-blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.yd-blog-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card); transition: all var(--tr); }
.yd-blog-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.yd-blog-thumb { position: relative; overflow: hidden; }
.yd-blog-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform var(--tr-slow); }
.yd-blog-card:hover .yd-blog-thumb img { transform: scale(1.05); }
.yd-blog-thumb-placeholder { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg,var(--yd-primary-light),#F1E7D3); display: flex; align-items: center; justify-content: center; color: var(--yd-primary); font-size: 2.2rem; opacity: .5; }
.yd-blog-cat { position: absolute; top: 12px; left: 12px; background: var(--yd-primary); color: #fff; font-family: var(--font-heading); font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 11px; border-radius: var(--r-full); }
.yd-blog-info { padding: 20px 18px; }
.yd-blog-meta { display: flex; align-items: center; gap: 12px; font-size: .74rem; color: var(--yd-grey); margin-bottom: 10px; flex-wrap: wrap; }
.yd-blog-meta span { display: flex; align-items: center; gap: 4px; }
.yd-blog-info h4 { margin-bottom: 8px; font-size: .96rem; line-height: 1.4; }
.yd-blog-info h4 a:hover { color: var(--yd-primary); }
.yd-blog-info p { font-size: .8rem; color: var(--yd-grey); margin-bottom: 14px; line-height: 1.65; }
.yd-read-more { font-family: var(--font-heading); font-size: .78rem; font-weight: 600; color: var(--yd-primary); display: inline-flex; align-items: center; gap: 5px; }

/* ============================================================
   FOOTER
============================================================ */
.yd-footer { background: #0F2027; color: rgba(255,255,255,.8); width: 100%; }
.yd-footer-top { padding-block: 64px; border-bottom: 1px solid rgba(255,255,255,.07); }
.yd-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; min-width: 0; }
.yd-footer-grid > * { min-width: 0; }
.yd-footer-contact-item span { overflow-wrap: break-word; word-break: break-word; }
.yd-footer-brand p { font-size: .82rem; line-height: 1.75; color: rgba(255,255,255,.55); margin-top: 14px; margin-bottom: 20px; }
.yd-footer-social { display: flex; gap: 9px; flex-wrap: wrap; }
.yd-footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: .85rem; transition: all var(--tr); flex-shrink: 0; }
.yd-footer-social a:hover { background: var(--yd-primary); color: #fff; }
.yd-footer-col h5 { font-family: var(--font-heading); font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: 18px; padding-bottom: 8px; border-bottom: 2px solid var(--yd-primary); display: inline-block; }
.yd-footer-links { display: flex; flex-direction: column; gap: 8px; }
.yd-footer-links a { font-size: .8rem; color: rgba(255,255,255,.55); transition: all var(--tr); display: flex; align-items: center; gap: 6px; min-height: 28px; }
.yd-footer-links a::before { content: '›'; color: var(--yd-primary); font-size: 1rem; }
.yd-footer-links a:hover { color: rgba(255,255,255,.9); padding-left: 4px; }
.yd-footer-contact-item { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; }
.yd-fci { width: 32px; height: 32px; min-width: 32px; background: rgba(22,35,63,.2); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); font-size: .8rem; }
.yd-footer-contact-item strong { display: block; color: #fff; font-size: .84rem; margin-bottom: 2px; }
.yd-footer-contact-item span { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.yd-footer-map { border-radius: var(--r-md); overflow: hidden; margin-top: 14px; height: 130px; border: 1px solid rgba(255,255,255,.08); }
.yd-footer-map iframe { width: 100%; height: 100%; border: 0; }
.yd-footer-bottom { padding-block: 20px; }
.yd-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.yd-footer-bottom p { font-size: .74rem; color: rgba(255,255,255,.35); margin: 0; }
.yd-footer-bottom-links { display: flex; gap: 18px; }
.yd-footer-bottom-links a { font-size: .74rem; color: rgba(255,255,255,.35); transition: color var(--tr); }
.yd-footer-bottom-links a:hover { color: rgba(255,255,255,.7); }
.yd-practo-link { display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,.5); font-size: .74rem; }

/* ============================================================
   FLOATING BUTTONS
============================================================ */
.yd-floating-call { position: fixed; bottom: 108px; right: 20px; width: 50px; height: 50px; background: var(--yd-success); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.25rem; box-shadow: 0 4px 16px rgba(52,199,89,.4); z-index: 900; text-decoration: none; animation: yd-float 3.5s ease-in-out infinite; }
.yd-floating-whatsapp { position: fixed; bottom: 168px; right: 20px; width: 50px; height: 50px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.4rem; box-shadow: 0 4px 16px rgba(37,211,102,.4); z-index: 900; text-decoration: none; }
.yd-floating-appt { position: fixed; bottom: 20px; right: 20px; background: var(--yd-primary); color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: .78rem; padding: 11px 20px; border-radius: var(--r-full); box-shadow: 0 4px 16px rgba(22,35,63,.4); z-index: 900; text-decoration: none; display: flex; align-items: center; gap: 7px; white-space: nowrap; border: none; min-height: 44px; }
.yd-floating-appt:hover { background: var(--yd-primary-dark); color: #fff; }
.yd-back-top { position: fixed; bottom: 168px; right: 86px; width: 42px; height: 42px; background: #fff; border: 1.5px solid var(--yd-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--yd-primary); box-shadow: var(--sh-md); cursor: pointer; transition: all var(--tr); z-index: 900; opacity: 0; transform: translateY(16px); pointer-events: none; font-size: .85rem; }
.yd-back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.yd-back-top:hover { background: var(--yd-primary); color: #fff; border-color: var(--yd-primary); }

/* ============================================================
   PRELOADER
============================================================ */
#yd-preloader { position: fixed; inset: 0; background: #fff; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity .5s,visibility .5s; }
#yd-preloader.yd-hide { opacity: 0; visibility: hidden; pointer-events: none; }
.yd-preloader-inner { text-align: center; }
.yd-preloader-logo { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--yd-primary); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; justify-content: center; }
.yd-preloader-sub { font-size: .75rem; color: var(--yd-grey); margin-bottom: 20px; }
.yd-preloader-bar { width: 160px; height: 4px; background: var(--yd-light-grey); border-radius: var(--r-full); overflow: hidden; margin: 0 auto; }
.yd-preloader-fill { height: 100%; background: linear-gradient(90deg,var(--yd-primary),var(--yd-secondary)); border-radius: var(--r-full); animation: yd-load 1.6s ease-in-out infinite; }
@keyframes yd-load { 0% { width:0; } 100% { width:100%; } }

/* ============================================================
   ANIMATIONS
============================================================ */
[data-yd-anim] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-yd-anim].yd-animated { opacity: 1; transform: translateY(0); }
[data-yd-anim="left"]  { transform: translateX(-24px); }
[data-yd-anim="right"] { transform: translateX(24px); }
[data-yd-anim="left"].yd-animated,
[data-yd-anim="right"].yd-animated { transform: translateX(0); }
[data-yd-anim="scale"] { transform: scale(.93); }
[data-yd-anim="scale"].yd-animated { transform: scale(1); }
[data-yd-delay="1"] { transition-delay: .1s; }
[data-yd-delay="2"] { transition-delay: .2s; }
[data-yd-delay="3"] { transition-delay: .3s; }
[data-yd-delay="4"] { transition-delay: .4s; }
[data-yd-delay="5"] { transition-delay: .5s; }
[data-yd-delay="6"] { transition-delay: .6s; }

/* ============================================================
   PAGE HEADER / BREADCRUMB
============================================================ */
.yd-page-header { background: linear-gradient(135deg,var(--yd-teal) 0%,#16233F 60%,#0D1626 100%); padding: 96px 0 44px; text-align: center; overflow: hidden; position: relative; width: 100%; }
.yd-page-header::before { content: ''; position: absolute; top: -30%; right: -10%; width: 50%; max-width: 440px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle,rgba(22,35,63,.15) 0%,transparent 70%); }
.yd-page-header h1 { color: #fff; margin-bottom: 12px; font-size: clamp(1.5rem, 4vw, 2.2rem); position: relative; }
/* Ghost variant: same text/links, no coloured banner — used where a hero section directly below already carries the main heading */
/* Treatments page: custom banner background image, layered with the same dark overlay tone as the default gradient for guaranteed text legibility */
.yd-page-header--treatments-bg {
  background-image: linear-gradient(135deg,rgba(35,86,111,.55) 0%,rgba(15,32,39,.65) 100%), url('images/treatments-header-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Reviews page: custom banner background image, same overlay treatment as Treatments page for consistency */
.yd-page-header--reviews-bg {
  background-image: linear-gradient(135deg,rgba(35,86,111,.55) 0%,rgba(15,32,39,.65) 100%), url('images/reviews-header-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Blog page: custom banner background image, same overlay treatment as Treatments/Reviews pages for consistency */
.yd-page-header--blog-bg {
  background-image: linear-gradient(135deg,rgba(35,86,111,.55) 0%,rgba(15,32,39,.65) 100%), url('images/blog-header-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Contact page: custom banner background image, same overlay treatment as Treatments/Reviews/Blog pages for consistency */
.yd-page-header--contact-bg {
  background-image: linear-gradient(135deg,rgba(35,86,111,.55) 0%,rgba(15,32,39,.65) 100%), url('images/contact-header-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.yd-page-header--ghost { background: #E7F0FE; padding: 96px 0 8px; }
.yd-page-header--ghost::before { display: none; }
.yd-page-header--ghost h1 { color: var(--yd-grey); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.yd-page-header--ghost .yd-breadcrumb a { color: var(--yd-grey); }
.yd-page-header--ghost .yd-breadcrumb a:hover { color: var(--yd-primary); }
.yd-page-header--ghost .yd-breadcrumb .yd-sep { color: #c8c8cc; }
.yd-page-header--ghost .yd-breadcrumb span { color: var(--yd-dark-mid); }
.yd-breadcrumb { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: .8rem; position: relative; flex-wrap: wrap; }
.yd-breadcrumb a { color: rgba(255,255,255,.65); }
.yd-breadcrumb a:hover { color: #fff; }
.yd-breadcrumb .yd-sep { color: rgba(255,255,255,.3); }
.yd-breadcrumb span { color: rgba(255,255,255,.5); }

/* ============================================================
   SKIP LINK
============================================================ */
.yd-skip { position: absolute; top: -100px; left: 20px; background: var(--yd-primary); color: #fff; padding: 10px 20px; border-radius: var(--r-sm); font-weight: 600; z-index: 9999; transition: top .2s; }
.yd-skip:focus { top: 20px; }

/* ============================================================
   SINGLE TREATMENT
============================================================ */
.yd-treatment-single-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); margin-bottom: 32px; }
.yd-treatment-single-img img { width: 100%; max-height: 440px; object-fit: cover; }
.yd-treatment-details-bar { display: flex; background: var(--yd-teal-light); border-radius: var(--r-md); overflow: hidden; margin-bottom: 28px; border: 1.5px solid var(--yd-teal); flex-wrap: wrap; }
.yd-td-item { flex: 1; min-width: 100px; padding: 18px 14px; text-align: center; border-right: 1px solid rgba(35,86,111,.15); }
.yd-td-item:last-child { border-right: none; }
.yd-td-item strong { display: block; font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--yd-teal); margin-bottom: 3px; }
.yd-td-item span { font-size: .74rem; color: var(--yd-grey); }
.yd-content-area { font-size: 1.02rem; line-height: 1.85; }
.yd-content-area p { font-size: 1.02rem; line-height: 1.85; color: var(--yd-dark-mid); }
.yd-content-area h2 { font-size: clamp(1.3rem,2.6vw,1.6rem); }
.yd-content-area h3 { font-size: clamp(1.15rem,2.2vw,1.35rem); }
.yd-content-area h2,.yd-content-area h3 { margin-top: 28px; margin-bottom: 11px; }
.yd-content-area ul,.yd-content-area ol { padding-left: 22px; margin-bottom: 18px; }
.yd-content-area li { margin-bottom: 6px; color: var(--yd-dark-mid); font-size: .92rem; }
.yd-content-area ul li { list-style: disc; }
.yd-content-area ol li { list-style: decimal; }
.yd-content-area blockquote { background: var(--yd-primary-light); border-left: 4px solid var(--yd-primary); padding: 16px 20px; border-radius: 0 var(--r-md) var(--r-md) 0; margin: 22px 0; color: var(--yd-dark); font-style: italic; }
.yd-sidebar-cta { background: linear-gradient(135deg,var(--yd-primary),var(--yd-secondary)); border-radius: var(--r-lg); padding: 26px 22px; text-align: center; color: #fff; margin-bottom: 22px; }
.yd-sidebar-cta h4 { color: #fff; margin-bottom: 9px; }
.yd-sidebar-cta p { color: rgba(255,255,255,.85); font-size: .82rem; margin-bottom: 16px; }
.yd-sidebar .yd-sc-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-card); padding: 22px 18px; margin-bottom: 20px; }
.yd-sidebar .yd-sc-card h5 { font-size: .95rem; color: var(--yd-dark); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--yd-primary); }
.yd-sidebar .yd-sc-card ul { display: flex; flex-direction: column; gap: 7px; }
.yd-sidebar .yd-sc-card ul li a { font-size: .82rem; color: var(--yd-grey); display: flex; align-items: center; gap: 5px; min-height: 32px; }
.yd-sidebar .yd-sc-card ul li a::before { content: '›'; color: var(--yd-primary); font-size: 1rem; }
.yd-sidebar .yd-sc-card ul li a:hover { color: var(--yd-primary); }

/* ============================================================
   PAGINATION
============================================================ */
.yd-pagination { display: flex; justify-content: center; gap: 7px; margin-top: 44px; flex-wrap: wrap; }
.yd-pagination a,.yd-pagination span { width: 40px; height: 40px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 600; font-size: .85rem; border: 1.5px solid var(--yd-border); color: var(--yd-dark); transition: all var(--tr); }
.yd-pagination a:hover,.yd-pagination .current { background: var(--yd-primary); border-color: var(--yd-primary); color: #fff; }

/* ============================================================
   UTILITIES
============================================================ */
.text-center { text-align: center; }
.yd-mt-lg { margin-top: 48px; }
.yd-mt-md { margin-top: 26px; }
.yd-mb-md { margin-bottom: 26px; }
.yd-hidden { display: none !important; }

/* ============================================================
   FILTER BUTTONS (Gallery/Treatments page)
============================================================ */
.yd-filter-btn { font-family: var(--font-heading); font-size: .8rem; font-weight: 500; padding: 9px 20px; border-radius: var(--r-full); border: 2px solid var(--yd-border); background: none; color: var(--yd-grey); cursor: pointer; transition: all var(--tr); min-height: 40px; touch-action: manipulation; }
.yd-filter-btn.active,.yd-filter-btn:hover { background: var(--yd-primary); border-color: var(--yd-primary); color: #fff; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 68px; --container-px: 28px; }
  .yd-treatments-grid { grid-template-columns: repeat(3,1fr); gap: 16px; }
  .yd-treatment-img { height: 170px; }
  .yd-why-grid { grid-template-columns: repeat(3,1fr); gap: 18px; }
  .yd-videos-grid { grid-template-columns: repeat(3,1fr); gap: 18px; }
  .yd-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
  .yd-footer-grid > div:last-child { grid-column: 1 / -1; }
  .yd-instagram-grid { grid-template-columns: repeat(4,1fr); gap: 11px; }
}

/* ============================================================
   RESPONSIVE — TABLET PORTRAIT (≤ 900px)
============================================================ */
@media (max-width: 900px) {
  :root { --section-py: 60px; --container-px: 22px; }

  /* Header */
  .yd-hamburger { display: flex !important; }
  .yd-nav { display: none !important; }
  .yd-header-phone { display: none !important; }
  .yd-header-actions .yd-btn-primary { display: none !important; }
  #yd-header { padding: 10px 0; }

  /* Hero — stack to single column */
  .yd-hero { padding-top: 90px; padding-bottom: 52px; min-height: auto; }
  .yd-hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .yd-hero-content { display: flex; flex-direction: column; align-items: center; }
  .yd-hero-clinic-badge { justify-content: center; }
  .yd-hero-subtitle { max-width: 500px; text-align: center; }
  .yd-hero-btns { justify-content: center; }
  .yd-hero-trust { justify-content: center; }
  .yd-hero-visual { justify-content: center; }
  .yd-hero-img-wrap { max-width: 400px; }
  .yd-float-left,.yd-float-right { display: none; }

  /* Stats */
  .yd-stats-grid { grid-template-columns: repeat(2,1fr); }
  .yd-stat { padding: 28px 16px; }
  .yd-stat-num { font-size: 2rem; }

  /* About — stack */
  .yd-about-inner { grid-template-columns: 1fr; gap: 32px; }
  .yd-about-img-wrap { max-width: 380px; margin-inline: auto; }
  .yd-exp-badge { position: static !important; margin-top: 14px; display: inline-block; }
  .yd-practo-badge { position: static !important; margin-bottom: 14px; display: inline-flex; }
  .yd-credentials { grid-template-columns: 1fr 1fr; }

  /* Treatments */
  .yd-treatments-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .yd-treatment-img { height: 175px; }

  /* Why */
  .yd-why-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }

  /* Instagram */
  .yd-instagram-grid { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .yd-insta-profile-cta { flex-direction: column; gap: 14px; }

  /* Videos */
  .yd-videos-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }

  /* Testimonials */
  .yd-testi-card { min-width: calc(50% - 10px); }

  /* Appointment — stack */
  .yd-appt-inner { grid-template-columns: 1fr; gap: 36px; }
  .yd-form-box { padding: 32px 28px; }

  /* FAQ — stack */
  .yd-faq-inner { grid-template-columns: 1fr; gap: 32px; }
  .yd-faq-sidebar { position: static !important; }

  /* Blog */
  .yd-blog-grid { grid-template-columns: repeat(2,1fr); gap: 18px; }

  /* Footer */
  .yd-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .yd-footer-grid > div:first-child { grid-column: 1 / -1; }
  .yd-footer-top { padding-block: 48px; }

  /* Floating */
  .yd-floating-call     { right: 14px; bottom: 96px; }
  .yd-floating-whatsapp { right: 14px; bottom: 152px; }
  .yd-floating-appt     { right: 14px; bottom: 14px; }
  .yd-back-top { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 640px)
============================================================ */
@media (max-width: 640px) {
  :root { --section-py: 48px; --container-px: 16px; }

  /* Section headers */
  .yd-section-header { margin-bottom: 32px; }
  .yd-label { font-size: .68rem; padding: 5px 13px; }
  .yd-desc { font-size: .9rem; }

  /* Hero */
  .yd-hero { padding-top: 82px; padding-bottom: 44px; }
  .yd-hero-inner { gap: 28px; }
  .yd-hero-clinic-badge { font-size: .68rem; padding: 6px 13px; max-width: 100%; }
  .yd-hero-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .yd-hero-subtitle { font-size: .9rem; }
  .yd-hero-doctor-badge { padding: 9px 14px; gap: 9px; flex-wrap: nowrap; }
  .yd-hero-doctor-badge img { width: 34px; height: 34px; }
  .yd-doc-name { font-size: .82rem; }
  .yd-doc-qual { font-size: .63rem; }
  /* Stack hero buttons vertically */
  .yd-hero-btns { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; max-width: 320px; }
  .yd-hero-btns .yd-btn { justify-content: center; padding: 14px 20px; }
  .yd-hero-trust { gap: 10px; }
  .yd-hero-trust-item { font-size: .76rem; }
  .yd-hero-img-wrap { max-width: 100%; }

  /* Stats — 2 col on mobile */
  .yd-stats-bar { padding-block: 36px; }
  .yd-stats-grid { grid-template-columns: repeat(2,1fr); gap: 1px; border-radius: var(--r-md); }
  .yd-stat { padding: 22px 10px; }
  .yd-stat-icon { font-size: 1.5rem; width: 40px; height: 40px; margin-bottom: 8px; }
  .yd-stat-num { font-size: 1.7rem; }
  .yd-stat-lbl { font-size: .74rem; }

  /* About */
  .yd-about-img-wrap { max-width: 100%; }
  .yd-credentials { grid-template-columns: 1fr; gap: 10px; }
  .yd-cred-item { padding: 12px; }

  /* Treatments — 1 col */
  .yd-treatments-grid { grid-template-columns: 1fr; gap: 13px; }
  .yd-treatment-card { border-radius: var(--r-md); }
  .yd-treatment-img { height: 200px; }
  .yd-treatment-body { padding: 15px 13px; }
  .yd-treatment-body h4 { font-size: .92rem; }
  .yd-treatment-body p { font-size: .78rem; margin-bottom: 10px; }

  /* Why — 1 col */
  .yd-why-grid { grid-template-columns: 1fr; gap: 13px; }
  .yd-why-card { padding: 24px 20px; }
  .yd-why-icon { width: 50px; height: 50px; font-size: 1.3rem; margin-bottom: 16px; }

  /* Instagram — 2 col */
  .yd-instagram-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .yd-insta-profile-cta { padding: 18px 14px; }

  /* Videos — 1 col */
  .yd-videos-grid { grid-template-columns: 1fr; gap: 13px; }

  /* Testimonials — 1 card */
  .yd-testi-card { min-width: 100%; padding: 22px 16px; }
  .yd-testi-text { font-size: .84rem; }
  .yd-slider-nav { margin-top: 24px; }

  /* Appointment */
  .yd-appt-inner { gap: 28px; }
  .yd-appt-title { font-size: clamp(1.3rem, 5vw, 1.75rem); }
  .yd-appt-feat { font-size: .82rem; }
  .yd-form-box { padding: 22px 16px; border-radius: var(--r-lg); }
  .yd-form-box h3 { font-size: 1.1rem; margin-bottom: 18px; }
  .yd-form-grid { grid-template-columns: 1fr; gap: 12px; }

  /* FAQ */
  .yd-acc-trigger { padding: 14px 16px; }
  .yd-acc-trigger h5 { font-size: .84rem; }
  .yd-acc-body-inner { padding: 0 16px 14px; }

  /* Blog — 1 col */
  .yd-blog-grid { grid-template-columns: 1fr; gap: 14px; }
  .yd-blog-info { padding: 16px 14px; }
  .yd-blog-info h4 { font-size: .94rem; }

  /* Footer — 1 col */
  .yd-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .yd-footer-top { padding-block: 40px; }
  .yd-footer-bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
  .yd-footer-bottom-links { gap: 14px; justify-content: center; }

  /* Floating — compact */
  .yd-floating-call     { width: 46px; height: 46px; font-size: 1.15rem; right: 12px; bottom: 88px; }
  .yd-floating-whatsapp { width: 46px; height: 46px; font-size: 1.3rem;  right: 12px; bottom: 142px; }
  .yd-floating-appt     { right: 12px; bottom: 12px; padding: 10px 16px; font-size: .75rem; }
  .yd-floating-appt .yd-appt-txt { display: none; }

  /* Page header */
  .yd-page-header { padding: 80px 0 36px; }
  .yd-page-header--ghost { padding: 80px 0 4px; }
  .yd-page-header h1 { font-size: 1.5rem; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 400px)
============================================================ */
@media (max-width: 400px) {
  :root { --container-px: 14px; }
  .yd-hero-title { font-size: 1.45rem; }
  .yd-hero-btns .yd-btn { padding: 12px 16px; font-size: .86rem; }
  .yd-stats-grid { grid-template-columns: 1fr 1fr; }
  .yd-stat-num { font-size: 1.5rem; }
  .yd-instagram-grid { grid-template-columns: repeat(2,1fr); gap: 6px; }
  .yd-testi-card { padding: 18px 14px; }
  .yd-form-box { padding: 18px 12px; }
  .yd-footer-social { gap: 7px; }
}

/* ============================================================
   LANDSCAPE PHONE
============================================================ */
@media (max-height: 500px) and (orientation: landscape) {
  .yd-hero { min-height: auto; padding: 76px 0 32px; }
  .yd-hero-inner { grid-template-columns: 1fr; }
  .yd-hero-img { display: none; }
  .yd-hero-btns { flex-direction: row; }
  .yd-mobile-nav { padding-top: 58px; }
}

/* ============================================================
   iOS SAFE AREA (notch support)
============================================================ */
@supports (padding: max(0px)) {
  .yd-container {
    padding-left:  max(var(--container-px), env(safe-area-inset-left));
    padding-right: max(var(--container-px), env(safe-area-inset-right));
  }
  .yd-floating-call,
  .yd-floating-whatsapp,
  .yd-floating-appt {
    right: max(12px, env(safe-area-inset-right));
  }
  .yd-footer-bottom { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
}

/* ============================================================
   TOUCH DEVICE — disable hover effects
============================================================ */
@media (hover: none) {
  .yd-treatment-card:hover { transform: none; box-shadow: var(--sh-card); }
  .yd-btn:hover { transform: none; }
  .yd-why-card:hover { transform: none; }
  .yd-blog-card:hover { transform: none; }
  .yd-insta-item:hover .yd-insta-overlay { opacity: 0; }
  .yd-insta-item:active .yd-insta-overlay { opacity: 1; }
  .yd-treatment-card:active::before { opacity: 1; }
}

/* ============================================================
   REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto !important; }
  [data-yd-anim] { opacity: 1; transform: none; }
}

/* ============================================================
   PRINT
============================================================ */
@media print {
  #yd-header, .yd-floating-call, .yd-floating-whatsapp, .yd-floating-appt,
  .yd-back-top, #yd-preloader, .yd-mobile-nav { display: none !important; }
  body { overflow: visible; }
}

/* ── OVERRIDE: collapse any inline-style grids on mobile ── */
@media (max-width: 900px) {
  /* Single treatment / about / contact inline grids */
  div[style*="grid-template-columns: 2fr 1fr"],
  div[style*="grid-template-columns:2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}
