/* ============================================
   Medent LANDING PAGE - MODERN 2026
   Cabinet Stomatologic Premium
   Culori din aplicația medent-lv
   ============================================ */

/* ========== VARIABLES ========== */
:root {
    /* Primary Colors (din medent-lv) */
    --primary: #667eea;
    --primary-dark: #764ba2;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-light: rgba(102, 126, 234, 0.1);

    /* Secondary Colors */
    --secondary: #a855f7;
    --secondary-dark: #7c3aed;

    /* Accent Colors */
    --accent-pink: #fa709a;
    --accent-green: #43e97b;
    --accent-blue: #4facfe;
    --accent-yellow: #f6d365;
    --accent-purple: #a855f7;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #9333ea 100%);
    --gradient-pink: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-green: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);

    /* Text */
    --text-primary: #1e1b4b;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;

    /* Backgrounds */
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --bg-gradient: linear-gradient(180deg, #f8fafc 0%, #e0e7ff 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(102, 126, 234, 0.15);
    --shadow-lg: 0 10px 40px rgba(102, 126, 234, 0.2);
    --shadow-xl: 0 25px 60px rgba(102, 126, 234, 0.25);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);

    /* Transitions */
    --transition-fast: 0.18s ease;
    --transition-normal: 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-spring: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* ========== SCROLLBAR STYLING ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

/* Firefox */
html {
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f1f5f9;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: clip; /* clip: doesn't create scroll container, more reliable on mobile */
    width: 100%;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ─── Global: elimina outline la click, pastrat la tastatura ─── */
a,
button,
input,
select,
textarea,
[role="button"],
[tabindex] {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[role="button"]:focus,
[tabindex]:focus {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid rgba(102, 126, 234, 0.7);
    outline-offset: 3px;
}

/* Offset pentru anchor links din cauza navbar-ului fix */
:target::before {
    content: "";
    display: block;
    height: 100px;
    margin-top: -100px;
    pointer-events: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light);
    overflow-x: hidden;
    overflow-x: clip; /* clip: prevents horizontal scroll even when both html+body have overflow set */
    max-width: 100%;
    width: 100%;
    position: relative;
    overscroll-behavior-x: none;
    touch-action: pan-y; /* prevent horizontal touch panning on mobile */
    -webkit-font-smoothing: antialiased;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    /* Semi-transparent glass effect în hero */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Link-uri albe în hero, întunecate când e scrolled */
.navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.navbar:not(.scrolled) .nav-link:hover {
    color: white;
}

.navbar:not(.scrolled) .nav-link::after {
    background: white;
}

.navbar:not(.scrolled) .phone-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar:not(.scrolled) .phone-btn:hover {
    background: white;
    color: var(--primary);
}

.navbar:not(.scrolled) .cta-btn {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar:not(.scrolled) .cta-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.navbar:not(.scrolled) .logo-text {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.navbar:not(.scrolled) .mobile-menu {
    color: white;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(-10deg);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-fast);
}

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

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    transition: all var(--transition-normal);
}

.phone-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.cta-btn {
    background: var(--primary-gradient);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: var(--shadow-lg);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    z-index: 1010;
    pointer-events: auto;
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0;
}

.mobile-menu svg,
.mobile-menu i {
    width: 26px;
    height: 26px;
    display: block;
    pointer-events: none;
}

.mobile-menu svg {
    stroke: currentColor;
}

.mobile-menu-bars,
.mobile-menu-bars::before,
.mobile-menu-bars::after {
    display: block;
    width: 20px;
    height: 2.5px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.mobile-menu-bars {
    position: relative;
}

.mobile-menu-bars::before,
.mobile-menu-bars::after {
    content: '';
    position: absolute;
    left: 0;
}

.mobile-menu-bars::before {
    top: -6px;
}

.mobile-menu-bars::after {
    top: 6px;
}

/* ========== MOBILE MENU OVERLAY ========== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-close:hover {
    background: white;
    color: var(--primary);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-link {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-overlay.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-overlay.active .mobile-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-overlay.active .mobile-link:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-overlay.active .mobile-link:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-overlay.active .mobile-link:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-overlay.active .mobile-cta-btn {
    transition-delay: 0.3s;
}

.mobile-cta-btn {
    background: white;
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-lg);
}

.mobile-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

body.menu-open {
    overflow: hidden;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Fallback gradient si culoare de baza daca video nu se incarca */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #9333ea 100%);
}

/* ========== HERO VIDEO BACKGROUND ========== */
.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    will-change: auto;
}

/* Overlay gradient peste video pentru lizibilitate text */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.72) 0%,
            rgba(118, 75, 162, 0.78) 50%,
            rgba(147, 51, 234, 0.72) 100%);
    /* Adauga un gradient vertical sa coborele textul mai bine */
    background-image:
        linear-gradient(135deg,
            rgba(102, 126, 234, 0.72) 0%,
            rgba(118, 75, 162, 0.80) 50%,
            rgba(147, 51, 234, 0.72) 100%),
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.25) 100%);
}



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

.hero-spline {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    opacity: 0.8;
    mix-blend-mode: screen;
}



.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    color: white;
}

/* ========== HERO TEXT ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply animations to hero elements */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
    position: relative;
}

.modern-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    padding: 0.6rem 1.5rem !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.modern-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px 0 rgba(31, 38, 135, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
}

.badge-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.hero-badge::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* service-card:hover::after — in DESKTOP PREMIUM block */


.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-green);
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-title span {
    display: block;
    background: linear-gradient(135deg, #a5f3fc 0%, #f0abfc 50%, #fcd34d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-white::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shineSweep 4s infinite;
}

@keyframes shineSweep {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.btn-white:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 22px 50px rgba(102, 126, 234, 0.3),
        0 0 30px rgba(168, 85, 247, 0.12);
}

.btn-small {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    animation: fadeInUp 0.6s ease-out 0.6s both;
    justify-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
    margin-top: 0;
}

.stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat:nth-child(1) {
    animation: fadeInUp 0.5s ease-out 0.7s both;
}

.stat:nth-child(2) {
    animation: fadeInUp 0.5s ease-out 0.8s both;
}

.stat:nth-child(3) {
    animation: fadeInUp 0.5s ease-out 0.9s both;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4),
        0 0 60px rgba(165, 243, 252, 0.15);
    transition: text-shadow 0.3s ease;
    position: relative;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-visual {
    position: relative;
    animation: fadeInScale 0.8s ease-out 0.4s both;
    overflow: visible;
    /* let floating badges extend outside */
    z-index: 2;
    /* above hero::after gradient mesh */
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

/* Mobile card overrides: dark glass to match hero background */
.hero-card--mobile {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}



/* ========== HERO DESKTOP DASHBOARD CARD ========== */
.hero-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.hero-dash-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-dash-score {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.hero-dash-stars {
    display: flex;
    gap: 2px;
}

.hero-dash-reviews {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-dash-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.hero-dash-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: dashDotPulse 2s ease-in-out infinite;
}

@keyframes dashDotPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

.hero-dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-dash-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.06), rgba(168, 85, 247, 0.04));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(102, 126, 234, 0.08);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.hero-dash-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.12);
}

.hero-dash-stat i,
.hero-dash-stat svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.hero-dash-stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.hero-dash-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-dash-badges {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.hero-dash-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(102, 126, 234, 0.12);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.hero-dash-badge:hover {
    border-color: rgba(102, 126, 234, 0.3);
    background: rgba(102, 126, 234, 0.06);
}

.hero-dash-badge i,
.hero-dash-badge svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.hero-dash-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.hero-dash-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.35);
    color: white;
}

.hero-dash-cta i,
.hero-dash-cta svg {
    width: 20px;
    height: 20px;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: white;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: fadeInScale 0.5s ease-out both, floatBadge 3s ease-in-out infinite;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.floating-element-1 {
    top: -16px;
    left: -20px;
    animation-delay: 0.6s, 0.6s;
    z-index: 3;
}

.floating-element-2 {
    bottom: 30%;
    right: -24px;
    animation-delay: 0.8s, 1s;
    z-index: 3;
}

@keyframes floatBadge {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px) rotate(2deg);
    }
}

.floating-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.floating-icon.green {
    background: rgba(67, 233, 123, 0.15);
    color: #22c55e;
}

.floating-icon.yellow {
    background: rgba(251, 191, 36, 0.15);
    color: #f59e0b;
}

.floating-text {
    font-size: 0.875rem;
}

.floating-title {
    font-weight: 700;
    color: var(--text-primary);
}

.floating-subtitle {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: 7rem 0;
    background: var(--bg-light);
    position: relative;
    z-index: 5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.badge-center-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(168, 85, 247, 0.08) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.08);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.section-badge i {
    animation: badgeIconSpin 4s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title .text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-title .text-gradient::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.section-header.revealed .section-title .text-gradient::after,
.section-title.revealed .text-gradient::after {
    transform: scaleX(1);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-decoration: none;
    border: 1px solid rgba(102, 126, 234, 0.08);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        background 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.95);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.18),
        0 4px 16px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: transparent;
    background: rgba(255, 255, 255, 0.97);
}

.service-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Subtle top shimmer on hover — no colorful background flood */
.service-card:has(.service-icon-simple.purple):hover::before {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.07) 0%, transparent 60%);
}

.service-card:has(.service-icon-simple.pink):hover::before {
    background: linear-gradient(180deg, rgba(250, 112, 154, 0.07) 0%, transparent 60%);
}

.service-card:has(.service-icon-simple.green):hover::before {
    background: linear-gradient(180deg, rgba(67, 233, 123, 0.07) 0%, transparent 60%);
}

.service-card:has(.service-icon-simple.blue):hover::before {
    background: linear-gradient(180deg, rgba(79, 172, 254, 0.07) 0%, transparent 60%);
}

.service-card:has(.service-icon-simple.orange):hover::before {
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.07) 0%, transparent 60%);
}

.service-card:has(.service-icon-simple.cyan):hover::before {
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.07) 0%, transparent 60%);
}

/* Gradient border on hover via pseudo-element */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1.5px;
    background: linear-gradient(135deg, #667eea, #a855f7, #ec4899);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.2;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon-simple {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease;
}

.service-icon-simple svg {
    width: 24px;
    height: 24px;
}

.service-icon-simple.purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.service-icon-simple.pink {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.service-icon-simple.green {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.service-icon-simple.blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.service-icon-simple.orange {
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    color: white;
}

.service-icon-simple.cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    color: white;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.service-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.55;
    flex-grow: 1;
}

.service-price-simple {
    font-size: 0.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: color 0.3s ease;
}

/* ========== WHY US SECTION ========== */
.why-us {
    padding: 7rem 0;
    background: white;
    position: relative;
    overflow-x: hidden; /* contain the ::after blob that extends right: -200px */
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-image {
    position: relative;
}

.image-wrapper {
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphShape 8s ease-in-out infinite both alternate;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s ease;
}

.image-wrapper:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.2);
}

@keyframes morphShape {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.image-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-gradient);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: floatBadge 4s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease;
}

.experience-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
}

.experience-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-text {
    font-size: 0.875rem;
    opacity: 0.9;
}

.why-us-content {
    padding-left: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(102, 126, 234, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        background 0.3s ease,
        border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.12),
        0 0 30px rgba(168, 85, 247, 0.05);
    transform: translateX(8px);
    border-color: rgba(102, 126, 234, 0.15);
}

