/*
 * WHITE RENOVATION - World-Class Design System
 * A premium, modern website built with exceptional attention to detail
 */

/* Fonts are now loaded via link tags in index.html for better performance */

/* ============================================
   DESIGN TOKENS
   ============================================ */

:root {
    /* Colors - Premium Palette */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e3a8a 100%);
    --primary-glow: 0 0 60px rgba(37, 99, 235, 0.4);

    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);

    --success: #10b981;
    --success-light: #d1fae5;

    /* Neutrals - Slate */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --white: #ffffff;
    --black: #000000;

    /* Shadows - Layered for depth */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    --shadow-primary: 0 20px 40px -10px rgba(37, 99, 235, 0.35);
    --shadow-primary-lg: 0 30px 60px -15px rgba(37, 99, 235, 0.4);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Typography */
    --font-sans: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --font-size-7xl: 4.5rem;

    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --duration-75: 75ms;
    --duration-100: 100ms;
    --duration-150: 150ms;
    --duration-200: 200ms;
    --duration-300: 300ms;
    --duration-500: 500ms;
    --duration-700: 700ms;
    --duration-1000: 1000ms;

    /* Layout */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
    --header-height: 80px;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-bg-dark: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --blur-sm: 8px;
    --blur-md: 16px;
    --blur-lg: 24px;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--slate-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-200) var(--ease-out-quart);
}

a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

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

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

button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--slate-900);
}

/* ============================================
   UTILITIES
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container-xl);
    margin-inline: auto;
    padding-inline: var(--space-6);
}

@media (min-width: 768px) {
    .container {
        padding-inline: var(--space-8);
    }
}

/* Header Actions & Lang Toggle */
.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.lang-toggle {
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: var(--slate-700);
    cursor: pointer;
    transition: all var(--duration-200) var(--ease-out-quart);
}

.lang-toggle:hover {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Contact Form Premium Styles */
.contact-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-100);
}

.contact-form .form-group {
    margin-bottom: var(--space-6);
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--slate-800);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: var(--space-4);
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    font-family: inherit;
    transition: all var(--duration-200) var(--ease-out-quart);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-50);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .header__actions .btn--primary {
        display: none;
    }
}

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

.text-gradient {
    color: #2563eb;
    /* Professional Vibrant Blue */
    display: block;
    /* Ensure it starts on a new line */
    filter: drop-shadow(0 2px 4px rgba(30, 58, 138, 0.25));
    font-weight: 800;
}

/* Stagger support for solid blue */
.text-gradient .stagger-char {
    color: inherit;
    display: inline-block;
}

.stagger-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s var(--ease-out-quart), transform 0.5s var(--ease-out-quart);
    will-change: opacity, transform;
}

.animated .stagger-char,
.hero__title.animated .stagger-char {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: all var(--duration-300) var(--ease-out-expo);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all var(--duration-300) var(--ease-out-expo);
    z-index: -1;
}

.header.scrolled {
    height: calc(var(--header-height) - 10px);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-md)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-md)) saturate(180%);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--glass-border);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 900;
    font-size: var(--font-size-2xl);
    letter-spacing: -0.025em;
    z-index: 10;
}

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

.logo__tagline {
    display: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--slate-500);
    padding-right: var(--space-4);
    border-right: 1px solid var(--slate-200);
    margin-right: var(--space-4);
}

@media (min-width: 1024px) {
    .logo__tagline {
        display: block;
    }
}

/* Navigation */
.nav {
    display: none;
    gap: var(--space-1);
}

@media (min-width: 1024px) {
    .nav {
        display: flex;
    }
}

.nav__link {
    position: relative;
    padding: var(--space-2) var(--space-4);
    font-weight: 500;
    font-size: var(--font-size-sm);
    color: var(--slate-600);
    border-radius: var(--radius-lg);
    transition: all var(--duration-200) var(--ease-out-quart);
}

