/* ========================================
   THE DERMHAEM CLINIC - MAIN STYLESHEET
   Premium Medical Website - Core PHP
   ======================================== */

/* CSS Variables */
:root {
    --primary: #8B5E3C;
    --primary-dark: #6B4A2F;
    --primary-light: #A67B5B;
    --accent: #C62828;
    --accent-light: #E53935;
    --gold: #D4AF37;
    --gold-light: #F4D03F;
    --cream: #FAF7F2;
    --cream-dark: #F5EFE6;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray: #666666;
    --gray-light: #999999;
    --shadow: rgba(139, 94, 60, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --glass: rgba(255, 255, 255, 0.85);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--cream);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 56px; }
h2 { font-size: 42px; }
h3 { font-size: 32px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

p {
    font-size: 16px;
    color: var(--gray);
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 8px 30px var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 94, 60, 0.3);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(198, 40, 40, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(198, 40, 40, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 8px 30px var(--shadow-dark);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 42px;
    color: var(--primary-dark);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--primary));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 24px auto 0;
}

/* Glassmorphism */
.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px var(--shadow);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Header logo image */
.logo-img {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
    transition: opacity .25s, transform .25s;
}
.logo:hover .logo-img {
    opacity: .88;
    transform: scale(1.02);
}

/* Footer logo — white pill background so it reads well on dark footer */
.logo-img-footer {
    height: 90px;
    background: #fff;
    padding: 8px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

/* Mega Menu */
.has-mega-menu {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 900px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 80px var(--shadow-dark);
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1001;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mega-menu-column h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cream-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-menu-column h4 i {
    color: var(--gold);
}

.mega-menu-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega-menu-list a {
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
    padding: 4px 0;
}

.mega-menu-list a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.mega-menu-list a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.mega-menu-list a:hover::before {
    background: var(--primary);
    transform: scale(1.3);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-dark);
}

.phone-link i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
}

.mobile-menu-btn {
    display: none;
    width: 45px;
    height: 45px;
    background: var(--primary);
    border: none;
    border-radius: 10px;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 50%, #F0E6D8 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--primary));
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
    50% { transform: translateY(-100px) rotate(180deg); opacity: 0.2; }
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 94, 60, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 100px;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    box-shadow: 0 8px 30px var(--shadow);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    color: var(--gold);
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-image img {
    border-radius: 30px;
    box-shadow: 0 30px 80px var(--shadow-dark);
}

.hero-float-card {
    position: absolute;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 50px var(--shadow);
    animation: floatCard 4s infinite ease-in-out;
}

.hero-float-card.card-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    bottom: 20%;
    right: -20px;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-float-card h4 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 5px;
}

.hero-float-card p {
    font-size: 14px;
    color: var(--gray);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-main-img {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px var(--shadow);
}

.about-main-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

.about-main-img:hover img {
    transform: scale(1.05);
}

.about-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    padding: 30px;
    border-radius: 20px;
    color: var(--white);
    text-align: center;
    box-shadow: 0 15px 50px var(--shadow);
}

.about-experience h3 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.about-experience p {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-top: 5px;
}

.about-content h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-content h3::before {
    content: '';
    width: 40px;
    height: 3px;
    background: var(--gold);
}

.about-content h2 {
    font-size: 42px;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.about-content p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature i {
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.about-feature span {
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
}

/* Services Section */
.services-section {
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 10px 40px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.services-scroll::-webkit-scrollbar {
    height: 8px;
}

.services-scroll::-webkit-scrollbar-track {
    background: var(--cream-dark);
    border-radius: 4px;
}

.services-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 4px;
}

.service-card {
    flex: 0 0 350px;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: var(--transition);
    scroll-snap-align: start;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px var(--shadow-dark);
}

.service-card-img {
    height: 200px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-card-img img {
    transform: scale(1.1);
}

.service-card-content {
    padding: 30px;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-card-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
}

.service-card-link i {
    transition: var(--transition-fast);
}

.service-card-link:hover i {
    transform: translateX(5px);
}

/* Split Section */
.split-section {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.split-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
    cursor: pointer;
    transition: var(--transition);
}

.split-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.split-panel.dermatology::before {
    background-image: url('../images/dermatology-abstract.jpg');
}

.split-panel.haematology::before {
    background-image: url('../images/haematology-abstract.jpg');
}

.split-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 94, 60, 0.9) 0%, rgba(107, 74, 47, 0.95) 100%);
    transition: var(--transition);
}

.split-panel.haematology::after {
    background: linear-gradient(135deg, rgba(198, 40, 40, 0.85) 0%, rgba(150, 30, 30, 0.95) 100%);
}

.split-panel:hover::before {
    transform: scale(1.1);
}

.split-panel:hover::after {
    opacity: 0.95;
}

.split-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.split-icon {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.split-panel:hover .split-icon {
    transform: scale(1.1) rotate(10deg);
    background: rgba(255,255,255,0.25);
}

.split-content h3 {
    font-size: 36px;
    margin-bottom: 16px;
}

.split-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    line-height: 1.7;
}

.split-content .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.split-content .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Doctors Section */
.doctors-section {
    background: var(--white);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.doctor-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 50px var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px var(--shadow-dark);
}

.doctor-image {
    position: relative;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
}

.doctor-card:hover .doctor-social {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.doctor-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    transition: var(--transition-fast);
}

.doctor-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.doctor-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-specialty {
    display: inline-block;
    background: var(--cream);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    width: fit-content;
}

.doctor-info h3 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.doctor-info .qualification {
    font-size: 14px;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 20px;
}

.doctor-info p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.doctor-stats {
    display: flex;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--cream-dark);
}

.doctor-stat h4 {
    font-size: 24px;
    color: var(--primary);
}

.doctor-stat p {
    font-size: 13px;
    color: var(--gray-light);
    margin: 0;
}

/* Treatments Slider */
.treatments-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    overflow: hidden;
}

.treatments-slider {
    position: relative;
    perspective: 1000px;
}

.treatments-track {
    display: flex;
    gap: 30px;
    transition: var(--transition);
}