.feature:hover::before {
    transform: scaleY(1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.12);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.feature-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========== TEAM SECTION ========== */
.team {
    padding: 7rem 0;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.team-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.team-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}

.team-bg-shapes .shape-1 {
    top: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: var(--primary);
}

.team-bg-shapes .shape-2 {
    bottom: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: var(--secondary);
}

.team .container {
    position: relative;
    z-index: 2;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-grid--single {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
}

.team-card--featured .team-image {
    aspect-ratio: 1;
}

.team-initials {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1;
    z-index: 1;
    position: relative;
}

.team-image--initials {
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 60%, #dbeafe 100%);
}

.team-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.team-card::before {
    display: none;
    /* Removed buggy mask */
}

.team-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 70px rgba(102, 126, 234, 0.22), 0 10px 30px rgba(0, 0, 0, 0.07), 0 0 0 2px var(--primary);
}

.team-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #c7d2fe 0%, #ddd6fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.team-image .team-initials {
    display: none;
}

.team-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.1) 100%);
}

.team-info {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 10;
}

.team-card:hover .team-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.team-socials {
    display: flex;
    gap: 1rem;
}

.team-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-social:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-3px);
}

.team-specialty {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ========== TESTIMONIALS ========== */
/* ========== UNIFIED TESTIMONIALS + CTA SECTION ========== */
.testimonials-cta-section {
    padding: 7rem 0;
    background: linear-gradient(180deg, #1e1b4b 0%, #2d2670 30%, #4c1d95 60%, #5b21b6 100%);
    position: relative;
    overflow: hidden;
}

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



.section-badge--light {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-badge--light::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.section-title--light {
    color: white;
}

.text-gradient-light {
    background: linear-gradient(135deg, #a5f3fc 0%, #c4b5fd 50%, #fbcfe8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description--light {
    color: rgba(255, 255, 255, 0.6);
}

/* ========== CAROUSEL ========== */
.testimonials-carousel {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

/* Slide base: always absolute, HIDDEN via display:none */
.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
    pointer-events: none;
    z-index: 1;
    padding: 2.5rem 2.75rem 2rem;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-start;
}

/* Slide active: visible via display:flex + fade-in animation */
.testimonial-slide.active {
    display: flex;
    pointer-events: auto;
    z-index: 2;
    animation: slideFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22), 0 0 40px rgba(167, 139, 250, 0.08);
}

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

/* Per-element stagger animations on active slide */
.testimonial-slide.active .t-quote-icon,
.testimonial-slide.active .testimonial-author {
    opacity: 0;
    animation: itemFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}


.testimonial-slide.active .t-stars span {
    animation: starPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.testimonial-slide.active .t-stars span:nth-child(1) { animation-delay: 0.1s; }
.testimonial-slide.active .t-stars span:nth-child(2) { animation-delay: 0.15s; }
.testimonial-slide.active .t-stars span:nth-child(3) { animation-delay: 0.2s; }
.testimonial-slide.active .t-stars span:nth-child(4) { animation-delay: 0.25s; }
.testimonial-slide.active .t-stars span:nth-child(5) { animation-delay: 0.3s; }

.testimonial-slide.active .testimonial-text .word {
    display: inline-block;
    opacity: 0;
    animation: wordReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.6s + var(--i, 0) * 0.05s);
}

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

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

@keyframes starPop {
    from { opacity: 0; transform: scale(0.3) rotate(-20deg); }
    to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* ========== TESTIMONIAL CARD DECORATION ========== */
/* Decorative gradient overlay — only on active slide */
.testimonial-slide.active::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Quote icon */
.t-quote-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(236, 72, 153, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(167, 139, 250, 0.7);
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(167, 139, 250, 0.3));
}

.t-quote-icon svg {
    width: 20px;
    height: 16px;
}

.testimonial-slide:hover .t-quote-icon {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.25), rgba(236, 72, 153, 0.18));
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.2);
}

/* Stars */
.t-stars {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.t-stars span {
    color: #fbbf24;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.4));
}

/* (stars pop animation consolidated above in CAROUSEL block) */

/* Text */
.testimonial-text {
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    margin-bottom: 1.75rem;
    line-height: 1.75;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    position: relative;
    z-index: 1;
    flex-grow: 1;
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Author */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.25rem;
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.testimonial-slide:hover .author-avatar {
    transform: scale(1.1);
}

.author-info {
    flex: 0 1 auto;
    text-align: left;
}

.author-name {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: rgba(165, 243, 252, 0.7);
    font-weight: 500;
}

.author-meta svg {
    width: 13px;
    height: 13px;
    color: #34d399;
    flex-shrink: 0;
}

/* ========== CAROUSEL CONTROLS ========== */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease,
        border-color 0.3s ease,
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn svg {
    width: 18px;
    height: 18px;
}

.carousel-btn:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Dots */
.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.carousel-dot {
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.3s ease;
    width: 8px;
}

.carousel-dot.active {
    background: white;
    width: 28px;
}

.carousel-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.55);
}

/* ========== REVIEWS CTA REDESIGN ========== */
.reviews-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3.5rem;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
}

.rating-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-stars-large {
    font-size: 1.5rem;
    color: #fbbf24;
    letter-spacing: 2px;
}

.rating-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.rating-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 100px;
    line-height: 1.3;
}

.rating-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
}

.google-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: white;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.google-reviews-link:focus {
    outline: none;
}

.google-reviews-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
}

.google-reviews-link svg {
    flex-shrink: 0;
}

.google-reviews-link:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.google-reviews-link i {
    transition: transform 0.3s ease;
}

.google-reviews-link:hover i {
    transform: translateX(4px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {

    .carousel-fade-left,
    .carousel-fade-right {
        width: 40px;
    }

    .reviews-cta {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .rating-divider {
        width: 60px;
        height: 1px;
    }

    .rating-wrap {
        flex-wrap: wrap;
        justify-content: center;
    }

    .rating-label {
        text-align: center;
        max-width: none;
    }
}

/* ========== CTA SECTION ========== */
.cta-wrapper {
    max-width: 800px;
    margin: 5rem auto 0;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 0 1rem;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: white;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-wrap: balance;
}

.cta-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.cta-form {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(102, 126, 234, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.12),
        0 0 80px rgba(147, 51, 234, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: #f8f7ff;
    border: 1.5px solid rgba(102, 126, 234, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-input:focus,
.form-input:not(:placeholder-shown) {
    border-color: var(--primary);
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

.form-group {
    position: relative;
    width: 100%;
    margin-bottom: 0.75rem;
}

/* Valid state styles */
.form-group.valid .form-input,
.form-group.valid .custom-select-trigger,
.form-group.valid .form-textarea {
    border-color: #22c55e;
    background: #f0fdf4;
}

.form-group.valid::after {
    content: '✓';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #22c55e;
    font-weight: bold;
    font-size: 1.25rem;
    pointer-events: none;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.form-group.valid:has(textarea)::after {
    top: 1.5rem;
}

@keyframes popIn {
    0% {
        transform: translateY(-50%) scale(0);
        opacity: 0;
    }

    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

.floating-group {
    padding-top: 0;
}

.floating-label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: rgba(30, 27, 75, 0.45);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left top;
    background: transparent;
    padding: 0 0.25rem;
}

.form-textarea~.floating-label {
    top: 1rem;
    transform: none;
}

.form-input:focus~.floating-label,
.form-input:not(:placeholder-shown)~.floating-label {
    top: 0;
    left: 0.85rem;
    transform: translateY(-50%) scale(0.82);
    color: var(--primary);
    background: white;
    border-radius: 5px;
    font-weight: 600;
}

.form-textarea:focus~.floating-label,
.form-textarea:not(:placeholder-shown)~.floating-label {
    top: 0;
    left: 0.85rem;
    transform: translateY(-50%) scale(0.82);
    color: var(--primary);
    background: white;
    font-weight: 600;
}

.form-input::placeholder {
    color: transparent;
}

/* Custom Select Dropdown adaptation for Medent */
.custom-select {
    position: relative;
    width: 100%;
    padding-top: 0;
    z-index: 20;
}

.custom-select-trigger {
    width: 100%;
    padding: 0.85rem 1rem;
    margin-top: 0;
    background: #f8f7ff;
    border: 1.5px solid rgba(102, 126, 234, 0.15);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    text-align: left;
    outline: none;
    box-shadow: none;
}

.custom-select-trigger:hover,
.custom-select.open .custom-select-trigger {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

.custom-select-text {
    color: rgba(30, 27, 75, 0.5);
    transition: color 0.3s;
}

.custom-select.has-value .custom-select-text {
    color: var(--text-primary);
}

.custom-select-arrow {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform 0.3s;
}

.custom-select.open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(102, 126, 234, 0.12);
    margin-top: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(3 * 3.5rem);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border: 1px solid rgba(102, 126, 234, 0.1);
    text-align: left;
}

.custom-select.open .custom-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.custom-select-option:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.custom-select-option.selected {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

/* Hide original select if we have custom one */
.custom-select+.form-input {
    display: none;
}

.form-textarea {
    grid-column: 1 / -1;
    min-height: 110px;
    resize: none;
    padding-top: 1rem;
}

.form-submit {
    width: 100%;
    padding: 1.1rem 2rem;
    background: var(--primary-gradient);
    background-size: 200% 100%;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
}

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

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4),
        0 0 50px rgba(168, 85, 247, 0.15);
}

.form-submit:hover::before {
    left: 100%;
}

/* ========== CONTACT SECTION ========== */
.contact {
    padding: 7rem 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s ease,
        background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0.3);
    opacity: 0.5;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
    opacity: 1;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.15),
        0 0 40px rgba(168, 85, 247, 0.08);
}

/* contact-card:hover::before — in DESKTOP PREMIUM block */

.contact-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.contact-card:hover .contact-icon {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

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

.contact-link:hover::after {
    width: 100%;
}

/* ========== MAP SECTION ========== */
/* ========== MAP SECTION — PREMIUM 2026 ========== */
.map-section {
    padding: 7rem 0;
    background: white;
}

/* Layout: info card left + iframe right */
.map-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(102, 126, 234, 0.13),
        0 4px 20px rgba(0, 0, 0, 0.07);
    min-height: 480px;
}

/* --- Left: Info Card --- */
.map-info-card {
    background: linear-gradient(160deg, #f8f7ff 0%, #ffffff 100%);
    border-right: 1px solid rgba(102, 126, 234, 0.08);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
}

/* subtle top gradient accent */
.map-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

/* subtle background blob */
.map-info-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* Header: icon + name + stars */
.mic-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.mic-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.28);
}

.mic-icon svg {
    width: 22px;
    height: 22px;
    color: white;
    stroke: white;
}

.mic-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mic-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.mic-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.mic-stars svg {
    width: 13px;
    height: 13px;
}

.mic-rating-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 4px;
}

.mic-rating-text em {
    font-style: normal;
    color: var(--text-muted);
}

/* Divider */
.mic-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.12), transparent);
    margin-bottom: 1.25rem;
}

/* Details list */
.mic-details {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.mic-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.mic-detail-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(102, 126, 234, 0.07);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mic-detail-icon svg {
    width: 15px;
    height: 15px;
    stroke: var(--primary);
    color: var(--primary);
}

.mic-details a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.mic-details a:hover {
    color: var(--primary-dark);
}

/* CTA button */
.mic-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.28);
    position: relative;
    z-index: 1;
}

