/* ================================================================
   All-Pro Physio — Premium Design System v2.0
   International-grade UI/UX | Smooth Animations | Modern Layout
   ================================================================ */

/* ── CSS Custom Properties ──────────────────────────────────────── */
:root {
    /* ── Logo-matched palette: Deep Navy + Vibrant Green ── */
    --primary:        #0d3b6e;
    --primary-dark:   #071f3d;
    --primary-mid:    #1a5ba8;
    --primary-light:  #e4edf8;
    --primary-glow:   rgba(13,59,110,.28);
    --accent:         #3db54a;
    --accent-dark:    #2a8535;
    --accent-mid:     #4dcc5a;
    --accent-light:   #eaf7ec;
    --accent-glow:    rgba(61,181,74,.32);
    --teal:           #00897b;
    --teal-light:     #e0f2f1;
    --text-dark:      #071628;
    --text-mid:       #2d4159;
    --text-light:     #5a7290;
    --white:          #ffffff;
    --off-white:      #f7faff;
    --bg-light:       #f0f5f0;
    --border:         #d4e2d4;
    --dark-bg:        #07111f;
    --dark-surface:   #0c1e30;
    --glass-bg:       rgba(255,255,255,.08);
    --glass-border:   rgba(255,255,255,.15);
    --success:        #3db54a;
    --error:          #ef4444;
    --grad-primary:   linear-gradient(135deg, #071f3d 0%, #0d3b6e 50%, #1a5ba8 100%);
    --grad-accent:    linear-gradient(135deg, #2a8535 0%, #3db54a 50%, #4dcc5a 100%);
    --grad-teal:      linear-gradient(135deg, #00695c 0%, #00897b 100%);
    --grad-dark:      linear-gradient(135deg, #07111f 0%, #0d2540 100%);
    --grad-hero:      linear-gradient(135deg, #040e1a 0%, #071f3d 30%, #0d3b6e 65%, #1a5ba8 100%);
    --grad-hero-alt:  linear-gradient(135deg, #071f3d 0%, #0d3b6e 40%, #145c26 80%, #1e8c3a 100%);
    --shadow-xs:      0 1px 3px rgba(7,22,40,.08);
    --shadow-sm:      0 2px 12px rgba(7,22,40,.10);
    --shadow-md:      0 8px 30px rgba(7,22,40,.15);
    --shadow-lg:      0 16px 50px rgba(7,22,40,.20);
    --shadow-xl:      0 24px 80px rgba(7,22,40,.28);
    --shadow-glow:    0 0 40px rgba(13,59,110,.4);
    --shadow-accent:  0 8px 30px rgba(61,181,74,.35);
    --radius-sm:      6px;
    --radius:         12px;
    --radius-lg:      20px;
    --radius-xl:      28px;
    --radius-full:    9999px;
    --transition-fast:   all .15s cubic-bezier(.4,0,.2,1);
    --transition:        all .3s cubic-bezier(.4,0,.2,1);
    --transition-slow:   all .5s cubic-bezier(.4,0,.2,1);
    --transition-bounce: all .4s cubic-bezier(.34,1.56,.64,1);
    --font-head:     'Poppins', sans-serif;
    --font-body:     'Inter', sans-serif;
    --header-h:      72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

::selection { background: var(--primary); color: var(--white); }

/* ── Container ─────────────────────────────────────────────────── */
.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

/* ================================================================
   PRELOADER
   ================================================================ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.site-logo-preloader {
    width: 320px;
    max-width: 80vw;
    height: auto;
    display: block;
    margin: 0 auto;
}
.preloader-bar {
    width: 180px;
    height: 3px;
    background: rgba(255,255,255,.12);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}
.preloader-fill {
    height: 100%;
    background: var(--grad-accent);
    border-radius: 2px;
    animation: preloadFill 1.4s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes preloadFill { from { width: 0 } to { width: 100% } }

/* ================================================================
   TOP BAR
   ================================================================ */
.top-bar {
    background: var(--dark-bg);
    color: rgba(255,255,255,.75);
    font-size: .8rem;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.top-bar-left a {
    color: rgba(255,255,255,.75);
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: var(--transition-fast);
}
.top-bar-left a:hover { color: var(--accent); }
.top-bar-badge {
    background: rgba(240,165,0,.15);
    color: var(--accent);
    border: 1px solid rgba(240,165,0,.3);
    padding: .2rem .6rem;
    border-radius: var(--radius-full);
    font-size: .72rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.top-bar-hours {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: rgba(255,255,255,.6);
    font-size: .78rem;
}
.top-bar-socials {
    display: flex;
    gap: .5rem;
}
.top-bar-socials a {
    width: 26px;
    height: 26px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    transition: var(--transition);
}
.top-bar-socials a:hover { background: var(--accent); color: var(--dark-bg); transform: translateY(-2px); }

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(26,111,196,.06);
}
.navbar.scrolled {
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-md);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1rem;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo-nav {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}
.brand-icon {
    width: 42px;
    height: 42px;
    background: var(--grad-primary);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(26,111,196,.35);
    transition: var(--transition-bounce);
}
.navbar-brand:hover .brand-icon { transform: rotate(-8deg) scale(1.05); }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.5px; line-height: 1; }
.brand-all   { color: var(--primary); }
.brand-physio{ color: var(--accent); }

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: .15rem;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: .9rem;
    padding: .5rem .85rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: .35rem;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
}
.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: .85rem;
    right: .85rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform .25s cubic-bezier(.4,0,.2,1);
    border-radius: 1px;
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { transform: scaleX(1); }
.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--primary);
    background: var(--primary-light);
}
.dropdown-arrow {
    font-size: .6rem;
    transition: transform .3s ease;
}
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

/* Mega Dropdown */
/* Invisible bridge so mouse can travel from nav link to dropdown */
.has-dropdown::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0; right: 0;
    height: 16px;
    z-index: 1001;
}
.mega-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--white);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    min-width: 640px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s cubic-bezier(.4,0,.2,1),
                transform .3s cubic-bezier(.34,1.1,.64,1),
                visibility .25s;
    border: 1px solid var(--border);
    overflow: hidden;
    pointer-events: none;
    /* Top accent bar */
    border-top: 3px solid var(--accent);
}
.has-dropdown:hover .mega-dropdown,
.has-dropdown.open .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}
.mega-dropdown-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 200px;
}
.mega-col {
    padding: 1.5rem;
    border-right: 1px solid var(--border);
}
.mega-col:last-of-type { border-right: none; }
.mega-label {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: .8rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--border);
}
.mega-col a {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--text-dark);
    font-size: .88rem;
    font-weight: 500;
    padding: .5rem .6rem;
    border-radius: var(--radius-sm);
    margin-bottom: .2rem;
    transition: var(--transition-fast);
}
.mega-col a i {
    width: 28px;
    height: 28px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}
