/* ============================================================
   Make My Tooth — New Site — style.css
   Pure CSS, no framework. Inter font only.
   ============================================================ */

/* ---- Self-hosted Inter Variable Font (all weights in 1 file) ---- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Accessibility ---- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:     #1d4ed8;
    --primary-dk:  #1e40af;
    --sky:         #0ea5e9;
    --grad:        linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%);
    --grad-r:      linear-gradient(135deg, #0ea5e9 0%, #1d4ed8 100%);
    --accent:      #f97316;
    --accent-dk:   #ea6b10;
    --dark:        #0f172a;
    --dark2:       #1e293b;
    --text:        #334155;
    --muted:       #64748b;
    --border:      #e2e8f0;
    --bg-light:    #f8fafc;
    --bg-alt:      #eff6ff;
    --white:       #ffffff;
    --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:   0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:   0 10px 40px rgba(0,0,0,.14);
    --shadow-blue: 0 8px 30px rgba(29,78,216,.25);
    --radius:      12px;
    --radius-lg:   20px;
    --radius-xl:   28px;
    --trans:       0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ---- Utility ---- */
.container {
    width: 92%;
    max-width: 1200px;
    margin-inline: auto;
}
.section { padding: 88px 0; }
.section-sm { padding: 64px 0; }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    display: block;
    width: 24px; height: 3px;
    background: var(--grad);
    border-radius: 2px;
}
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-title span { color: var(--primary); }
.section-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 560px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-inline: auto; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--trans);
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--grad);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
    background: var(--grad-r);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(29,78,216,.35);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}
.btn-white:hover {
    background: var(--bg-alt);
    transform: translateY(-2px);
}
.btn-accent {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(249,115,22,.3);
}
.btn-accent:hover {
    background: var(--accent-dk);
    transform: translateY(-2px);
}
.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.badge-blue  { background: var(--bg-alt); color: var(--primary); }
.badge-green { background: #dcfce7; color: #166534; }
.badge-orange{ background: #fff7ed; color: var(--accent); }

/* ---- Reveal animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-left.visible, .reveal-right.visible { transform: none; }
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    padding: 0;
    transition: background .3s, box-shadow .3s, padding .3s;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    transition: height .3s;
}
#header.scrolled {
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 24px rgba(0,0,0,.1);
}
#header.scrolled .nav-inner { height: 62px; }

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav-logo img { height: 42px; width: auto; }
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    transition: color .3s;
}
.logo-tagline {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    transition: color .3s;
}
#header.scrolled .logo-name { color: var(--dark); }
#header.scrolled .logo-tagline { color: var(--muted); }

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    transition: var(--trans);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--white);
    background: rgba(255,255,255,.15);
}
#header.scrolled .nav-links a { color: var(--dark2); }
#header.scrolled .nav-links a:hover,
#header.scrolled .nav-links a.active {
    color: var(--primary);
    background: var(--bg-alt);
}

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-arrow { font-size: .6rem; margin-left: 3px; display: inline-block; transition: transform .2s; vertical-align: middle; line-height: 1; }
.nav-dropdown:hover .nav-arrow,
.nav-dropdown:focus-within .nav-arrow,
.nav-dropdown.dd-active .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: fixed;
    top: 76px;
    left: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    padding: 6px;
    min-width: 220px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s, visibility .18s;
    z-index: 10000;
    pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown-menu.dd-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.nav-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: .83rem;
    font-weight: 500;
    color: var(--dark2) !important;
    background: transparent !important;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.nav-dropdown-menu li a:hover {
    background: var(--bg-light) !important;
    color: var(--primary) !important;
}
/* Mobile service sub-links */
.mobile-menu .mobile-sub-link {
    font-size: .92rem !important;
    font-weight: 500 !important;
    padding: 6px 24px 6px 48px !important;
    color: rgba(255,255,255,.55) !important;
}
.mobile-menu .mobile-sub-link:hover { color: var(--sky) !important; }

/* Nav CTA */
.nav-cta { margin-left: 12px; }
.nav-cta .btn {
    padding: 10px 22px;
    font-size: .85rem;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    z-index: 10;
}
.nav-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--trans);
}
#header.scrolled .nav-hamburger span { background: var(--dark); }
#header.menu-active .nav-hamburger span { background: #ffffff !important; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#header.menu-active {
    background: #0f172a !important;
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
#header.menu-active .logo-name { color: #ffffff !important; }
#header.menu-active .logo-tagline { color: rgba(255,255,255,.7) !important; }