.nav__link:hover {
    color: var(--primary);
    background: var(--primary-50);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transform: translateX(-50%);
    transition: width var(--duration-300) var(--ease-out-expo);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: calc(100% - var(--space-8));
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    z-index: 10;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-700);
    border-radius: var(--radius-full);
    transition: all var(--duration-300) var(--ease-out-expo);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    padding: calc(var(--header-height) + var(--space-8)) var(--space-8) var(--space-8);
    transform: translateX(100%);
    transition: transform var(--duration-500) var(--ease-out-expo);
    box-shadow: var(--shadow-2xl);
    z-index: 5;
}

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

.mobile-nav__link {
    display: block;
    padding: var(--space-4) 0;
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--slate-700);
    border-bottom: 1px solid var(--slate-100);
    transition: all var(--duration-200) var(--ease-out-quart);
}

.mobile-nav__link:hover {
    color: var(--primary);
    padding-right: var(--space-4);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    font-size: var(--font-size-sm);
    border-radius: var(--radius-full);
    transition: all var(--duration-200) var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md), var(--shadow-primary);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-primary-lg);
}

.btn--primary:active {
    transform: translateY(0);
}

/* Shine effect */
.btn--primary::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 var(--duration-500) var(--ease-out-quart);
}

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

.btn--outline {
    background: var(--white);
    color: var(--slate-700);
    border: 2px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
    transform: translateY(-2px);
}

.btn--lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-base);
}

.btn--icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + var(--space-16));
    padding-bottom: var(--space-16);
    overflow: hidden;
}

/* Animated background */
.hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 250, 252, 0.7) 100%);
    z-index: -1;
}

.hero__video {
    position: absolute;
    inset: 0;
    /* Explicitly set top, right, bottom, left all to 0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.6;
    filter: brightness(1.1) contrast(1.05);
    direction: ltr;
    /* Isolate from RTL */
}

.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.5) 100%);
    z-index: -1;
}

.hero__content {
    text-align: center;
    max-width: 900px;
    margin-inline: auto;
}

/* Badges */
.hero__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--slate-600);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-200) var(--ease-out-quart);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.badge__icon {
    color: var(--primary);
}

/* Headlines */
.hero__title {
    font-size: clamp(var(--font-size-3xl), 6vw, var(--font-size-6xl));
    /* Slightly smaller for better balance */
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: var(--space-8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.hero__title-line {
    display: block;
    width: 100%;
}

/* Specific spacing for Russian title to prevent crowding */
html[lang="ru"] .hero__title {
    line-height: 1.25;
    letter-spacing: 0;
}

.hero__subtitle {
    font-size: clamp(var(--font-size-lg), 2.5vw, var(--font-size-xl));
    color: var(--slate-600);
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: var(--space-10);
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out-expo) 0.5s;
}

.hero__title.animated+.hero__subtitle,
.hero.animated .hero__subtitle,
.hero__title.animated~.hero__subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation moved to top for better organization and fixed visibility */

/* Premium Shimmer */
.btn--primary,
.text-gradient {
    position: relative;
    overflow: hidden;
}

.btn--primary::after,
.text-gradient::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0) 60%,
            transparent 100%);
    transform: rotate(25deg);
    animation: shimmer 6s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(25deg);
    }

    100% {
        transform: translateX(100%) rotate(25deg);
    }
}

/* CTA Group */
.hero__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .hero__cta {
        flex-direction: row;
        justify-content: center;
    }
}

/* Stats */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-16);
    max-width: 800px;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .hero__stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat {
    text-align: center;
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-300) var(--ease-out-expo);
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-100);
}

.stat__number {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat__label {
    font-size: var(--font-size-sm);
    color: var(--slate-500);
    font-weight: 500;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding-block: var(--space-24);
}

.section--alt {
    background: var(--slate-50);
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: var(--space-16);
}

.section__label {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.section__title {
    font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
    margin-bottom: var(--space-4);
}

.section__subtitle {
    font-size: var(--font-size-lg);
    color: var(--slate-600);
    line-height: 1.7;
}

/* ============================================
   SERVICES GRID
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.service-card {
    position: relative;
    padding: var(--space-10);
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease-out, box-shadow var(--duration-300) var(--ease-out-expo), border-color var(--duration-300) var(--ease-out-expo);
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-300) var(--ease-out-expo);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.service-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    color: var(--primary);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
    font-size: var(--font-size-2xl);
    transition: all var(--duration-300) var(--ease-spring);
}

.service-card:hover .service-card__icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-primary);
}

.service-card__title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-3);
}

.service-card__text {
    color: var(--slate-600);
    line-height: 1.7;
}

/* ============================================
   GALLERY
   ============================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--duration-300) var(--ease-out-expo);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.gallery-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-500) var(--ease-out-expo);
}

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

/* ============================================
   SOCIAL FEEDS SECTION
   ============================================ */

/* Social Links Minimal */
.social-links-minimal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-4);
}

