/* ===================================
   Ocean Dental - Premium & Elegant Design
   Enhanced with Teal Accents, Animations
   & Modern UI Components
   =================================== */

/* CSS Variables - Premium Design Tokens */
:root {
    /* Primary Colors - Ocean Dental Brand */
    --primary-color: #01215E;
    --primary-dark: #000d2e;
    --primary-light: #2a4a8f;
    --primary-gradient: linear-gradient(135deg, #01215E 0%, #2a4a8f 50%, #01215E 100%);

    /* Accent Colors - Cream (Minimal Usage) */
    --accent-color: #FCF3E9;
    --accent-dark: #e8d5c0;
    --accent-light: #f8f9fa;

    /* Ocean Blue Palette - Primary Accent */
    --ocean-blue: #3B82F6;
    --ocean-blue-light: #60A5FA;
    --ocean-blue-dark: #2563EB;
    --ocean-blue-pale: #DBEAFE;
    --ocean-blue-gradient: linear-gradient(135deg, #3B82F6 0%, #60A5FA 50%, #3B82F6 100%);
    --ocean-blue-shimmer: linear-gradient(90deg, #3B82F6 0%, #60A5FA 25%, #3B82F6 50%, #60A5FA 75%, #3B82F6 100%);

    /* Legacy Gold (for subtle warm accents only) */
    --gold: #D4AF37;
    --gold-light: #E8C547;
    --gold-dark: #B8960C;

    /* Neutral Colors */
    --white: #F8F8F8;
    --pure-white: #ffffff;
    --off-white: #FAFAFA;
    --cream: #FCF3E9;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --black: #0a0a0a;

    /* Typography - Premium Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    --spacing-4xl: 8rem;

    /* Premium Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.2);
    --shadow-teal: 0 4px 20px rgba(59, 130, 246, 0.3);
    --shadow-teal-lg: 0 8px 40px rgba(59, 130, 246, 0.4);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-glow-teal: 0 0 40px rgba(59, 130, 246, 0.3);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-bg-dark: rgba(1, 33, 94, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(20px);
    --glass-blur-strong: blur(30px);

    /* Border Radius - More Rounded for Premium Feel */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-3xl: 48px;
    --radius-full: 9999px;

    /* Transitions - Elegant & Smooth */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 700ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-elegant: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Layout */
    --container-max: 1280px;
    --container-wide: 1400px;
    --header-height: 80px;
}

/* ===================================
   Reset & Base Styles
   =================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: var(--header-height);
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    line-height: 1.7;
    background-color: var(--pure-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Selection */
::selection {
    background: var(--ocean-blue);
    color: #F8F8F8;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid var(--ocean-blue);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* ===================================
   Scroll Progress Indicator
   =================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--ocean-blue-gradient);
    z-index: 1001;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* ===================================
   Typography - Premium Style
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-700);
    line-height: 1.8;
}

/* Premium Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--ocean-blue-light) 0%, var(--pure-white) 50%, var(--ocean-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.gradient-text-dark {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--ocean-blue-dark) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.gradient-text-teal {
    background: var(--ocean-blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Teal Underline Accent */
.teal-underline {
    position: relative;
    display: inline-block;
}

.teal-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ocean-blue-gradient);
    border-radius: var(--radius-full);
}

/* ===================================
   Layout Components
   =================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-4xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--off-white) 100%);
    color: var(--primary-color);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--ocean-blue);
    box-shadow: var(--shadow-teal);
    transition: all var(--transition-elegant);
    position: relative;
    overflow: hidden;
}

.section-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    transition: left 0.6s ease;
}

.section-tag:hover::before {
    left: 100%;
}

.section-tag i {
    color: var(--ocean-blue);
}

.section-title {
    margin-bottom: var(--spacing-sm);
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Social Media Section */
.socmed-feed {
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(180deg, var(--pure-white) 0%, var(--off-white) 100%);
    position: relative;
}

.socmed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.socmed-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--pure-white);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-elegant);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.socmed-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--platform-bg, rgba(0, 0, 0, 0.03));
    opacity: 0;
    transition: opacity var(--transition-elegant);
}

.socmed-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--platform-color, var(--ocean-blue));
}

.socmed-item:hover::before {
    opacity: 1;
}

.socmed-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--platform-bg, var(--ocean-light));
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
    color: var(--platform-color, var(--ocean-blue));
    transition: all var(--transition-elegant);
    position: relative;
    z-index: 1;
}

.socmed-item:hover .socmed-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 24px var(--platform-bg);
}

.socmed-label {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
    position: relative;
    z-index: 1;
    transition: color var(--transition-elegant);
}

.socmed-item:hover .socmed-label {
    color: var(--platform-color, var(--ocean-blue));
}

/* Premium Divider */
.section-divider {
    width: 80px;
    height: 3px;
    background: var(--ocean-blue-gradient);
    margin: var(--spacing-md) auto;
    border-radius: var(--radius-full);
}

/* ===================================
   Buttons - Premium Style
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 16px 32px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-elegant);
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn:active {
    transform: scale(0.98);
}

/* Primary Button - Ocean Blue Gradient */
.btn-primary {
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--ocean-blue-dark) 100%);
    color: #F8F8F8;
    box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--ocean-blue-light) 0%, var(--ocean-blue) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-teal-lg);
}

/* Secondary Button */
.btn-secondary {
    background: var(--pure-white);
    color: var(--primary-color);
    border-color: var(--ocean-blue);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--ocean-blue);
    color: #F8F8F8;
    transform: translateY(-3px);
    box-shadow: var(--shadow-teal);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    color: var(--pure-white);
    border-color: var(--ocean-blue);
}

.btn-outline:hover {
    background: var(--ocean-blue);
    color: #F8F8F8;
}

/* Dark Button */
.btn-dark {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--pure-white);
    box-shadow: var(--shadow-lg);
}

.btn-dark:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.0625rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Button Icon Animation */
.btn i {
    transition: transform var(--transition-base);
}

.btn:hover i {
    transform: scale(1.15);
}

.btn:hover .fa-arrow-right {
    transform: translateX(4px);
}

.btn:hover .fa-whatsapp {
    animation: wiggle 0.5s ease;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg) scale(1.15); }
    25% { transform: rotate(-12deg) scale(1.15); }
    75% { transform: rotate(12deg) scale(1.15); }
}

/* ===================================
   Navigation - Premium Glassmorphism
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 1px 0 rgba(59, 130, 246, 0.1);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: var(--glass-blur-strong);
    -webkit-backdrop-filter: var(--glass-blur-strong);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(59, 130, 246, 0.2);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    transition: all var(--transition-base);
}

.nav-brand:hover {
    transform: scale(1.02);
}

.nav-brand i {
    font-size: 2rem;
    background: var(--ocean-blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
    transition: transform var(--transition-spring);
}

.nav-brand:hover i {
    transform: rotate(-15deg) scale(1.1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: 8px 4px;
    font-size: 0.9375rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--ocean-blue-gradient);
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: var(--spacing-xs);
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
    background: var(--ocean-blue);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
    background: var(--ocean-blue);
}

#nav-cta {
    padding: 12px 24px;
    font-size: 0.875rem;
}

/* ===================================
   Hero Section - Premium Enhanced
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 40%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 45%),
        radial-gradient(ellipse at 60% 60%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Floating Decorative Elements */
.hero-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

/* Decorative Circles - Premium Gold Accent */
.decoration-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.2);
    will-change: transform;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    border-width: 1px;
    animation: rotateSmooth 50s linear infinite;
}

.circle-2 {
    width: 500px;
    height: 500px;
    bottom: -180px;
    left: -150px;
    border-color: rgba(252, 243, 233, 0.15);
    animation: rotateSmooth 40s linear infinite reverse;
}

.circle-3 {
    width: 300px;
    height: 300px;
    top: 25%;
    right: -100px;
    border-color: rgba(59, 130, 246, 0.25);
    animation: pulseGentle 8s ease-in-out infinite;
}

.circle-4 {
    width: 200px;
    height: 200px;
    top: 55%;
    left: 8%;
    border-color: rgba(248, 248, 248, 0.12);
    animation: floatGentle 10s ease-in-out infinite;
}

/* Floating Elements - Sparkles & Shapes */
.floating-elements {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    opacity: 0.6;
    animation: floatRandom 15s ease-in-out infinite;
}

.floating-element.sparkle {
    width: 8px;
    height: 8px;
    background: var(--ocean-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--ocean-blue), 0 0 20px var(--ocean-blue);
}

.floating-element.plus {
    font-size: 1.5rem;
    color: rgba(59, 130, 246, 0.4);
    font-weight: 300;
}

.floating-element.tooth {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.15);
}

.floating-element:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 25%; right: 15%; animation-delay: -2s; }
.floating-element:nth-child(3) { top: 60%; left: 5%; animation-delay: -4s; }
.floating-element:nth-child(4) { top: 70%; right: 10%; animation-delay: -6s; }
.floating-element:nth-child(5) { top: 40%; left: 15%; animation-delay: -8s; }
.floating-element:nth-child(6) { top: 80%; left: 20%; animation-delay: -3s; }
.floating-element:nth-child(7) { top: 20%; left: 30%; animation-delay: -5s; }
.floating-element:nth-child(8) { top: 50%; right: 20%; animation-delay: -7s; }

@keyframes rotateSmooth {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseGentle {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

@keyframes floatGentle {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -25px); }
}

@keyframes floatRandom {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
    25% { transform: translate(10px, -15px) rotate(90deg); opacity: 0.4; }
    50% { transform: translate(-5px, -25px) rotate(180deg); opacity: 0.6; }
    75% { transform: translate(15px, -10px) rotate(270deg); opacity: 0.4; }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--pure-white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Typing Text Container */
.typing-container {
    display: inline-block;
    min-width: 280px;
}

.typing-text {
    display: inline;
    border-right: 3px solid var(--ocean-blue);
    animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {
    from, to { border-color: var(--ocean-blue); }
    50% { border-color: transparent; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--ocean-blue-light);
    font-weight: 600;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--pure-white);
    transition: all var(--transition-elegant);
}

.feature-badge:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--ocean-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-teal);
}

.feature-badge i {
    color: var(--ocean-blue);
    font-size: 1rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}


/* Hero Image Grid - 4 Photos */
.hero-image {
    position: relative;
}

.hero-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl), 0 0 80px rgba(59, 130, 246, 0.15);
    animation: fadeInRight 1s ease-out 0.3s both;
    border: 2px solid rgba(59, 130, 246, 0.2);
    aspect-ratio: 1 / 1;
}

.hero-img-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: rgba(1, 33, 94, 0.3);
}

.hero-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-img-item:hover img {
    transform: scale(1.08);
}

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(1, 33, 94, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.hero-img-overlay i {
    font-size: 1.75rem;
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
    transform: scale(0.8);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-img-item:hover .hero-img-overlay {
    opacity: 1;
}

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

/* Floating Card repositioned for grid parent */
.hero-image > .floating-card {
    position: absolute;
    bottom: -10px;
    right: -15px;
    z-index: 10;
}

/* ─── Hero Lightbox ─────────────────────────────────────── */
.hero-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    animation: heroLightboxFadeIn 0.25s ease;
}

.hero-lightbox.active {
    display: flex;
}

@keyframes heroLightboxFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hero-lightbox-inner {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    animation: heroLightboxZoom 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes heroLightboxZoom {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.hero-lightbox-inner img {
    display: block;
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.hero-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10001;
    backdrop-filter: blur(8px);
}

.hero-lightbox-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg) scale(1.1);
}

.hero-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10001;
    backdrop-filter: blur(8px);
}