.mega-col a:hover { color: var(--primary); background: var(--primary-light); }
.mega-col a:hover i { background: var(--primary); color: var(--white); }
.mega-cta {
    background: var(--grad-primary);
    padding: 1.5rem;
    display: flex;
    align-items: center;
}
.mega-cta-box { text-align: center; color: var(--white); }
.mega-cta-box i { font-size: 2rem; margin-bottom: .7rem; opacity: .85; }
.mega-cta-box h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.mega-cta-box p { font-size: .78rem; opacity: .8; margin-bottom: 1rem; line-height: 1.5; }

/* Book Button */
.nav-book-btn { margin-left: .4rem; }
.btn-book {
    display: flex !important;
    align-items: center;
    gap: .5rem;
    background: var(--grad-primary) !important;
    color: var(--white) !important;
    border-radius: var(--radius-full) !important;
    padding: .6rem 1.3rem !important;
    font-weight: 700 !important;
    font-size: .87rem !important;
    box-shadow: 0 4px 16px rgba(26,111,196,.35) !important;
    transition: var(--transition-bounce) !important;
    white-space: nowrap;
    border: none !important;
    position: relative;
    overflow: hidden;
}
.btn-book::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.2), transparent);
    opacity: 0;
    transition: opacity .3s ease;
}
.btn-book:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 24px rgba(26,111,196,.45) !important; color: var(--white) !important; }
.btn-book:hover::before { opacity: 1; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: .5rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,22,40,.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
.nav-overlay.show { opacity: 1; pointer-events: auto; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-head);
    font-size: .92rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-bounce);
    text-align: center;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: .2px;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.25), transparent);
    opacity: 0;
    transition: opacity .3s ease;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
    background: var(--grad-primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(26,111,196,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26,111,196,.45); color: var(--white); }

.btn-accent {
    background: var(--grad-accent);
    color: var(--dark-bg);
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(240,165,0,.3);
    font-weight: 700;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); color: var(--dark-bg); }

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--border);
    box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: var(--white); }

.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); box-shadow: var(--shadow-md); }
.btn-white:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-sm { padding: .5rem 1.2rem; font-size: .82rem; }
.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; margin-top: .6rem; }

/* ================================================================
   SECTION UTILITIES
   ================================================================ */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.bg-light { background: var(--bg-light); }
.bg-dark  { background: var(--dark-bg); }
.bg-gradient { background: var(--grad-primary); }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: .35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    border: 1px solid rgba(26,111,196,.15);
}
.section-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}
.section-header h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -.5px;
}
.section-header p {
    color: var(--text-mid);
    max-width: 580px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
}
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,.75); }
.section-header.light .section-label { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.2); }
.section-header.light .section-label::before { background: var(--accent); }

/* ================================================================
   HERO — HOME
   ================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--grad-hero);
    overflow: hidden;
}

/* Animated shapes */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 80% 20%, rgba(33,161,241,.25) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(240,165,0,.12) 0%, transparent 60%);
    pointer-events: none;
}
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: .08;
    animation: floatShape 8s ease-in-out infinite;
}
.hero-shape-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #4fc3f7, transparent);
    top: -150px; right: -100px;
    animation-delay: 0s;
}
.hero-shape-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--accent), transparent);
    bottom: -80px; left: 10%;
    animation-delay: -3s;
}
.hero-shape-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, #64b5f6, transparent);
    top: 40%; right: 20%;
    animation-delay: -5s;
}
@keyframes floatShape {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* Grid lines decoration */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 6rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}
.hero-content { color: var(--white); }
.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--white);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: .4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    animation: fadeInDown .8s ease both;
}
.hero-tagline .pulse-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(.85); }
}