.treatment-slide {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px var(--shadow);
    transition: var(--transition);
    transform-style: preserve-3d;
}

.treatment-slide:hover {
    transform: translateZ(30px) rotateY(5deg);
}

.treatment-slide-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.treatment-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.treatment-slide:hover .treatment-slide-img img {
    transform: scale(1.1);
}

.treatment-slide-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.treatment-slide-content {
    padding: 30px;
}

.treatment-slide-content h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.treatment-slide-content p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.treatment-slide-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--cream-dark);
}

.treatment-slide-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
}

.treatment-slide-meta span i {
    color: var(--gold);
}

/* Why Choose Us */
.why-section {
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-clinic.jpg') center/cover;
    opacity: 0.05;
}

.why-section .section-title,
.why-section .section-subtitle {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.why-section .section-title::after {
    background: linear-gradient(90deg, var(--gold), var(--primary-light));
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--primary-light) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: var(--white);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    transform: rotateY(360deg);
}

.why-card h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 10px 40px var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-dark);
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--gray);
    font-weight: 500;
}

/* Gallery Section */
.gallery-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 94, 60, 0.8) 0%, rgba(107, 74, 47, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    transform: scale(0);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Testimonials */
.testimonials-section {
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-slide {
    background: var(--white);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 50px var(--shadow);
    text-align: center;
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px;
    border: 4px solid var(--gold);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--gold);
    font-size: 18px;
}

.testimonial-text {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 14px;
    color: var(--gray-light);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.testimonial-nav button {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--cream-dark);
    border-radius: 50%;
    color: var(--primary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-nav button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    background: var(--cream-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonial-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

/* Blog Section */
.blog-section {
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px var(--shadow-dark);
}

.blog-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.1);
}

.blog-card-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.blog-card-content {
    padding: 30px;
}

.blog-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.blog-card-meta span {
    font-size: 13px;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-meta span i {
    color: var(--gold);
}

.blog-card h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.blog-card:hover h3 {
    color: var(--primary);
}

.blog-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
}

.blog-card-link i {
    transition: var(--transition-fast);
}

.blog-card:hover .blog-card-link i {
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Contact Strip */
.contact-strip {
    background: var(--white);
    padding: 0;
}

.contact-strip-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    min-height: 500px;
}

.contact-map {
    position: relative;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info-panel {
    padding: 60px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-panel h3 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.contact-info-item p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* Map Section - Fully Responsive */
.contact-map-section { padding: 0; }
.contact-map-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    min-height: 520px;
    align-items: stretch;
}
.contact-map-grid .contact-map { min-height: 360px; }
.contact-reach-panel {
    padding: 50px 45px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-reach-panel h3 {
    font-size: 26px;
    color: var(--primary-dark);
    margin-bottom: 24px;
    line-height: 1.25;
}
@media (max-width: 992px) {
    .contact-map-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .contact-map-grid .contact-map { min-height: 380px; height: 380px; }
    .contact-reach-panel { padding: 40px 32px; }
    .contact-reach-panel h3 { font-size: 24px; margin-bottom: 22px; }
}
@media (max-width: 768px) {
    .contact-map-grid .contact-map { min-height: 320px; height: 320px; }
    .contact-reach-panel { padding: 35px 24px; }
    .contact-reach-panel h3 { font-size: 22px; margin-bottom: 20px; }
    .contact-reach-panel .contact-info-item { gap: 14px; margin-bottom: 22px; }
    .contact-reach-panel .contact-info-item i { width: 44px; height: 44px; font-size: 17px; border-radius: 10px; }
    .contact-reach-panel .contact-info-item h4 { font-size: 15px; }
    .contact-reach-panel .contact-info-item p { font-size: 14px; }
}
@media (max-width: 480px) {
    .contact-map-grid .contact-map { min-height: 260px; height: 260px; }
    .contact-reach-panel { padding: 28px 18px; }
    .contact-reach-panel h3 { font-size: 20px; margin-bottom: 18px; }
    .contact-reach-panel .contact-info-item { margin-bottom: 18px; gap: 12px; }
    .contact-reach-panel .contact-info-item i { width: 40px; height: 40px; font-size: 15px; }
    .contact-reach-panel .contact-info-item h4 { font-size: 14px; }
    .contact-reach-panel .contact-info-item p { font-size: 13px; line-height: 1.55; }
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.contact-social a {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo-text {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand .logo-text span {
    color: rgba(255,255,255,0.7);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-title {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
}

.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-links a:hover::before {
    background: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-contact p i {
    color: var(--gold);
    margin-top: 4px;
}

.footer-newsletter p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 14px;
    outline: none;
    transition: var(--transition-fast);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form input:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,0.15);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Page Header */
.page-header {
    padding: 200px 0 50px; /* fallback; JS overrides padding-top to exact header+topbar height */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-clinic.jpg') center/cover;
    opacity: 0.1;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 16px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

.breadcrumb .current {
    color: var(--gold);
}

/* About Page */
.about-story {
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mission-vision {
    background: var(--cream);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mv-card {
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 15px 50px var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    color: var(--white);
}

.mv-card h3 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.mv-card p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
}

.values-section {
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--cream);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    background: var(--primary);
    transform: translateY(-10px);
}

.value-card:hover h3,
.value-card:hover p {
    color: var(--white);
}

.value-card:hover .value-icon {
    background: var(--white);
    color: var(--primary);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: var(--white);
    transition: var(--transition);
}

.value-card h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 12px;
    transition: var(--transition);
}

.value-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
    transition: var(--transition);
}

/* Services Page */
.services-categories {
    background: var(--cream);
}

.service-category {
    background: var(--white);
    border-radius: 30px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 15px 50px var(--shadow);
}

.service-category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--cream-dark);
}

.service-category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
}

.service-category-header h3 {
    font-size: 32px;
    color: var(--primary-dark);
}

.service-category-header p {
    font-size: 16px;
    color: var(--gray);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--cream);
    border-radius: 16px;
    transition: var(--transition);
    text-decoration: none;
}

.service-item:hover {
    background: var(--primary);
    transform: translateX(10px);
}

.service-item:hover i,
.service-item:hover h4,
.service-item:hover p {
    color: var(--white);
}

.service-item i {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.service-item h4 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 4px;
    transition: var(--transition);
}

.service-item p {
    font-size: 14px;
    color: var(--gray-light);
    transition: var(--transition);
}

/* Contact Page */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-form-wrapper {
    background: var(--cream);
    padding: 50px;
    border-radius: 30px;
}

.contact-form-wrapper h3 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--cream-dark);
    border-radius: 12px;
    background: var(--white);
    font-size: 15px;
    color: var(--black);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 94, 60, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .mega-menu {
        width: 700px;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-image {
        display: none;
    }
    
    .about-grid,
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .split-section {
        grid-template-columns: 1fr;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    
    .doctor-card {
        grid-template-columns: 1fr;
    }
    
    .doctor-image {
        height: 350px;
    }
    
    .treatment-slide {
        flex: 0 0 calc(50% - 15px);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-strip-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .mv-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .service-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .treatment-slide {
        flex: 0 0 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cream);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--cream-dark);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--gold));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.service-detail-hero .page-header-content {
    max-width: 980px;
}

.service-detail-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
    max-width: 920px;
    margin: 16px auto 0;
}

.service-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    font-weight: 600;
    margin-bottom: 22px;
}