.mic-cta svg {
    width: 16px;
    height: 16px;
    stroke: white;
    fill: none;
}

.mic-cta:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4),
        0 0 30px rgba(168, 85, 247, 0.12);
}

/* --- Right: Map frame --- */
.map-frame-wrap {
    position: relative;
    min-height: 480px;
    background: #eef0f4;
}

.map-frame-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: 0;
    filter: grayscale(10%) saturate(0.9) contrast(1.02);
}

/* Custom pulsing pin */
/* Responsive: stack on tablet/mobile */
@media (max-width: 900px) {
    .map-layout {
        grid-template-columns: 1fr;
    }

    .map-frame-wrap,
    .map-frame-wrap iframe {
        min-height: 340px;
    }
}

@media (max-width: 600px) {
    .map-info-card {
        padding: 1.75rem 1.25rem;
    }

    .map-frame-wrap,
    .map-frame-wrap iframe {
        min-height: 260px;
    }
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: btnGlow 2.5s ease-in-out infinite;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.35),
        0 0 20px rgba(168, 85, 247, 0.1);
}

.back-to-top .progress-svg {
    position: absolute;
    width: 56px;
    height: 56px;
    transform: rotate(-90deg);
    pointer-events: none;
}

.back-to-top .progress-ring {
    fill: none;
    stroke: #e0e7ff;
    stroke-width: 3;
}