.hero-lightbox-nav:hover {
    background: rgba(59, 130, 246, 0.5);
    border-color: var(--ocean-blue);
    transform: translateY(-50%) scale(1.1);
}

.hero-lightbox-prev { left: 20px; }
.hero-lightbox-next { right: 20px; }

.hero-lightbox-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10001;
}

.hero-lightbox-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.hero-lightbox-dot.active {
    background: var(--ocean-blue);
    transform: scale(1.3);
}



/* Floating Card - Premium Glass */
.floating-card {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), var(--shadow-glow-teal);
    animation: floatCard 4s ease-in-out infinite;
}

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

.floating-card i {
    font-size: 2rem;
    color: var(--ocean-blue);
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.5));
}

.floating-card strong {
    display: block;
    font-size: 1.5rem;
    color: var(--gray-900);
    font-weight: 700;
}

.floating-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

/* ===================================
   About Section - Simplified Premium Style
   =================================== */

.about {
    background: linear-gradient(180deg, var(--pure-white) 0%, var(--off-white) 50%, var(--pure-white) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ocean-blue), transparent);
}

/* About Main - 2 Column Layout */
.about-main {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
}

/* About Visual - Left Column */
.about-visual {
    position: relative;
}

.about-image-container {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 3px solid var(--ocean-blue);
    transition: all var(--transition-slow);
}

.about-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(1, 33, 94, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

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

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

.about-image-container:hover {
    box-shadow: var(--shadow-2xl), var(--shadow-glow-teal);
}

/* Founder Badge */
.about-image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--ocean-blue-dark) 100%);
    color: #F8F8F8;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-teal-lg);
    z-index: 2;
    transition: all var(--transition-base);
}

.about-image-badge i {
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.about-image-container:hover .about-image-badge {
    transform: translateY(-3px);
    box-shadow: var(--shadow-teal-lg), 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* Floating Experience Stat */
.about-floating-stat {
    position: absolute;
    bottom: -30px;
    right: -30px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--pure-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 4px solid var(--pure-white);
    z-index: 3;
    transition: all var(--transition-spring);
}

.about-floating-stat:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-2xl), 0 15px 40px rgba(1, 33, 94, 0.3);
}

.floating-stat-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ocean-blue);
}

.floating-stat-text {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

/* About Info - Right Column */
.about-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Quote Block */
.about-quote {
    position: relative;
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-xl) var(--spacing-2xl);
    background: linear-gradient(135deg, var(--ocean-blue-pale) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-radius: var(--radius-xl);
    border-left: 5px solid var(--ocean-blue);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.about-quote:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md), var(--shadow-glow-teal);
}

.about-quote > i {
    position: absolute;
    top: -5px;
    left: 25px;
    font-size: 2.5rem;
    color: var(--ocean-blue);
    opacity: 0.3;
}

.about-quote blockquote {
    font-size: 1.1875rem;
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.9;
    margin: 0;
    position: relative;
}

/* Founder Info */
.about-founder-info {
    padding: var(--spacing-md) 0;
}

.about-founder-info h3 {
    font-size: 1.875rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.founder-role {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--ocean-blue-pale);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.about-founder-info p {
    font-size: 1.0625rem;
    color: var(--gray-600);
    line-height: 1.85;
    margin-bottom: var(--spacing-md);
}

.about-founder-info p strong {
    color: var(--ocean-blue-dark);
    font-weight: 600;
}

/* Founder Tags / Credentials */
.founder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.founder-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--pure-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 500;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xs);
}

.founder-tags span:hover {
    border-color: var(--ocean-blue);
    box-shadow: var(--shadow-teal);
    transform: translateY(-3px);
    background: var(--ocean-blue-pale);
}

.founder-tags span i {
    color: var(--ocean-blue);
    font-size: 0.9375rem;
}

/* About Stats Bar - Horizontal */
.about-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: var(--spacing-xl) var(--spacing-2xl);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.about-stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 10% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: var(--spacing-md) var(--spacing-lg);
    position: relative;
    transition: all var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ocean-blue);
    line-height: 1.1;
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.stat-number .counter,
.stat-number .counter-decimal {
    color: inherit;
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    flex-shrink: 0;
}

/* ===================================
   Services Section - Grid with Filters
   =================================== */

.services {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--pure-white) 100%);
    position: relative;
    overflow: hidden;
}

/* Service Filter Tabs */
.service-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--pure-white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover {
    border-color: var(--ocean-blue);
    color: var(--ocean-blue-dark);
}

.filter-btn.active {
    background: var(--ocean-blue-gradient);
    border-color: transparent;
    color: var(--ocean-blue-pale);
    box-shadow: var(--shadow-teal);
}

.filter-btn i {
    font-size: 0.875rem;
}

/* Services Grid - 3 Columns */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

/* Service Card - New Design */
.service-card {
    background: var(--pure-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-spring);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl), var(--shadow-glow-teal);
    border-color: var(--ocean-blue);
}

.service-card.hidden {
    display: none;
}

/* Card Image */
.service-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

/* Service Badge */
.service-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-badge.popular {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
}

.service-badge.recommended {
    background: var(--ocean-blue-gradient);
    color: var(--primary-dark);
}

/* Card Content */
.service-card-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-icon-small {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ocean-blue-pale);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-base);
}

.service-icon-small i {
    font-size: 1.25rem;
    color: var(--ocean-blue-dark);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon-small {
    background: var(--ocean-blue-gradient);
}

.service-card:hover .service-icon-small i {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.service-card-content h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.service-card-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

/* Service Meta */
.service-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.service-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.service-meta span i {
    color: var(--ocean-blue);
    font-size: 0.75rem;
}

.service-price {
    font-weight: 600;
    color: var(--primary-color) !important;
}

/* Service CTA Button */
/* Two-button wrapper for service cards */
.service-cta-group {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--primary-color);
    color: var(--pure-white);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.8125rem;
    transition: all var(--transition-base);
    flex: 1;
}

/* Detail button — outlined style */
.service-cta.service-cta-detail {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.service-cta.service-cta-detail:hover {
    background: var(--primary-color);
    color: var(--pure-white);
    transform: translateY(-2px);
}

/* WhatsApp / Konsultasi button */
.service-cta.service-cta-wa {
    background: var(--primary-color);
    color: var(--pure-white);
}

.service-cta.service-cta-wa:hover {
    background: var(--ocean-blue);
    color: #F8F8F8;
    transform: translateY(-2px);
}

/* Fallback — single button (no group wrapper) */
.service-cta:not(.service-cta-detail):not(.service-cta-wa) {
    margin-top: auto;
}

.service-cta:hover {
    background: var(--ocean-blue);
    color: #F8F8F8;
    transform: translateX(5px);
}

.service-cta i {
    transition: transform var(--transition-base);
}

.service-cta:hover i {
    transform: translateX(4px);
}

/* Services CTA Section */
.services-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-2xl);
}

.services-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.services-cta .btn {
    background: var(--ocean-blue);
    color: #F8F8F8;
}

.services-cta .btn:hover {
    background: var(--pure-white);
    color: var(--primary-color);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.service-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--off-white);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 500;
}

.service-features span i {
    color: var(--ocean-blue);
    font-size: 0.75rem;
}

/* ===================================
   WhatsApp Branch CTA Button - Ocean Dental Premium Style
   =================================== */
.branch-whatsapp {
    color: var(--gray-800);
}
/* ===================================
   Before/After Section
   =================================== */

.before-after {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.before-after::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.before-after .section-tag {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--ocean-blue);
    color: var(--pure-white);
}

.before-after .section-title {
    color: var(--pure-white);
}

.before-after .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.ba-slider-container {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl), var(--shadow-glow-teal);
    border: 2px solid rgba(59, 130, 246, 0.3);
    aspect-ratio: 4/3;
    background: var(--gray-900);
}

.ba-slider-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-slider-container .before-image {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}

.ba-slider-container .after-image {
    z-index: 0;
}

.ba-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--ocean-blue);
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.ba-slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--ocean-blue);
    border-radius: 50%;
    box-shadow: var(--shadow-teal-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-slider::after {
    content: '\f337';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-dark);
    font-size: 1.25rem;
    z-index: 1;
}

.ba-labels {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    z-index: 4;
    pointer-events: none;
}

.ba-label {
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: var(--pure-white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ba-label.before {
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ba-label.after {
    border: 1px solid var(--ocean-blue);
    color: var(--ocean-blue);
}

.ba-info {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-top: var(--spacing-md);
}

.ba-info h4 {
    color: var(--pure-white);
    margin-bottom: var(--spacing-xs);
}

.ba-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9375rem;
}

.before-after-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

/* ===================================
   Branches Section - With Map
   =================================== */

/* Section Background */
.branches {
    background: #f5f7fc;
    position: relative;
    overflow: hidden;
}

.branches-bg-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.branches-deco-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 33, 94, 0.05) 0%, transparent 70%);
}

.branches-deco-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
}

.branches-deco-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

/* ── Search Box ── */
.branches-search {
    max-width: 560px;
    margin: 0 auto var(--spacing-2xl);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--pure-white);
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-full);
    padding: 12px 20px;
    box-shadow: 0 2px 12px rgba(1, 33, 94, 0.06);
    transition: all var(--transition-base);
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(1, 33, 94, 0.12);
}

.search-input-wrapper i {
    color: #94a3b8;
    font-size: 1rem;
    margin-right: 10px;
    transition: color var(--transition-base);
}

.search-input-wrapper:focus-within i {
    color: var(--primary-color);
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    color: var(--gray-800);
    background: transparent;
}

.search-input-wrapper input::placeholder {
    color: #94a3b8;
}

.search-clear {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 50%;
    color: #64748b;
    font-size: 0.8125rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.search-clear.visible {
    opacity: 1;
    visibility: visible;
}

.search-clear:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.search-results-count {
    text-align: center;
    margin-top: 8px;
    font-size: 0.8125rem;
    color: #64748b;
    min-height: 20px;
}

/* ── Wrapper: 2-col layout ── */
.branches-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* ── Branches List Container ── */
.branches-list-container {
    max-height: 660px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #e2e8f0;
}

.branches-list-container::-webkit-scrollbar {
    width: 5px;
}

.branches-list-container::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 99px;
}

.branches-list-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 99px;
}

/* ── Region Accordion ── */
.branches-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.region-group {
    background: var(--pure-white);
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.region-group:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(1, 33, 94, 0.07);
}

.region-group.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(1, 33, 94, 0.1);
}

.region-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--pure-white);
    border: none;
    cursor: pointer;
    transition: background var(--transition-base);
    gap: 10px;
}

.region-header:hover {
    background: #f8faff;
}

.region-header.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.region-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

/* Region icon wrapper */
.region-icon-wrap {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 9px;
    font-size: 0.875rem;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.region-header.active .region-icon-wrap {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.region-name {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--transition-base);
}

.region-header.active .region-name {
    color: #ffffff;
}

.region-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    padding: 3px 9px;
    background: #f1f5f9;
    border-radius: 99px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.region-header.active .region-count {
    background: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.9);
}

.region-toggle-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.region-toggle {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: transform 0.3s ease, color var(--transition-base);
}

.region-header.active .region-toggle {
    color: rgba(255, 255, 255, 0.8);
    transform: rotate(180deg);
}

/* ── Region Branch List ── */
.region-branches {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f8faff;
    border-top: 0 solid transparent;
    transition: max-height 0.4s ease, border-top-width 0.1s ease;
}