.social-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-12);
    background: var(--white);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-xl);
    text-decoration: none;
    transition: all var(--duration-500) cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.social-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: transform var(--duration-300) ease;
}

.social-link-card.instagram::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link-card.facebook::before {
    background: #1877f2;
}

.social-link-card.youtube::before {
    background: #FF0000;
}

.social-link-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-100);
}

.social-link-card__icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-8);
    transition: all var(--duration-500) ease;
}

.social-link-card.instagram .social-link-card__icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link-card.facebook .social-link-card__icon {
    background: #1877f2;
    color: white;
}

.social-link-card.youtube .social-link-card__icon {
    background: #FF0000;
    color: white;
}

.social-link-card:hover .social-link-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.social-link-card__name {
    font-size: 28px;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: var(--space-4);
    display: block;
}

.social-link-card__action {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-6);
    background: var(--primary-50);
    border-radius: var(--radius-full);
}

.social-link-card:hover .social-link-card__action svg {
    transform: translateX(-6px);
}

@media (max-width: 768px) {
    .social-links-minimal {
        grid-template-columns: 1fr;
    }

    .social-link-card {
        padding: var(--space-10);
    }
}

.widget-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 400px;
    border: 2px dashed var(--slate-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    color: var(--slate-600);
}

.widget-placeholder__icon {
    margin-bottom: var(--space-6);
    color: var(--slate-300);
}

.widget-placeholder h3 {
    color: var(--slate-800);
    margin-bottom: var(--space-3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.gallery-grid {
    padding: var(--space-6);
}

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

.gallery-item__title {
    color: var(--white);
    font-weight: 600;
    transform: translateY(10px);
    transition: transform var(--duration-300) var(--ease-out-expo);
}

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

/* ============================================
   PRICING
   ============================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    align-items: start;
}

.pricing-card {
    position: relative;
    padding: var(--space-10);
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 2px solid var(--slate-100);
    text-align: center;
    transition: all var(--duration-300) var(--ease-out-expo);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.pricing-card--featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.pricing-card--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.pricing-card__title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: var(--space-4);
}

.pricing-card__price {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-2);
}

.pricing-card__subtitle {
    font-size: var(--font-size-sm);
    color: var(--slate-500);
    margin-bottom: var(--space-8);
}

.pricing-features {
    text-align: right;
    margin-bottom: var(--space-8);
    list-style: none;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    color: var(--slate-600);
    font-size: var(--font-size-sm);
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
}

.pricing-badge {
    position: absolute;
    top: -16px;
    right: 50%;
    transform: translateX(50%);
    background: var(--accent);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.pricing-card--popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

@media (min-width: 1024px) {
    .pricing-card--popular {
        transform: scale(1.05);
        z-index: 2;
    }
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-section {
    background: var(--slate-900);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-16);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact__info h2 {
    color: var(--white);
    margin-bottom: var(--space-6);
}

.contact__info p {
    color: var(--slate-600);
    margin-bottom: var(--space-8);
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact__method {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    transition: all var(--duration-200) var(--ease-out-quart);
}

.contact__method:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact__method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-xl);
}

.contact__method-text {
    color: var(--slate-300);
    font-size: var(--font-size-sm);
}

.contact__method-value {
    color: var(--white);
    font-weight: 600;
}

/* Form */
.contact-form {
    background: var(--white);
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: var(--space-2);
    font-size: var(--font-size-sm);
}

.form-input {
    width: 100%;
    padding: var(--space-4);
    background: var(--slate-50);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: var(--font-size-base);
    color: var(--slate-800);
    transition: all var(--duration-200) var(--ease-out-quart);
}

.form-input:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-100);
}