/* Mobile menu drawer */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    background: #0f172a;
    z-index: 9998;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
#header.scrolled ~ .mobile-menu,
#header.scrolled + .mobile-menu {
    top: 62px;
    height: calc(100vh - 62px);
    height: calc(100dvh - 62px);
}
.mobile-menu.open {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.mobile-menu-body {
    padding: 16px 16px 40px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
    background: rgba(255,255,255,.08);
    color: var(--sky) !important;
}
.mobile-nav-group {
    background: rgba(255,255,255,.03);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.06);
    margin: 4px 0;
    padding: 2px 4px 8px;
}
.mobile-group-title {
    margin-bottom: 2px;
}
.mobile-sub-links-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 2px 6px 4px;
}
.mobile-sub-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: .8rem !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,.8) !important;
    padding: 8px 6px !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    transition: background .2s, color .2s !important;
}
.mobile-sub-link:hover, .mobile-sub-link.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
}
.mobile-menu-cta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
    padding-top: 72px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--grad);
    opacity: .92;
    z-index: 0;
}
.hero-shapes { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-shape-1 {
    position: absolute;
    top: -80px; right: -80px;
    width: 480px; height: 480px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}
.hero-shape-2 {
    position: absolute;
    bottom: -120px; left: -60px;
    width: 380px; height: 380px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}
.hero-shape-3 {
    position: absolute;
    top: 30%; left: 45%;
    width: 200px; height: 200px;
    background: rgba(255,255,255,.03);
    border-radius: 50%;
}
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: 60px 0;
}
.hero-content { color: var(--white); }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 8px; height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
    50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}
.hero-title .highlight {
    position: relative;
    display: inline-block;
}
.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0; right: 0;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    opacity: .8;
}
.hero-desc {
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(255,255,255,.82);
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
}
.hero-avatars {
    display: flex;
}
.hero-avatars img {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--white);
    object-fit: cover;
    margin-left: -10px;
}
.hero-avatars img:first-child { margin-left: 0; }
.hero-trust-text { font-size: .82rem; color: rgba(255,255,255,.8); font-weight: 600; }
.hero-trust-text strong { color: var(--white); }