.service-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 24px;
}

.service-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.service-content-card {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 30px;
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 42px;
    box-shadow: var(--shadow-md);
}

.service-content-section[style*="white"] .service-content-card {
    background: var(--cream);
}

.service-section-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
    font-family: var(--font-heading);
}

.service-section-copy h2 {
    color: var(--primary-dark);
    font-size: 32px;
    margin-bottom: 18px;
}

.service-section-copy p {
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 16px;
}

.service-final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}

.service-final-cta .service-content-card {
    background: transparent;
    box-shadow: none;
    padding: 20px 0;
}

.service-final-cta .service-section-number {
    background: rgba(255, 255, 255, 0.18);
}

.service-final-cta h2,
.service-final-cta p {
    color: var(--white);
}

@media (max-width: 768px) {
    .service-content-card {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .service-section-copy h2 {
        font-size: 26px;
    }

    .service-detail-hero p {
        font-size: 16px;
    }
}

/* ============================================================
   TOP BAR
   ============================================================ */

/* Ticker animation */
@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.topbar-ticker {
    background: linear-gradient(90deg, var(--primary-dark) 0%, #6b3a1a 50%, var(--primary-dark) 100%);
    background-size: 200% 100%;
    animation: topbarShimmer 4s linear infinite;
    overflow: hidden;
    height: 26px;
    display: flex;
    align-items: center;
}
@keyframes topbarShimmer {
    0%   { background-position: 0% 0%; }
    50%  { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}
.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerScroll 28s linear infinite;
    gap: 0;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.88);
    font-size: 12px;
    padding: 0 40px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.ticker-item i { color: var(--gold); font-size: 11px; }
.ticker-dot {
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gold);
    margin: 0 16px;
    flex-shrink: 0;
}

.topbar {
    background: linear-gradient(135deg, #2c1508 0%, #4a2f1a 100%);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 7px 0;
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1100;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.topbar.topbar-hidden {
    transform: translateY(-100%);
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.82);
    transition: color .2s;
    text-decoration: none;
}
.topbar-item i { color: var(--gold); font-size: 12px; }
.topbar-item:hover { color: var(--gold); }
.topbar-divider { opacity: .35; font-size: 12px; }
.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.topbar-social {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    transition: var(--transition-fast);
}
.topbar-social:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }
.topbar-whatsapp:hover { background: #25D366; }
.topbar-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--primary-light) 100%);
    color: #fff !important;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    display: flex; align-items: center; gap: 6px;
    transition: var(--transition-fast);
    text-decoration: none;
}
.topbar-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(212,175,55,.4); }

/* Header top offset is set dynamically by JS based on topbar height */
@media (max-width:900px) {
    .topbar-ticker { display: none; }
    .topbar-left .topbar-item:nth-child(n+4),
    .topbar-left .topbar-item:nth-child(5) { display: none; }
    .topbar-divider:last-of-type { display: none; }
}
@media (max-width:640px) {
    .topbar { display: none; }
    .header { top: 0 !important; }
}

/* ============================================================
   SERVICE PAGE — HERO BANNER
   ============================================================ */
.sp-hero-banner {
    position: relative;
    overflow: hidden;
    padding: 148px 0 80px;
    background: linear-gradient(135deg, #FAF7F2 0%, #F5EFE6 60%, #EDE0D0 100%);
    border-bottom: 1px solid rgba(139,94,60,0.12);
}
/* Decorative dots pattern background */
.sp-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.04;
    pointer-events: none;
}
.sp-hero-bg {
    position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none;
}
.sp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.18;
    animation: spBlobAnim 14s infinite ease-in-out alternate;
}
.sp-blob-1 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    top: -120px; right: 35%;
    animation-delay: 0s;
}
.sp-blob-2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    bottom: -80px; left: 5%;
    animation-delay: 4s;
}
.sp-blob-3 {
    width: 220px; height: 220px;
    background: radial-gradient(circle, #C62828 0%, transparent 70%);
    top: 40%; right: 5%;
    animation-delay: 7s;
    opacity: 0.08;
}
@keyframes spBlobAnim {
    from { transform: scale(1) translate(0,0); }
    to   { transform: scale(1.15) translate(20px,-20px); }
}
.sp-mesh { display: none; }

/* Hero grid: text left, image right */
.sp-hero-inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}
.sp-hero-text { max-width: 680px; }
.sp-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.sp-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139,94,60,0.1);
    border: 1.5px solid rgba(139,94,60,0.3);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
}
.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-light);
}
.sp-breadcrumb a {
    color: var(--gray);
    transition: color .2s;
}
.sp-breadcrumb a:hover { color: var(--primary); }
.sp-breadcrumb i { font-size: 9px; opacity: .5; }
.sp-breadcrumb span { color: var(--primary-dark); font-weight: 500; }
.sp-hero-title {
    font-size: clamp(30px, 4vw, 52px);
    color: var(--primary-dark);
    line-height: 1.15;
    margin-bottom: 18px;
    animation: fadeInUp .8s ease both;
}
.sp-hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sp-hero-desc {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.85;
    max-width: 600px;
    margin-bottom: 32px;
    animation: fadeInUp .8s ease .15s both;
}
.sp-info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    animation: fadeInUp .8s ease .25s both;
}
.sp-info-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid rgba(139,94,60,0.15);
    color: var(--gray);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    box-shadow: 0 2px 12px var(--shadow);
}
.sp-info-pill i { color: var(--primary); }
.sp-info-pill a { color: var(--gray); }
.sp-hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp .8s ease .35s both;
}
.sp-hero-wave { display: none; }