.hero-content h1 {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    animation: fadeInUp .8s .1s ease both;
}
.hero-content h1 .highlight {
    background: linear-gradient(135deg, #4dcc5a 0%, #3db54a 50%, #5ee86d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}
.hero-content p {
    font-size: 1.15rem;
    max-width: 480px;
    margin-bottom: 2.5rem;
    opacity: .88;
    line-height: 1.8;
    animation: fadeInUp .8s .2s ease both;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp .8s .3s ease both;
}

/* Hero trust badges */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.12);
    animation: fadeInUp .8s .4s ease both;
    flex-wrap: wrap;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.8);
    font-size: .82rem;
    font-weight: 500;
}
.trust-badge i { color: var(--accent); font-size: .9rem; }

/* Hero Visual Side */
.hero-visual {
    position: relative;
    animation: fadeInRight .9s .2s ease both;
}

/* Hero slider (homepage) */
.hero.hero-slider { padding: 0; }
.hero.hero-slider .swiper-hero {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero.hero-slider .swiper-hero .swiper-wrapper,
.hero.hero-slider .swiper-hero .swiper-slide { height: 100%; }
.hero.hero-slider .hero-slide {
    position: relative;
    display: flex;
    align-items: center;
}
.hero.hero-slider .hero-slide-bg{
    position:absolute;
    inset:0;
    overflow: hidden;
}
.hero.hero-slider .hero-slide-photo{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
    transform: scale(1.04);
    display: block;
    transition: transform 1.2s ease;
}
.hero.hero-slider .swiper-slide-active .hero-slide-photo{
    animation: heroKenBurns 4.2s ease forwards;
}
@keyframes heroKenBurns {
    from { transform: scale(1.04); }
    to   { transform: scale(1.10); }
}
.hero.hero-slider .hero-slide-bg::after{
    content:'';
    position:absolute;
    inset:0;
    background:
        radial-gradient(70% 60% at 20% 18%, rgba(34,197,94,.14), transparent 60%),
        radial-gradient(60% 55% at 80% 25%, rgba(59,130,246,.10), transparent 60%),
        linear-gradient(135deg, rgba(3,7,18,.56), rgba(3,7,18,.20));
}
.hero.hero-slider .hero-slide-inner{
    position: relative;
    z-index: 3;
}
.hero.hero-slider .hero-container{
    grid-template-columns: 1fr;
    padding: 7rem 0 5rem;
    gap: 0;
}
.hero.hero-slider .hero-slide-content{
    max-width: 760px;
    text-shadow: 0 2px 18px rgba(0,0,0,.22);
}

.hero.hero-slider .hero-pagination{
    bottom: 26px !important;
}
.hero.hero-slider .hero-pagination .swiper-pagination-bullet{
    width: 10px; height: 10px;
    background: rgba(255,255,255,.35);
    opacity: 1;
}
.hero.hero-slider .hero-pagination .swiper-pagination-bullet-active{
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(61,181,74,.18);
}
.hero.hero-slider .hero-nav{
    color: rgba(255,255,255,.9);
}
.hero.hero-slider .hero-nav::after{
    font-size: 18px;
    font-weight: 800;
}
.hero.hero-slider .hero-nav-prev,
.hero.hero-slider .hero-nav-next{
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    transition: all .25s ease;
}
.hero.hero-slider .hero-nav-prev:hover,
.hero.hero-slider .hero-nav-next:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,.12);
}

@media (max-width: 1024px) {
    .hero.hero-slider .hero-container { padding: 6rem 0 4.5rem; }
    .hero.hero-slider .hero-nav-prev,
    .hero.hero-slider .hero-nav-next { display: none; }
}
.hero-card-main {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.hero-card-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(240,165,0,.15), transparent 70%);
    border-radius: 50%;
}
.hero-card-icon {
    width: 70px; height: 70px;
    background: var(--grad-accent);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow-accent);
}
.hero-card-main h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: .5rem; }
.hero-card-main p { font-size: .9rem; opacity: .8; margin-bottom: 1.5rem; }
.hero-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.hero-stat { text-align: center; padding: 1rem; background: rgba(255,255,255,.08); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); }
.hero-stat .num { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--accent); line-height: 1; }
.hero-stat .lbl { font-size: .72rem; opacity: .75; margin-top: .2rem; }