/* Hero image side */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.hero-img-wrap {
    position: relative;
    width: 100%;
    max-width: 460px;
}
.hero-img-main {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 80px rgba(0,0,0,.4);
    object-fit: cover;
    aspect-ratio: 4/5;
}
.hero-float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hero-float-card:nth-child(2) { animation-delay: 1.2s; }
.hero-float-card:nth-child(3) { animation-delay: 2.4s; }
.hero-float-1 { top: 30px; left: -40px; }
.hero-float-2 { bottom: 80px; right: -40px; }
.float-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.float-icon-blue  { background: var(--bg-alt); }
.float-icon-green { background: #dcfce7; }
.float-icon-orange{ background: #fff7ed; }
.float-info { line-height: 1.2; }
.float-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
}
.float-label {
    font-size: .72rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ============================================================
   STATS
   ============================================================ */
#stats {
    background: var(--dark);
    padding: 0;
}
.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.08);
}
.stat-item {
    padding: 44px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.08);
    position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad);
    opacity: 0;
    transition: opacity .3s;
    z-index: 0;
}
.stat-item:hover::before { opacity: .06; }
.stat-item > * { position: relative; z-index: 1; }
.stat-num {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-num .stat-suffix { font-size: .6em; color: var(--sky); }
.stat-label {
    font-size: .85rem;
    font-weight: 600;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--bg-light); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--trans);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad);
    transform: scaleX(0);
    transition: transform .3s;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px auto;
    transition: background .3s;
}
.service-card:hover .service-icon { background: var(--grad); }
.service-card:hover .service-icon .si { filter: brightness(10); }
.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    text-align: center;
}
.service-desc {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 18px;
}
.service-link {
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s;
}
.service-card .service-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
.service-card:hover .service-link { gap: 10px; }
.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--white); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
}
.about-img-grid img {
    border-radius: var(--radius-lg);
    object-fit: cover;
    width: 100%;
}
.about-img-grid img:nth-child(1) { aspect-ratio: 3/4; }
.about-img-grid img:nth-child(2) { aspect-ratio: 3/4; margin-top: 40px; }
.about-exp-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad);
    color: var(--white);
    padding: 18px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-blue);
    white-space: nowrap;
}
.about-exp-badge .exp-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}
.about-exp-badge .exp-text {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    opacity: .85;
}
.about-content { padding-bottom: 20px; }
.about-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 28px 0 32px;
}
.about-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.about-check {
    width: 22px; height: 22px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.about-list-item p { font-size: .95rem; color: var(--text); }

/* ============================================================
   WHY CHOOSE
   ============================================================ */
#why-choose {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}
#why-choose::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad);
    opacity: .04;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(29,78,216,.1);
    transition: var(--trans);
}
.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-blue);
    border-color: var(--primary);
}
.why-icon {
    width: 72px; height: 72px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    transition: background .3s;
}
.why-card:hover .why-icon { background: var(--grad); }
.why-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.why-desc { font-size: .9rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   GALLERY
   ============================================================ */
#gallery { background: var(--white); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(29,78,216,.85), transparent 50%);
    opacity: 0;
    transition: opacity .3s;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label {
    color: var(--white);
    font-size: .88rem;
    font-weight: 700;
}
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }

/* ============================================================
   TEAM
   ============================================================ */
#team { background: var(--bg-light); }
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--trans);
    text-align: center;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.team-img-wrap {
    position: relative;
    overflow: hidden;
}
.team-img-wrap img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform .5s;
}
.team-card:hover .team-img-wrap img { transform: scale(1.05); }
.team-social {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(29,78,216,.9), transparent);
    padding: 20px 16px 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
    transform: translateY(100%);
    transition: transform .3s;
}
.team-card:hover .team-social { transform: none; }
.team-social a {
    width: 34px; height: 34px;
    background: rgba(255,255,255,.15);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: .85rem;
    transition: background .2s;
}
.team-social a:hover { background: rgba(255,255,255,.3); }
.team-info { padding: 20px; }
.team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.team-role {
    font-size: .82rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}
.team-exp {
    font-size: .8rem;
    color: var(--muted);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--dark); position: relative; overflow: hidden; }
.testimonials-bg-shape {
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: rgba(14,165,233,.06);
    border-radius: 50%;
    pointer-events: none;
}
#testimonials .section-label { color: var(--sky); }
#testimonials .section-title { color: var(--white); }
#testimonials .section-subtitle { color: rgba(255,255,255,.55); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.testimonial-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--trans);
    backdrop-filter: blur(6px);
}
.testimonial-card:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(29,78,216,.4);
    transform: translateY(-4px);
}
.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
    color: #fbbf24;
    font-size: .95rem;
}
.testimonial-text {
    font-size: .95rem;
    color: rgba(255,255,255,.78);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-author img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(29,78,216,.5);
}
.author-name {
    font-size: .92rem;
    font-weight: 700;
    color: var(--white);
}
.author-detail {
    font-size: .78rem;
    color: rgba(255,255,255,.45);
}

/* ============================================================
   CTA BAND
   ============================================================ */
#cta-band {
    background: var(--grad);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}