/* Hero Image Card */
.sp-hero-image-wrap {
    position: relative;
    animation: fadeInRight .9s ease .2s both;
}
.sp-hero-img-card {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(139,94,60,0.2);
    position: relative;
    aspect-ratio: 4/5;
}
.sp-hero-img-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.sp-hero-img-card:hover img { transform: scale(1.04); }
.sp-hero-img-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(26,15,7,0.85));
}
.sp-hero-img-doctor {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sp-hero-img-doctor-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--primary-light) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px;
    flex-shrink: 0;
}
.sp-hero-img-doctor-info strong {
    display: block; font-size: 14px; color: #fff; font-weight: 600;
}
.sp-hero-img-doctor-info span {
    font-size: 12px; color: rgba(255,255,255,0.7);
}
/* Floating badge on image */
.sp-hero-img-badge {
    position: absolute;
    top: 20px; right: -16px;
    background: var(--white);
    border-radius: 14px;
    padding: 12px 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    text-align: center;
    animation: floatCard 4s infinite ease-in-out;
}
.sp-hero-img-badge strong {
    display: block;
    font-size: 22px;
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
}
.sp-hero-img-badge span {
    font-size: 11px;
    color: var(--gray-light);
}
.sp-hero-img-badge2 {
    position: absolute;
    bottom: 80px; left: -16px;
    background: var(--white);
    border-radius: 14px;
    padding: 12px 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    text-align: center;
    animation: floatCard 4s infinite ease-in-out;
    animation-delay: 2s;
}
.sp-hero-img-badge2 strong {
    display: block;
    font-size: 20px;
    color: var(--accent);
    font-weight: 700;
    line-height: 1;
}
.sp-hero-img-badge2 span {
    font-size: 11px;
    color: var(--gray-light);
}

/* Hero responsive */
@media (max-width:1100px) {
    .sp-hero-inner { grid-template-columns: 1fr 340px; gap: 40px; }
}
@media (max-width:860px) {
    .sp-hero-inner { grid-template-columns: 1fr; }
    .sp-hero-image-wrap { display: none; }
    .sp-hero-banner { padding: 130px 0 60px; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.sp-stats-bar {
    background: var(--white);
    padding: 40px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    position: relative;
    z-index: 10;
}
.sp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.sp-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--cream);
    transition: var(--transition);
}
.sp-stat:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow); }
.sp-stat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}
.sp-stat-text strong {
    display: block;
    font-size: 15px;
    color: var(--primary-dark);
    font-weight: 600;
}
.sp-stat-text span {
    font-size: 12px;
    color: var(--gray-light);
}

/* ============================================================
   SERVICE PAGE — SHARED SECTION STYLES
   ============================================================ */
.sp-section { padding: 90px 0; }
.sp-section-light { background: var(--white); }
.sp-section-header {
    text-align: center;
    margin-bottom: 60px;
}
.sp-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(139,94,60,0.08);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.sp-section-header h2 {
    font-size: clamp(26px, 4vw, 40px);
    color: var(--primary-dark);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.25;
}
.sp-section-header h2::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--primary));
    border-radius: 2px;
    margin: 18px auto 0;
}

/* ABOUT SECTION */
.sp-about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}
.sp-section-big-icon {
    width: 140px; height: 140px;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 56px;
    color: #fff;
    margin: 0 auto 24px;
    box-shadow: 0 20px 50px var(--shadow);
    animation: floatCard 5s infinite ease-in-out;
}
.sp-about-accent-box {
    background: var(--primary-dark);
    color: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex; align-items: center; gap: 12px;
    font-size: 14px; font-weight: 500;
    text-align: center; justify-content: center;
}
.sp-about-accent-box i { font-size: 20px; color: var(--gold); }
.sp-section-copy .sp-section-label { margin-bottom: 12px; }
.sp-section-copy h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: left;
}
.sp-section-copy h2::after { display: none; }
.sp-section-copy p { font-size: 16px; line-height: 1.85; margin-bottom: 16px; color: var(--gray); }

/* CAUSES SECTION */
.sp-causes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.sp-cause-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(139,94,60,0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.sp-cause-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--gold), var(--primary));
    border-radius: 4px 0 0 4px;
}
.sp-cause-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px var(--shadow); }
.sp-cause-card-icon {
    width: 54px; height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
    margin-bottom: 16px;
}
.sp-cause-card p { color: var(--gray); line-height: 1.8; font-size: 15px; }