.form-input::placeholder {
    color: var(--slate-400);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--slate-950);
    color: var(--slate-500);
    padding-block: var(--space-16);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

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

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

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-4);
}

.footer__description {
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.footer__section-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-6);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__link {
    color: var(--slate-500);
    transition: color var(--duration-200) var(--ease-out-quart);
}

.footer__link:hover {
    color: var(--white);
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-8);
    border-top: 1px solid var(--slate-800);
}

@media (min-width: 768px) {
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer__copy {
    font-size: var(--font-size-sm);
}

.footer__socials {
    display: flex;
    gap: var(--space-4);
}

.footer__social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--slate-800);
    color: var(--slate-500);
    border-radius: var(--radius-lg);
    transition: all var(--duration-200) var(--ease-out-quart);
}

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

/* Video Card Previews */
.video-card__link {
    display: block;
    width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-card__preview {
    width: 100%;
    height: 550px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card__link:hover .video-card__preview {
    transform: scale(1.05);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.video-card__link:hover .play-button {
    transform: scale(1.15);
    background: #FF0000;
}

.play-button svg {
    width: 40px;
    height: 40px;
    margin-left: 5px;
    /* Visual center adjustment for play icon */
}

@media (max-width: 768px) {
    .video-card__preview {
        height: 400px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes float {

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s var(--ease-out-expo) forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s var(--ease-out-expo) forwards;
}

[data-animate] {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].animated {
    animation: fadeInUp 0.6s var(--ease-out-expo) forwards;
}

/* Animation delays */
.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */

.floating-cta {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.floating-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-200) var(--ease-out-expo);
    font-size: var(--font-size-2xl);
    position: relative;
    position: relative;
    overflow: visible;
}

/* Shine removed to allow pulse animation */
.floating-btn::before {
    display: none;
}

.floating-btn:hover::before {
    display: none;
}

.floating-btn--whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
}

.floating-btn--whatsapp:hover {
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

.floating-btn--phone {
    background: var(--primary-gradient);
    color: var(--white);
}

.floating-btn--phone:hover {
    box-shadow: var(--shadow-primary-lg);
}

.floating-btn:hover {
    transform: scale(1.15) translateY(-4px);
}

/* Pulse animation for floating buttons */
.floating-btn--whatsapp::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    border: 2px solid #25d366;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

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

/* ============================================
   SCROLL PROGRESS INDICATOR
   ============================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 10000;
    transition: transform 0.1s linear;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    background: var(--slate-900);
    color: var(--white);
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--duration-300) var(--ease-out-expo);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: var(--primary-400);
}

.testimonial-card__stars {
    color: var(--accent);
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-4);
    letter-spacing: 4px;
}

.testimonial-card__text {
    color: var(--slate-300);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    font-size: var(--font-size-lg);
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
}

.testimonial-card__name {
    color: var(--white);
    font-weight: 600;
}

.testimonial-card__location {
    color: var(--slate-400);
    font-size: var(--font-size-sm);
}

/* Slider Styles */
.testimonials-slider {
    display: flex;
    gap: var(--space-6);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-4);
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonials-slider .testimonial-card {
    min-width: 100%;
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    .testimonials-slider .testimonial-card {
        min-width: calc(50% - var(--space-6));
    }
}

@media (min-width: 1024px) {
    .testimonials-slider .testimonial-card {
        min-width: calc(33.333% - var(--space-6));
    }
}

/* Dots Navigation */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--slate-700);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all var(--duration-300) var(--ease-out-expo);
}

.slider-dot:hover {
    background: var(--slate-500);
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* ============================================
   MARQUEE / INFINITE SCROLL
   ============================================ */

.marquee {
    overflow: hidden;
    padding: var(--space-6) 0;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

.marquee__content {
    display: flex;
    gap: var(--space-16);
    animation: marquee 30s linear infinite;
}

.marquee__item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    white-space: nowrap;
    color: var(--slate-500);
    font-weight: 500;
}

.marquee__item svg {
    color: var(--primary);
}

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

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

/* ============================================
   BEFORE/AFTER SLIDER
   ============================================ */

.before-after {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.before-after__image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.before-after__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-right: 3px solid var(--white);
}

.before-after__label {
    position: absolute;
    bottom: var(--space-4);
    padding: var(--space-2) var(--space-4);
    background: var(--white);
    color: var(--slate-800);
    font-weight: 600;
    font-size: var(--font-size-sm);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.before-after__label--before {
    left: var(--space-4);
}

.before-after__label--after {
    right: var(--space-4);
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
    background: var(--primary-gradient);
    padding: var(--space-16) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: cta-glow 10s ease-in-out infinite;
}

@keyframes cta-glow {

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

    50% {
        transform: translate(10%, 10%);
    }
}

.cta-banner__title {
    color: var(--white);
    font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
    margin-bottom: var(--space-4);
    position: relative;
}

.cta-banner__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-8);
    position: relative;
}

.cta-banner .btn {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.cta-banner .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-2xl);
}

/* ============================================
   PROCESS/TIMELINE
   ============================================ */

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    position: relative;
}