.region-branches.active {
    max-height: 2000px;
    border-top: 1px solid #e2e8f0;
}

/* ── Branch Card ── */
.region-branches .branch-card {
    margin: 8px;
    border-radius: 10px;
}

.region-branches .branch-card:first-child { margin-top: 10px; }
.region-branches .branch-card:last-child  { margin-bottom: 10px; }

.branch-card {
    padding: 14px;
    background: var(--pure-white);
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
    cursor: pointer;
}

.branch-card:hover,
.branch-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(1, 33, 94, 0.1);
    transform: translateX(4px);
}

.branch-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.branch-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 0.9375rem;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.branch-card:hover .branch-icon,
.branch-card.active .branch-icon {
    background: var(--primary-color);
    color: #ffffff;
}

.branch-card-title-wrap { flex: 1; min-width: 0; }

.branch-card-header h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 3px;
    line-height: 1.3;
}

.branch-address {
    font-size: 0.775rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* Info row: schedule + status chip */
.branch-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.branch-schedule-summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.775rem;
    color: #475569;
}

.branch-schedule-summary i {
    color: var(--primary-color);
    font-size: 0.7rem;
}

/* Status chip */
.branch-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 2px 8px;
    border-radius: 99px;
}

.branch-status-chip.open {
    background: #dcfce7;
    color: #15803d;
}

.branch-status-chip.closed {
    background: #fee2e2;
    color: #b91c1c;
}

.branch-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

/* WhatsApp row */
.branch-wa-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.775rem;
    color: #475569;
    margin-bottom: 10px;
}

.branch-wa-row i {
    color: #25D366;
    font-size: 0.8rem;
}

.branch-whatsapp {
    color: #25D366;
    font-weight: 600;
    text-decoration: none;
}

.branch-whatsapp:hover {
    text-decoration: underline;
}

/* ── Branch Action Buttons ── */
.branch-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.branch-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 8px;
    font-size: 0.725rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    white-space: nowrap;
    font-family: var(--font-primary);
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.branch-btn-maps {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.branch-btn-maps:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.branch-btn-wa {
    background: #25D366;
    color: #ffffff;
}

.branch-btn-wa:hover {
    background: #1fb855;
    color: #ffffff;
}

.branch-btn-detail {
    background: var(--primary-color);
    color: #ffffff;
}

.branch-btn-detail:hover {
    background: var(--primary-light);
    color: #ffffff;
}

/* ── Map Container ── */
.map-container {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(1, 33, 94, 0.14);
    border: 2px solid rgba(1, 33, 94, 0.12);
    background: #eef0f5;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--header-height) - 40px);
}

#branches-map {
    width: 100%;
    height: 490px;
    min-height: 350px;
    flex: 1;
    background: #e8ecf2;
}

/* ── Leaflet Map Popup ── */
/* wrapper override — actual styling handled by injected .bp-* rules in script.js */
#branches-map .leaflet-popup-content-wrapper {
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(1, 33, 94, 0.22), 0 2px 8px rgba(1, 33, 94, 0.12);
    overflow: hidden;
    padding: 0;
    border: none;
}

#branches-map .leaflet-popup-content {
    margin: 0;
    font-family: var(--font-primary);
    min-width: 240px;
}

#branches-map .leaflet-popup-close-button {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 18px !important;
    right: 8px !important;
    top: 8px !important;
    width: 24px !important;
    height: 24px !important;
    line-height: 22px !important;
    text-align: center !important;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 50% !important;
    transition: background .15s;
}
#branches-map .leaflet-popup-close-button:hover {
    background: rgba(255,255,255,0.3) !important;
    color: #fff !important;
}

/* Map Legend */
.map-legend {
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-marker {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.legend-item span {
    font-size: 0.8125rem;
    color: #ffffff;
    font-weight: 500;
}

.legend-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-style: italic;
}

/* ── No Results State ── */
.no-results {
    text-align: center;
    padding: var(--spacing-2xl);
    color: #64748b;
}

.no-results i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: var(--spacing-md);
}

.no-results p {
    font-size: 1rem;
    margin: 0;
}

/* ── Branches CTA ── */
.branches-cta {
    margin-top: var(--spacing-2xl);
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    box-shadow: 0 12px 40px rgba(1, 33, 94, 0.2);
}

.branches-cta-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 32px 40px;
    flex-wrap: wrap;
}

.branches-cta-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    flex-shrink: 0;
}

.branches-cta-icon i {
    font-size: 1.875rem;
    color: #ffffff;
}

.branches-cta-content {
    flex: 1;
    min-width: 200px;
}

.branches-cta-content h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.branches-cta-content > p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin: 0 0 14px;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.cta-feature i {
    color: #86efac;
    font-size: 0.875rem;
}

.branches-cta-action {
    flex-shrink: 0;
}

.branches-cta-action .btn-primary {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
    font-weight: 700;
    padding: 14px 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.branches-cta-action .btn-primary:hover {
    background: #f0f4ff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

/* ============================================================
   DOCTORS SECTION
   ============================================================ */
/* ── Section ── */
.doctors {
  background: linear-gradient(160deg, #EEF4FF 0%, #F7F9FF 50%, #F0F5FF 100%);
  position: relative;
  overflow: hidden;
}
.doctors::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(59,130,246,.07) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ── Heading row ── */
.doctors-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
  padding: 0 4px;
}
.doctors-heading-left .section-tag     { margin-bottom: 10px; }
.doctors-heading-left .section-title   { margin-bottom: 8px; }
.doctors-heading-left .section-description { text-align: left; margin: 0; }

.doctors-heading-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-bottom: 4px;
}
.doctors-heading-btn {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pure-white);
  border: 1.5px solid var(--gray-200);
  color: var(--gray-700);
  font-size: .875rem;
  cursor: pointer;
  transition: all var(--transition-elegant);
  box-shadow: 0 2px 8px rgba(1,33,94,.06);
}
.doctors-heading-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(1,33,94,.22);
}
.doctors-heading-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

/* ── Carousel container — NO mask ── */
.doctors-carousel-container {
  overflow: hidden;
  /* mask dihapus total agar tidak ada shadow kiri/kanan */
  padding: 10px 0 28px;
  cursor: grab;
  user-select: none;
}
.doctors-carousel-container:active { cursor: grabbing; }

.doctors-carousel {
  display: flex;
  gap: 20px;
  transition: transform .55s cubic-bezier(.4,0,.15,1);
  will-change: transform;
  padding: 4px 4px 8px;
}

/* ══════════════════════════════════════════════════════
   DOCTOR CARD — Full-width photo top, info list below
══════════════════════════════════════════════════════ */
.doctor-card {
  flex: 0 0 272px;
  background: var(--pure-white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #E8EEF8;
  box-shadow:
    0 2px 8px rgba(1,33,94,.05),
    0 8px 24px rgba(1,33,94,.07);
  transition:
    transform .4s cubic-bezier(.34,1.56,.64,1),
    box-shadow .3s ease,
    border-color .25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.doctor-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59,130,246,.22);
  box-shadow:
    0 4px 14px rgba(1,33,94,.07),
    0 20px 48px rgba(1,33,94,.12),
    0 0 0 3px rgba(59,130,246,.07);
}
/* Accent line atas — muncul saat hover */
.doctor-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--ocean-blue), var(--ocean-blue-light));
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 4;
}
.doctor-card:hover::before { opacity: 1; }

/* ── Foto full-width ── */
.doc-photo-area {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #dce8f5;
  flex-shrink: 0;
}
.doc-photo-area img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.doctor-card:hover .doc-photo-area img { transform: scale(1.04); }

/* Badge pojok kiri atas foto */
.doc-badge {
  position: absolute; top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .02em;
  border: 1.5px solid rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.doc-badge.founder    { background: rgba(245,158,11,.92); color: #fff; }
.doc-badge.specialist { background: rgba(1,33,94,.88);    color: #fff; }
.doc-badge i { font-size: .55rem; }

/* ── Body ── */
.doc-body {
  padding: 16px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

/* Nama & jabatan */
.doc-identity {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.doc-name {
  font-family: var(--font-display);
  font-size: .9375rem; font-weight: 700;
  color: var(--gray-900); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.doc-specialty-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--ocean-blue-pale);
  color: var(--ocean-blue-dark);
  font-size: .6625rem; font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  width: fit-content;
  border: 1px solid rgba(59,130,246,.18);
  line-height: 1;
}
.doc-specialty-pill i { font-size: .575rem; flex-shrink: 0; }

/* ── Info list: universitas, pengalaman, lokasi ── */
.doc-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #EEF2FB;
  border-radius: 12px;
  overflow: hidden;
}
.doc-info-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 11px;
  background: #FAFBFF;
  transition: background .2s ease;
}
.doc-info-row + .doc-info-row {
  border-top: 1px solid #EEF2FB;
}
.doctor-card:hover .doc-info-row { background: #F3F7FF; }
.doc-info-icon {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--ocean-blue-pale);
  flex-shrink: 0;
  margin-top: 1px;
}
.doc-info-icon i {
  font-size: .6rem;
  color: var(--ocean-blue);
}
.doc-info-text {
  font-size: .6875rem;
  color: var(--gray-600);
  font-weight: 500;
  line-height: 1.4;
  padding-top: 3px;
}

/* Lokasi praktik — tags dalam row */
.doc-info-row--locations { align-items: flex-start; }
.doc-location-tags {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding-top: 2px;
}
.doc-location-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--pure-white);
  border: 1px solid #D6E0FF;
  border-radius: 99px;
  font-size: .6rem; font-weight: 600;
  color: var(--ocean-blue-dark);
  white-space: nowrap;
}
.doctor-card:hover .doc-location-tag {
  background: var(--ocean-blue-pale);
  border-color: rgba(59,130,246,.3);
}

/* ── Footer buttons ── */
.doc-footer {
  margin-top: auto;
  padding: 10px 14px 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  background: #F7F9FF;
  border-top: 1px solid #EEF2FB;
}
.doc-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-primary);
  font-size: .75rem; font-weight: 700;
  border-radius: 10px;
  cursor: pointer; border: none; text-decoration: none;
  transition: all .22s ease;
  white-space: nowrap;
}
.doc-btn-primary {
  padding: 9px 14px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(37,211,102,.3);
}
.doc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37,211,102,.45);
  filter: brightness(1.06);
}
/* Profil — icon-only */
.doc-btn-secondary {
  padding: 9px 12px;
  background: var(--pure-white);
  color: var(--ocean-blue-dark);
  border: 1.5px solid #D6E0FF;
}
.doc-btn-secondary:hover {
  border-color: var(--ocean-blue);
  background: var(--ocean-blue-pale);
  transform: translateY(-2px);
}