.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.cta-band-text { color: var(--white); }
.cta-band-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}
.cta-band-subtitle {
    font-size: 1rem;
    opacity: .8;
}
.cta-band-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }
.cta-band-shape-1 {
    position: absolute;
    top: -60px; right: 10%;
    width: 240px; height: 240px;
    background: rgba(255,255,255,.07);
    border-radius: 50%;
    pointer-events: none;
}
.cta-band-shape-2 {
    position: absolute;
    bottom: -80px; left: 5%;
    width: 180px; height: 180px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
    pointer-events: none;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--bg-light); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 56px;
    align-items: start;
    margin-top: 48px;
}
.contact-info-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.contact-info-subtitle {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 28px;
}
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--primary);
}
.contact-detail-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: 2px;
}
.contact-detail-value {
    font-size: .95rem;
    font-weight: 600;
    color: var(--dark);
}
.contact-hours {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 22px;
    border: 1px solid var(--border);
}
.contact-hours-title {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--primary);
    margin-bottom: 12px;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: .88rem;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 600; color: var(--dark2); }
.hours-time { color: var(--muted); }
.hours-closed { color: #ef4444; font-weight: 600; }

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.form-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}
.form-subtitle { font-size: .88rem; color: var(--muted); margin-bottom: 28px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: var(--dark2);
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: .92rem;
    color: var(--dark);
    background: var(--bg-light);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29,78,216,.1);
    background: var(--white);
}
.form-group textarea { min-height: 110px; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-success {
    display: none;
    background: #dcfce7;
    color: #166534;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .9rem;
    margin-top: 14px;
    border: 1px solid #bbf7d0;
}

/* ============================================================
   APPOINTMENT SECTION
   ============================================================ */
#book-appointment { background: var(--bg-alt); }

/* 3 booking method cards */
.appt-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.appt-method-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    background: var(--white);
}
.appt-method-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}
.appt-wa   { border-color: #22c55e; }
.appt-email{ border-color: var(--primary); }
.appt-call { border-color: #f59e0b; }
.appt-method-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.appt-wa   .appt-method-icon { background: #22c55e; }
.appt-email .appt-method-icon { background: var(--primary); }
.appt-call  .appt-method-icon { background: #f59e0b; }
.appt-method-info {
    display: flex; flex-direction: column; gap: 3px; flex: 1;
}
.appt-method-info strong {
    font-size: .96rem; font-weight: 700; color: var(--dark);
}
.appt-method-info span { font-size: .8rem; color: var(--muted); }
.appt-method-arrow {
    font-size: 1.1rem; color: var(--muted); transition: transform .2s;
}
.appt-method-card:hover .appt-method-arrow { transform: translateX(4px); }

/* Or-divider */
.appt-divider {
    display: flex; align-items: center; gap: 14px;
    margin: 4px 0 28px;
    color: var(--muted); font-size: .83rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em;
}
.appt-divider::before, .appt-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}

/* Compact inline form */
.appt-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px 32px 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.appt-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}
.appt-form-grid .form-group { margin-bottom: 0; }
.appt-form-grid .form-group input,
.appt-form-grid .form-group select {
    padding: 11px 14px; font-size: .88rem;
}
.appt-form-footer {
    display: flex; align-items: center;
    justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.appt-form-note {
    font-size: .8rem; color: var(--muted); line-height: 1.6;
}

/* FAQ Split Grid */
.faq-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}
.faq-cta-card {
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    position: sticky;
    top: 100px;
    background: linear-gradient(140deg, #1d4ed8 0%, #1e3a8a 100%);
}
.faq-cta-card .section-title { font-size: 1.55rem; }

@media (max-width: 1100px) {
    .appt-form-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .appt-methods { grid-template-columns: 1fr; }
    .faq-split-grid { grid-template-columns: 1fr; gap: 28px; }
    .faq-cta-card { position: static; }
}
@media (max-width: 640px) {
    .appt-form-grid { grid-template-columns: 1fr; }
    .appt-form-card { padding: 20px 18px; }
    .appt-form-footer { flex-direction: column; align-items: stretch; }
    .appt-form-footer .btn { justify-content: center; }
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer { background: var(--dark); color: rgba(255,255,255,.65); }
.footer-top {
    padding: 72px 0 48px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 48px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand .nav-logo { margin-bottom: 18px; }
.footer-brand p {
    font-size: .88rem;
    line-height: 1.8;
    margin-bottom: 24px;
}
.footer-socials {
    display: flex;
    gap: 10px;
}
.footer-socials a {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    transition: var(--trans);
}
.footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-col-title {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-links a:hover { color: var(--sky); }
.footer-links a::before {
    content: '›';
    font-size: 1rem;
    color: var(--primary);
}
.footer-newsletter p {
    font-size: .88rem;
    margin-bottom: 16px;
    line-height: 1.7;
}
.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
}
.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,.05);
    border: none;
    outline: none;
    color: var(--white);
    font-size: .88rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-form button {
    padding: 12px 18px;
    background: var(--grad);
    border: none;
    color: var(--white);
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s;
    white-space: nowrap;
}
.newsletter-form button:hover { opacity: .85; }
.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .82rem;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--sky); }

/* ============================================================
   SCROLL-TO-TOP
   ============================================================ */
#scroll-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--grad);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s, transform .3s;
    z-index: 8888;
}
#scroll-top.visible { opacity: 1; transform: none; }
#scroll-top:hover { transform: translateY(-3px); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 80px; right: 28px;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: #25d366;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37,211,102,.45);
    z-index: 8888;
    animation: pulse-wa 2.5s ease-in-out infinite;
    transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,.75); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { display: none; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,.08); }
    .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.08); border-right: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img-grid { max-width: 500px; margin: 0 auto; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.tall { grid-row: span 1; aspect-ratio: 3/4; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
    .cta-band-inner { flex-direction: column; text-align: center; }
    .cta-band-actions { justify-content: center; }
}
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px 20px; }
    .hero-float-1, .hero-float-2 { display: none; }
}
@media (max-width: 480px) {
    .container { width: 95%; }
    .hero-title { font-size: 36px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .gallery-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    background: var(--grad);
    padding: 130px 0 64px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/services-one__shape-bg.jpg') center/cover no-repeat;
    opacity: .06;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 14px;
}
.page-hero + .section {
    padding-top: 24px;
}
.page-hero + .section .detail-layout {
    margin-top: 16px;
}
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: rgba(255,255,255,.65);
}
.breadcrumb a { color: rgba(255,255,255,.75); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,.35); }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--trans);
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.blog-card-img {
    position: relative;
    overflow: hidden;
}
.blog-card-img img {
    width: 100%; height: 200px;
    object-fit: cover;
    transition: transform .5s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-cat {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.blog-card-body { padding: 22px 22px 24px; }
.blog-meta {
    display: flex;
    gap: 16px;
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: 10px;
}
.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color .2s;
}
.blog-card:hover .blog-card-title { color: var(--primary); }
.blog-card-excerpt {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 16px;
}
.blog-card-link {
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s;
}
.blog-card:hover .blog-card-link { gap: 10px; }
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.page-btn {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: .88rem;
    font-weight: 700;
    border: 1.5px solid var(--border);
    color: var(--text);
    transition: var(--trans);
    cursor: pointer;
    background: var(--white);
}
.page-btn:hover, .page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ============================================================
   BLOG DETAIL / SERVICE DETAIL — sidebar layout
   ============================================================ */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
    margin-top: 48px;
}
.detail-main {}
.detail-main img.main-img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
    object-fit: cover;
    max-height: 550px;
}
.detail-main h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    margin: 24px 0 12px;
}
.detail-main h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin: 20px 0 10px;
}
.detail-main p {
    font-size: .97rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
}
.detail-main ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.detail-main ul li {
    list-style: disc;
    font-size: .95rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 6px;
}
.detail-main blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    background: var(--bg-alt);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--dark2);
    margin: 24px 0;
}
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.post-tag {
    padding: 5px 14px;
    border-radius: 50px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    font-size: .78rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--trans);
}
.post-tag:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.widget-title {
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-alt);
}
.widget-appt { background: var(--grad); border-color: transparent; text-align: center; }
.widget-appt .widget-title { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.15); }
.widget-appt-text { color: rgba(255,255,255,.8); font-size: .88rem; margin-bottom: 20px; line-height: 1.7; }
.widget-search {
    display: flex;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.widget-search input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    outline: none;
    font-size: .88rem;
    background: var(--bg-light);
}
.widget-search button {
    padding: 10px 14px;
    background: var(--primary);
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: .88rem;
}
.widget-list { display: flex; flex-direction: column; gap: 10px; }
.widget-list a {
    display: flex;
    justify-content: space-between;
    font-size: .88rem;
    color: var(--text);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    transition: color .2s;
}
.widget-list a:last-child { border-bottom: none; }
.widget-list a:hover { color: var(--primary); }
.widget-list .wl-count {
    background: var(--bg-alt);
    color: var(--primary);
    font-size: .72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
}
.recent-post { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.recent-post:last-child { border-bottom: none; padding-bottom: 0; }
.recent-post img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.rp-title { font-size: .85rem; font-weight: 600; color: var(--dark); line-height: 1.4; margin-bottom: 4px; transition: color .2s; }
.recent-post:hover .rp-title { color: var(--primary); }
.rp-date { font-size: .75rem; color: var(--muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
    padding: 5px 12px;
    border-radius: 6px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    font-size: .78rem;
    color: var(--text);
    transition: var(--trans);
}
.tag-cloud a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* Comments */
.comments-section { margin-top: 40px; }
.comments-title { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 24px; }
.comment {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.comment:last-child { border-bottom: none; }
.comment-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-name { font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.comment-date { font-size: .75rem; color: var(--muted); margin-bottom: 8px; }
.comment-text { font-size: .9rem; color: var(--text); line-height: 1.7; }
.comment-reply { font-size: .8rem; font-weight: 700; color: var(--primary); margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; }
.comment-form { margin-top: 36px; }
.comment-form-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 20px; }

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.step-card {
    text-align: center;
    padding: 28px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--trans);
}
.step-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--grad);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.step-title { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.step-desc { font-size: .82rem; color: var(--muted); line-height: 1.65; }
.step-connector {
    position: absolute;
    top: 40px; right: -12px;
    width: 24px; height: 2px;
    background: var(--border);
    z-index: 1;
}
.step-card:last-child .step-connector { display: none; }

/* FAQ */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark);
    gap: 16px;
}
.faq-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: background .2s, transform .3s;
}
.faq-item.open .faq-icon { background: var(--primary); color: var(--white); transform: rotate(45deg); }
.faq-answer {
    display: none;
    padding: 0 22px 18px;
    font-size: .9rem;
    color: var(--text);
    line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* Contact Map */
.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    margin-top: 28px;
}
.map-placeholder {
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
}