.back-to-top .progress-ring-fill {
    fill: none;
    stroke: url(#scrollGradient);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 163;
    stroke-dashoffset: 163;
    transition: stroke-dashoffset 0.1s ease;
}

.back-to-top .arrow-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    position: relative;
    z-index: 2;
    pointer-events: none;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

.faq-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), 0 8px 32px rgba(102, 126, 234, 0.12);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    cursor: pointer;
    list-style: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s ease;
    user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-item[open] .faq-question {
    color: var(--primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 28px 22px;
    border-top: 1px solid var(--border-color);
}

.faq-item[open] .faq-answer {
    animation: faqOpen 0.25s ease forwards;
}

@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.faq-answer p {
    margin: 16px 0 0;
    font-size: 0.975rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.faq-answer a:hover {
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .faq-section { padding: 70px 0; }
    .faq-question { padding: 18px 20px; font-size: 0.97rem; }
    .faq-answer { padding: 0 20px 18px; }
}

/* ========== FOOTER ========== */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
}

/* Gradient separator line at top of footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #a855f7, #ec4899, #667eea);
    background-size: 300% 100%;
    animation: footerGradientShift 6s ease infinite;
}

@keyframes footerGradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease;
}

.footer-logo:hover .footer-logo-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        background 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4),
        0 0 20px rgba(168, 85, 247, 0.15);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast), padding-left var(--transition-fast);
    display: inline-block;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #667eea, #a855f7);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
    padding-left: 2px;
}

.footer-hours {
    list-style: none;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease, transform 0.3s ease;
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    margin: 0 -0.5rem;
}

.footer-hours li:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-anpc {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-anpc a {
    display: inline-flex;
    align-items: center;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.footer-anpc a:hover {
    opacity: 1;
}

.footer-anpc img {
    height: 50px;
    width: auto;
    display: block;
}

/* ========== MICRO-INTERACTIONS ========== */

/* Button ripple effect */
/* (.btn-white, .btn-glass have their own ::after shine effects above) */

/* (cta-btn consolidated above) */

/* Ripple effect — only on .form-submit */
.form-submit::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.form-submit:active::after {
    width: 300px;
    height: 300px;
}

/* (feature-icon consolidated above) */

.feature:hover .feature-icon {
    transform: scale(1.15);
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

/* Contact card icon rotation */

.contact-card:hover .contact-icon {
    transform: rotate(10deg) scale(1.1);
    background: var(--primary);
    color: white;
}

/* (logo-icon consolidated above) */

/* (logo:hover .logo-icon consolidated above) */

/* Card lift effect — opacity included so [data-reveal] works correctly */
/* (.service-card and .team-card transition consolidated in their base selectors above) */

/* (floating-element consolidated above) */

/* floating-element:hover — in DESKTOP PREMIUM block */

/* Social link transition — in DESKTOP PREMIUM block */

/* CTA button glow */
.cta-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    transition: opacity 0.3s ease;
}

.cta-btn:hover::before {
    opacity: 0.5;
}

/* Form input focus — in DESKTOP PREMIUM block */

/* Testimonial slide shine effect */
.testimonial-slide.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.testimonial-slide.active:hover::before {
    left: 100%;
}

/* ========== SCROLL REVEAL ========== */
[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="fade-up"] {
    transform: translateY(22px);
}

[data-reveal="fade-left"] {
    transform: translateX(-36px);
}

[data-reveal="fade-right"] {
    transform: translateX(36px);
}

[data-reveal="scale"] {
    transform: scale(0.9);
}

[data-reveal="fade-up"].revealed,
[data-reveal="fade-left"].revealed,
[data-reveal="fade-right"].revealed,
[data-reveal="scale"].revealed {
    opacity: 1;
    transform: translate(0) scale(1);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stagger delays */
[data-reveal-delay="100"] {
    transition-delay: 0.07s;
}

[data-reveal-delay="200"] {
    transition-delay: 0.14s;
}

[data-reveal-delay="300"] {
    transition-delay: 0.21s;
}

[data-reveal-delay="400"] {
    transition-delay: 0.28s;
}

[data-reveal-delay="500"] {
    transition-delay: 0.35s;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ====================================================
   SLOW / CINEMATIC TEXT REVEAL VARIANTS
   Use data-reveal="slow-up" on section-title / desc
   Use data-reveal="badge" on section-badge chips
   ==================================================== */

/* Slow upward drift — section titles & descriptions */
[data-reveal="slow-up"] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="slow-up"].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Badge chip: scale from slightly smaller + fade */
[data-reveal="badge"] {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
    transition: opacity 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-reveal="badge"].revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Extra slow — for hero-level section headings */
[data-reveal="hero-text"] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-reveal="hero-text"].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Wider stagger delays for cinematic text sequences */
[data-reveal-delay="150"] {
    transition-delay: 0.15s;
}

[data-reveal-delay="250"] {
    transition-delay: 0.25s;
}

[data-reveal-delay="350"] {
    transition-delay: 0.35s;
}

[data-reveal-delay="450"] {
    transition-delay: 0.45s;
}

[data-reveal-delay="550"] {
    transition-delay: 0.55s;
}

[data-reveal-delay="600"] {
    transition-delay: 0.6s;
}

[data-reveal-delay="650"] {
    transition-delay: 0.65s;
}

[data-reveal-delay="700"] {
    transition-delay: 0.7s;
}

[data-reveal-delay="800"] {
    transition-delay: 0.8s;
}

/* (stat-number consolidated above) */

/* =======================================================
   RESPONSIVE — COMPLETE MOBILE OVERHAUL
   ======================================================= */

/* ---------- 1200px: Large tablets, laptops ---------- */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 8rem 2rem 4rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        max-width: 520px;
        margin: 0 auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

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

/* ---------- 992px: Tablets ---------- */
@media (max-width: 992px) {

    /* Navbar */
    .navbar-container {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 0.75rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu {
        display: flex;
        justify-self: end;
        margin-right: 0;
    }

    /* Why Us */
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .why-us-content {
        padding-left: 0;
    }

    /* Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Testimonials carousel */
    .testimonials-cta-section .container {
        padding: 0 1.5rem;
    }

}

/* ---------- 768px: Mobile landscape / large phones ---------- */
@media (max-width: 768px) {

    /* Container padding */
    .container {
        padding: 0 1.25rem;
    }

    /* ==== NAVBAR ==== */
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar.scrolled {
        padding: 0.6rem 0;
    }

    .navbar-container {
        padding: 0 1rem;
    }

    .logo-text {
        font-size: 1.45rem;
    }

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

    /* Ascunde butonul CTA din navbar pe mobile — există meniu hamburger */
    .nav-cta .cta-btn {
        display: none;
    }

    /* ==== HERO ==== */
    /* Video mai mic pe mobile — hero mai scurt */
    .hero {
        min-height: 100svh;
        max-height: none;
        overflow: hidden;
    }

    .hero-video {
        object-position: center top;
    }

    /* Stronger overlay on mobile for text contrast */
    .hero-video-overlay {
        background-image:
            linear-gradient(160deg,
                rgba(30, 20, 70, 0.82) 0%,
                rgba(88, 55, 160, 0.78) 40%,
                rgba(102, 126, 234, 0.72) 100%),
            linear-gradient(to bottom,
                rgba(0, 0, 0, 0.15) 0%,
                rgba(0, 0, 0, 0.35) 100%);
    }

    .hero-container {
        padding: 7rem 1.25rem 2.5rem;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-badge {
        font-size: 0.72rem;
        margin: 0 auto 0.65rem;
        display: inline-flex;
        padding: 0.4rem 1rem;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(12px);
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .hero-title {
        font-size: clamp(2.6rem, 11vw, 3.8rem);
        line-height: 0.95;
        margin-bottom: 0.75rem;
        letter-spacing: -0.04em;
        text-wrap: balance;
        text-shadow:
            0 2px 20px rgba(0, 0, 0, 0.3),
            0 8px 40px rgba(30, 27, 75, 0.15);
        font-family: 'Playfair Display', serif;
    }

    .hero-title span {
        display: inline-block;
        background: linear-gradient(135deg, #a5f3fc 0%, #e9d5ff 40%, #fcd34d 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0 0 18px rgba(165, 243, 252, 0.25));
    }

    .hero-description {
        font-size: 0.98rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 300px;
        opacity: 0.88;
        line-height: 1.55;
        color: rgba(255, 255, 255, 0.8);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
        width: 100%;
        max-width: 300px;
        margin: 1.1rem auto 0;
    }

    .btn-white {
        justify-content: center;
        width: 100%;
        min-height: 54px;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 50px;
        background: linear-gradient(135deg, #ffffff 0%, #f0f0ff 100%);
        box-shadow:
            0 4px 20px rgba(102, 126, 234, 0.25),
            0 0 40px rgba(102, 126, 234, 0.08);
        font-weight: 700;
        letter-spacing: 0.01em;
    }

    .btn-glass {
        justify-content: center;
        width: 100%;
        min-height: 50px;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px);
    }

    .hero-stats {
        display: none;
    }

    .stat {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .stat:not(:last-child) {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.75rem;
    }

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

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

    /* Floating badges - hide on mobile */
    .floating-element {
        display: none;
    }

    /* Hero card/visual */
    .hero-visual {
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 0.25rem auto 0;
    }

    /* Disable CSS animations on mobile — JS handles stagger */
    .hero-badge,
    .hero-title,
    .hero-description,
    .hero-buttons,
    .hero-visual {
        animation: none !important;
    }

    /* Experience badge — în flux, nu absolut */
    .experience-badge {
        position: static;
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        margin-top: 1.25rem;
        border-radius: 16px;
        padding: 1rem 1.5rem;
    }

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

    .why-us-image {
        margin-bottom: 1rem;
        text-align: center;
    }

    /* ==== SECTIONS ==== */
    .services {
        padding: 4.5rem 0;
    }

    .why-us {
        padding: 4.5rem 0;
    }

    .team {
        padding: 4.5rem 0;
    }

    .testimonials-cta-section {
        padding: 4.5rem 0 5rem;
    }

    .map-section {
        padding: 3.5rem 0;
    }

    .contact {
        padding: 3.5rem 0;
    }

    .blog {
        padding: 4.5rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: clamp(1.65rem, 5.5vw, 2.25rem);
    }

    .section-description {
        font-size: 0.95rem;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.85rem;
    }

    /* ==== SERVICES ==== */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .service-icon-simple {
        width: 44px;
        height: 44px;
        margin-bottom: 1rem;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-description {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }

    /* ==== WHY US ==== */
    .image-placeholder {
        min-height: 220px;
        border-radius: 20px;
    }

    .experience-badge {
        position: static;
        display: inline-flex;
        margin-top: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }

    .feature {
        padding: 1rem;
        border-radius: 14px;
    }

    .feature-title {
        font-size: 0.9rem;
    }

    .feature-description {
        font-size: 0.82rem;
    }

    /* ==== TEAM ==== */
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    /* ==== TESTIMONIALS ==== */
    .testimonials-carousel {
        padding: 0;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .section-title--light {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }

    .testimonial-slide {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .testimonial-text {
        font-size: 0.92rem;
        margin-bottom: 1.25rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .author-name {
        font-size: 0.9rem;
    }

    .reviews-cta {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
        border-radius: 18px;
    }

    .rating-divider {
        display: none;
    }

    .rating-wrap {
        justify-content: center;
    }

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

    .google-reviews-link {
        width: 100%;
        justify-content: center;
        border-radius: 50px;
    }

    /* ==== APPOINTMENT FORM ==== */
    .cta-wrapper {
        padding: 2rem 0;
        border-radius: 0;
        margin: 2.5rem 0 0;
    }

    .cta-form {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        margin: 0;
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .cta-title {
        font-size: 1.85rem;
    }

    .cta-description {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }

    .form-input {
        padding: 0.85rem 1rem;
        border-radius: 12px;
        font-size: 1rem;
    }

    .form-submit {
        padding: 1rem;
        border-radius: 50px;
        font-size: 1rem;
    }

    /* ==== CONTACT ==== */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .contact-card {
        padding: 1.4rem;
        border-radius: 16px;
        gap: 1rem;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    /* ==== BLOG ==== */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

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

    /* ==== FOOTER ==== */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        text-align: center;
    }

    .footer-grid>div:first-child,
    .footer-grid>div:last-child {
        grid-column: span 2;
    }

    .footer-brand {
        max-width: 100%;
    }

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

    .footer-hours li {
        justify-content: center;
        gap: 1rem;
    }

    .footer-links {
        padding-left: 0;
        text-align: center;
    }

    /* ==== BACK TO TOP ==== */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 46px;
        height: 46px;
    }
}

/* ---------- 576px: Small phones ---------- */
@media (max-width: 576px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1rem;
    }

    .navbar-container {
        padding: 0 1rem;
    }

    /* Servicii */
    .services,
    .why-us,
    .team,
    .blog {
        padding: 3.5rem 0;
    }

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

    .service-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    /* Why Us */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    /* Form */
    .cta-wrapper {
        border-radius: 0;
        padding: 1.75rem 0;
        margin: 2rem 0 0;
    }

    .cta-form {
        padding: 1.75rem 1.25rem;
        border-radius: 18px;
        margin: 0;
        width: 100%;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .form-input {
        padding: 0.85rem 1rem;
    }

    .form-submit {
        font-size: 0.95rem;
        padding: 0.95rem;
    }

    /* Blog */
    .blog-card-image {
        height: 160px;
    }

    /* Footer */
    .footer-bottom {
        font-size: 0.8rem;
        padding: 1.25rem 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-anpc {
        justify-content: center;
        width: 100%;
        padding-bottom: 0.5rem;
    }

    .footer-anpc img {
        height: 38px;
        width: auto;
    }
}

/* ---------- 480px: Extra small phones ---------- */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.35rem;
    }

    .hero-description {
        font-size: 0.92rem;
    }

    .btn-white,
    .btn-glass {
        font-size: 0.9rem;
        padding: 0.8rem 1.25rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .service-title {
        font-size: 1rem;
    }

    .team-card {
        max-width: 100%;
    }

    /* Blog no extra padding */
    .blog-card-body {
        padding: 1.25rem;
    }

    .blog-title {
        font-size: 1.05rem;
    }

    .blog-excerpt {
        font-size: 0.875rem;
    }

    /* Contact compact */
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================
   MOBILE CENTERING — toate elementele centrate pe ecrane mici
   ========================================================== */
@media (max-width: 768px) {

    /* Hero — tot conținutul centrat */
    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        position: relative;
        z-index: 2;
    }

    .hero-badge {
        align-self: center;
    }

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

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

    .hero-content::after {
        content: '';
        width: 240px;
        height: 240px;
        position: absolute;
        top: 5rem;
        left: 50%;
        transform: translateX(-50%);
        background: radial-gradient(circle, rgba(165, 243, 252, 0.12) 0%, rgba(168, 85, 247, 0.06) 40%, transparent 70%);
        filter: blur(25px);
        pointer-events: none;
        z-index: -1;
    }

    .hero-buttons {
        align-items: center;
        width: 100%;
        max-width: 300px;
    }

    /* Section headers */
    .section-header {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section-title,
    .section-description {
        text-align: center;
    }

    /* Service cards — icon + text centrate */
    .service-card {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .service-icon-simple {
        margin-left: auto;
        margin-right: auto;
    }

    /* Why us features */
    .feature {
        text-align: center;
        align-items: center;
    }

    /* Team */
    .team-card {
        text-align: center;
    }

    .team-image {
        margin: 0 auto;
    }

    /* Testimonials */
    .section-header.light,
    .section-title--light,
    .section-description--light {
        text-align: center;
    }

    .carousel-controls {
        justify-content: center;
    }

    /* Contact cards */
    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Footer */
    .footer-brand,
    .footer-links,
    .footer-hours {
        text-align: center;
    }

    .footer-hours li {
        justify-content: center;
    }

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

/* ---------- Touch device: disable hover-only effects ---------- */
@media (hover: none) {

    /* Disable 3D tilt on touch */
    .service-card:hover,
    .team-card:hover {
        transform: none !important;
    }

    /* Simpler hover on cards */
    .service-card:active,
    .team-card:active {
        transform: scale(0.98);
        box-shadow: var(--shadow-md);
    }
}


/* ============================================================
   ENHANCED 2026 — Modern Animations & Interactions
   ============================================================ */

/* ========== PRELOADER ========== */
.preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #9333ea 100%);
    z-index: 99999;
    display: grid;
    place-items: center;
    overflow: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    width: min(240px, calc(100vw - 3rem));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    animation: preloaderFadeIn 0.5s ease both;
}

@keyframes preloaderFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.preloader-icon {
    width: 84px;
    height: 84px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
    color: white;
    animation: preloaderPulse 1.3s ease-in-out infinite;
}

.preloader-icon svg {
    width: 38px;
    height: 38px;
}

@keyframes preloaderPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

.preloader-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1.75rem;
    letter-spacing: 0.06em;
}

.preloader-progress {
    width: 100%;
    max-width: 180px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
}

@media (max-width: 576px) {
    .preloader-inner {
        width: min(220px, calc(100vw - 2.5rem));
    }

    .preloader-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 1rem;
    }

    .preloader-icon svg {
        width: 32px;
        height: 32px;
    }

    .preloader-text {
        font-size: 2rem;
        margin-bottom: 1.35rem;
    }

    .preloader-progress {
        max-width: 160px;
    }
}

.preloader-fill {
    height: 100%;
    width: 0;
    background: white;
    border-radius: 3px;
    animation: preloaderBar 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes preloaderBar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}



/* ========== TYPEWRITER ========== */
.typewriter-text {
    font-style: italic;
    opacity: 0.95;
    font-weight: 500;
}

.typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: rgba(255, 255, 255, 0.9);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 0.75s ease-in-out infinite;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ========== HERO CARD SHINE SWEEP ========== */
.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -70%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.13),
            transparent);
    transform: skewX(-18deg);
    animation: heroCardShine 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes heroCardShine {
    0% {
        left: -70%;
    }

    35%,
    100% {
        left: 140%;
    }
}



/* ========== ACTIVE NAV LINK ========== */
.nav-link.active {
    color: var(--primary);
}

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

.navbar:not(.scrolled) .nav-link.active {
    color: white;
    -webkit-text-fill-color: white;
}

.navbar:not(.scrolled) .nav-link.active::after {
    width: 100%;
    background: white;
}

/* (hero-stats consolidated above) */

.stat:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 2rem;
    margin-right: 0;
}

/* contact-card:hover — in DESKTOP PREMIUM block */

/* ========== SECTION BADGE ICON SPIN (consolidated above) ========== */

@keyframes badgeIconSpin {

    0%,
    100% {
        transform: rotate(0) scale(1);
    }

    25% {
        transform: rotate(8deg) scale(1.1);
    }

    75% {
        transform: rotate(-8deg) scale(1.05);
    }
}

/* (feature consolidated above) */

/* (feature:hover consolidated above) */

/* ========== FLOATING ICON GLOW PULSE ========== */
.floating-element-1 .floating-icon {
    animation: greenGlow 2.5s ease-in-out infinite;
}

.floating-element-2 .floating-icon {
    animation: yellowGlow 2.5s ease-in-out 0.5s infinite;
}

@keyframes greenGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(67, 233, 123, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(67, 233, 123, 0);
    }
}

@keyframes yellowGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }
}

/* ========== BUTTONS GLOW (consolidated above) ========== */

/* Form input focus — consolidated in DESKTOP PREMIUM block */

/* ========== SCROLL REVEAL — DIRECTIONS ========== */


/* ========== SMOOTH FOCUS RING ========== */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ========== BACK-TO-TOP GLOW ========== */
/* (back-to-top.visible consolidated above) */

@keyframes btnGlow {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
    }

    50% {
        box-shadow: 0 4px 35px rgba(102, 126, 234, 0.5);
    }
}


/* ====================================================
   BLOG SECTION
   ==================================================== */
.blog {
    padding: 7rem 0;
    background: var(--bg-light);
    position: relative;
}

.blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.15), rgba(168, 85, 247, 0.1), transparent);
    z-index: 2;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(102, 126, 234, 0.06);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s ease,
        border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Blog card gradient border on hover */
.blog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, #667eea, #a855f7, #ec4899);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.blog-card:hover::after {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.18),
        0 0 40px rgba(168, 85, 247, 0.06);
    border-color: transparent;
}

.blog-card-image {
    position: relative;
    height: 200px;
    background-size: 100%;
    background-position: center;
    overflow: hidden;
    transition: background-size 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-card:hover .blog-card-image {
    background-size: 110%;
}

/* Image placeholders with gradient backgrounds per category */
.blog-img-1 {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
}

.blog-img-2 {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

.blog-img-3 {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
}

.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
}

.blog-category--purple {
    background: rgba(168, 85, 247, 0.9);
}

.blog-category--green {
    background: rgba(16, 185, 129, 0.9);
}

.blog-category--blue {
    background: rgba(59, 130, 246, 0.9);
}

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    gap: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.25rem;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.blog-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

.blog-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.blog-link:hover svg {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}


/* WhatsApp button removed - replaced by float widget */

/* ====================================================
   EXIT INTENT POPUP
   ==================================================== */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.exit-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.exit-popup {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    max-width: 480px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    transform: scale(0.85) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.exit-popup-overlay.active .exit-popup {
    transform: scale(1) translateY(0);
}

.exit-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.exit-popup-close:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

.exit-popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.exit-popup-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.exit-popup-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.exit-popup-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.exit-popup-text strong {
    color: var(--primary);
    font-weight: 700;
}

.exit-popup-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
    text-align: left;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
}

.exit-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.exit-feature-icon {
    width: 22px;
    height: 22px;
    background: rgba(67, 233, 123, 0.15);
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
}

.exit-popup-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    padding: 1.1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    margin-bottom: 0.75rem;
}