.process-step {
    text-align: center;
    padding: var(--space-8);
    position: relative;
}

.process-step__number {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin: 0 auto var(--space-6);
    box-shadow: var(--shadow-primary);
    position: relative;
}

.process-step__title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-3);
}


.process-step__text {
    color: var(--slate-600);
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 60px;
        /* Center of the number circle (padding 32px + 32px half height - approx) */
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, var(--slate-200) 20%, var(--slate-200) 80%, transparent 100%);
        transform: translateX(-50%);
        z-index: 0;
        pointer-events: none;
    }

    .process-step__number {
        z-index: 1;
        /* Keep above the line */
        background: var(--white);
        /* Ensure background covers line */
        box-shadow: 0 0 0 4px var(--primary-light), var(--shadow-primary);
        color: var(--primary);
    }
}

/* ============================================
   LOADING SKELETON
   ============================================ */

.skeleton {
    background: linear-gradient(90deg, var(--slate-100) 25%, var(--slate-200) 50%, var(--slate-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

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

/* ============================================
   TOOLTIP
   ============================================ */

.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: var(--space-2) var(--space-4);
    background: var(--slate-900);
    color: var(--white);
    font-size: var(--font-size-sm);
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-200) var(--ease-out-expo);
    z-index: 100;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* ============================================
   ACCORDION / FAQ ENHANCED
   ============================================ */

.faq-item {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
    overflow: hidden;
    transition: all var(--duration-300) var(--ease-out-expo);
}

.faq-item:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
}

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

.faq-item summary {
    padding: var(--space-6);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

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

.faq-item summary::after {
    content: '+';
    font-size: var(--font-size-2xl);
    font-weight: 300;
    color: var(--primary);
    transition: transform var(--duration-300) var(--ease-out-expo);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item__content {
    padding: 0 var(--space-6) var(--space-6);
    color: var(--slate-600);
    line-height: 1.8;
}

/* ============================================
   NOTIFICATION BADGE
   ============================================ */

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    animation: bounce 1s ease infinite;
}

@keyframes bounce {

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

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

/* ============================================
   GRADIENT TEXT ANIMATION
   ============================================ */

.gradient-text-animated {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {

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

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

/* ============================================
   GLOW EFFECTS
   ============================================ */

.glow {
    box-shadow: var(--primary-glow);
}

.glow-success {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
}

.glow-accent {
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.4);
}

/* ============================================
   RIPPLE EFFECT
   ============================================ */

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, var(--white) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
}

.ripple:active::after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
}

/* ============================================
   RESPONSIVE MOBILE ENHANCEMENTS
   ============================================ */

@media (max-width: 768px) {
    .floating-cta {
        bottom: var(--space-4);
        left: var(--space-4);
    }

    .floating-btn {
        width: 52px;
        height: 52px;
        font-size: var(--font-size-xl);
    }

    .section {
        padding-block: var(--space-16);
    }

    .hero {
        padding-top: calc(var(--header-height) + var(--space-8));
        padding-bottom: var(--space-8);
    }

    .stat__number {
        font-size: var(--font-size-3xl);
    }

    .process-step__number {
        width: 48px;
        height: 48px;
        font-size: var(--font-size-xl);
    }
}

/* ============================================
   RTL SUPPORT
   ============================================ */

html[dir="rtl"] {
    text-align: right;
}

html[dir="rtl"] .logo__tagline {
    padding-right: 0;
    padding-left: var(--space-4);
    border-right: none;
    border-left: 1px solid var(--slate-200);
    margin-right: 0;
    margin-left: var(--space-4);
}

html[dir="rtl"] .pricing-card__features {
    text-align: right;
}

html[dir="rtl"] .pricing-card__feature {
    flex-direction: row-reverse;
}

html[dir="rtl"] .floating-cta {
    right: auto;
    left: var(--space-8);
}

html[dir="rtl"] .marquee__content {
    animation-direction: reverse;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {

    .header,
    .floating-cta,
    .scroll-progress {
        display: none !important;
    }

    .hero {
        padding-top: var(--space-8);
    }

    .section {
        page-break-inside: avoid;
    }

    body {
        background: white;
        color: black;
    }
}

/* Parallax Effects */
.parallax-shape {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(60px);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.2s ease-out;
}

.parallax-shape--1 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    top: 10%;
    left: -5%;
}

.parallax-shape--2 {
    width: 250px;
    height: 250px;
    background: var(--accent-light);
    bottom: 20%;
    right: -5%;
}

.parallax-shape--3 {
    width: 200px;
    height: 200px;
    background: var(--primary-200);
    top: 40%;
    left: 40%;
}

.parallax-divider {
    position: relative;
    padding: var(--space-24) 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.parallax-divider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.4));
    z-index: 1;
}

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