/* ── Carousel footer ── */
.doctors-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; padding: 0 4px;
}
.doctors-progress-wrap {
  flex: 1; max-width: 160px; height: 3px;
  background: #D6E0FF; border-radius: var(--radius-full); overflow: hidden;
}
.doctors-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--ocean-blue), var(--ocean-blue-light));
  width: 0%; border-radius: var(--radius-full);
  box-shadow: 0 0 8px rgba(59,130,246,.5);
}
.carousel-dots { display: flex; gap: 7px; align-items: center; }
.carousel-dot {
  width: 7px; height: 7px; border-radius: var(--radius-full);
  background: #CBD5E1; border: none; cursor: pointer;
  transition: all .3s ease;
}
.carousel-dot.active { width: 26px; background: var(--ocean-blue); }
.carousel-dot:hover:not(.active) { background: #94A3B8; }
.doctors-slide-counter {
  font-family: var(--font-display);
  font-size: .8125rem; color: var(--gray-400); font-weight: 500; white-space: nowrap;
}
.doctors-slide-counter strong { color: var(--primary-color); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .doctor-card { flex: 0 0 260px; }
}
@media (max-width: 768px) {
  .doctors-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
  .doctors-heading-nav { align-self: flex-end; }
  .doctor-card { flex: 0 0 252px; }
  .doc-photo-area { height: 155px; }
}
@media (max-width: 480px) {
  .doctor-card { flex: 0 0 84vw; }
  .doc-photo-area { height: 175px; }
  .doctors-heading-left .section-description { display: none; }
}
@media (max-width: 480px) {
  .doctor-card { flex: 0 0 86vw; }
}

.doctors-heading-left .section-description { display: none; }
/* ============================================================
   TESTIMONIALS SECTION  — dark glassmorphism (matches Technology)
   ============================================================ */
.testimonials {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-color) 45%, #0e3580 100%);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0);
  background-size: 40px 40px; pointer-events: none;
}

/* Blob decorations */
.testi-blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); opacity: .22; }
.testi-blob-1 { width: 480px; height: 480px; background: var(--ocean-blue); top: -140px; right: -80px; }
.testi-blob-2 { width: 380px; height: 380px; background: #1e40af; bottom: -100px; left: -80px; }

/* Section tag / title overrides for dark bg */
.testimonials .section-tag {
  background: rgba(255,255,255,.08);
  border-color: rgba(59,130,246,.5);
  color: #fff;
  backdrop-filter: blur(10px);
}
.testimonials .section-tag i { color: var(--ocean-blue-light); }
.testimonials .section-title { color: #fff; }
.testimonials .section-description { color: rgba(255,255,255,.75); }

/* ── Heading row ── */
.testi-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.testi-heading-left { flex: 1; min-width: 240px; }
.testi-heading-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Stat pills ── */
.testi-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(0, 20, 60, 0.35);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  transition: all var(--transition-base);
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.testi-stat:hover {
  background: rgba(59,130,246,.25);
  border-color: rgba(59,130,246,.7);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59,130,246,.25);
}
.testi-stat-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59,130,246,.35);
  border: 1px solid rgba(59,130,246,.5);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(59,130,246,.2);
}
.testi-stat-info { display: flex; flex-direction: column; }
.testi-stat-value {
  font-family: var(--font-display);
  font-size: 1.375rem; font-weight: 700;
  background: linear-gradient(135deg, var(--ocean-blue-light), #93C5FD);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.2;
}
.testi-stat-label { font-size: 0.8rem; color: rgba(255,255,255,.8); }

/* ── Carousel container ── */
.testi-carousel-container {
  overflow: hidden;
  position: relative;
  margin: 0 -8px;
}

.testimonial-slider {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.15,1);
}

.testi-slide {
  flex: 0 0 100%;
  padding: 0 8px;
  box-sizing: border-box;
}
@media (min-width: 768px)  { .testi-slide { flex: 0 0 50%; } }
@media (min-width: 1024px) { .testi-slide { flex: 0 0 33.333%; } }

/* ── Card ── */
.testi-card {
  background: rgba(0, 20, 60, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-2xl);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all .4s var(--transition-spring);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.testi-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--ocean-blue-light), var(--ocean-blue), var(--ocean-blue-light), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.testi-card:hover {
  border-color: rgba(59,130,246,.7);
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,.25), 
              0 0 0 1px rgba(59,130,246,.5);
  background: rgba(0, 20, 60, 0.55);
}
.testi-card:hover::after { opacity: 1; }

/* Quote icon */
.testi-quote-icon {
  position: absolute; top: 20px; right: 22px;
  font-size: 2.5rem; 
  color: rgba(59,130,246,.4);
  line-height: 1; pointer-events: none;
  text-shadow: 0 2px 6px rgba(59,130,246,.2);
}

/* ── Card Header ── */
.testi-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.testi-avatar {
  position: relative; width: 56px; height: 56px; flex-shrink: 0;
}
.testi-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(59,130,246,.5);
  transition: all var(--transition-base);
}
.testi-card:hover .testi-avatar img { border-color: var(--ocean-blue-light); box-shadow: 0 0 0 4px rgba(59,130,246,.15); }

.verified-badge {
  position: absolute; bottom: 0; right: 0;
  width: 18px; height: 18px;
  background: var(--ocean-blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.5rem;
  border: 2px solid rgba(1,13,46,.8);
}

.testi-author-info { flex: 1; min-width: 0; }
.testi-author-info h4 {
  font-size: .9375rem; font-weight: 700; color: #fff;
  margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.testi-position {
  font-size: .75rem; color: rgba(255,255,255,.75);
  margin: 2px 0 4px; font-style: italic;
}
.testi-location {
  font-size: .6875rem; color: rgba(255,255,255,.7); margin-bottom: 5px;
}
.testi-location i { color: var(--ocean-blue-light); margin-right: 4px; }
.testi-rating { display: flex; gap: 2px; }
.testi-rating i { color: #FBBF24; font-size: .6875rem; }

.testi-platform {
  width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59, 130, 246, 0.2); 
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,.8); font-size: .9375rem;
  transition: all var(--transition-base);
}
.testi-card:hover .testi-platform {
  background: rgba(59,130,246,.5);
  border-color: rgba(59,130,246,.8);
  color: #fff;
  box-shadow: 0 2px 8px rgba(59,130,246,.3);
}

/* ── Card Body ── */
.testi-card-body {
  flex: 1; margin-bottom: 16px; position: relative; z-index: 1;
}
.testi-text {
  font-size: .9rem; color: rgba(255,255,255,.9);
  line-height: 1.8; font-style: italic;
}

/* ── Card Footer ── */
.testi-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(59, 130, 246, 0.25);
  position: relative; z-index: 1;
}
.testi-service {
  font-size: .6875rem; color: #93C5FD;
  font-weight: 600; display: flex; align-items: center; gap: 5px;
}
.testi-service i { color: #93C5FD; }
.testi-date { font-size: .6875rem; color: rgba(255,255,255,.6); }

/* ── Footer controls (nav + progress + dots + counter) ── */
.testi-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.testi-footer-nav { display: flex; gap: 10px; flex-shrink: 0; }
.testi-heading-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 20, 60, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 50%; color: rgba(255,255,255,.9);
  font-size: .9375rem; cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.testi-heading-btn:hover {
  background: var(--ocean-blue); 
  border-color: var(--ocean-blue-light);
  color: #fff; 
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(59,130,246,.3);
}
.testi-heading-btn:disabled { opacity: .35; cursor: default; transform: none; }

.testi-progress-wrap {
  flex: 1; min-width: 80px; height: 4px;
  background: rgba(0, 20, 60, 0.5); 
  border-radius: 99px; overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
}
.testi-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--ocean-blue), var(--ocean-blue-light));
  border-radius: 99px; transition: width .1s linear;
}

.testi-dots-wrap { display: flex; gap: 6px; align-items: center; }
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(59, 130, 246, 0.3); 
  border: 1px solid rgba(59, 130, 246, 0.5);
  cursor: pointer;
  transition: all var(--transition-base); 
  padding: 0;
}
.testi-dot:hover { 
  background: rgba(59, 130, 246, 0.6); 
  border-color: rgba(59, 130, 246, 0.8);
  transform: scale(1.15);
}
.testi-dot.active {
  background: var(--ocean-blue-light);
  border-color: var(--ocean-blue-light);
  transform: scale(1.4);
  width: 20px; border-radius: 4px;
  box-shadow: 0 2px 8px rgba(59,130,246,.4);
}

.testi-slide-counter {
  font-size: .8125rem; color: rgba(255,255,255,.75);
  white-space: nowrap; flex-shrink: 0;
}
.testi-slide-counter strong { color: #fff; font-weight: 700; }

/* ── CTA ── */
.testimonial-cta {
  text-align: center;
  margin-top: var(--spacing-2xl);
}
.testimonial-cta p {
  color: rgba(255,255,255,.75);
  margin-bottom: var(--spacing-md);
  font-size: 1.0625rem;
}
.testimonial-cta strong { color: var(--ocean-blue-light); }

/* ===================================
   Gallery Section — Premium Masonry + Lightbox
   =================================== */

.gallery {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--pure-white) 100%);
    position: relative;
    overflow: hidden;
}

/* ── Gallery Filter Buttons ── */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.gallery-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: var(--pure-white);
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 1px 4px rgba(1,33,94,0.06);
}

.gallery-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(1, 33, 94, 0.04);
    box-shadow: 0 2px 10px rgba(1,33,94,0.12);
    transform: translateY(-1px);
}

.gallery-filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(1,33,94,0.3);
    transform: translateY(-1px);
}

.gallery-filter-btn i {
    font-size: 0.8125rem;
}

/* ── Masonry Grid ── */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(1,33,94,0.1);
    transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.25s ease,
                border-color 0.25s ease;
    border: 2px solid transparent;
    will-change: transform;
}

.gallery-item.hidden {
    display: none;
}

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

/* Dark overlay on hover */
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(1, 33, 94, 0.88) 0%, rgba(42, 74, 143, 0.75) 100%);
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 1;
    border-radius: inherit;
}

/* Subtle shine line on hover */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
    transform: skewX(-20deg);
    opacity: 0;
    transition: opacity 0.3s ease, left 0.55s ease;
    z-index: 3;
    pointer-events: none;
}

.gallery-item:hover {
    transform: scale(1.025) translateY(-3px);
    box-shadow: 0 16px 40px rgba(1,33,94,0.25), 0 4px 12px rgba(1,33,94,0.12);
    border-color: rgba(1,33,94,0.35);
    z-index: 5;
}

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

.gallery-item:hover::after {
    opacity: 1;
    left: 120%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
    display: block;
}

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

/* Hover overlay content */
.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.28s ease;
    color: #fff;
    text-align: center;
    padding: 20px;
    z-index: 2;
}

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

/* Zoom icon */
.gallery-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin-bottom: 12px;
    transform: scale(0) rotate(-20deg);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.gallery-icon i {
    font-size: 1.125rem;
    color: #fff;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1) rotate(0deg);
}

/* Category chip on hover */
.gallery-overlay .gallery-cat-chip {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
    transform: translateY(10px);
    transition: transform 0.25s ease 0.05s, opacity 0.25s ease 0.05s;
    opacity: 0;
}

.gallery-item:hover .gallery-overlay .gallery-cat-chip {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    transform: translateY(16px);
    transition: transform 0.28s ease 0.05s;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.gallery-item:hover .gallery-overlay h3 { transform: translateY(0); }

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    font-size: 0.8125rem;
    transform: translateY(16px);
    transition: transform 0.28s ease 0.08s;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.gallery-item:hover .gallery-overlay p { transform: translateY(0); }

/* ── Lightbox ── */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 8, 22, 0.96);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

/* Top bar: counter kiri, close kanan */
.lightbox-topbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(0,8,22,0.75) 0%, transparent 100%);
    z-index: 10;
}

.lightbox-counter {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: .5px;
}

.lightbox-close {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.4);
    transform: scale(1.08) rotate(90deg);
}

/* Nav buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 20px rgba(1,33,94,0.5);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Image wrapper with loading shimmer */
.lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 88vw;
    max-height: 80vh;
}

.lightbox-img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 80px;
}