/* Floating info cards */
.hero-float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.2rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: .8rem;
    animation: floatCard 4s ease-in-out infinite;
    min-width: 180px;
}
.hero-float-card-1 { bottom: -20px; left: -40px; animation-delay: 0s; }
.hero-float-card-2 { top: -20px; right: -20px; animation-delay: -2s; }
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.float-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
}
.float-icon.blue { background: var(--primary-light); color: var(--primary); }
.float-icon.gold { background: var(--accent-light); color: var(--accent-dark); }
.float-card-text strong { display: block; font-size: .82rem; font-weight: 700; color: var(--text-dark); }
.float-card-text span  { font-size: .72rem; color: var(--text-light); }

/* ================================================================
   INSURANCE BANNER
   ================================================================ */
.insurance-banner {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-mid) 50%, var(--accent-dark) 100%);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
}
.insurance-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.06), transparent);
}
.insurance-item { color: var(--white) !important; }
.insurance-item i { color: var(--accent-mid) !important; }
.insurance-divider { color: rgba(255,255,255,.3) !important; }
.insurance-ticker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.insurance-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--dark-bg);
    font-weight: 700;
    font-size: .88rem;
    white-space: nowrap;
}
.insurance-item i { font-size: 1rem; }
.insurance-divider { color: rgba(10,22,40,.3); font-size: .8rem; }

/* ================================================================
   SERVICES SECTION
   ================================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.6rem;
}
.services-grid.large {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    transition: var(--transition-slow);
    color: var(--text-dark);
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    transform-origin: left;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0; right: 0;
    height: 100%;
    background: var(--grad-primary);
    opacity: .03;
    transition: bottom .4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text-dark); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { bottom: 0; }
.service-icon {
    width: 58px; height: 58px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition-bounce);
    position: relative;
    z-index: 1;
}
.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(26,111,196,.4);
}
.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}
.service-card p {
    color: var(--text-mid);
    font-size: .88rem;
    line-height: 1.65;
    flex: 1;
    position: relative;
    z-index: 1;
}
.learn-more {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--primary);
    font-weight: 600;
    font-size: .85rem;
    margin-top: .4rem;
    position: relative;
    z-index: 1;
    transition: gap .25s ease;
}
.service-card:hover .learn-more { gap: .7rem; }

/* ================================================================
   WHY CHOOSE US
   ================================================================ */
.why-us { background: var(--off-white); }
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.why-us-image-wrap { position: relative; }
.why-us-img-card {
    background: var(--grad-primary);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.why-us-img-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(33,161,241,.3), transparent),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.why-big-icon {
    position: absolute;
    top: 2rem; right: 2rem;
    font-size: 6rem;
    opacity: .08;
}
.why-card-content { position: relative; z-index: 1; }
.why-card-content h3 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; }
.why-card-content p { opacity: .85; font-size: .95rem; line-height: 1.7; }
.why-floating-badge {
    position: absolute;
    top: 2rem; left: -2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.3rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: .8rem;
    animation: floatCard 4s ease-in-out infinite;
}
.why-floating-badge .icon { width: 40px; height: 40px; background: var(--accent-light); color: var(--accent-dark); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.why-floating-badge strong { display: block; font-size: .85rem; font-weight: 700; color: var(--text-dark); }
.why-floating-badge span { font-size: .72rem; color: var(--text-light); }

.why-content { }
.why-list {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    margin: 1.8rem 0 2.5rem;
}
.why-item {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1rem 1.2rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.why-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.why-item-icon {
    width: 36px; height: 36px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.why-item:hover .why-item-icon { background: var(--primary); color: var(--white); }
.why-item-text strong { display: block; font-size: .9rem; font-weight: 700; color: var(--text-dark); }
.why-item-text span { font-size: .82rem; color: var(--text-mid); }

/* ================================================================
   STATS SECTION
   ================================================================ */
.stats-section {
    background: var(--grad-primary);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 10% 50%, rgba(33,161,241,.2), transparent),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
    color: var(--white);
    padding: 2rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(4px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.08);
    opacity: 0;
    transition: opacity .3s ease;
}
.stat-item:hover::before { opacity: 1; }
.stat-item:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.25); }
.stat-icon { font-size: 1.5rem; color: var(--accent); margin-bottom: .8rem; opacity: .85; }
.stat-number {
    display: block;
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: .4rem;
}
.stat-label {
    font-size: .85rem;
    opacity: .8;
    font-weight: 500;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials { background: var(--off-white); }
.swiper-testimonials { padding-bottom: 3.5rem !important; overflow: visible !important; }
.swiper-testimonials .swiper-slide { height: auto; }

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -.5rem;
    right: 1.5rem;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: var(--primary-light);
    line-height: 1;
    pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.testimonial-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; }