.exit-popup-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.exit-popup-dismiss {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--transition-fast);
    text-decoration: underline;
    text-underline-offset: 3px;
    width: 100%;
}

.exit-popup-dismiss:hover {
    color: var(--text-secondary);
}

@media (max-width: 520px) {
    .exit-popup {
        padding: 2rem 1.5rem;
    }

    .exit-popup-title {
        font-size: 1.6rem;
    }
}


/* ====================================================
   BRANDS TICKER — "Trusted By" Section
   ==================================================== */
.brands-ticker {
    position: relative;
    z-index: 6;
    background: linear-gradient(180deg, #f0f0ff 0%, var(--bg-light) 100%);
    padding: 2.5rem 0 2rem;
    overflow: hidden;
    margin-top: -54px;
    border-radius: 44px 44px 0 0;
    box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.09);
}

.brands-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.ticker-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.ticker-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 3rem;
    width: max-content;
    animation: tickerScroll 40s linear infinite;
    will-change: transform;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
        flex-wrap: nowrap;
        width: 100%;
        justify-content: center;
        gap: 2rem;
        padding: 0 1rem;
        overflow: hidden;
    }

    .ticker-item:nth-child(n+9) {
        display: none;
    }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.55;
    transition: opacity 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
}

.ticker-item:hover {
    background: rgba(255, 255, 255, 0.06);
    opacity: 0.85;
}

.ticker-item svg {
    flex-shrink: 0;
    opacity: 0.5;
}

/* Services adjusted - no border-radius since ticker section is above */


/* ====================================================
   HERO MOBILE PREMIUM RATING CARD
   ==================================================== */

/* Desktop: show full card, hide mobile metrics */
.hero-card--desktop {
    display: block;
    animation: fadeInScale 0.8s ease-out 0.4s both, heroCardFloat 5s ease-in-out 1.2s infinite;
    transform-origin: center center;
}

.hero-card--mobile {
    display: none;
}

@media (max-width: 1200px) {

    /* Tablet/Mobile: hide desktop card, show mobile metrics */
    .hero-card--desktop {
        display: none;
    }

    .hero-card--mobile {
        display: block;
    }

    /* Re-show hero-visual on all screens */
    .hero-visual {
        display: block !important;
        max-width: 420px;
        margin: 0 auto;
    }
}


/* Subtle shimmer edge on the card */
.hero-card--mobile::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

/* --- Rating top row --- */
.hero-rating-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.hero-rating-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-rating-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    letter-spacing: -0.04em;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.hero-rating-stars {
    display: flex;
    gap: 2px;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4));
}

.hero-rating-count {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    margin-left: auto;
    letter-spacing: 0.01em;
}

/* --- Trust badges row --- */
.hero-trust-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hero-trust-badge {
    flex: 1 1 calc(33.333% - 0.35rem);
    min-width: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 0.45rem 0.5rem;
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.68rem;
    font-weight: 600;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    transition: background 0.3s ease;
}

.hero-trust-badge i,
.hero-trust-badge svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.7;
    color: rgba(165, 243, 252, 0.9);
}


/* ====================================================
   MODERNIZE DESIGN — AI 2026 ENHANCEMENTS
   ==================================================== */

/* --- Section Badges: gradient border + glass (consolidated above) --- */

/* --- Service cards: enhanced glassmorphism + gradient border hover --- */

/* service-card:hover — consolidated in DESKTOP PREMIUM block */

/* Gradient border on hover via pseudo-element */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1.5px;
    background: linear-gradient(135deg, #667eea, #a855f7, #ec4899);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* service-card:hover::after — in DESKTOP PREMIUM block */

/* --- Testimonial cards: quote gradient + hover glow enhanced --- */

.testimonial-slide.active:hover {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35),
        0 0 50px rgba(167, 139, 250, 0.12),
        0 0 80px rgba(102, 126, 234, 0.08);
}

/* --- Author avatar gradient diversity --- */
.testimonial-slide:nth-child(2) .author-avatar {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.testimonial-slide:nth-child(3) .author-avatar {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.testimonial-slide:nth-child(4) .author-avatar {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.testimonial-slide:nth-child(5) .author-avatar {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
}

/* --- CTA form: enhanced input glow on focus --- */
/* form-input:focus — consolidated in DESKTOP PREMIUM block */

/* social-link:hover — consolidated above */

/* (stat-number consolidated above) */

/* --- Hero subtle gradient mesh (static, no loop flicker) --- */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 80%, rgba(67, 233, 123, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 20%, rgba(165, 243, 252, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* ====================================================
   3D TILT — CSS CUSTOM PROPERTY COMPOSITION
   JS sets --tilt-rx / --tilt-ry; CSS composes final transform.
   IMPORTANT: Base perspective must NOT override [data-reveal]
   hidden-state transform. We use .has-tilt.revealed so the
   tilt only activates AFTER the scroll-reveal completes.
   ==================================================== */
.has-tilt {
    --tilt-rx: 0deg;
    --tilt-ry: 0deg;
    transform-style: preserve-3d;
    will-change: transform;
}

/* After scroll reveal: apply perspective + tilt (specificity 0,3,0 beats [data-reveal].revealed 0,2,0) */
.has-tilt[data-reveal].revealed {
    transform: perspective(800px) rotateX(var(--tilt-rx)) rotateY(var(--tilt-ry)) translateY(0px);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        background 0.4s ease;
}

/* hero-card--desktop: combine entrance + float animation */

@keyframes heroCardFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* On hover: pause float, subtle lift */
.hero-card--desktop:hover {
    animation-play-state: paused;
    transform: translateY(-6px);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
}

/* Service/team card hover lift (JS tilt still active via has-tilt) */
.has-tilt[data-reveal].revealed.service-card:hover {
    transform: perspective(800px) rotateX(var(--tilt-rx)) rotateY(var(--tilt-ry)) translateY(-10px);
}

/* team-card hover: consolidated above (lift + ring) */


/* ====================================================
   DESKTOP PREMIUM 2026 — FULL OVERHAUL
   All sections: glass, glows, gradient borders, premium hover
   ==================================================== */

/* --- Global: text-wrap balance on all section titles --- */
/* (.section-title text-wrap consolidated in its base selector) */

/* --- Service Cards: premium glass + icon glow + shine sweep --- */

/* Subtle always-visible gradient border at rest */

.service-card:hover::after {
    opacity: 1;
}

/* (service-icon-simple consolidated above) */

.service-card:hover .service-icon-simple {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    transform: scale(1.08) translateY(-2px);
}

/* Service card hover (consolidated above) */

/* Service price: subtle gradient accent */

/* (feature consolidated above) */

/* (feature:hover consolidated above) */

/* (feature-icon consolidated above) */


/* Image wrapper hover */

.image-wrapper:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.2);
}

/* Experience badge hover */

.experience-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
}

/* --- Team Cards: glass + premium image hover (consolidated above) --- */

/* (team-image consolidated above) */

.team-card:hover .team-image {
    transform: scale(1.03);
}

.team-card:hover .team-image i,
.team-card:hover .team-image svg {
    transform: scale(1.1);
    transition: transform 0.4s ease;
}

/* Team name gradient on hover */
.team-card:hover .team-name {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Quote icon hover */

/* Stars hover scale */
.testimonial-slide:hover .t-stars span {
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4));
}

/* Form input premium focus */
.form-input:focus {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12),
        0 8px 25px rgba(102, 126, 234, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Form submit button glow at rest */

/* Custom select dropdown glass */

/* --- Contact Cards: always-visible gradient top + glass + glow (consolidated above) --- */

/* Always-visible gradient top bar (subtle at rest) */

/* contact-card:hover::before consolidated at line 2503 */

/* Contact card hover (consolidated above) */

/* Contact icon glow */


/* --- Blog Cards: glass + gradient border + image zoom premium (consolidated above) --- */

/* Blog card gradient border on hover */
.blog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, #667eea, #a855f7, #ec4899);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.blog-card:hover::after {
    opacity: 1;
}

/* Blog card hover: consistent 10px lift + glow */
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.18),
        0 0 40px rgba(168, 85, 247, 0.06);
    border-color: transparent;
}

/* Blog image zoom enhancement (consolidated) */

/* Blog category glass (consolidated) */

/* Blog link underline animation (consolidated) */

.blog-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.blog-link:hover::after {
    width: 100%;
}

/* --- Footer: glass elements + premium link hover (consolidated) --- */

.footer-logo:hover .footer-logo-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

/* Footer link hover: underline reveal */

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #667eea, #a855f7);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Social link glow ring on hover (consolidated above) */

/* Footer hours hover */

.footer-hours li:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

/* --- Section Dividers: enhanced glow --- */
.services::before,
.why-us::before,
.team::before,
.testimonials-cta-section::before,
.contact::before,
.blog::before {
    height: 1px;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.08);
}

/* (floating-element consolidated above) */

.floating-element:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2),
        0 0 30px rgba(168, 85, 247, 0.08);
}

/* --- CTA Buttons: idle glow for all prominent CTAs (consolidated above) --- */

/* --- Brands ticker items: glass pill on hover --- */


/* --- Back-to-top: gradient ring glow (consolidated above) --- */

/* --- Exit popup: glass card + gradient border --- */

/* --- Scroll progress bar: enhanced glow --- */
.scroll-progress {
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3),
        0 0 20px rgba(168, 85, 247, 0.15);
}

/* --- Focus-within on form groups --- */
.form-group:focus-within {
    z-index: 2;
}

.floating-group:focus-within .floating-label {
    color: var(--primary);
}

/* --- Inset highlights on glass cards for depth --- */
/* ====================================================
   RESPONSIVE OVERHAUL — COMPLETE 2026
   ======================================================= */

/* ---------- 992px-1199px: Small Desktop ---------- */
@media (min-width: 993px) and (max-width: 1199px) {
    .hero-card {
        padding: 1.5rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.75rem;
    }

    .footer-grid {
        gap: 2.5rem;
    }

    /* Pull floating elements in on small desktops */
    .floating-element-1 {
        left: -8px;
        top: -12px;
    }

    .floating-element-2 {
        right: -8px;
    }
}

/* ---------- 768px-991px: Tablet ---------- */
@media (min-width: 769px) and (max-width: 992px) {

    /* Hero stats: show on tablet, compact */
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding-top: 1.5rem;
    }

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

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

    .stat:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
        padding-right: 1rem;
    }

    /* Services: 2 per row */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    /* Team: 2 per row */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Footer: 2x2 grid */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    /* Testimonials */
    .testimonial-slide {
        padding: 1.75rem;
    }

    /* Hero visual mobile card */
    .hero-visual {
        max-width: 380px;
    }

    /* Pull floating elements in tighter on tablet */
    .floating-element-1 {
        left: 0;
        top: -10px;
    }

    .floating-element-2 {
        right: 0;
    }

    /* Contact: 3 across */
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* CTA form */
    .cta-wrapper {
        max-width: 700px;
    }

    /* Brands ticker */
    .brands-ticker {
        padding: 2rem 0 1.5rem;
    }
}