.lightbox-img-wrap.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: lbShimmer 1.2s infinite;
    border-radius: 10px;
}

@keyframes lbShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.lightbox-content img {
    max-width: 88vw;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 8px 20px rgba(0,0,0,0.3);
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: block;
}

.lightbox-content img.entering {
    opacity: 0;
    transform: scale(0.96);
}

/* Caption panel */
.lightbox-caption {
    margin-top: 16px;
    text-align: center;
    max-width: 560px;
}

.lightbox-caption h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.lightbox-caption p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.875rem;
    margin: 0;
}

/* Bottom dots */
.lightbox-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.lightbox-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.3);
    transition: width 0.25s ease, background 0.25s ease;
}

.lightbox-dot.active {
    width: 20px;
    background: #fff;
}

/* ===================================
   Instagram Feed Section
   =================================== */

.instagram-feed {
    background: var(--pure-white);
    position: relative;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-sm);
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-spring);
}

.instagram-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(193, 53, 132, 0.9) 0%, rgba(253, 29, 29, 0.8) 50%, rgba(245, 96, 64, 0.9) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 1;
}

.instagram-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.instagram-item:hover::before {
    opacity: 1;
}

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

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

.instagram-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.instagram-overlay i {
    font-size: 2rem;
    color: var(--pure-white);
    transform: scale(0);
    transition: transform var(--transition-spring);
}

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

.instagram-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.instagram-cta .btn {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #F56040 100%);
    color: var(--pure-white);
    border: none;
}

.instagram-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(193, 53, 132, 0.4);
}

/* ===================================
   Events Section
   =================================== */

/* ===================================
   Events Section — Redesign
   =================================== */

.events {
    background: linear-gradient(180deg, var(--pure-white) 0%, var(--off-white) 100%);
    position: relative;
    overflow: hidden;
}

/* Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Footer CTA — centered below grid */
.events-footer-cta {
    text-align: center;
    margin-top: 48px;
}

.events-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid var(--ocean-blue);
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ocean-blue);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.events-view-all:hover {
    background: var(--ocean-blue);
    color: #fff;
    transform: translateY(-2px);
}

.events-view-all i {
    transition: transform 0.25s ease;
}

.events-view-all:hover i {
    transform: translateX(4px);
}

/* ===== Event Card ===== */
.event-card {
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(1, 33, 94, 0.08);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(1, 33, 94, 0.15);
}

/* ---- Image wrapper (all overlays are positioned relative to this) ---- */
.event-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--off-white);
    flex-shrink: 0;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover .event-image img {
    transform: scale(1.08);
}

/* ---- Date Block — inside .event-image so absolute positioning is correct ---- */
.event-date-block {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    width: 50px;
    text-align: center;
    padding: 7px 4px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    box-shadow: 0 4px 14px rgba(1, 33, 94, 0.45);
    line-height: 1;
}

.event-date-block .event-day {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.event-date-block .event-month {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--ocean-blue-light);
}

.event-date-block .event-year {
    font-size: 9px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.4px;
}

/* ---- Featured Badge (top-right of image) ---- */
.event-featured-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 4;
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.4);
    animation: eventPulse 2.2s ease-in-out infinite;
}

@keyframes eventPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.06); }
}

/* ---- Category Pill (bottom-left of image) ---- */
.event-category-pill {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    z-index: 4;
    backdrop-filter: blur(8px);
    color: #fff;
}

.event-category-pill.community { background: rgba(34,197,94,0.88); }
.event-category-pill.seminar   { background: rgba(59,130,246,0.90); }
.event-category-pill.promo     { background: rgba(37,99,235,0.90); }
.event-category-pill.workshop  { background: rgba(245,158,11,0.92); }
.event-category-pill.webinar   { background: rgba(168,85,247,0.90); }

/* ---- Content ---- */
.event-content {
    padding: 20px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.event-title {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text-body);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 2px;
}

.event-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.event-meta-item i {
    color: var(--ocean-blue);
    font-size: 11px;
    flex-shrink: 0;
}

.event-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ocean-blue);
    text-decoration: none;
    border-top: 1px solid var(--border-light);
    transition: gap 0.2s ease, color 0.2s ease;
}

.event-btn-link:hover {
    color: var(--ocean-blue-dark);
    gap: 12px;
}

/* ---- Accent Bar (bottom of card) ---- */
.event-accent-bar {
    height: 4px;
    flex-shrink: 0;
}

.event-accent-bar.community { background: linear-gradient(90deg, #22C55E, #16A34A); }
.event-accent-bar.seminar   { background: linear-gradient(90deg, #3B82F6, #2563EB); }
.event-accent-bar.promo     { background: linear-gradient(90deg, #2563EB, #1D4ED8); }
.event-accent-bar.workshop  { background: linear-gradient(90deg, #F59E0B, #D97706); }
.event-accent-bar.webinar   { background: linear-gradient(90deg, #A855F7, #7C3AED); }
.event-accent-bar.default   { background: linear-gradient(90deg, var(--ocean-blue), var(--ocean-blue-dark)); }

/* ---- Empty State ---- */
.events-empty {
    text-align: center;
    padding: 64px 24px;
}

.events-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--ocean-blue-pale);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.events-empty-icon i {
    font-size: 2rem;
    color: var(--ocean-blue);
    opacity: 0.7;
}

.events-empty p {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
}

/* ===================================
   FAQ Section - Accordion
   =================================== */

.faq {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--pure-white) 100%);
    position: relative;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--pure-white);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--ocean-blue);
}

.faq-item.active {
    border-color: var(--ocean-blue);
    box-shadow: var(--shadow-lg), var(--shadow-glow-teal);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    background: transparent;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: 50%;
    color: var(--ocean-blue);
    font-size: 1rem;
    transition: all var(--transition-spring);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--ocean-blue);
    color: #F8F8F8;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--gray-600);
    line-height: 1.8;
}

.faq-answer-content p {
    margin: 0;
}

.faq-item.hidden {
    display: none !important;
}

/* FAQ Category Filter */
.faq-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.faq-filter .filter-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--pure-white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-base);
}

.faq-filter .filter-btn:hover {
    border-color: var(--ocean-blue);
    color: var(--ocean-blue);
}

.faq-filter .filter-btn.active {
    background: var(--ocean-blue);
    border-color: var(--ocean-blue);
    color: var(--pure-white);
}

/* ===================================
   CTA Section - Premium
   =================================== */

.cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: ctaGlow 20s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-10%, -10%) rotate(5deg); }
}

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

.cta-content h2 {
    color: var(--pure-white);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    color: rgba(248, 248, 248, 0.9);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

/* ===================================
   Footer - Premium Style
   =================================== */

.footer {
    background: linear-gradient(180deg, var(--gray-900) 0%, var(--black) 100%);
    color: var(--gray-300);
    padding: var(--spacing-4xl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ocean-blue-gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-col h3 {
    color: var(--pure-white);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--ocean-blue-gradient);
    border-radius: var(--radius-full);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pure-white);
    margin-bottom: var(--spacing-md);
}

.footer-brand img {
    background: #fff;
    padding: 8px 12px;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.footer-brand i {
    font-size: 2rem;
    background: var(--ocean-blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col > p {
    color: var(--gray-400);
    line-height: 1.9;
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-400);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all var(--transition-spring);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--ocean-blue);
    color: #F8F8F8;
    transform: translateY(-4px);
    box-shadow: var(--shadow-teal);
}

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

.footer-col ul a {
    color: var(--gray-400);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
}

.footer-col ul a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--ocean-blue);
    transition: width var(--transition-base);
}

.footer-col ul a:hover {
    color: var(--ocean-blue);
    transform: translateX(8px);
}

.footer-col ul a:hover::before {
    width: 15px;
}

.footer-hours,
.footer-contact {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: var(--spacing-md);
}

.footer-hours p,
.footer-contact p {
    color: var(--gray-300);
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.footer-hours strong,
.footer-contact strong {
    color: var(--ocean-blue);
}

.footer-contact p i {
    color: var(--ocean-blue);
    margin-right: 10px;
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray-500);
}

.footer-bottom p {
    margin-bottom: 8px;
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.footer-bottom strong {
    color: var(--ocean-blue);
}

/* ===================================
   Floating Buttons
   =================================== */

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-spring);
    animation: pulseWhatsapp 2.5s ease-in-out infinite;
}

@keyframes pulseWhatsapp {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.3);
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    animation: none;
    box-shadow: 0 10px 50px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover::before {
    animation: none;
    opacity: 0;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(1, 33, 94, 0.9);
    backdrop-filter: blur(10px);
    color: var(--pure-white);
    border-radius: 50%;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-spring);
    border: 1px solid var(--ocean-blue);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--ocean-blue);
    color: #F8F8F8;
    transform: translateY(-4px);
    box-shadow: var(--shadow-teal-lg);
}

/* ===================================
   Lightbox Modal
   =================================== */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform var(--transition-spring);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--ocean-blue);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ocean-blue);
    border-radius: 50%;
    color: var(--primary-dark);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ocean-blue);
    border-radius: 50%;
    color: var(--primary-dark);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.lightbox-nav:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

.lightbox-caption {
    text-align: center;
    color: var(--pure-white);
    margin-top: var(--spacing-md);
    font-size: 1.125rem;
}

.lightbox-counter {
    text-align: center;
    color: var(--ocean-blue);
    margin-top: var(--spacing-xs);
    font-size: 0.875rem;
}

/* ===================================
   Video Modal
   =================================== */

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90vw;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: var(--black);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid var(--ocean-blue);
    transform: scale(0.9);
    transition: transform var(--transition-spring);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ocean-blue);
    border-radius: 50%;
    color: var(--primary-dark);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.video-modal-close:hover {
    transform: rotate(90deg) scale(1.1);
}