.parallax-divider__content {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .parallax-divider {
        background-attachment: scroll;
        /* Fixed bg can be buggy on mobile */
        padding: var(--space-16) 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .parallax-shape {
        display: none;
    }

    .parallax-divider {
        background-attachment: scroll;
    }
}

/* ============================================
   ARTICLES & AREAS
   ============================================ */

.article-card {
    height: 100%;
}

.article-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.article-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.95);
}

.city-tag {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    color: var(--slate-600);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

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

.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    width: 60px;
    /* Match floating-btn size */
    height: 60px;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: var(--space-2);
    /* Small gap before WhatsApp btn */
}

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

.back-to-top:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.back-to-top svg {
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* ============================================
   ACCESSIBILITY & FOCUS STATES
   ============================================ */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* ============================================
   PREMIUM HOVER EFFECTS
   ============================================ */
.service-card {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.btn {
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    width: 300%;
    height: 300%;
}

/* ============================================
   STICKY HEADER REFINEMENT
   ============================================ */
/* Consolidated with main header styles */

/* ============================================
   WHATSAPP BUTTON ENHANCEMENTS
   ============================================ */
.floating-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Default for LTR/RU (on right) */
    gap: 12px;
}

html[dir="rtl"] .floating-cta {
    align-items: flex-start;
    /* For RTL/HE (on left) */
}

.whatsapp-tooltip {
    background: var(--white);
    color: var(--slate-900);
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateX(-10px);
    /* Appear from left for LTR/RU (on right) */
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    position: relative;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: -6px;
    /* Arrow on left for LTR/RU (on right) */
    top: 50%;
    transform: translateY(-50%);
    border-right: 6px solid var(--white);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

html[dir="rtl"] .whatsapp-tooltip {
    transform: translateX(10px);
    /* Appear from right for RTL/HE (on left) */
}

html[dir="rtl"] .whatsapp-tooltip::after {
    left: auto;
    right: -6px;
    /* Arrow on right for RTL/HE (on left) */
    border-right: none;
    border-left: 6px solid var(--white);
}

.floating-cta:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.floating-btn.whatsapp {
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}