.testimonial-text {
    color: var(--text-mid);
    font-size: .95rem;
    line-height: 1.8;
    flex: 1;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.author-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    font-family: var(--font-head);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(26,111,196,.3);
}
.author-info strong { display: block; font-size: .9rem; font-weight: 700; color: var(--text-dark); }
.author-info span { font-size: .75rem; color: var(--text-light); display: flex; align-items: center; gap: .3rem; }
.author-info span i { color: #4285F4; font-size: .7rem; }

/* Swiper Nav */
.swiper-pagination-bullet { background: var(--border); opacity: 1; width: 8px; height: 8px; }
.swiper-pagination-bullet-active { background: var(--primary); width: 24px; border-radius: 4px; transition: width .3s ease; }

/* Google Rating row */
.google-rating {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: .5rem 1.2rem;
    margin-top: .8rem;
    box-shadow: var(--shadow-xs);
}
.google-rating .stars { color: #f59e0b; font-size: 1rem; letter-spacing: 1px; }
.google-rating span:last-child { font-size: .82rem; color: var(--text-mid); font-weight: 500; }

/* ================================================================
   PROCESS / HOW IT WORKS
   ================================================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(12.5% + 18px);
    right: calc(12.5% + 18px);
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary) 0, var(--primary) 8px, transparent 8px, transparent 16px);
    opacity: .3;
}
.process-step { text-align: center; position: relative; }
.step-number {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border);
    color: #0d3b6e;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-sm);
    text-shadow: none;
}
.process-step:hover .step-number {
    background: var(--grad-primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}
.process-step h3 { font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin-bottom: .5rem; color: var(--text-dark); }
.process-step p { font-size: .85rem; color: var(--text-mid); line-height: 1.65; }
.process-step:hover h3 { color: var(--text-dark) !important; }
.process-step:hover p { color: var(--text-mid) !important; }

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
    background: var(--grad-primary);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    text-align: center;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%, rgba(240,165,0,.12), transparent),
        radial-gradient(ellipse 40% 60% at 80% 50%, rgba(33,161,241,.15), transparent);
}
.cta-shapes .cta-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.06);
}
.cta-circle-1 { width: 400px; height: 400px; top: -200px; right: -100px; }
.cta-circle-2 { width: 250px; height: 250px; bottom: -100px; left: -50px; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -.5px;
}
.cta-content p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 540px; margin: 0 auto 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-trust { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-trust-item { display: flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.7); font-size: .82rem; }
.cta-trust-item i { color: var(--accent); }

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero {
    background: var(--grad-hero);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 80% 50%, rgba(33,161,241,.2), transparent),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -.5px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .85rem;
}
.breadcrumb li { color: rgba(255,255,255,.6); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: .5rem; opacity: .5; }
.breadcrumb li a { color: rgba(255,255,255,.8); }
.breadcrumb li a:hover { color: var(--accent); }
.breadcrumb li:last-child { color: var(--accent); font-weight: 500; }

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-image-card {
    background: var(--grad-primary);
    border-radius: var(--radius-xl);
    padding: 3rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.about-image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(33,161,241,.3), transparent);
}

/* Darker variant used for homepage conditions card */
.about-image-card.about-image-card-deep {
    background: linear-gradient(145deg, #071a33 0%, #0d315d 55%, #123f74 100%);
}
.about-image-card.about-image-card-deep::before {
    background:
        radial-gradient(ellipse 70% 55% at 75% 15%, rgba(126, 179, 234, 0.14), transparent 62%),
        linear-gradient(180deg, rgba(3, 11, 24, 0.1), rgba(3, 11, 24, 0.28));
}
.about-icon-big { position: absolute; top: 2rem; right: 2rem; font-size: 5rem; opacity: .08; }
.about-card-content { position: relative; z-index: 1; }
.about-card-content h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: .5rem; }
.about-card-content p { opacity: .85; font-size: .9rem; }
.about-badges {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-top: 1.2rem;
}
.about-badge {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    padding: .5rem .8rem;
    font-size: .82rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.about-content .section-label { margin-bottom: .8rem; }
.about-content h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    letter-spacing: -.3px;
}
.about-content p { color: var(--text-mid); line-height: 1.8; margin-bottom: 1rem; }
.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    margin: 1.8rem 0 2.2rem;
}
.highlight {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.highlight:hover { background: var(--primary-light); border-color: var(--primary); }
.highlight i { color: var(--primary); font-size: .9rem; flex-shrink: 0; }
.highlight span { font-size: .85rem; font-weight: 600; color: var(--text-dark); }

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.8rem;
}
.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}
.value-card::after {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0; right: 0;
    height: 3px;
    background: var(--grad-primary);
    transition: bottom .3s ease;
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.value-card:hover::after { bottom: 0; }
.value-card > i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: var(--transition-bounce);
    display: block;
}
.value-card:hover > i { transform: scale(1.15) rotate(-5deg); color: var(--accent-dark); }
.value-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.value-card p { font-size: .87rem; color: var(--text-mid); line-height: 1.65; }

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.team-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition-slow);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-avatar {
    background: var(--grad-primary);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,.4);
    position: relative;
    overflow: hidden;
}
.team-avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 30%, rgba(255,255,255,.15), transparent);
}
.team-body { padding: 2rem; }
.team-body h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin-bottom: .2rem; }
.team-title { color: var(--primary); font-size: .82rem; font-weight: 600; display: block; margin-bottom: 1rem; }
.team-body p { font-size: .88rem; color: var(--text-mid); line-height: 1.7; }

/* ================================================================
   SERVICES DETAIL
   ================================================================ */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}