.video-wrapper {
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* ===================================
   Responsive Design
   =================================== */

/* Large Desktop */
@media (max-width: 1400px) {
    .services-bento {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-card.featured {
        grid-column: span 2;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-image {
        order: -1;
    }

    .hero-image-grid {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-text {
        text-align: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    /* About Section - Simplified Tablet */
    .about-main {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .about-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-image-container img {
        height: 450px;
    }

    .about-floating-stat {
        bottom: -20px;
        right: -15px;
    }

    .about-info {
        text-align: center;
    }

    .about-quote {
        text-align: left;
    }

    .about-founder-info {
        text-align: center;
    }

    .founder-tags {
        justify-content: center;
    }

    .about-info .btn {
        margin: 0 auto;
    }

    .about-stats-bar {
        padding: var(--spacing-lg);
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .stat-divider {
        height: 50px;
    }

    /* Services Tablet */
    .service-filters {
        gap: var(--spacing-xs);
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 0.875rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-image {
        height: 160px;
    }

    /* Gallery Tablet */
    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }

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

    .branches-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container {
        position: relative;
        top: 0;
        order: -1;
        border-radius: 14px;
    }

    #branches-map {
        height: 380px;
    }

    .branches-list-container {
        max-height: none;
    }

    .branches-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .cta-features {
        justify-content: center;
    }

    .testimonial-card.video-testimonial {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    /* Gallery Tablet - already defined above */

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lightbox-prev { left: 20px; }
    .lightbox-next { right: 20px; }

    /* Events Tablet */
    /* Events Tablet */
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .event-image {
        height: 200px;
    }

    /* Testimonials Tablet */
    .testi-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
    .testi-heading-stats { gap: 12px; }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --spacing-3xl: 4rem;
        --spacing-4xl: 5rem;
    }

    section {
        padding: var(--spacing-3xl) 0;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Navigation Mobile */
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        height: calc(100dvh - var(--header-height));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: var(--glass-blur-strong);
        -webkit-backdrop-filter: var(--glass-blur-strong);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: var(--spacing-xl) var(--spacing-md);
        padding-bottom: calc(var(--spacing-xl) + env(safe-area-inset-bottom, 0px));
        gap: 0;
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
        z-index: 999;
        display: flex;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: var(--spacing-md);
        font-size: 1.125rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-link::after {
        display: none;
    }

    #nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + var(--spacing-xl)) 0 var(--spacing-xl);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .floating-card {
        bottom: 16px;
        right: 16px;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .floating-elements {
        display: none;
    }

    .circle-3, .circle-4 {
        display: none;
    }

    /* About Mobile - Simplified */
    .about-main {
        gap: var(--spacing-lg);
    }

    .about-visual {
        max-width: 320px;
    }

    .about-image-container img {
        height: 380px;
    }

    .about-image-badge {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .about-floating-stat {
        bottom: -15px;
        right: -10px;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .floating-stat-number {
        font-size: 1.75rem;
    }

    .floating-stat-text {
        font-size: 0.6875rem;
    }

    .about-quote {
        padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) var(--spacing-lg);
    }

    .about-quote > i {
        font-size: 1.75rem;
        left: 15px;
    }

    .about-quote blockquote {
        font-size: 1rem;
    }

    .about-founder-info h3 {
        font-size: 1.5rem;
    }

    .founder-role {
        padding: 6px 16px;
        font-size: 0.8125rem;
    }

    .about-founder-info p {
        font-size: 1rem;
    }

    .founder-tags span {
        padding: 8px 14px;
        font-size: 0.8125rem;
    }

    .about-stats-bar {
        flex-wrap: wrap;
        padding: var(--spacing-md);
        gap: var(--spacing-xs);
    }

    .stat-item {
        flex: 1 1 calc(50% - var(--spacing-md));
        padding: var(--spacing-sm);
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8125rem;
    }

    .stat-divider {
        display: none;
    }

    /* Services Mobile */
    .service-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--spacing-sm);
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8125rem;
        white-space: nowrap;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-image {
        height: 180px;
    }

    .service-card-content {
        padding: var(--spacing-md);
    }

    .service-card-content h3 {
        font-size: 1.125rem;
    }

    .service-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    /* Gallery Mobile */
    .gallery-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--spacing-sm);
    }

    .gallery-filter-btn {
        padding: 8px 14px;
        font-size: 0.8125rem;
        white-space: nowrap;
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

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

    .gallery-item.wide {
        grid-column: span 1;
    }

    .gallery-overlay h3 {
        font-size: 1rem;
    }

    .gallery-overlay p {
        font-size: 0.75rem;
    }

    .gallery-icon {
        width: 40px;
        height: 40px;
    }

    .gallery-icon i {
        font-size: 1rem;
    }

    /* Lightbox Mobile */
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    /* Before/After Mobile */
    .before-after-grid {
        grid-template-columns: 1fr;
    }

    /* Branches Mobile */
    .branches-search {
        margin-bottom: var(--spacing-xl);
    }

    .search-input-wrapper {
        padding: 10px 16px;
    }

    .search-input-wrapper input {
        font-size: 0.9rem;
    }

    #branches-map {
        height: 320px;
    }

    .region-header {
        padding: 12px 14px;
    }

    .region-icon-wrap {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .region-name {
        font-size: 0.875rem;
    }

    .region-count {
        font-size: 0.7rem;
        padding: 2px 7px;
    }

    .branch-card {
        padding: 12px;
    }

    .branch-icon {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .branch-card-header h4 {
        font-size: 0.8375rem;
    }

    .branch-address {
        font-size: 0.7125rem;
    }

    .branch-btn {
        padding: 5px 9px;
        font-size: 0.675rem;
    }

    .map-legend {
        padding: 8px 14px;
    }

    .branches-cta-inner {
        padding: 24px 20px;
        gap: 18px;
    }

    .branches-cta-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .branches-cta-icon i {
        font-size: 1.5rem;
    }

    .branches-cta-content h3 {
        font-size: 1.1rem;
    }

    .cta-features {
        gap: 10px;
    }

    .search-input-wrapper {
        padding: var(--spacing-xs) var(--spacing-md);
    }

    .search-input-wrapper input {
        font-size: 0.9375rem;
    }

    #branches-map {
        height: 350px;
    }

    .region-header {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .region-info i {
        font-size: 1.125rem;
    }

    .region-name {
        font-size: 1rem;
    }

    .region-count {
        font-size: 0.75rem;
        padding: 3px 8px;
    }

    .branch-card {
        padding: var(--spacing-sm);
    }

    .branch-icon {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .branch-card-header h4 {
        font-size: 0.875rem;
    }

    .branch-address {
        font-size: 0.75rem;
    }

    .branch-info span {
        font-size: 0.75rem;
    }

    .branch-actions .btn {
        padding: 6px 10px;
        font-size: 0.6875rem;
    }

    .branches-list {
        grid-template-columns: 1fr;
    }

    .map-legend {
        padding: var(--spacing-sm);
    }

    .legend-item span {
        font-size: 0.8125rem;
    }

    .branches-cta {
        padding: var(--spacing-xl);
    }

    .branches-cta .cta-icon {
        width: 64px;
        height: 64px;
    }

    .branches-cta .cta-icon i {
        font-size: 1.5rem;
    }

    /* Doctors Mobile */
    .doctor-card {
        flex: 0 0 300px;
    }

    .doctor-header {
        padding: var(--spacing-lg) var(--spacing-md) 0;
    }

    .doctor-image {
        width: 110px;
        height: 110px;
    }

    .doctor-badge {
        width: 28px;
        height: 28px;
        font-size: 0.6875rem;
    }

    .doctor-body {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .doctor-body h3 {
        font-size: 1rem;
    }

    .doctor-specialty {
        font-size: 0.75rem;
        padding: 3px 10px;
    }

    .doctor-stats {
        gap: var(--spacing-xs);
        padding: var(--spacing-xs) 0;
    }

    .doctor-stats .stat-value {
        font-size: 1.125rem;
    }

    .doctor-stats .stat-label {
        font-size: 0.625rem;
    }

    .doctor-stats .stat-divider {
        height: 24px;
    }

    .expertise-tag {
        font-size: 0.625rem;
        padding: 3px 8px;
    }

    .doctor-education {
        font-size: 0.6875rem;
    }

    .doctor-footer {
        padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
    }

    .btn-doctor {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Events Mobile */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-image {
        height: 195px;
    }

    .event-content {
        padding: 16px 18px 14px;
    }

    .event-title {
        font-size: 16px;
    }

    .event-date-block {
        width: 44px;
    }

    .event-date-block .event-day {
        font-size: 18px;
    }

    .events-view-all {
        font-size: 13px;
        padding: 10px 22px;
    }

    /* Instagram Mobile */
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col ul a {
        justify-content: center;
    }

    .footer-col ul a::before {
        display: none;
    }

    /* CTA Mobile */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Floating Buttons Mobile */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.75rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
        font-size: 1rem;
    }

    /* Lightbox Mobile */
    .lightbox-content {
        max-width: 95vw;
    }

    .lightbox-close {
        top: -45px;
        width: 40px;
        height: 40px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }

    /* Testimonials Mobile */
    .testi-heading-stats { flex-direction: column; align-items: flex-start; gap: 10px; }
    .testi-stat { width: 100%; }
    .testi-footer { gap: 12px; }
    .testi-progress-wrap { min-width: 60px; }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --spacing-3xl: 3rem;
    }

    h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

    .section-tag {
        font-size: 0.75rem;
        padding: 8px 16px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9375rem;
    }

    .btn-lg {
        padding: 16px 28px;
        font-size: 1rem;
    }

    .feature-badge {
        padding: 8px 14px;
        font-size: 0.8125rem;
    }

    /* About Section - Simplified Small Mobile */
    .about-main {
        gap: var(--spacing-md);
    }

    .about-visual {
        max-width: 100%;
    }

    .about-image-container img {
        height: 320px;
    }

    .about-image-badge {
        padding: 6px 12px;
        font-size: 0.6875rem;
        top: 12px;
        left: 12px;
    }

    .about-floating-stat {
        bottom: -10px;
        right: 5px;
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .floating-stat-number {
        font-size: 1.5rem;
    }

    .floating-stat-text {
        font-size: 0.625rem;
    }

    .about-quote {
        padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-sm) var(--spacing-md);
        border-left-width: 4px;
    }

    .about-quote > i {
        font-size: 1.5rem;
        left: 12px;
        top: -3px;
    }

    .about-quote blockquote {
        font-size: 0.9375rem;
    }

    .about-founder-info h3 {
        font-size: 1.25rem;
    }

    .founder-role {
        padding: 5px 14px;
        font-size: 0.75rem;
    }

    .about-founder-info p {
        font-size: 0.9375rem;
    }

    .founder-tags {
        flex-direction: column;
    }

    .founder-tags span {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .about-info .btn {
        width: 100%;
    }

    .about-stats-bar {
        flex-direction: column;
        padding: var(--spacing-md);
        gap: 0;
    }

    .stat-item {
        flex: none;
        width: 100%;
        padding: var(--spacing-sm) var(--spacing-md);
        display: flex;
        align-items: center;
        gap: var(--spacing-md);
        text-align: left;
    }

    .stat-item:not(:last-child) {
        border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    }

    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0;
        min-width: 80px;
    }

    .stat-label {
        font-size: 0.8125rem;
        text-align: left;
    }

    /* Branches Small Mobile */
    .search-input-wrapper {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .search-input-wrapper i {
        font-size: 1rem;
    }

    .search-input-wrapper input {
        font-size: 0.875rem;
    }

    .search-clear {
        width: 28px;
        height: 28px;
    }

    #branches-map {
        height: 300px;
    }

    .region-header {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .region-info {
        gap: var(--spacing-xs);
    }

    .region-info i {
        font-size: 1rem;
    }

    .region-name {
        font-size: 0.9375rem;
    }

    .region-count {
        font-size: 0.6875rem;
        padding: 2px 6px;
    }

    .region-toggle {
        font-size: 0.875rem;
    }

    .branch-card {
        padding: var(--spacing-xs);
        margin: var(--spacing-xs) !important;
    }

    .branch-card-header {
        gap: var(--spacing-xs);
    }

    .branch-icon {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .branch-card-header h4 {
        font-size: 0.8125rem;
    }

    .branch-address {
        font-size: 0.6875rem;
    }

    .branch-info {
        gap: var(--spacing-xs);
        padding: var(--spacing-xs) 0;
    }

    .branch-info span {
        font-size: 0.6875rem;
        gap: 4px;
    }

    .branch-info span i {
        font-size: 0.625rem;
    }

    .branch-actions {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .branch-actions .btn {
        width: 100%;
        padding: 8px;
        font-size: 0.6875rem;
    }

    .map-legend {
        padding: var(--spacing-xs);
    }

    .legend-marker {
        width: 12px;
        height: 12px;
    }

    .legend-item span {
        font-size: 0.75rem;
    }

    .legend-hint {
        font-size: 0.6875rem;
    }

    .branches-cta {
        padding: var(--spacing-lg);
    }

    .branches-cta .cta-icon {
        width: 56px;
        height: 56px;
    }

    .branches-cta .cta-icon i {
        font-size: 1.25rem;
    }

    .branches-cta h3 {
        font-size: 1.125rem;
    }

    .branches-cta > p {
        font-size: 0.875rem;
    }

    .doctor-card {
        flex: 0 0 280px;
    }

    .doctor-header {
        padding: var(--spacing-md) var(--spacing-sm) 0;
    }

    .doctor-header::before {
        height: 25px;
    }

    .doctor-image {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }

    .doctor-badge {
        width: 24px;
        height: 24px;
        font-size: 0.625rem;
    }

    .doctor-status {
        width: 14px;
        height: 14px;
        border-width: 2px;
    }

    .doctor-rating .stars i {
        font-size: 0.625rem;
    }

    .doctor-rating .rating-score {
        font-size: 0.75rem;
    }

    .doctor-rating .rating-count {
        font-size: 0.625rem;
    }

    .doctor-body {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .doctor-body h3 {
        font-size: 0.9375rem;
    }

    .doctor-specialty {
        font-size: 0.6875rem;
        padding: 2px 8px;
        margin-bottom: var(--spacing-sm);
    }

    .doctor-stats {
        padding: var(--spacing-xs);
        margin-bottom: var(--spacing-sm);
    }

    .doctor-stats .stat-item {
        padding: 0 var(--spacing-xs);
    }

    .doctor-stats .stat-value {
        font-size: 1rem;
    }

    .doctor-stats .stat-label {
        font-size: 0.5625rem;
    }

    .doctor-stats .stat-divider {
        height: 20px;
    }

    .doctor-expertise {
        gap: 4px;
        margin-bottom: var(--spacing-sm);
    }

    .expertise-tag {
        font-size: 0.5625rem;
        padding: 2px 6px;
    }

    .doctor-education {
        font-size: 0.625rem;
    }

    .doctor-footer {
        flex-direction: column;
        padding: var(--spacing-sm);
        gap: 6px;
    }

    .btn-doctor {
        padding: 8px;
        font-size: 0.6875rem;
    }

    .doctor-image {
        width: 140px;
        height: 140px;
    }

    /* Testimonials Small Mobile */
    .testi-card { padding: 20px; }
    .testi-footer { flex-wrap: wrap; gap: 10px; }
    .testi-slide-counter { display: none; }

    .testimonial-cta p {
        font-size: 0.9375rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + var(--spacing-md)) 0 var(--spacing-md);
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-image {
        order: 0;
    }

    .hero-text {
        text-align: left;
    }

    .hero-features {
        justify-content: flex-start;
    }

    .hero-cta {
        justify-content: flex-start;
        flex-direction: row;
    }

    .hero-cta .btn {
        width: auto;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===================================
   Animation Utilities
   =================================== */

[data-aos] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] { transform: translateY(50px); }
[data-aos="fade-up"].aos-animate { transform: translateY(0); }

[data-aos="fade-right"] { transform: translateX(-50px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }

[data-aos="fade-left"] { transform: translateX(50px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

[data-aos="fade-down"] { transform: translateY(-50px); }
[data-aos="fade-down"].aos-animate { transform: translateY(0); }

[data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos-delay="200"] { transition-delay: 200ms; }
[data-aos-delay="300"] { transition-delay: 300ms; }
[data-aos-delay="400"] { transition-delay: 400ms; }
[data-aos-delay="500"] { transition-delay: 500ms; }
[data-aos-delay="600"] { transition-delay: 600ms; }

/* ===================================
   Utility Classes
   =================================== */

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

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.hidden { display: none !important; }
.visible { display: block !important; }

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

/* Print Styles */
@media print {
    .navbar, .whatsapp-float, .back-to-top, .lightbox, .video-modal {
        display: none !important;
    }

    section {
        page-break-inside: avoid;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }
}

/* ============================================================
   DOCTOR PROFILE MODAL
   ============================================================ */

/* ── Overlay ─────────────────────────────────────────────── */
.doctor-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(1, 13, 46, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    overflow-y: auto;
    padding: 24px 16px;
    align-items: flex-start;
    justify-content: center;
    animation: overlayFadeIn 0.25s ease;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.doctor-modal-overlay.active {
    display: flex;
}

/* ── Container ───────────────────────────────────────────── */
.doctor-modal-container {
    background: var(--pure-white, #fff);
    border-radius: 28px;
    max-width: 680px;
    width: 100%;
    margin: auto;
    position: relative;
    box-shadow:
        0 40px 120px rgba(1, 33, 94, 0.35),
        0 0 0 1px rgba(255,255,255,0.08);
    animation: modalSlideIn 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    max-height: 92vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(59,130,246,0.35) transparent;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.doctor-modal-container::-webkit-scrollbar { width: 5px; }
.doctor-modal-container::-webkit-scrollbar-track { background: transparent; }
.doctor-modal-container::-webkit-scrollbar-thumb {
    background: rgba(59,130,246,0.3);
    border-radius: 99px;
}

/* ── Close Button ────────────────────────────────────────── */
.doctor-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.doctor-modal-close:hover {
    background: rgba(255,255,255,0.28);
    transform: rotate(90deg) scale(1.1);
}

/* ── HEADER ──────────────────────────────────────────────── */
.doctor-modal-header {
    position: relative;
    background: linear-gradient(150deg, #000d2e 0%, #01215E 45%, #0b4d8c 100%);
    padding: 48px 32px 28px;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Decorative animated circles */
.modal-header-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.modal-header-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(59,130,246,0.2);
}
.modal-header-circle--1 {
    width: 380px; height: 380px;
    top: -180px; right: -100px;
    animation: rotateSlow 50s linear infinite;
    border-color: rgba(59,130,246,0.15);
}
.modal-header-circle--2 {
    width: 240px; height: 240px;
    bottom: -120px; left: -60px;
    animation: rotateSlow 35s linear infinite reverse;
    border-color: rgba(255,255,255,0.1);
}
.modal-header-circle--3 {
    width: 120px; height: 120px;
    top: 20px; left: 30%;
    animation: pulseGlow 6s ease-in-out infinite;
    border-color: rgba(59,130,246,0.25);
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
}
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes pulseGlow {
    0%,100% { transform: scale(1); opacity: 0.5; }
    50%      { transform: scale(1.15); opacity: 1; }
}

/* Hero content row */
.modal-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Photo wrapper */
.doctor-modal-photo-wrapper {
    position: relative;
    flex-shrink: 0;
}

.modal-photo-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(59,130,246,0.8) 0%,
        rgba(255,255,255,0.4) 25%,
        rgba(59,130,246,0.6) 50%,
        rgba(255,255,255,0.3) 75%,
        rgba(59,130,246,0.8) 100%
    );
    animation: ringRotate 6s linear infinite;
    z-index: 0;
}
@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.doctor-modal-photo {
    position: relative;
    z-index: 1;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pure-white, #fff);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    display: block;
}

.modal-badge-container {
    position: absolute;
    top: -4px;
    right: -4px;
    z-index: 3;
}
.modal-badge-container .doctor-badge {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    border: 2px solid #fff;
}

/* Header text */
.doctor-modal-header-info {
    flex: 1;
    color: #fff;
}
.modal-doctor-name {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: clamp(20px, 4vw, 26px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.modal-doctor-position {
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    margin: 0 0 10px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* ── Meta Chips (university, experience) ─────────────────── */
.modal-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.modal-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 99px;
    padding: 5px 13px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.modal-meta-chip i {
    font-size: 12px;
    color: rgba(59,130,246,0.85);
    flex-shrink: 0;
}

/* ── BODY ────────────────────────────────────────────────── */
.doctor-modal-body {
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ── Section ─────────────────────────────────────────────── */
.modal-section {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.modal-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.modal-section-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(1,33,94,0.08) 0%, rgba(11,77,140,0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ocean-blue, #3B82F6);
    font-size: 15px;
    flex-shrink: 0;
}
.modal-section-title {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color, #01215E);
    margin: 0;
    letter-spacing: -0.01em;
}

/* ── Bio ─────────────────────────────────────────────────── */
.modal-bio-content {
    color: #475569;
    line-height: 1.8;
    font-size: 14.5px;
}
.modal-bio-content p { margin: 0 0 12px; }
.modal-bio-content p:last-child { margin-bottom: 0; }
.modal-bio-content ul, .modal-bio-content ol {
    margin: 0 0 12px 18px;
    padding: 0;
}
.modal-bio-content li { margin-bottom: 6px; }
.modal-bio-content strong { color: #01215E; font-weight: 600; }

/* ── Practice Locations Grid ─────────────────────────────── */
.modal-practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.modal-practice-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: 12px;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.modal-practice-card:hover {
    border-color: rgba(59,130,246,0.35);
    box-shadow: 0 3px 10px rgba(1,33,94,0.08);
}
.modal-practice-card i {
    font-size: 14px;
    color: var(--ocean-blue, #3B82F6);
    flex-shrink: 0;
}

/* ── WhatsApp Action Button ──────────────────────────────── */
.modal-action-buttons {
    margin-top: 20px;
}

.btn-modal-whatsapp {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 22px;
    border-radius: 16px;
    text-decoration: none;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    box-shadow: 0 6px 24px rgba(37,211,102,0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-modal-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    z-index: 0;
}
.btn-modal-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37,211,102,0.45);
}
.btn-whatsapp-icon {
    position: relative;
    z-index: 1;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.btn-modal-whatsapp:hover .btn-whatsapp-icon {
    transform: scale(1.1) rotate(-8deg);
}
.btn-whatsapp-text {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.btn-whatsapp-label {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}
.btn-whatsapp-sub {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 400;
}
.btn-whatsapp-arrow {
    position: relative;
    z-index: 1;
    font-size: 16px;
    opacity: 0.8;
    transition: transform 0.3s ease;
}
.btn-modal-whatsapp:hover .btn-whatsapp-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* ── Mobile Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
    .doctor-modal-container {
        border-radius: 22px;
        max-height: 96vh;
    }
    .doctor-modal-header {
        padding: 40px 20px 22px;
        border-radius: 22px 22px 0 0;
    }
    .modal-hero-content { gap: 16px; }
    .doctor-modal-photo { width: 90px; height: 90px; }
    .modal-doctor-name  { font-size: 20px; }
    .modal-doctor-position { font-size: 13px; }
    .modal-practice-grid { grid-template-columns: 1fr; }
    .doctor-modal-body  { padding: 20px 18px 24px; }
    .modal-action-buttons { margin-top: 16px; }
}

@media (max-width: 480px) {
    .doctor-modal-overlay { padding: 12px 8px; }
    .doctor-modal-header  { padding: 36px 16px 18px; }
    .modal-hero-content   { flex-direction: column; text-align: center; }
    .modal-meta-chips     { justify-content: center; }
    .doctor-modal-photo   { width: 84px; height: 84px; }
    .modal-doctor-name    { font-size: 18px; }
    .doctor-modal-body    { padding: 16px 14px 20px; }
    .btn-modal-whatsapp   { padding: 14px 16px; }
    .btn-whatsapp-icon    { width: 40px; height: 40px; font-size: 20px; }
    .btn-whatsapp-label   { font-size: 14px; }
}

/* ============================================================
   OCEAN DENTAL — PROMO SECTION
   ============================================================ */
.promo-section {
  padding: 80px 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.promo-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 10% 50%, rgba(59,130,246,.05) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 90% 50%, rgba(1,33,94,.04) 0%, transparent 65%);
  pointer-events: none;
}

/* Heading row */
.promo-heading {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px; gap: 16px; padding: 0 4px;
}
.promo-heading-left .section-tag { margin-bottom: 8px; }
.promo-heading-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800; color: var(--primary-color);
  letter-spacing: -.02em; line-height: 1.2;
}
.promo-heading-left h2 span {
  background: linear-gradient(135deg, var(--ocean-blue-dark), var(--ocean-blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.promo-heading-nav { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.promo-heading-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--pure-white); border: 1.5px solid var(--gray-200);
  color: var(--gray-700); font-size: .9375rem;
  cursor: pointer; transition: all var(--transition-elegant);
  box-shadow: var(--shadow-md);
}
.promo-heading-btn:hover {
  background: var(--primary-color); border-color: var(--primary-color);
  color: #fff; transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(1,33,94,.25);
}
.promo-heading-btn:disabled { opacity: .35; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* Slider */
.promo-slider-outer { overflow: hidden; border-radius: 20px; position: relative; }
.promo-slider-track {
  display: flex; gap: 20px;
  transition: transform .6s cubic-bezier(.4,0,.15,1);
  will-change: transform;
}

/* Promo Card */
.promo-card {
  flex: 0 0 calc(50% - 10px);
  border-radius: 20px; overflow: hidden; position: relative;
  aspect-ratio: 16/9; cursor: pointer; display: block;
  background: #0a1628;
  box-shadow: 0 4px 20px rgba(0,0,0,.1), 0 12px 40px rgba(0,0,0,.08);
  transition: transform .4s var(--transition-spring), box-shadow .35s ease;
}
.promo-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 48px rgba(1,33,94,.18), 0 0 0 2px rgba(59,130,246,.3);
}
.promo-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease; display: block;
}
.promo-card:hover .promo-card-img { transform: scale(1.04); }
.promo-card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,10,30,.92) 0%, rgba(0,10,30,.55) 40%, rgba(0,10,30,.15) 70%, transparent 100%);
}
.promo-card-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: rgba(255,255,255,.25);
}
.promo-card-placeholder i { font-size: 3rem; color: rgba(59,130,246,.35); }
.promo-card-placeholder span { font-size: .8125rem; text-align: center; }

/* TOP ROW — badge kiri + diskon kanan (TIDAK TUMPANG TINDIH) */
.promo-card-top-row {
  position: absolute;
  top: 16px; left: 16px; right: 16px;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.promo-card-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 13px; border-radius: var(--radius-full);
  font-size: .6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.3); flex-shrink: 0;
  max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.promo-card-discount {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.3); line-height: 1;
}
.promo-card-discount .pct { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 900; color: #fff; }
.promo-card-discount .off { font-size: .475rem; font-weight: 700; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .5px; }

/* Content area */
.promo-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 24px 20px; z-index: 2; }
.promo-card-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; font-size: .6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; color: #fff;
  border-radius: var(--radius-full); margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); width: fit-content;
}
.promo-card-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.375rem);
  font-weight: 800; color: #fff; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 4px;
}
.promo-card-title .price-highlight { color: #FBBF24; }
.promo-card-sub {
  font-size: .78125rem; color: rgba(255,255,255,.7); margin-bottom: 14px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.promo-card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.promo-card-left { display: flex; flex-direction: column; gap: 5px; }
.promo-card-price-from { font-size: .625rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; display: block; }
.promo-card-price-value { font-family: var(--font-display); font-size: clamp(.9375rem, 1.5vw, 1.25rem); font-weight: 800; color: #fff; line-height: 1; }
.promo-card-price-original { font-size: .6875rem; color: rgba(255,255,255,.4); text-decoration: line-through; font-weight: 400; margin-left: 5px; }
.promo-card-expiry {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; background: rgba(0,0,0,.4); backdrop-filter: blur(8px);
  border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75); font-size: .625rem; font-weight: 600; width: fit-content;
}
.promo-card-expiry i { color: #FBBF24; font-size: .625rem; }
.promo-card-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; background: #fff; color: var(--primary-color);
  font-family: var(--font-display); font-size: .8125rem; font-weight: 700;
  border-radius: var(--radius-full); white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,.2); transition: all .3s ease; flex-shrink: 0;
  pointer-events: auto;
}
.promo-card-cta:hover { background: var(--ocean-blue); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59,130,246,.5); }
.promo-card-cta i { font-size: .9375rem; transition: transform .25s ease; }
.promo-card-cta:hover i { transform: translateX(3px); }

/* Footer bar */
.promo-footer {
  display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding: 0 4px;
}
.promo-progress-wrap { flex: 1; max-width: 200px; height: 3px; background: var(--gray-200); border-radius: var(--radius-full); overflow: hidden; }
.promo-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--ocean-blue), var(--ocean-blue-light));
  width: 0%; border-radius: var(--radius-full); box-shadow: 0 0 6px rgba(59,130,246,.5);
}
.promo-page-dots { display: flex; gap: 6px; align-items: center; }
.promo-page-dot {
  width: 6px; height: 6px; border-radius: var(--radius-full);
  background: var(--gray-300); cursor: pointer; border: none; transition: all .35s ease;
}
.promo-page-dot.active { width: 24px; background: var(--ocean-blue); }
.promo-page-dot:hover:not(.active) { background: var(--gray-500); }
.promo-slide-counter { font-family: var(--font-display); font-size: .8125rem; color: var(--gray-500); font-weight: 500; }
.promo-slide-counter strong { color: var(--primary-color); }

/* ============================================================
   OCEAN DENTAL — TECHNOLOGY SECTION
   ============================================================ */
.technology {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-color) 45%, #0e3580 100%);
  position: relative; overflow: hidden;
}
.technology::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0);
  background-size: 40px 40px; pointer-events: none;
}
.tech-blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); opacity: .25; }
.tech-blob-1 { width: 500px; height: 500px; background: var(--ocean-blue); top: -150px; right: -100px; }
.tech-blob-2 { width: 400px; height: 400px; background: #1e40af; bottom: -100px; left: -80px; }
.technology .section-tag { background: rgba(255,255,255,.08); border-color: rgba(59,130,246,.5); color: #fff; backdrop-filter: blur(10px); }
.technology .section-tag i { color: var(--ocean-blue-light); }
.technology .section-title { color: #fff; }
.technology .section-description { color: rgba(255,255,255,.75); }

.tech-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  margin-bottom: 72px; padding: 48px;
  background: rgba(255,255,255,.04); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.08); border-radius: 32px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08); position: relative; overflow: hidden;
}
.tech-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--ocean-blue), transparent);
}
.tech-hero-image {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 0 0 1px rgba(59,130,246,.2);
  aspect-ratio: 4/3; position: relative; background: #0a1628;
}
.tech-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tech-hero-image-placeholder {
  width: 100%; height: 100%; min-height: 280px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(1,33,94,.6));
  color: rgba(255,255,255,.35);
}
.tech-hero-image-placeholder i { font-size: 3.5rem; color: rgba(59,130,246,.5); }
.tech-hero-badge {
  position: absolute; top: -16px; right: -16px;
  background: linear-gradient(135deg, var(--ocean-blue), var(--ocean-blue-dark));
  color: #fff; padding: 10px 20px; border-radius: var(--radius-full);
  font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  box-shadow: 0 8px 24px rgba(59,130,246,.5); border: 2px solid rgba(255,255,255,.2); z-index: 2;
}
.tech-hero-content .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
  background: rgba(59,130,246,.2); border: 1px solid rgba(59,130,246,.4);
  border-radius: var(--radius-full); color: var(--ocean-blue-light);
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px;
}
.tech-hero-content h3 { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -.02em; line-height: 1.2; }
.tech-hero-content p { color: rgba(255,255,255,.75); line-height: 1.8; margin-bottom: 28px; }
.tech-feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.tech-feature-list li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); font-size: .9375rem; }
.tech-feature-list li i { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: rgba(59,130,246,.25); border-radius: 50%; color: var(--ocean-blue-light); font-size: .75rem; flex-shrink: 0; }