/* SYMPTOMS SECTION */
.sp-symp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.sp-symp-left .sp-section-label { margin-bottom: 12px; }
.sp-symp-left h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: left;
}
.sp-symp-left h2::after { display: none; }
.sp-symp-left p { font-size: 16px; line-height: 1.85; color: var(--gray); margin-bottom: 16px; }
.sp-symp-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(198,40,40,0.07);
    border: 1px solid rgba(198,40,40,0.2);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 14px;
    color: #C62828;
    margin-top: 8px;
}
.sp-symp-warning i { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.sp-symp-right { display: flex; align-items: center; justify-content: center; }
.sp-symp-visual {
    position: relative;
    width: 360px; height: 360px;
    display: flex; align-items: center; justify-content: center;
}
.sp-symp-circle {
    width: 160px; height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 56px; color: #fff;
    box-shadow: 0 0 0 30px rgba(139,94,60,0.08), 0 0 0 60px rgba(139,94,60,0.04);
    animation: pulse 5s infinite;
}
.sp-symp-tags {
    position: absolute; inset: 0;
}
.sp-symp-tag {
    position: absolute;
    background: var(--white);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-dark);
    box-shadow: 0 6px 20px var(--shadow);
    white-space: nowrap;
    animation: tagFloat 6s infinite ease-in-out;
}
.sp-symp-tag:nth-child(1)  { top: 10%; left: 5%; animation-delay: 0s; }
.sp-symp-tag:nth-child(2)  { top: 5%; right: 10%; animation-delay: .5s; }
.sp-symp-tag:nth-child(3)  { top: 30%; right: -5%; animation-delay: 1s; }
.sp-symp-tag:nth-child(4)  { bottom: 30%; right: 0%; animation-delay: 1.5s; }
.sp-symp-tag:nth-child(5)  { bottom: 10%; right: 15%; animation-delay: 2s; }
.sp-symp-tag:nth-child(6)  { bottom: 5%; left: 15%; animation-delay: 2.5s; }
.sp-symp-tag:nth-child(7)  { bottom: 25%; left: -5%; animation-delay: 3s; }
.sp-symp-tag:nth-child(8)  { top: 28%; left: -5%; animation-delay: 3.5s; }
@keyframes tagFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* DIAGNOSIS SECTION */
.sp-diag-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.sp-diag-steps { display: flex; flex-direction: column; gap: 20px; }
.sp-diag-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.06);
    transition: var(--transition);
}
.sp-diag-step.active { transform: translateX(6px); }
.sp-diag-step.reveal-left.active { transform: translateX(0); }
.sp-diag-step:hover { transform: translateX(6px) !important; box-shadow: 0 12px 40px var(--shadow); }
.sp-diag-step-num {
    font-size: 13px; font-weight: 700;
    color: var(--gold);
    width: 34px; flex-shrink: 0;
}
.sp-diag-step-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff;
}
.sp-diag-step-copy h4 { font-size: 15px; color: var(--primary-dark); margin-bottom: 6px; }
.sp-diag-step-copy p { font-size: 13px; color: var(--gray); line-height: 1.6; }
.sp-diag-copy p { font-size: 16px; line-height: 1.85; color: var(--gray); margin-bottom: 18px; }
.sp-diag-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 20px 24px;
    color: #fff;
    margin-top: 8px;
}
.sp-diag-highlight i { font-size: 32px; color: var(--gold); flex-shrink: 0; }
.sp-diag-highlight strong { display: block; font-size: 16px; margin-bottom: 4px; }
.sp-diag-highlight span { font-size: 13px; opacity: .8; }

/* TREATMENT SECTION */
.sp-treatment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.sp-treat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(139,94,60,0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.sp-treat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--primary));
    transform: scaleX(0);
    transition: var(--transition);
}
.sp-treat-card:hover::after { transform: scaleX(1); }
.sp-treat-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px var(--shadow); }
.sp-treat-card-icon {
    width: 64px; height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px var(--shadow);
}
.sp-treat-card h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 10px; }
.sp-treat-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }
.sp-treatment-text { max-width: 800px; margin: 0 auto; text-align: center; }
.sp-treatment-text p { font-size: 16px; line-height: 1.85; color: var(--gray); margin-bottom: 16px; }

/* BENEFITS SECTION */
.sp-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.sp-benefits-left .sp-section-label { margin-bottom: 12px; }
.sp-benefits-left h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: left;
}
.sp-benefits-left h2::after { display: none; }
.sp-benefits-left p { font-size: 16px; line-height: 1.85; color: var(--gray); margin-bottom: 14px; }
.sp-benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--cream);
    border-radius: 14px;
    margin-bottom: 12px;
    transition: var(--transition);
}
.sp-benefit-item:hover { background: var(--white); box-shadow: 0 8px 30px var(--shadow); transform: translateX(6px); }
.sp-benefit-check {
    width: 36px; height: 36px; flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px;
}
.sp-benefit-item p { font-size: 15px; color: var(--primary-dark); font-weight: 500; margin: 0; }

/* CTA SECTION */
.sp-cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0f07 0%, #3b1f0d 50%, #5a2e10 100%);
    padding: 100px 0;
    text-align: center;
}
.sp-cta-bg { position: absolute; inset: 0; overflow: hidden; }
.sp-cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}
.sp-cta-blob-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    top: -100px; right: -100px;
}
.sp-cta-blob-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #C62828 0%, transparent 70%);
    bottom: -80px; left: -80px;
    opacity: 0.3;
}
.sp-cta-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.sp-cta-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--primary-light) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: #fff;
    margin: 0 auto 24px;
    box-shadow: 0 12px 40px rgba(212,175,55,.4);
}
.sp-cta-inner h2 { font-size: clamp(28px, 4vw, 44px); color: #fff; margin-bottom: 20px; line-height: 1.2; }
.sp-cta-inner p { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 12px; }
.sp-cta-address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
}
.sp-cta-address i { color: var(--gold); }
.sp-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}
.btn-cta-whatsapp:hover { background: #1fba59; transform: translateY(-3px); }

/* FAQ SECTION */
.sp-faq-section { background: var(--cream); }
.sp-faq-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sp-faq-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(139,94,60,0.1);
    transition: var(--transition);
}
.sp-faq-item:hover { box-shadow: 0 8px 30px var(--shadow); }
.sp-faq-item.open { box-shadow: 0 12px 40px var(--shadow); }
.sp-faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
}
.sp-faq-q span {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    flex: 1;
}
.sp-faq-q i {
    color: var(--primary);
    font-size: 14px;
    transition: transform .3s;
    flex-shrink: 0;
}
.sp-faq-item.open .sp-faq-q i { transform: rotate(45deg); color: var(--gold); }
.sp-faq-item.open .sp-faq-q span { color: var(--primary); }
.sp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
    padding: 0 28px;
}
.sp-faq-item.open .sp-faq-a { max-height: 200px; padding-bottom: 24px; }
.sp-faq-a p { font-size: 15px; color: var(--gray); line-height: 1.85; }