.service-detail-main {}
.service-detail-icon {
    width: 80px; height: 80px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(26,111,196,.15);
}
.service-detail-main h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: .8rem;
    letter-spacing: -.3px;
}
.service-intro { font-size: 1.1rem; color: var(--text-mid); margin-bottom: 2rem; line-height: 1.75; }
.service-body { color: var(--text-mid); line-height: 1.8; }
.service-body h3 { font-family: var(--font-head); color: var(--text-dark); margin: 2rem 0 .7rem; font-size: 1.1rem; }
.service-body p { margin-bottom: 1rem; }
.service-body ul { list-style: none; padding: 0; margin-bottom: 1.2rem; }
.service-body ul li {
    padding: .4rem 0 .4rem 1.5rem;
    position: relative;
    font-size: .95rem;
}
.service-body ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
}
.service-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }

/* Sidebar */
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}
.sidebar-widget h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    padding-bottom: .8rem;
    border-bottom: 2px solid var(--primary-light);
    position: relative;
}
.sidebar-widget h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}
.sidebar-service-list { display: flex; flex-direction: column; gap: .3rem; }
.sidebar-service-list a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .8rem;
    border-radius: var(--radius-sm);
    color: var(--text-mid);
    font-size: .88rem;
    transition: var(--transition-fast);
    font-weight: 500;
}
.sidebar-service-list a:hover,
.sidebar-service-list a.active { background: var(--primary-light); color: var(--primary); padding-left: 1rem; }
.sidebar-contact { background: var(--grad-primary) !important; border: none !important; }
.sidebar-contact h4 { color: var(--white) !important; border-bottom-color: rgba(255,255,255,.2) !important; }
.sidebar-contact h4::after { background: var(--accent) !important; }
.sidebar-contact p { color: rgba(255,255,255,.8); font-size: .88rem; margin-bottom: .8rem; }

/* Hours List */
.hours-list { display: flex; flex-direction: column; gap: .5rem; }
.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    padding: .4rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-mid);
}
.hours-list li:last-child { border: none; }
.hours-list li span:first-child { font-weight: 600; color: var(--text-dark); }

/* ================================================================
   BLOG
   ================================================================ */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 3rem;
    align-items: start;
}
.blog-grid { display: grid; gap: 2.5rem; }
.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border);
    transition: var(--transition-slow);
    display: grid;
    grid-template-columns: 260px 1fr;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card-image {
    position: relative;
    background: var(--grad-primary);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.blog-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 40%, rgba(255,255,255,.12), transparent);
}
.blog-image-placeholder {
    color: rgba(255,255,255,.25);
    font-size: 3.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition-bounce);
}
.blog-card:hover .blog-image-placeholder { transform: scale(1.15) rotate(-5deg); color: rgba(255,255,255,.4); }
.blog-image-placeholder.large { font-size: 6rem; width: 100%; height: 300px; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; border-radius: var(--radius-lg); margin-bottom: 2rem; }
.blog-category {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--accent);
    color: var(--dark-bg);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: .3rem .7rem;
    border-radius: var(--radius-full);
    z-index: 1;
}
.blog-card-body { padding: 2rem 2rem 2rem 1.8rem; }
.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .8rem;
    flex-wrap: wrap;
}
.blog-meta span {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .76rem;
    color: var(--text-light);
    font-weight: 500;
}
.blog-card-body h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: .7rem; line-height: 1.4; }
.blog-card-body h3 a { color: var(--text-dark); }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body p { font-size: .88rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1.2rem; }
.read-more { display: inline-flex; align-items: center; gap: .4rem; color: var(--primary); font-weight: 600; font-size: .85rem; transition: gap .25s ease; }
.read-more:hover { gap: .7rem; color: var(--primary-dark); }

/* Blog Detail */
.blog-detail-main {}
.blog-detail-header { margin-bottom: 1.5rem; }
.blog-detail-header .blog-category { position: static; display: inline-block; margin-bottom: .8rem; }
.blog-content { color: var(--text-mid); line-height: 1.9; font-size: .98rem; }
.blog-content h2, .blog-content h3 { font-family: var(--font-head); color: var(--text-dark); margin: 2rem 0 .7rem; }
.blog-content p { margin-bottom: 1.2rem; }
.blog-content ul, .blog-content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.blog-content li { margin-bottom: .4rem; }
.blog-detail-footer { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }

/* Sidebar extras */
.sidebar-search {
    display: flex;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-light);
}
.sidebar-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: .7rem 1rem;
    font-size: .88rem;
    font-family: var(--font-body);
    color: var(--text-dark);
    outline: none;
}
.sidebar-search button {
    padding: .7rem 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: background .2s ease;
}
.sidebar-search button:hover { background: var(--primary-dark); }
.sidebar-categories { display: flex; flex-direction: column; gap: .3rem; }
.sidebar-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .6rem;
    border-radius: var(--radius-sm);
    color: var(--text-mid);
    font-size: .88rem;
    transition: var(--transition-fast);
}
.sidebar-categories a:hover { background: var(--primary-light); color: var(--primary); padding-left: 1rem; }
.sidebar-categories span { background: var(--border); color: var(--text-light); font-size: .72rem; padding: .1rem .5rem; border-radius: var(--radius-full); }
.sidebar-post { padding: .8rem 0; border-bottom: 1px solid var(--border); }
.sidebar-post:last-child { border: none; }
.sidebar-post a { display: block; font-size: .88rem; font-weight: 600; color: var(--text-dark); line-height: 1.45; margin-bottom: .3rem; transition: color .2s ease; }
.sidebar-post a:hover { color: var(--primary); }
.sidebar-post-date { font-size: .74rem; color: var(--text-light); display: flex; align-items: center; gap: .3rem; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}
.contact-info h2 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; margin-bottom: .8rem; letter-spacing: -.3px; }
.contact-info > p { color: var(--text-mid); margin-bottom: 2rem; line-height: 1.75; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}
.contact-card:hover { transform: translateX(4px); border-color: var(--primary); box-shadow: var(--shadow-sm); }
.contact-card > i {
    width: 44px; height: 44px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.contact-card:hover > i { background: var(--primary); color: var(--white); }
.contact-card > div { display: flex; flex-direction: column; gap: .2rem; }
.contact-card strong { font-size: .88rem; font-weight: 700; color: var(--text-dark); }
.contact-card span { font-size: .85rem; color: var(--text-mid); }
.contact-card span a { color: var(--primary); }
.contact-card span a:hover { color: var(--primary-dark); }

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.contact-form-wrap h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; margin-bottom: .5rem; }
.contact-form-wrap > p { color: var(--text-mid); font-size: .9rem; margin-bottom: 2rem; }
.map-container { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); margin: 0; }
.map-container iframe { display: block; }

/* ================================================================
   FORMS
   ================================================================ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.2rem; }
.form-group label { font-size: .83rem; font-weight: 600; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: .75rem 1rem;
    font-size: .92rem;
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--off-white);
    transition: var(--transition-fast);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26,111,196,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }
.error { font-size: .78rem; color: var(--error); font-weight: 500; }
.alert {
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    margin-bottom: 1.2rem;
    font-size: .9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.alert-success { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); color: #065f46; }
.alert-success::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }

/* ================================================================
   APPOINTMENT PAGE
   ================================================================ */
.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}
.appointment-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.appointment-form-wrap h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; margin-bottom: .5rem; }
.appointment-form-wrap > p { color: var(--text-mid); font-size: .9rem; margin-bottom: 2rem; }
.appointment-sidebar { display: flex; flex-direction: column; gap: 0; }
.sidebar-widget:last-child { margin-bottom: 0; }

/* Insurance logos strip */
.insurance-logos {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .8rem;
}
.ins-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: .3rem .7rem;
    font-size: .74rem;
    font-weight: 600;
    color: var(--text-mid);
    transition: var(--transition-fast);
}
.ins-chip:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-accent);
}
.footer-wave {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(26,111,196,.04) 0%, transparent 100%);
    pointer-events: none;
}
.footer-top { padding: 5rem 0 3rem; position: relative; z-index: 1; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3.5rem;
}
.footer-brand {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    display: block;
    margin-bottom: 1rem;
    letter-spacing: -.5px;
}
.site-logo-footer {
    height: 64px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}
.footer-col > p { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .6rem; flex-wrap: wrap; }
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    border: 1px solid rgba(255,255,255,.08);
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 8px 20px rgba(26,111,196,.4); }
.footer-col h4 {
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.4rem;
    position: relative;
    padding-bottom: .7rem;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--accent);
    border-radius: 1px;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a {
    color: rgba(255,255,255,.55);
    font-size: .88rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.footer-col ul li a::before { content: '→'; font-size: .7rem; opacity: 0; transform: translateX(-4px); transition: all .2s ease; }
.footer-col ul li a:hover { color: var(--accent); padding-left: .3rem; }
.footer-col ul li a:hover::before { opacity: 1; transform: translateX(0); }

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    color: rgba(255,255,255,.55);
    font-size: .85rem;
    margin-bottom: .7rem;
    line-height: 1.5;
}
.contact-list li i { color: var(--accent); margin-top: .15rem; font-size: .85rem; flex-shrink: 0; }
.contact-list li a { color: rgba(255,255,255,.65); }
.contact-list li a:hover { color: var(--accent); }