.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px; overflow: hidden; transition: all .4s var(--transition-spring);
  position: relative; display: flex; flex-direction: column;
}
.tech-card:hover { border-color: rgba(59,130,246,.4); transform: translateY(-10px); box-shadow: 0 20px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(59,130,246,.2), 0 0 32px rgba(59,130,246,.12); }
.tech-card-image { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; background: #0a1628; flex-shrink: 0; }
.tech-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.tech-card:hover .tech-card-image img { transform: scale(1.07); }
.tech-card-image-placeholder {
  width: 100%; height: 100%; min-height: 160px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 20px;
  background: linear-gradient(135deg, rgba(10,22,40,.9), rgba(1,33,94,.7));
  color: rgba(255,255,255,.3);
}
.tech-card-image::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(to top, rgba(0,13,46,.85) 0%, transparent 100%); pointer-events: none;
}
.tech-card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 12px; background: rgba(59,130,246,.85); backdrop-filter: blur(8px);
  border-radius: var(--radius-full); font-size: .6875rem; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.tech-card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.tech-card-body h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.3; }
.tech-card-body p { font-size: .8125rem; color: rgba(255,255,255,.6); line-height: 1.7; margin: 0; flex: 1; }
.tech-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ocean-blue), transparent); opacity: 0; transition: opacity .3s ease; }
.tech-card:hover::before { opacity: 1; }