/* ---------- 576px Mobile Fixes ---------- */
@media (max-width: 576px) {

    /* Hero pill smaller */
    .hero-badge {
        font-size: 0.72rem;
        padding: 0.35rem 0.9rem;
    }

    .modern-badge {
        padding: 0.4rem 1rem !important;
        font-size: 0.78rem !important;
    }

    .badge-icon {
        font-size: 0.9rem;
    }

    /* Hero title clamp */
    .hero-title {
        font-size: clamp(2.2rem, 9vw, 2.8rem);
    }

    /* Hero stats: hidden on mobile to avoid clutter with the mobile card */
    .hero-stats {
        display: none !important;
    }

    .stat {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-align: left;
    }

    .stat:not(:last-child) {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.75rem;
    }

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

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

    /* Section badges */
    .section-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.75rem;
    }

    /* Section headers */
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .section-description {
        font-size: 0.9rem;
        max-width: 300px;
    }

    /* Testimonial cards */
    .testimonial-slide {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .testimonial-text {
        font-size: 0.88rem;
        line-height: 1.65;
    }

    .t-quote-icon {
        width: 38px;
        height: 38px;
        padding: 8px;
        margin-bottom: 1rem;
    }

    .author-avatar {
        width: 38px;
        height: 38px;
        font-size: 0.75rem;
    }

    .author-name {
        font-size: 0.85rem;
    }

    /* CTA form stacked */
    .cta-wrapper {
        padding: 1rem 0;
        margin: 1.5rem 0 0;
        border-radius: 0;
        max-width: 100%;
    }

    .cta-form {
        padding: 1.5rem 1rem;
        border-radius: 16px;
        margin: 0;
        box-sizing: border-box;
        overflow: visible;
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .form-group {
        margin-bottom: 0.25rem;
    }

    .form-input {
        font-size: 1rem;
        /* prevents iOS zoom */
        padding: 0.85rem 1rem;
    }

    .form-textarea {
        min-height: 90px;
        resize: none !important;
    }

    .cta-title {
        font-size: 1.4rem;
    }

    .cta-description {
        font-size: 0.88rem;
        margin-bottom: 1.5rem;
    }

    /* Footer: stacked with spacing but 2 cols for links */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        text-align: center;
    }

    .footer-grid>div:first-child,
    .footer-grid>div:last-child {
        grid-column: span 2;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

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

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

    .footer-hours li {
        justify-content: center;
        gap: 1rem;
    }

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

    .footer-bottom {
        font-size: 0.75rem;
        padding: 1rem 0;
    }

    .footer-anpc img {
        height: 32px;
    }

    /* Brands ticker mobile */
    .brands-ticker {
        padding: 1.5rem 0 1rem;
        margin-top: -30px;
        border-radius: 24px 24px 0 0;
    }

    .brands-label {
        font-size: 0.7rem;
        margin-bottom: 1rem;
    }

    .ticker-item {
        font-size: 0.78rem;
        gap: 0.35rem;
    }

    .ticker-item svg {
        width: 16px;
        height: 16px;
    }

    .ticker-track {
        gap: 2rem;
    }

    /* Reviews CTA */
    .reviews-cta {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .rating-number {
        font-size: 1.5rem;
    }

    .rating-stars-large {
        font-size: 1.25rem;
    }

    /* Hero mobile rating card */
    .hero-card--mobile {
        padding: 0.9rem 1.1rem;
        border-radius: 16px;
    }

    .hero-rating-top {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.35rem;
    }

    .hero-rating-number {
        font-size: 1.75rem;
    }

    .hero-rating-stars svg {
        width: 15px;
        height: 15px;
    }

    .hero-rating-count {
        font-size: 0.72rem;
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .hero-trust-badge {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
        font-size: 0.68rem;
        padding: 0.45rem 0.4rem;
        gap: 0.25rem;
    }

    .hero-trust-badge:last-child {
        flex-basis: 100%;
    }

    .hero-trust-badge i,
    .hero-trust-badge svg {
        width: 12px;
        height: 12px;
    }

    /* FAQ / Sections */
    .services {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .testimonials-cta-section {
        padding: 3.5rem 0 4rem;
    }
}

/* ---------- 375px: Ultra-small phones ---------- */
@media (max-width: 375px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-description {
        font-size: 0.85rem;
        max-width: 260px;
    }

    .hero-buttons {
        max-width: 100%;
    }

    .btn-white,
    .btn-glass {
        max-width: 320px;
        font-size: 0.88rem;
        padding: 0.85rem 1rem;
    }

    .hero-trust-badge {
        font-size: 0.58rem;
        padding: 0.35rem;
    }

    .hero-rating-number {
        font-size: 1.5rem;
    }

    .hero-rating-stars svg {
        width: 13px;
        height: 13px;
    }

    .section-title {
        font-size: 1.35rem;
    }

    /* Ticker smaller */
    .ticker-item {
        font-size: 0.72rem;
    }

    .ticker-track {
        gap: 1.5rem;
    }
}


/* ====================================================
   FLOATING APPOINTMENT WIDGET
   ==================================================== */
.float-widget {
    position: fixed;
    bottom: calc(2rem + 56px + 0.75rem);
    right: 2rem;
    z-index: 950;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.float-widget-pulse {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 56px;
    height: 56px;
    border-radius: 50px;
    background: var(--primary);
    animation: floatPulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.float-widget-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--primary-gradient);
    color: white;
    border: none;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
    transition: transform var(--transition-bounce), box-shadow var(--transition-normal);
    position: relative;
    z-index: 1;
    white-space: nowrap;
    line-height: 1;
    touch-action: manipulation;
}

.float-widget-text {
    display: none;
}

.float-widget-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 40px rgba(102, 126, 234, 0.55);
}

.float-widget-btn svg,
.float-widget-btn i {
    width: 20px;
    height: 20px;
    display: block;
    pointer-events: none;
    flex-shrink: 0;
}

.float-widget-panel {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    width: 300px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transform: scale(0.85) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.float-widget-panel.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.float-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
}

.float-widget-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.float-widget-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.float-widget-body {
    padding: 1.25rem;
}

.float-widget-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.float-widget-call {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #f0fdf4;
    color: #16a34a;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background var(--transition-fast);
    margin-bottom: 0.75rem;
}

.float-widget-call:hover {
    background: #dcfce7;
}

.float-widget-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.float-widget-divider::before,
.float-widget-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.float-widget-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    margin-bottom: 0.6rem;
    box-sizing: border-box;
    transition: border-color var(--transition-fast);
}

.float-widget-input:focus {
    outline: none;
    border-color: var(--primary);
}

.float-widget-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.85rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.float-widget-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

@media (max-width: 576px) {
    .float-widget {
        bottom: 1rem;
        right: 1rem;
        max-width: calc(100vw - 2rem);
    }

    .float-widget-text {
        display: none;
    }

    .float-widget-btn {
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .float-widget-panel {
        max-width: calc(100vw - 2rem);
        right: 0;
    }

    .float-widget-panel {
        width: calc(100vw - 2rem);
        right: 0;
    }

    .float-widget-pulse {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .float-widget {
        right: 1rem;
    }

    .back-to-top {
        right: 1rem;
    }
}

@media (max-width: 576px) {
    .float-widget {
        bottom: calc(1rem + 50px + 0.75rem);
        right: 1rem;
    }

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
    }
}


/* ====================================================
   SERVICE CARDS — HOVER EXPAND DETAILS
   ==================================================== */


/* ====================================================
   GRADIENT MESH BACKGROUNDS
   ==================================================== */
/* (team consolidated above) */



.team::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.07) 0%, transparent 70%);
    pointer-events: none;
}


.why-us::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -200px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.06) 0%, transparent 70%);
    pointer-events: none;
    transform: translateY(-50%);
}


/* ====================================================
   ODOMETER / SLOT-MACHINE COUNTER STYLE
   ==================================================== */
/* (stat-number consolidated above) */