/* ---- Visit Us / Map Section ---- */
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.visit-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 28px 0 24px;
}
.visit-details li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.visit-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.visit-details strong {
    display: block;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: 3px;
}
.visit-details p, .visit-details a {
    font-size: .95rem;
    color: var(--text);
    line-height: 1.6;
}
.visit-details a:hover { color: var(--primary); }
.visit-areas { margin-top: 8px; }
.visit-areas strong {
    display: block;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--muted);
    margin-bottom: 10px;
}
.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.area-tags span {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
}
.visit-map iframe {
    width: 100%;
    height: 460px;
    border-radius: 16px;
    border: 0;
    display: block;
    box-shadow: var(--shadow-md);
}

/* ---- Reviews Badge ---- */
.reviews-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}
.reviews-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}
.reviews-stars { color: #fbbf24; font-size: 1.2rem; letter-spacing: 2px; }
.reviews-score { color: #fff; font-weight: 700; font-size: 1.05rem; }
.reviews-count { color: rgba(255,255,255,.65); font-size: .88rem; }

/* ---- CLS Fixes — reserve space before images load ---- */
#hero { min-height: 560px; }
#stats { min-height: 100px; }
.hero-img-main { aspect-ratio: 1/1; width: 100%; max-width: 560px; }
.service-img { aspect-ratio: 16/9; width: 100%; }
.about-img-grid img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }

/* ---- INP — remove layout-triggering transitions on interactive elements ---- */
.btn, .nav-links a, .faq-question {
    will-change: auto;
    transform: translateZ(0);
}
.faq-answer {
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease;
}

@media (max-width: 900px) {
    .visit-grid { grid-template-columns: 1fr; gap: 32px; }
    .visit-map iframe { height: 300px; }
}

/* ---- Doctor Cards ---- */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
    gap: 36px;
    margin-top: 48px;
}
.doctor-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s ease, transform .25s ease;
}
.doctor-card:hover {
    box-shadow: var(--shadow-blue);
    transform: translateY(-4px);
}
.doctor-img-wrap {
    position: relative;
    background: var(--bg-alt);
}
.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.doctor-verified {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #16a34a;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: .04em;
}
.doctor-info {
    padding: 28px 28px 28px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.doctor-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}