.tech-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; overflow: hidden; }
.tech-stat-item { padding: 32px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.07); transition: background .3s ease; }
.tech-stat-item:last-child { border-right: none; }
.tech-stat-item:hover { background: rgba(59,130,246,.08); }
.tech-stat-number { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; background: linear-gradient(135deg, var(--ocean-blue-light), #93C5FD); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 6px; line-height: 1; }
.tech-stat-label { font-size: .875rem; color: rgba(255,255,255,.65); font-weight: 500; }

/* ============================================================
   RESPONSIVE — Promo & Technology
   ============================================================ */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .tech-hero { grid-template-columns: 1fr; gap: 32px; }
  .tech-stats { grid-template-columns: repeat(2, 1fr); }
  .tech-stat-item:nth-child(2) { border-right: none; }
  .tech-stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.07); border-top: 1px solid rgba(255,255,255,.07); }
  .tech-stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.07); }
}

@media (max-width: 768px) {
  .promo-card { flex: 0 0 calc(80vw - 48px); }
  .promo-card-content { padding: 18px 18px 16px; }
  .promo-card-footer { flex-wrap: nowrap; }
  .promo-card-cta { padding: 9px 14px; font-size: .75rem; }
  .promo-card-discount { width: 44px; height: 44px; }
  .promo-card-discount .pct { font-size: .9375rem; }
  .tech-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tech-stats { grid-template-columns: 1fr 1fr; }
  .tech-card-body { padding: 16px; }
  .tech-hero { padding: 28px; }
}

@media (max-width: 480px) {
  .promo-card { flex: 0 0 calc(90vw - 48px); }
  .promo-card-title { font-size: 1rem; }
  .promo-card-footer { flex-wrap: wrap; gap: 8px; }
  .promo-card-cta { width: 100%; justify-content: center; }
  .promo-card-left { width: 100%; }
  .promo-card-top-row { top: 12px; left: 12px; right: 12px; }
  .promo-card-badge { font-size: .625rem; padding: 5px 10px; }
  .promo-card-discount { width: 40px; height: 40px; }
  .promo-card-discount .pct { font-size: .875rem; }
  .tech-grid { grid-template-columns: 1fr; }
  .promo-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .promo-heading-nav { align-self: flex-end; }
  .tech-stat-item { padding: 20px 12px; }
  .tech-stat-number { font-size: 1.75rem; }
}