/* RELATED SERVICES */
.sp-related-section { background: var(--cream); }
.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.sp-related-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid rgba(139,94,60,0.1);
    transition: var(--transition);
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.sp-related-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--primary));
    transform: scaleX(0);
    transition: var(--transition);
}
.sp-related-card:hover::before { transform: scaleX(1); }
.sp-related-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px var(--shadow); }
.sp-related-card-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
    margin-bottom: 18px;
}
.sp-related-card h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 10px; font-weight: 600; }
.sp-related-card p { font-size: 13px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.sp-related-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s;
}
.sp-related-card:hover .sp-related-link { gap: 10px; }

/* GENERIC SECTION */
.sp-generic-inner {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}
.sp-generic-icon {
    width: 90px; height: 90px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 38px; color: #fff;
    flex-shrink: 0;
}
.sp-generic-copy .sp-section-label { margin-bottom: 12px; }
.sp-generic-copy h2 { font-size: 32px; color: var(--primary-dark); margin-bottom: 18px; text-align: left; }
.sp-generic-copy h2::after { display: none; }
.sp-generic-copy p { font-size: 16px; color: var(--gray); line-height: 1.85; margin-bottom: 14px; }

/* ============================================================
   HOME PAGE — TREATMENT PROCESS SECTION
   ============================================================ */
.process-section {
    background: linear-gradient(135deg, #1a0f07 0%, #3b1f0d 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}
.process-section-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.process-section-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .3;
}
.process-blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    top: -150px; right: -100px;
}
.process-blob-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, #8B5E3C 0%, transparent 70%);
    bottom: -100px; left: -80px;
}
.process-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative; z-index: 2;
}
.process-header .section-label-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.35);
    color: var(--gold);
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.process-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    color: #fff;
    margin-bottom: 16px;
}
.process-header p { font-size: 17px; color: rgba(255,255,255,0.65); max-width: 540px; margin: 0 auto; }
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 2;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: calc(12.5% + 40px);
    right: calc(12.5% + 40px);
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
    opacity: .4;
}
.process-step {
    text-align: center;
    padding: 0 24px;
}
.process-step-num {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--primary-light) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 700; color: #fff;
    margin: 0 auto 24px;
    box-shadow: 0 0 0 8px rgba(212,175,55,0.15), 0 12px 40px rgba(212,175,55,0.3);
    position: relative; z-index: 2;
    transition: var(--transition);
}
.process-step:hover .process-step-num {
    transform: scale(1.1);
    box-shadow: 0 0 0 12px rgba(212,175,55,0.2), 0 20px 50px rgba(212,175,55,0.4);
}
.process-step-icon {
    font-size: 26px;
}
.process-step h4 { font-size: 18px; color: #fff; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.process-cta {
    text-align: center;
    margin-top: 56px;
    position: relative; z-index: 2;
}

/* ============================================================
   RESPONSIVE — SERVICE PAGE
   ============================================================ */
@media (max-width: 1200px) {
    .sp-treatment-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-related-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-steps::before { display: none; }
}
@media (max-width: 900px) {
    .sp-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .sp-causes-grid { grid-template-columns: 1fr; }
    .sp-symp-grid { grid-template-columns: 1fr; gap: 40px; }
    .sp-symp-visual { width: 280px; height: 280px; }
    .sp-diag-grid { grid-template-columns: 1fr; gap: 40px; }
    .sp-benefits-grid { grid-template-columns: 1fr; gap: 40px; }
    .sp-treatment-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-related-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-hero-banner { padding: 140px 0 80px; }
    .sp-generic-inner { grid-template-columns: 1fr; }
    .sp-generic-icon { width: 70px; height: 70px; font-size: 28px; }
}
@media (max-width: 600px) {
    .sp-stats-grid { grid-template-columns: 1fr; }
    .sp-treatment-grid { grid-template-columns: 1fr; }
    .sp-related-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .sp-hero-cta { flex-direction: column; }
    .sp-cta-buttons { flex-direction: column; }
    .sp-info-pills { flex-direction: column; gap: 8px; }
    .sp-about-grid { text-align: center; }
    .sp-section-big-icon { margin: 0 auto 24px; }
}

/* ============================================================
   WHY CHOOSE US — MODERN SPLIT LAYOUT V2
   ============================================================ */
.why-section-v2 {
    background: var(--white);
    overflow: hidden;
}
.why-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* LEFT — IMAGE */
.why-v2-visual { position: relative; }
.why-v2-img-wrap {
    position: relative;
    border-radius: 32px;
    overflow: visible;
}
.why-v2-img-wrap > img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(139,94,60,0.2);
}
/* Stat float cards */
.why-v2-float-card {
    position: absolute;
    background: var(--white);
    border-radius: 18px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    animation: floatCard 4s infinite ease-in-out;
}
.why-v2-float-card strong { display: block; font-size: 16px; font-weight: 700; color: var(--primary-dark); line-height: 1; }
.why-v2-float-card span { font-size: 12px; color: var(--gray-light); }
.why-fc-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 16px;
    flex-shrink: 0;
}
.why-fc-1 { top: 24px; left: -28px; animation-delay: 0s; }
.why-fc-2 { top: 50%; left: -28px; transform: translateY(-50%); animation-delay: 1.5s; }
.why-fc-3 { bottom: 24px; left: -28px; animation-delay: 3s; }
.why-v2-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px;
}
.why-v2-label i { color: var(--gold); }

/* RIGHT — FEATURES */
.why-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139,94,60,0.08);
    color: var(--primary);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.why-v2-badge i { color: var(--gold); }
.why-v2-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}
.why-v2-header h2 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.why-v2-header p { font-size: 16px; color: var(--gray); line-height: 1.8; margin-bottom: 36px; }