.stat-number.counting {
    animation: statPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes statPop {
    0% {
        transform: scale(0.8);
    }

    60% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}


/* ====================================================
   ULTRA-PREMIUM MOBILE — COMPLETE 2026 OVERHAUL
   All sections: Navbar, Brands, Services, Why Us,
   Team, Testimonials, Form, Contact, Map, Footer,
   Exit Popup, Global Polish
   ==================================================== */

/* ==========================================================
   1. NAVBAR MOBILE — Glass blur + premium hamburger
   ========================================================== */
@media (max-width: 992px) {
    .navbar,
    .hero,
    .hero-video-bg,
    .hero-container,
    .hero-content,
    .hero-visual,
    .brands-ticker,
    .mobile-overlay {
        max-width: 100%;
    }

    .navbar {
        transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            backdrop-filter 0.4s ease,
            padding 0.3s ease;
    }

    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(24px) saturate(1.8);
        -webkit-backdrop-filter: blur(24px) saturate(1.8);
        box-shadow:
            0 1px 0 rgba(102, 126, 234, 0.08),
            0 4px 24px rgba(30, 27, 75, 0.08);
        border-bottom: 1px solid rgba(102, 126, 234, 0.06);
    }

    /* Premium hamburger button */
    .mobile-menu {
        display: flex !important;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        align-items: center;
        justify-content: center;
        flex: 0 0 40px;
        margin-left: 0;
        color: white;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.18);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-menu:active {
        transform: scale(0.92);
        background: rgba(102, 126, 234, 0.12);
    }

    .navbar:not(.scrolled) .mobile-menu {
        color: white;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .navbar.scrolled .mobile-menu {
        color: var(--primary);
        background: rgba(102, 126, 234, 0.08);
        border: 1px solid rgba(102, 126, 234, 0.14);
    }

    .mobile-menu-bars,
    .mobile-menu-bars::before,
    .mobile-menu-bars::after {
        background: currentColor;
    }

    .navbar:not(.scrolled) .mobile-menu:active {
        background: rgba(255, 255, 255, 0.2);
    }

    /* Premium mobile overlay */
    .mobile-overlay {
        width: 100%;
        padding: 5.5rem 1.5rem 2rem;
        background: linear-gradient(160deg,
                rgba(30, 27, 75, 0.98) 0%,
                rgba(88, 55, 160, 0.97) 40%,
                rgba(102, 126, 234, 0.96) 100%);
        backdrop-filter: blur(30px) saturate(1.5);
        -webkit-backdrop-filter: blur(30px) saturate(1.5);
    }

    .mobile-overlay::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse at 20% 20%, rgba(165, 243, 252, 0.08) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 80%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
        pointer-events: none;
    }

    .mobile-close {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(12px);
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .mobile-close:active {
        transform: scale(0.9) rotate(90deg);
    }

    .mobile-link {
        font-size: 1.65rem;
        letter-spacing: -0.02em;
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
    }

    .mobile-link:active {
        opacity: 0.7;
        transform: scale(0.96);
    }

    .mobile-cta-btn {
        background: linear-gradient(135deg, #ffffff 0%, #f0f0ff 100%);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
        font-size: 1.1rem;
        padding: 1.1rem 2.5rem;
    }
}


/* ==========================================================
   2. BRANDS TICKER — Premium mobile styling
   ========================================================== */
@media (max-width: 768px) {
    .brands-ticker {
        padding: 1.75rem 0 1.25rem;
        background: linear-gradient(180deg, #f0f0ff 0%, #f8f7ff 50%, var(--bg-light) 100%);
        box-shadow:
            0 -12px 40px rgba(0, 0, 0, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .brands-label {
        font-size: 0.68rem;
        letter-spacing: 0.15em;
        color: var(--primary);
        opacity: 0.6;
        margin-bottom: 1rem;
    }

    .ticker-wrapper {
        mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    }

    .ticker-track {
        animation-duration: 30s;
        gap: 2.25rem;
    }

    .ticker-item {
        opacity: 0.5;
        font-size: 0.82rem;
        font-weight: 600;
        letter-spacing: 0.01em;
    }

    .ticker-item svg {
        opacity: 0.45;
    }
}

@media (max-width: 576px) {
    .mobile-nav {
        width: min(100%, 320px);
        margin: 0 auto;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .mobile-link,
    .mobile-cta-btn {
        width: 100%;
        text-align: center;
    }

    .hero-container,
    .hero-content {
        width: 100%;
    }

    .hero-visual {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    .ticker-wrapper {
        overflow: hidden;
    }

    .ticker-track {
        display: flex;
        width: max-content;
        flex-wrap: nowrap;
        animation: tickerScroll 22s linear infinite;
        gap: 1.5rem;
    }

    .ticker-item {
        opacity: 0.72;
        font-size: 0.74rem;
    }
}

@media (max-width: 992px) {
    .mobile-menu {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 40px;
        margin-left: 0;
        color: var(--primary);
    }

    .navbar:not(.scrolled) .mobile-menu {
        color: white;
    }
}


/* ==========================================================
   3. SERVICE CARDS — Premium mobile glass + gradient borders
   ========================================================== */
@media (max-width: 768px) {
    .services {
        background: linear-gradient(180deg, var(--bg-light) 0%, #f0f0ff 50%, var(--bg-light) 100%);
    }

    .service-card {
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(102, 126, 234, 0.1);
        border-radius: 18px;
        padding: 1.35rem;
        position: relative;
        overflow: hidden;
        transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* Always-visible subtle gradient border on mobile */
    .service-card::after {
        opacity: 0.35;
        padding: 1px;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.4), rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.2));
    }

    .service-card:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.9);
    }

    .service-card:active::after {
        opacity: 0.7;
    }

    /* Icon glow on mobile */
    .service-icon-simple {
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
        border-radius: 14px;
    }

    /* Service card top shine line */
    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 15%;
        right: 15%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
        z-index: 2;
    }
}


/* ==========================================================
   4. WHY US — Glass feature cards + animated gradient borders
   ========================================================== */
@media (max-width: 768px) {
    .why-us {
        background: linear-gradient(180deg, #ffffff 0%, #f8f7ff 40%, #f0f0ff 100%);
    }

    .feature {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(102, 126, 234, 0.08);
        border-radius: 16px;
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 0.75rem;
        box-shadow: 0 2px 12px rgba(102, 126, 234, 0.06);
        transition: all 0.35s ease;
    }

    /* Gradient left border becomes top border on mobile */
    .feature::before {
        width: 100%;
        height: 2px;
        left: 0;
        top: 0;
        bottom: auto;
        border-radius: 16px 16px 0 0;
        transform: scaleX(0.3);
        opacity: 0.6;
    }

    .feature.revealed::before,
    [data-reveal].revealed .feature::before {
        transform: scaleX(1);
        transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
    }

    /* Icon glow on mobile */
    .feature-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 1.1rem;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(168, 85, 247, 0.08));
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.12);
        border: 1px solid rgba(102, 126, 234, 0.1);
    }

    .feature:active {
        transform: scale(0.97);
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.12);
    }

    .feature:active .feature-icon {
        background: var(--primary);
        color: white;
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    }

    /* Image placeholder premium on mobile */
    .image-placeholder {
        border-radius: 20px;
        background: linear-gradient(135deg, #e0e7ff 0%, #ddd6fe 50%, #c7d2fe 100%);
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
    }

    .experience-badge {
        border-radius: 14px;
        padding: 0.85rem 1.25rem;
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    }
}


/* ==========================================================
   5. TEAM CARDS — Premium mobile with horizontal scroll
   ========================================================== */
@media (max-width: 768px) {
    .team {
        background: linear-gradient(180deg, #f0f0ff 0%, #e8e5ff 50%, #f0f0ff 100%);
        overflow: hidden;
    }

    .team-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 0 1.25rem 1.5rem;
        max-width: none;
        margin: 0 -1.25rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .team-grid::-webkit-scrollbar {
        display: none;
    }

    .team-card {
        flex: 0 0 280px;
        scroll-snap-align: center;
        max-width: 280px;
        border-radius: 20px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(102, 126, 234, 0.08);
        box-shadow:
            0 4px 20px rgba(102, 126, 234, 0.08),
            0 1px 0 rgba(255, 255, 255, 0.6) inset;
    }

    .team-card::before {
        opacity: 0.25;
    }

    .team-card:active {
        transform: scale(0.97);
    }

    .team-image {
        aspect-ratio: 4/3;
        font-size: 3.5rem;
    }

    .team-info {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .team-name {
        font-size: 1.1rem;
    }

    .team-role {
        font-size: 0.82rem;
    }

    .team-specialty {
        font-size: 0.8rem;
    }
}

/* Team scroll hint — subtle gradient fade on edges */
@media (max-width: 768px) {
    .team .container {
        position: relative;
    }

    .team .container::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 40px;
        background: linear-gradient(90deg, transparent, rgba(240, 240, 255, 0.9));
        pointer-events: none;
        z-index: 5;
    }
}


/* ==========================================================
   6. TESTIMONIALS — Active card glow + smoother mobile feel
   ========================================================== */
@media (max-width: 768px) {
    .testimonials-cta-section {
        background: linear-gradient(180deg, #1e1b4b 0%, #2d2670 25%, #3b2a8a 50%, #4c1d95 75%, #5b21b6 100%);
    }

    .testimonial-slide {
        padding: 1.35rem;
        border-radius: 18px;
    }

    .testimonial-slide.active {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    }

    /* Active/dragging card glow */
    .testimonial-slide.active:active {
        border-color: rgba(167, 139, 250, 0.4);
        background: rgba(255, 255, 255, 0.14);
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(167, 139, 250, 0.12);
    }

    /* Active dot — gradient fill */
    .carousel-dot.active {
        background: linear-gradient(135deg, #a5f3fc 0%, #c4b5fd 50%, #fbcfe8 100%);
        box-shadow: 0 0 12px rgba(167, 139, 250, 0.4);
    }

    .carousel-dot {
        height: 6px;
        width: 6px;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .carousel-dot.active {
        width: 24px;
    }

    /* Carousel buttons smaller and glass-styled */
    .carousel-btn {
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(8px);
    }

    .carousel-btn:active {
        transform: scale(0.88);
        background: rgba(255, 255, 255, 0.2);
    }

    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }

    /* Reviews CTA — premium glass on mobile */
    .reviews-cta {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-radius: 18px;
        padding: 1.35rem;
        margin-top: 2.5rem;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    }

    .google-reviews-link {
        border-radius: 50px;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
}


/* ==========================================================
   7. BOOKING FORM — Premium mobile glass + enhanced inputs
   ========================================================== */
@media (max-width: 768px) {
    .cta-wrapper {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }

    .cta-title {
        font-family: 'Playfair Display', serif;
        font-size: 1.65rem;
        letter-spacing: -0.02em;
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
    }

    .cta-description {
        font-size: 0.92rem;
        opacity: 0.85;
        line-height: 1.5;
    }

    .cta-form {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(102, 126, 234, 0.08);
        border-radius: 20px;
        box-shadow:
            0 12px 48px rgba(102, 126, 234, 0.1),
            0 1px 0 rgba(255, 255, 255, 0.5) inset;
    }

    /* Enhanced form inputs on mobile */
    .form-input {
        background: #f8f7ff;
        border: 1.5px solid rgba(102, 126, 234, 0.1);
        border-radius: 14px;
        padding: 0.9rem 1rem;
        font-size: 1rem;
        /* Prevents iOS zoom */
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .form-input:focus {
        border-color: var(--primary);
        background: white;
        box-shadow:
            0 0 0 3px rgba(102, 126, 234, 0.1),
            0 4px 16px rgba(102, 126, 234, 0.08) !important;
        transform: translateY(-1px);
    }

    /* Custom select premium on mobile */
    .custom-select-trigger {
        border-radius: 14px;
        background: #f8f7ff;
        border: 1.5px solid rgba(102, 126, 234, 0.1);
    }

    .custom-select.open .custom-select-trigger {
        box-shadow:
            0 0 0 3px rgba(102, 126, 234, 0.1),
            0 4px 16px rgba(102, 126, 234, 0.08);
    }

    .custom-select-dropdown {
        border-radius: 14px;
        border: 1px solid rgba(102, 126, 234, 0.1);
        box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    }

    /* Submit button — premium gradient */
    .form-submit {
        border-radius: 50px;
        padding: 1rem;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        box-shadow: 0 8px 28px rgba(102, 126, 234, 0.3);
        position: relative;
    }

    .form-submit:active {
        transform: scale(0.97);
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
    }

    /* Floating labels — premium transition */
    .floating-label {
        font-size: 0.92rem;
        color: rgba(30, 27, 75, 0.4);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .form-input:focus~.floating-label,
    .form-input:not(:placeholder-shown)~.floating-label {
        font-size: 0.75rem;
        color: var(--primary);
        font-weight: 600;
        letter-spacing: 0.02em;
    }
}


/* ==========================================================
   8. CONTACT CARDS — Premium stacked with gradient accents
   ========================================================== */
@media (max-width: 768px) {
    .contact {
        background: linear-gradient(180deg, var(--bg-light) 0%, #f0f0ff 100%);
    }

    .contact-card {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(102, 126, 234, 0.08);
        border-radius: 18px;
        padding: 1.5rem 1.25rem;
        box-shadow: 0 2px 16px rgba(102, 126, 234, 0.06);
        transition: all 0.35s ease;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    /* Gradient top accent — always visible on mobile */
    .contact-card::before {
        height: 3px;
        transform: scaleX(1);
        opacity: 0.5;
        border-radius: 18px 18px 0 0;
    }

    .contact-card:active {
        transform: scale(0.97);
        background: rgba(255, 255, 255, 0.95);
    }

    .contact-card:active::before {
        opacity: 1;
    }

    .contact-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(168, 85, 247, 0.06));
        border: 1px solid rgba(102, 126, 234, 0.08);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
        margin: 0;
    }

    .contact-title {
        font-size: 1.1rem;
    }

    .contact-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}


/* ==========================================================
   9. MAP SECTION — mobile padding
   ========================================================== */
@media (max-width: 768px) {
    .map-section {
        padding: 3rem 0;
    }
}


/* ==========================================================
   10. FOOTER — Premium mobile with gradient separators
   ========================================================== */
@media (max-width: 768px) {
    .footer {
        background: linear-gradient(180deg,
                #1e1b4b 0%,
                #2d2670 30%,
                #1e1b4b 100%);
        padding: 3.5rem 0 2rem;
        position: relative;
    }

    /* Top gradient separator */
    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(165, 243, 252, 0.3), rgba(168, 85, 247, 0.3), transparent);
    }

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

    .footer-description {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .footer-logo-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    }

    .footer-logo-text {
        font-size: 1.35rem;
    }

    /* Social links — premium glass on mobile */
    .social-link {
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .social-link:active {
        transform: scale(0.9);
        background: rgba(255, 255, 255, 0.2);
    }

    /* Footer titles */
    .footer-title {
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 1rem;
        position: relative;
        display: inline-block;
    }

    /* Footer links — premium hover */
    .footer-links a {
        color: rgba(255, 255, 255, 0.55);
        font-size: 0.9rem;
        transition: all 0.3s ease;
        display: inline-block;
    }

    .footer-links a:active {
        color: rgba(165, 243, 252, 0.9);
        transform: translateX(4px);
    }

    /* Hours list premium */
    .footer-hours li {
        font-size: 0.85rem;
        padding: 0.45rem 0;
        border-bottom-color: rgba(255, 255, 255, 0.06);
        color: rgba(255, 255, 255, 0.55);
    }

    /* Footer bottom — premium */
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        color: rgba(255, 255, 255, 0.35);
        font-size: 0.78rem;
        padding-top: 1.5rem;
    }
}


/* ==========================================================
   11. EXIT POPUP — Bottom-sheet style on mobile
   ========================================================== */
@media (max-width: 768px) {
    .exit-popup-overlay {
        align-items: flex-end;
        padding: 0;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .exit-popup {
        border-radius: 28px 28px 0 0;
        padding: 2rem 1.5rem 2.5rem;
        max-width: 100%;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateY(100%);
        box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.3);
    }

    .exit-popup-overlay.active .exit-popup {
        transform: translateY(0);
    }

    /* Bottom sheet handle */
    .exit-popup::after {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: rgba(0, 0, 0, 0.12);
        border-radius: 4px;
    }

    .exit-popup-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 32px;
        height: 32px;
    }

    .exit-popup-icon {
        font-size: 3rem;
        margin-bottom: 0.75rem;
    }

    .exit-popup-title {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }

    .exit-popup-text {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .exit-popup-features {
        padding: 1rem 1.25rem;
        border-radius: 14px;
        margin-bottom: 1.5rem;
    }

    .exit-feature {
        font-size: 0.9rem;
    }

    .exit-popup-cta {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 50px;
        box-shadow: 0 6px 24px rgba(102, 126, 234, 0.3);
    }

    .exit-popup-cta:active {
        transform: scale(0.97);
    }

    .exit-popup-dismiss {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
}


/* ==========================================================
   12. GLOBAL MOBILE POLISH — Enhanced scroll animations,
       smooth section transitions, performance
   ========================================================== */
@media (max-width: 768px) {

    /* Smoother scroll behavior on the whole page */
    html {
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
    }

    /* Body scroll momentum */
    body {
        -webkit-overflow-scrolling: touch;
    }

    /* Enhanced scroll reveal — more premium easing on mobile */
    [data-reveal] {
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    [data-reveal].revealed {
        transform: translateY(0);
    }

    /* Directional reveals enhanced */
    [data-reveal="fade-left"] {
        transform: translateX(-25px);
    }

    [data-reveal="fade-right"] {
        transform: translateX(25px);
    }

    [data-reveal="scale"] {
        transform: scale(0.92);
    }

    [data-reveal="fade-up"].revealed,
    [data-reveal="fade-left"].revealed,
    [data-reveal="fade-right"].revealed,
    [data-reveal="scale"].revealed {
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Section dividers — subtle gradient lines between sections */
    .services::before,
    .why-us::before,
    .team::before,
    .testimonials-cta-section::before,
    .contact::before,
    .blog::before {
        content: '';
        position: absolute;
        top: 0;
        left: 15%;
        right: 15%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.12), transparent);
        z-index: 2;
    }

    .services,
    .why-us,
    .team,
    .contact,
    .blog {
        position: relative;
    }

    /* Disable hero parallax on mobile for performance */
    .hero-video-bg {
        transform: none !important;
    }

    /* Section badges — premium on mobile */
    .section-badge {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(168, 85, 247, 0.06));
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(102, 126, 234, 0.15);
        box-shadow: 0 2px 10px rgba(102, 126, 234, 0.06);
        border-radius: 50px;
    }

    /* Section titles — premium typography on mobile */
    .section-title {
        font-family: 'Playfair Display', serif;
        letter-spacing: -0.02em;
        line-height: 1.15;
    }

    .section-description {
        line-height: 1.6;
        color: var(--text-secondary);
    }

    /* Blog cards — premium glass on mobile */
    .blog-card {
        border-radius: 18px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(102, 126, 234, 0.06);
        box-shadow: 0 2px 16px rgba(102, 126, 234, 0.06);
        transition: all 0.35s ease;
    }

    .blog-card:active {
        transform: scale(0.98);
    }

    .blog-link {
        font-weight: 600;
        color: var(--primary);
        transition: all 0.3s ease;
    }

    .blog-link:active {
        opacity: 0.7;
    }

    /* Floating widget — premium glass on mobile */
    .float-widget-btn {
        box-shadow:
            0 8px 32px rgba(102, 126, 234, 0.35),
            0 0 40px rgba(102, 126, 234, 0.1);
    }

    .float-widget-panel {
        border-radius: 18px;
        border: 1px solid rgba(102, 126, 234, 0.1);
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    }

    /* Back-to-top — subtle glass */
    .back-to-top {
        border: 1px solid rgba(102, 126, 234, 0.1);
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    }

    .back-to-top:active {
        transform: scale(0.9);
    }

    /* Disable hover animations on touch — use active instead */
    .service-card:hover,
    .team-card:hover,
    .contact-card:hover,
    .blog-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    /* Touch-optimized tap targets */
    a,
    button {
        -webkit-tap-highlight-color: rgba(102, 126, 234, 0.08);
    }

    /* Prevent text selection on interactive elements */
    .carousel-btn,
    .carousel-dot,
    .mobile-menu,
    .back-to-top,
    .float-widget-btn {
        -webkit-user-select: none;
        user-select: none;
    }

    /* Smooth section padding on mobile */
    .services,
    .why-us,
    .team,
    .blog {
        padding: 4rem 0;
    }
}

/* ==========================================================
   MOBILE PREMIUM — 576px refinements
   ========================================================== */
@media (max-width: 576px) {

    /* Team cards — slightly smaller */
    .team-card {
        flex: 0 0 250px;
        max-width: 250px;
    }

    .team-image {
        aspect-ratio: 5/4;
    }

    /* Contact cards — more compact */
    .contact-card {
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }

    .contact-icon {
        width: 46px;
        height: 46px;
    }

    /* Exit popup — even more compact */
    .exit-popup {
        padding: 1.75rem 1.25rem 2rem;
    }

    .exit-popup-title {
        font-size: 1.45rem;
    }

    .exit-popup-icon {
        font-size: 2.5rem;
    }
}

/* ==========================================================
   MOBILE PREMIUM — 375px ultra-small refinements
   ========================================================== */
@media (max-width: 375px) {
    .team-card {
        flex: 0 0 230px;
        max-width: 230px;
    }

    .feature {
        padding: 0.85rem;
    }

    .feature-icon {
        width: 38px;
        height: 38px;
    }

    .contact-card {
        padding: 1rem 0.85rem;
    }

    .exit-popup-title {
        font-size: 1.3rem;
    }
}

/* ========== COOKIE CONSENT BANNER — 2026 PREMIUM ========== */

.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 100%;
    max-width: 400px;
    transform: translateY(30px) scale(0.94);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
    pointer-events: none;
}

.cookie-banner--visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.cookie-banner--hiding {
    transform: translateY(30px) scale(0.94);
    opacity: 0;
    pointer-events: none;
}

/* Card */
.cookie-card {
    position: relative;
    background: linear-gradient(150deg, #1a1740 0%, #251e5e 55%, #2e1a6e 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 20px;
    padding: 1.5rem;
    overflow: hidden;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.65),
        0 4px 24px rgba(102, 126, 234, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Gradient border via pseudo-element */
.cookie-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.55) 0%,
        rgba(118, 75, 162, 0.35) 50%,
        rgba(255, 255, 255, 0.07) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

/* Subtle top-right accent glow — nu umfla card-ul */
.cookie-card::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 120px;
    height: 80px;
    background: radial-gradient(ellipse at top right, rgba(102, 126, 234, 0.18) 0%, transparent 70%);
    border-radius: 0 20px 0 0;
    pointer-events: none;
    z-index: 0;
}

/* Sit above orbs */
.cookie-card > * { position: relative; z-index: 1; }

/* Header */
.cookie-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.cookie-icon-wrap {
    position: relative;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border: 1px solid rgba(102, 126, 234, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-emoji {
    font-size: 1.4rem;
    line-height: 1;
    display: block;
}

.cookie-icon-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 18px;
    border: 1.5px solid rgba(102, 126, 234, 0.38);
    animation: cookiePulse 2.8s ease-in-out infinite;
}

@keyframes cookiePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    55%       { transform: scale(1.14); opacity: 0; }
}

.cookie-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.15rem;
    line-height: 1.2;
}

.cookie-subtitle {
    font-size: 0.71rem;
    color: rgba(255, 255, 255, 0.42);
    margin: 0;
    line-height: 1.2;
}

.cookie-close-btn {
    margin-left: auto;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-close-btn:hover {
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Description */
.cookie-desc {
    font-size: 0.79rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.cookie-policy-link {
    color: rgba(102, 126, 234, 0.85);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.cookie-policy-link:hover {
    color: #8898ff;
}

/* Category pills */
.cookie-cats {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
    justify-content: center;
}

.cookie-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.28rem 0.62rem;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    user-select: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cookie-cat:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.7);
}

.cookie-cat--required {
    cursor: default;
}

.cookie-cat--required:hover {
    background: rgba(102, 126, 234, 0.13);
    border-color: rgba(102, 126, 234, 0.28);
    color: rgba(255, 255, 255, 0.85);
}

.cookie-cat--active {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(102, 126, 234, 0.13);
    border-color: rgba(102, 126, 234, 0.28);
}

.cookie-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
}

.cookie-dot--green {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.55);
}

/* Action buttons */
.cookie-actions {
    display: flex;
    gap: 0.6rem;
}

.cookie-btn {
    flex: 1;
    border: none;
    border-radius: 11px;
    padding: 0.62rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.18);
}

.cookie-btn-accept {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 18px rgba(102, 126, 234, 0.42);
    flex: 1.5;
}

.cookie-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 26px rgba(102, 126, 234, 0.58);
}

.cookie-btn-accept:active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.35);
}

.cookie-btn-shine {
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    animation: cookieShine 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cookieShine {
    0%       { left: -80%; }
    60%, 100% { left: 160%; }
}

/* Mobile — full-width bottom */
@media (max-width: 480px) {
    .cookie-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        padding: 0 0.6rem 0.6rem;
    }

    .cookie-card {
        border-radius: 18px 18px 12px 12px;
        padding: 1.25rem 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner,
    .cookie-banner--visible,
    .cookie-banner--hiding    { transition: opacity 0.15s ease !important; transform: none !important; }
    .cookie-icon-pulse        { animation: none !important; opacity: 0 !important; }
    .cookie-btn-shine         { animation: none !important; }
}