.footer-hours { display: flex; flex-direction: column; gap: .4rem; margin-top: .5rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-hours li span:first-child { font-weight: 600; color: rgba(255,255,255,.7); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 1.5rem 0;
    position: relative;
    z-index: 1;
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .8rem;
}
.footer-bottom p { color: rgba(255,255,255,.4); font-size: .82rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.4); font-size: .78rem; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ================================================================
   FLOATING ACTION BUTTONS
   ================================================================ */
.fab-group {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 800;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .7rem;
}
.fab {
    display: flex;
    align-items: center;
    gap: .5rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-bounce);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    border: none;
}
.fab-phone {
    width: 48px; height: 48px;
    background: var(--success);
    color: var(--white);
    justify-content: center;
    font-size: .95rem;
    box-shadow: 0 4px 20px rgba(16,185,129,.4);
}
.fab-phone:hover { background: #059669; transform: scale(1.1) translateY(-2px); color: var(--white); }
.fab-book {
    background: var(--grad-accent);
    color: var(--dark-bg);
    padding: .7rem 1.3rem;
    box-shadow: var(--shadow-accent);
    font-size: .85rem;
}
.fab-book:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 30px rgba(240,165,0,.5); color: var(--dark-bg); }
.fab-top {
    width: 44px; height: 44px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition);
    border: 1.5px solid var(--border);
    font-size: .85rem;
}
.fab-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.fab-top:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(.9); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Keep interactions reliable regardless of animation timing */
[data-aos],
[data-aos].aos-animate { pointer-events: auto; }

/* ── Custom directional slide animations ── */
[data-aos="slide-from-left"] {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
[data-aos="slide-from-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}
[data-aos="slide-from-right"] {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
[data-aos="slide-from-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}
[data-aos="slide-from-bottom"] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
[data-aos="slide-from-bottom"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
[data-aos="scale-in"] {
    opacity: 0;
    transform: scale(.88);
    transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.34,1.2,.64,1);
}
[data-aos="scale-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* ================================================================
   RESPONSIVE — TABLET (≤1024px)
   ================================================================ */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; padding: 5rem 0; }
    .hero-content { order: 1; }
    .hero-content p { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { display: none; }

    .why-us-grid { grid-template-columns: 1fr; gap: 3rem; }
    .why-floating-badge { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .service-detail-grid { grid-template-columns: 1fr; }
    .appointment-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-card { grid-template-columns: 1fr; }
    .blog-card-image { min-height: 200px; }
    .mega-dropdown { min-width: 500px; }
    .mega-dropdown-inner { grid-template-columns: 1fr 1fr; }
    .mega-cta { display: none; }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤768px)
   ================================================================ */
@media (max-width: 768px) {
    :root { --header-h: 64px; }

    .top-bar-hours { display: none; }
    .top-bar-right .top-bar-socials { display: none; }

    /* Keep mobile navbar accessible at all times */
    .top-bar { display: none; }
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1200;
    }
    #main-content {
        padding-top: var(--header-h);
    }

    .nav-toggle { display: flex; }
    .nav-overlay { display: none; }
    .nav-overlay {
        top: var(--header-h);
        height: calc(100vh - var(--header-h));
        inset: auto 0 0 0;
        z-index: 1190;
    }

    .nav-links {
        position: fixed;
        top: var(--header-h);
        right: -100%;
        width: 300px;
        height: calc(100vh - var(--header-h));
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem 2rem;
        z-index: 999;
        transition: right .35s cubic-bezier(.4,0,.2,1);
        box-shadow: var(--shadow-xl);
        gap: .2rem;
        overflow-y: auto;
    }
    .nav-links.open { right: 0; }
    .nav-links > li { width: 100%; }
    .nav-links > li > a { padding: .75rem 1rem; font-size: .95rem; }
    .nav-links > li > a::after { display: none; }

    .mega-dropdown {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: all !important;
        box-shadow: none;
        border: none;
        border-radius: 0;
        min-width: 100%;
        display: none;
        overflow: hidden;
    }
    .has-dropdown.open .mega-dropdown { display: block; }
    .mega-dropdown-inner { grid-template-columns: 1fr; }
    .mega-col { border: none; padding: .5rem 1rem; }
    .mega-cta { display: none; }

    .nav-book-btn { width: 100%; margin-top: .5rem; }
    .btn-book { justify-content: center; width: 100%; border-radius: var(--radius) !important; }

    .hero { min-height: auto; }
    .hero-container { padding: 4rem 0; gap: 2rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .site-logo-nav { height: 44px; }
    .site-logo-footer { height: 52px; }

    .section { padding: 4rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .process-grid { grid-template-columns: 1fr; }
    .about-highlights { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-btns, .cta-btns { flex-direction: column; align-items: center; }
    .contact-form-wrap { padding: 2rem 1.5rem; }
    .appointment-form-wrap { padding: 2rem 1.5rem; }
    .fab-book span { display: none; }
    .fab-book { width: 52px; height: 52px; justify-content: center; padding: 0; font-size: 1.1rem; }
}

/* Insurance chips on services page */
.insurance-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    justify-content: center;
}

/* ================================================================
   CONDITIONS GRID
   ================================================================ */
.conditions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    justify-content: center;
}
.condition-chip {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    padding: .65rem 1.2rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-xs);
    transition: var(--transition-bounce);
    cursor: default;
}
.condition-chip i { color: var(--primary); font-size: .9rem; transition: var(--transition-fast); }
.condition-chip:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26,111,196,.3);
}
.condition-chip:hover i { color: var(--accent); }

/* ================================================================
   MT-2 utility
   ================================================================ */
.mt-2 { margin-top: 1.2rem; }

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 1.9rem; }
    .top-bar-left a:last-of-type { display: none; }
}