/* Feature list */
.why-v2-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 32px; }
.why-v2-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(139,94,60,0.1);
    transition: var(--transition);
}
.why-v2-item:first-child { border-top: 1px solid rgba(139,94,60,0.1); }
.why-v2-item:hover { padding-left: 8px; }
.why-v2-item-icon {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}
.why-v2-item:hover .why-v2-item-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    color: #fff;
    box-shadow: 0 8px 24px var(--shadow);
}
.why-v2-item-copy h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 6px; font-weight: 600; }
.why-v2-item-copy p { font-size: 14px; color: var(--gray); line-height: 1.75; margin: 0; }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .why-v2-grid { gap: 60px; }
    .why-v2-img-wrap > img { height: 500px; }
}
@media (max-width: 860px) {
    .why-v2-grid { grid-template-columns: 1fr; gap: 50px; }
    .why-v2-visual { order: 2; }
    .why-v2-features { order: 1; }
    .why-fc-1, .why-fc-2, .why-fc-3 { left: auto; right: -10px; }
    .why-fc-2 { top: 30%; }
}
@media (max-width: 600px) {
    .why-fc-1, .why-fc-2, .why-fc-3 { display: none; }
    .why-v2-img-wrap > img { height: 280px; }
}

/* ================================================================
   COMPLETE RESPONSIVE OVERHAUL — Mobile-First Fixes
   Breakpoints: 1200 | 992 | 768 | 576 | 400
   ================================================================ */

/* ── MOBILE NAV SLIDE-IN ─────────────────────────────────────────── */
@media (max-width: 992px) {
    /* Full-screen slide-in nav */
    .nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh;
        background: rgba(10,5,2,0.98) !important;
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        z-index: 9999;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        padding: 84px 20px 40px !important;
        margin: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        transition: transform .35s cubic-bezier(.4,0,.2,1);
        visibility: hidden;
    }
    .nav.active {
        transform: translateX(0);
        visibility: visible;
    }
    .nav .nav-link {
        font-size: 18px;
        color: #fff;
        padding: 12px 24px;
        border-radius: 10px;
        width: 100%;
        max-width: 320px;
        text-align: center;
        display: block;
    }
    .nav .nav-link:hover,
    .nav .nav-link.active {
        background: rgba(139,94,60,0.25);
        color: var(--gold);
    }
    .nav .nav-link::after { display: none; }

    /* Close (X) button — appended by JS */
    .mobile-close-btn {
        position: absolute;
        top: 20px; right: 20px;
        width: 44px; height: 44px;
        background: rgba(255,255,255,0.1);
        border: none; border-radius: 50%;
        color: #fff; font-size: 20px;
        cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        z-index: 10;
    }
    .mobile-menu-btn.active i::before { content: "\f00d"; } /* fa-times */
    .phone-link span { display: none; }
}

/* ── HEADER RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 992px) {
    .header { padding: 10px 0; }
    .header.scrolled { padding: 8px 0; }
    .logo-img { height: 60px; }
    .header-inner { gap: 12px; }
}
@media (max-width: 576px) {
    .logo-img { height: 50px; max-width: 160px; }
    .phone-link { display: none; }
}

/* ── TOPBAR RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .topbar-ticker { display: none; }
}
@media (max-width: 768px) {
    .topbar { display: none; }
}

/* ── HERO SECTION (HOME) ─────────────────────────────────────────── */
@media (max-width: 992px) {
    .hero { min-height: auto; padding: 160px 0 60px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-image { display: none; }
    .hero-text { max-width: 100%; }
    .hero-title { font-size: clamp(32px,7vw,52px); }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .hero-badge { margin: 0 auto; }
}
@media (max-width: 576px) {
    .hero { padding: 140px 0 50px; }
    .hero-title { font-size: 30px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; text-align: center; }
}

/* ── SERVICE PAGE HERO (SPLIT) ───────────────────────────────────── */
@media (max-width: 1100px) {
    .sp-hero-inner { grid-template-columns: 1fr 340px; gap: 40px; }
}
@media (max-width: 860px) {
    .sp-hero-inner { grid-template-columns: 1fr; }
    .sp-hero-image-wrap { display: none; }
    .sp-hero-banner { padding: 170px 0 60px; }
    .sp-hero-title { font-size: clamp(26px,6vw,44px); }
    .sp-info-pills { flex-wrap: wrap; gap: 8px; }
    .sp-info-pill { font-size: 13px; }
    .sp-hero-cta { flex-wrap: wrap; }
    .sp-hero-cta .btn { width: 100%; max-width: 260px; text-align: center; }
}
@media (max-width: 576px) {
    .sp-hero-banner { padding: 150px 0 50px; }
    .sp-hero-title { font-size: 26px; }
    .sp-category-badge { font-size: 12px; }
    .sp-hero-cta .btn { max-width: 100%; }
}

/* ── SERVICE PAGE CONTENT SECTIONS ──────────────────────────────── */
@media (max-width: 768px) {
    .sp-about-grid { grid-template-columns: 1fr !important; }
    .sp-causes-grid { grid-template-columns: 1fr !important; }
    .sp-diag-steps { grid-template-columns: 1fr !important; }
    .sp-treat-grid { grid-template-columns: 1fr !important; }
    .sp-related-grid { grid-template-columns: repeat(2,1fr) !important; }
    .sp-faq-item { padding: 16px; }
    .sp-section-title { font-size: clamp(22px,5vw,36px); }
    .sp-stats-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 480px) {
    .sp-related-grid { grid-template-columns: 1fr !important; }
    .sp-stats-grid { grid-template-columns: 1fr !important; }
}

/* ── PAGE HEADER BANNER (inner pages) ───────────────────────────── */
@media (max-width: 768px) {
    .page-header h1 { font-size: clamp(24px,6vw,42px); }
    .breadcrumb { font-size: 13px; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
    .page-header h1 { font-size: 24px; }
}

/* ── WHY CHOOSE US V2 ────────────────────────────────────────────── */
@media (max-width: 992px) {
    .why-v2-grid { grid-template-columns: 1fr; gap: 48px; }
    .why-v2-visual { order: 2; }
    .why-v2-features { order: 1; }
    .why-v2-img-wrap > img { height: 360px; }
    .why-fc-1, .why-fc-2, .why-fc-3 { left: auto; right: -10px; }
    .why-fc-2 { top: 30%; }
}
@media (max-width: 576px) {
    .why-fc-1, .why-fc-2, .why-fc-3 { display: none; }
    .why-v2-img-wrap > img { height: 240px; }
    .why-v2-header h2 { font-size: 26px; }
    .why-v2-item-copy h4 { font-size: 15px; }
}

/* ── PROCESS SECTION ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .process-grid { grid-template-columns: repeat(2,1fr) !important; gap: 20px !important; }
}
@media (max-width: 480px) {
    .process-grid { grid-template-columns: 1fr !important; }
}

/* ── SERVICES GRID (home + services.php) ────────────────────────── */
@media (max-width: 768px) {
    .services-grid { grid-template-columns: repeat(2,1fr) !important; }
    .service-card { padding: 20px !important; }
}
@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr !important; }
}