.doctor-degree {
    font-size: .88rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .04em;
}
.doctor-role {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 4px;
}
.doctor-meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 8px 0;
    padding: 14px;
    background: var(--bg-light);
    border-radius: var(--radius);
}
.doctor-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .85rem;
    color: var(--text);
    line-height: 1.5;
}
.doctor-meta-icon { flex-shrink: 0; }
.doctor-bio {
    font-size: .9rem;
    color: var(--text);
    line-height: 1.7;
    margin: 4px 0 8px;
}
.doctor-services {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 4px;
}
.doctor-services span {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
}

@media (max-width: 800px) {
    .doctors-grid { grid-template-columns: 1fr; }
    .doctor-card { grid-template-columns: 1fr; }
    .doctor-img-wrap { height: 260px; }
    .doctor-info { padding: 20px 16px; }
}

/* ============================================================
   RESPONSIVE additions & Mobile Overflow Fixes
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { display: none; }
    .detail-layout { grid-template-columns: 1fr; }
    .sidebar { margin-top: 0; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }
    .section { padding: 56px 0; }
    .nav-cta, .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .hero-title {
        font-size: clamp(1.75rem, 6.2vw, 2.3rem);
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 16px;
    }
    .hero-badge {
        font-size: .75rem;
        padding: 6px 12px;
        white-space: normal;
        text-align: center;
        max-width: 100%;
        line-height: 1.4;
    }
    .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }
    .stat-item {
        padding: 24px 12px;
    }
    .stat-num {
        font-size: 2rem;
    }
    .services-grid, .why-grid, .blog-grid, .doctors-grid, .appt-methods, .visit-grid {
        grid-template-columns: 1fr;
    }
    .appt-form-grid {
        grid-template-columns: 1fr;
    }
    .appt-form-card {
        padding: 20px 16px;
    }
    .appt-form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .appt-form-footer .btn {
        width: 100%;
        justify-content: center;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 0 32px;
    }
    .cta-band-inner {
        flex-direction: column;
        text-align: center;
    }
    .cta-band-actions {
        width: 100%;
        flex-direction: column;
    }
    .cta-band-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .page-hero {
        padding: 100px 0 40px;
    }
    .page-hero-title {
        font-size: 1.8rem;
    }
    .contact-form-wrap {
        padding: 28px 18px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.65rem;
    }
    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    #header, #scroll-top, .whatsapp-float, #cta-band { display: none; }
    body { color: #000; }
    a { color: #000; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none !important; }
    html { scroll-behavior: auto; }
}