/* ── STATS BAR ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr !important; }
}

/* ── TESTIMONIALS ────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr !important; }
}

/* ── BLOG GRID ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr !important; }
}

/* ── GALLERY ─────────────────────────────────────────────────────── */
@media (max-width: 576px) {
    .gallery-grid { grid-template-columns: 1fr !important; }
    .gallery-item.large { grid-column: span 1 !important; grid-row: span 1 !important; }
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
    .footer-brand { text-align: center; }
    .footer-brand .logo { justify-content: center; }
    .contact-social { justify-content: center; }
}

/* ── CONTACT PAGE ────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .contact-form-grid { grid-template-columns: 1fr !important; }
    .contact-info-grid { grid-template-columns: 1fr !important; }
}

/* ── DOCTOR PAGES ────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .doctor-profile-grid { grid-template-columns: 1fr !important; }
    .doctor-image { height: 280px !important; }
}

/* ── SECTION HEADING ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .section { padding: 48px 0; }
    .section-title { font-size: clamp(22px,5vw,38px) !important; }
    .section-subtitle { font-size: 15px !important; }
    h1 { font-size: clamp(26px,7vw,52px); }
    h2 { font-size: clamp(22px,5vw,40px); }
    h3 { font-size: clamp(18px,4vw,28px); }
}

/* ── GENERAL MOBILE HELPERS ──────────────────────────────────────── */
@media (max-width: 576px) {
    .container { padding: 0 16px; }
    .btn { padding: 12px 22px; font-size: 14px; }
    .section { padding: 40px 0; }
    .section-title { font-size: 22px !important; }
}

/* ── BEFORE / AFTER LABELS ───────────────────────────────────────── */
.ba-item { position: relative; }
.ba-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-label {
    position: absolute;
    top: 14px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #fff;
    z-index: 3;
    backdrop-filter: blur(6px);
}
.ba-before {
    left: 14px;
    background: rgba(40,40,40,0.78);
}
.ba-after {
    right: 14px;
    background: linear-gradient(135deg,#8B5E3C,#D4A574);
}
.ba-grid .gallery-item { aspect-ratio: 4 / 3; }
@media (max-width: 768px) {
    .ba-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 480px) {
    .ba-grid { grid-template-columns: 1fr !important; }
    .ba-label { font-size: 11px; padding: 4px 10px; }
}

/* ── MEGA MENU — collapsible accordion on mobile ─────────────────── */
@media (max-width: 992px) {
    .has-mega-menu {
        width: 260px;
        position: relative;
    }
    .has-mega-menu > .nav-link {
        width: 100%;
        position: relative;
    }
    .has-mega-menu > .nav-link i.fa-chevron-down {
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform .3s ease;
        font-size: 12px !important;
    }
    .has-mega-menu.open > .nav-link i.fa-chevron-down {
        transform: translateY(-50%) rotate(180deg);
    }
    .mega-menu {
        position: static !important;
        display: none;
        width: 100% !important;
        max-height: 50vh;
        overflow-y: auto;
        background: rgba(255,255,255,0.05) !important;
        backdrop-filter: none;
        box-shadow: none !important;
        border-radius: 12px;
        padding: 12px !important;
        margin-top: 8px;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
    }
    .has-mega-menu.open .mega-menu { display: block; }
    .mega-menu-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .mega-menu-column h4 {
        color: var(--gold) !important;
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }
    .mega-menu-list {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .mega-menu-list a {
        color: rgba(255,255,255,.85) !important;
        font-size: 14px !important;
        padding: 8px 12px !important;
        text-align: left !important;
        width: 100% !important;
        border-radius: 6px;
    }
    .mega-menu-list a:hover {
        background: rgba(139,94,60,0.25) !important;
        color: var(--gold) !important;
    }
    /* Fix outer container so it doesn't overflow on small phones */
    .header-inner { flex-wrap: nowrap; }
    .logo { flex: 0 0 auto; }
    .header-actions { flex: 0 0 auto; margin-left: auto; }
}

/* Hide mobile close btn on desktop */
.mobile-close-btn { display: none; }
@media (max-width: 992px) {
    .mobile-close-btn { display: flex; z-index: 10; }
}

/* ── DOCTOR CARD — prevent face cropping on mobile ───────────────── */
.doctor-image img {
    object-position: center top;
}
@media (max-width: 992px) {
    .doctor-card {
        grid-template-columns: 1fr !important;
    }
    .doctor-image {
        height: auto !important;
        aspect-ratio: 4 / 3;
        max-height: 520px;
    }
    .doctor-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
    }
}
@media (max-width: 576px) {
    .doctor-image {
        aspect-ratio: 1 / 1;
        max-height: 460px;
    }
    .doctor-image img {
        object-fit: cover;
        object-position: center 15%;
    }
}

/* Tighten topbar on tablet so it doesn't break layout above the nav */
@media (max-width: 1100px) and (min-width: 901px) {
    .topbar-inner { flex-wrap: wrap; gap: 8px; }
    .topbar-left .topbar-item span { font-size: 12px; }
}
