/* ============================================================
   AVITAL WELLNESS — PREMIUM DESIGN SYSTEM
   Apple-level natural medicine clinic aesthetic
   Version: 2.0.0
   ============================================================ */

/* ----------------------------------------------------------
   1. DESIGN TOKENS (CSS Custom Properties)
   ---------------------------------------------------------- */
:root {
    /* Primary Palette — Sophisticated Naturals */
    --avital-green-900: #1a3d2e;
    --avital-green-800: #234d3a;
    --avital-green-700: #2d5a4a;
    --avital-green-600: #3d7a62;
    --avital-green-500: #4a9a7a;
    --avital-green-400: #6bb89a;
    --avital-green-300: #9dd4bc;
    --avital-green-200: #c5e8d8;
    --avital-green-100: #e4f5ec;
    --avital-green-50: #f2faf5;

    /* Gold Accent — Warm & Premium */
    --avital-gold-900: #8b7355;
    --avital-gold-700: #b8956a;
    --avital-gold-500: #c9a96e;
    --avital-gold-400: #d9c99e;
    --avital-gold-300: #e8d5a8;
    --avital-gold-200: #f0e4c8;
    --avital-gold-100: #f8f1e0;
    --avital-gold-50: #fdf9f0;

    /* Neutral Scale */
    --neutral-950: #0a0a0a;
    --neutral-900: #1a1a1a;
    --neutral-800: #2d2d2d;
    --neutral-700: #404040;
    --neutral-600: #525252;
    --neutral-500: #6b6b6b;
    --neutral-400: #8a8a8a;
    --neutral-300: #a3a3a3;
    --neutral-200: #d4d4d4;
    --neutral-100: #e5e5e5;
    --neutral-50: #f5f5f5;

    /* Semantic Colors */
    --color-primary: var(--avital-green-700);
    --color-primary-dark: var(--avital-green-900);
    --color-primary-light: var(--avital-green-500);
    --color-accent: var(--avital-gold-500);
    --color-accent-light: var(--avital-gold-300);
    --color-text: var(--neutral-800);
    --color-text-light: var(--neutral-600);
    --color-text-inverse: #ffffff;
    --color-bg: #fafaf8;
    --color-bg-warm: var(--avital-gold-50);
    --color-bg-green: var(--avital-green-50);

    /* Typography Scale — Major Third (1.25) */
    --text-xs: clamp(0.64rem, 0.6rem + 0.2vw, 0.75rem);
    --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
    --text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.4rem + 2.4vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.6rem + 3.3vw, 3.5rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 5rem);

    /* Spacing Scale */
    --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;

    /* Shadows — Soft & Layered */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
    --shadow-xl: 0 24px 48px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.06);
    --shadow-glow: 0 0 40px rgba(201,169,110,0.15);

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

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-Index Scale */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-popover: 400;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html[dir="rtl"] {
    direction: rtl;
}

body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

/* Selection Color */
::selection {
    background: var(--avital-green-200);
    color: var(--avital-green-900);
}

/* Focus Visible — Accessibility */
:focus-visible {
    outline: 3px solid var(--avital-green-500);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--neutral-100);
}
::-webkit-scrollbar-thumb {
    background: var(--avital-green-600);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--avital-green-700);
}

/* ----------------------------------------------------------
   3. ANIMATIONS & KEYFRAMES
   ---------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    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 float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,110,0.4); }
    50% { box-shadow: 0 0 0 20px rgba(201,169,110,0); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll-triggered animation class */
.avital-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When JS is active, hide elements initially */
.js-enabled .avital-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.js-enabled .avital-reveal.avital-visible {
    opacity: 1;
    transform: translateY(0);
}

.avital-reveal-delay-1 { transition-delay: 0.1s; }
.avital-reveal-delay-2 { transition-delay: 0.2s; }
.avital-reveal-delay-3 { transition-delay: 0.3s; }
.avital-reveal-delay-4 { transition-delay: 0.4s; }
.avital-reveal-delay-5 { transition-delay: 0.5s; }

/* ----------------------------------------------------------
   4. HERO SECTION — CINEMATIC
   ---------------------------------------------------------- */
.avital-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--avital-green-900) 0%, var(--avital-green-800) 40%, var(--avital-green-700) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
    overflow: hidden;
    padding: var(--space-16) var(--space-6);
}

/* Organic floating shapes */
.avital-hero::before,
.avital-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

.avital-hero::before {
    width: 600px;
    height: 600px;
    background: var(--avital-gold-500);
    top: -10%;
    right: -10%;
    animation: float 8s ease-in-out infinite;
}

.avital-hero::after {
    width: 400px;
    height: 400px;
    background: var(--avital-green-400);
    bottom: -5%;
    left: -5%;
    animation: float 10s ease-in-out infinite reverse;
}

/* Grid pattern overlay */
.avital-hero__grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.avital-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--space-4);
}

/* Hero badge */
.avital-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--avital-gold-300);
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.avital-hero__badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--avital-gold-500);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Hero Title */
.avital-hero__title {
    font-size: var(--text-5xl);
    font-weight: 300;
    color: #ffffff !important;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-6);
    text-shadow: 0 4px 30px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.avital-hero__title strong,
.avital-hero__title b {
    font-weight: 700;
    color: var(--avital-gold-300);
}

/* Hero Subtitle */
.avital-hero__subtitle {
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--avital-gold-300) !important;
    line-height: 1.6;
    margin-bottom: var(--space-4);
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Hero tagline */
.avital-hero__tagline {
    font-size: var(--text-lg);
    font-weight: 300;
    color: rgba(255,255,255,0.85) !important;
    line-height: 1.7;
    margin-bottom: var(--space-12);
    max-width: 600px;
    margin-inline: auto;
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* Hero CTA */
.avital-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: linear-gradient(135deg, var(--avital-gold-500), var(--avital-gold-700)) !important;
    color: var(--avital-green-900) !important;
    padding: var(--space-4) var(--space-10) !important;
    font-size: var(--text-lg);
    font-weight: 600;
    text-decoration: none !important;
    border-radius: var(--radius-full) !important;
    transition: all var(--transition-slow);
    box-shadow: 0 4px 20px rgba(201,169,110,0.3), var(--shadow-glow);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 1s both, pulse-glow 3s ease-in-out infinite 2s;
}

.avital-hero__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.avital-hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(201,169,110,0.4), var(--shadow-glow);
}

.avital-hero__cta:hover::before {
    transform: translateX(100%);
}

.avital-hero__cta:active {
    transform: translateY(-1px);
}

/* Hero scroll indicator */
.avital-hero__scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255,255,255,0.5);
    font-size: var(--text-xs);
    animation: fadeIn 1s ease-out 1.5s both;
}

.avital-hero__scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: float 2s ease-in-out infinite;
}

/* ----------------------------------------------------------
   5. SECTIONS — GLOBAL
   ---------------------------------------------------------- */
.avital-section {
    padding: var(--space-24) var(--space-6);
    position: relative;
}

.avital-section--green {
    background: var(--color-bg-green);
}

.avital-section--warm {
    background: var(--color-bg-warm);
}

.avital-section--dark {
    background: var(--avital-green-900);
    color: var(--color-text-inverse);
}

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

.avital-section__eyebrow {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--avital-green-600);
    margin-bottom: var(--space-4);
}

.avital-section__title {
    font-size: var(--text-4xl);
    font-weight: 300;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--space-6);
}

.avital-section__title strong {
    font-weight: 700;
    color: var(--color-primary);
}

.avital-section--dark .avital-section__title {
    color: #ffffff;
}

.avital-section--dark .avital-section__title strong {
    color: var(--avital-gold-300);
}

.avital-section__desc {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    line-height: 1.7;
}

.avital-section--dark .avital-section__desc {
    color: rgba(255,255,255,0.75);
}

/* ----------------------------------------------------------
   6. SERVICE CARDS — GLASSMORPHISM
   ---------------------------------------------------------- */
.avital-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.avital-service-card {
    position: relative;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    transition: all var(--transition-slow);
    overflow: hidden;
}

.avital-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--avital-green-500), var(--avital-gold-500));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-slow);
}

.avital-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: rgba(255,255,255,0.9);
}

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

.avital-service-card__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--avital-green-100), var(--avital-green-50));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: var(--space-6);
    transition: all var(--transition-base);
}

.avital-service-card:hover .avital-service-card__icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, var(--avital-green-200), var(--avital-green-100));
}

.avital-service-card__title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.avital-service-card__desc {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.avital-service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
}

.avital-service-card__cta::after {
    content: '←';
    transition: transform var(--transition-base);
}

html[dir="rtl"] .avital-service-card__cta::after {
    content: '→';
}

.avital-service-card__cta:hover {
    color: var(--color-primary-dark);
    gap: var(--space-3);
}

.avital-service-card__cta:hover::after {
    transform: translateX(-4px);
}

html[dir="rtl"] .avital-service-card__cta:hover::after {
    transform: translateX(4px);
}

/* Center last card when odd count */
@media (min-width: 768px) and (max-width: 991px) {
    .avital-services__grid .avital-service-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 450px;
    }
}

@media (min-width: 992px) {
    .avital-services__grid .avital-service-card:last-child:nth-child(3n+1) {
        grid-column: 2 / 3;
    }
}

/* ----------------------------------------------------------
   7. PROCESS / TIMELINE SECTION
   ---------------------------------------------------------- */
.avital-process {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.avital-process__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-8);
    padding: var(--space-8) 0;
    position: relative;
}

.avital-process__step:not(:last-child)::before {
    content: '';
    position: absolute;
    right: 24px;
    top: 64px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--avital-green-300), transparent);
}

html[dir="ltr"] .avital-process__step:not(:last-child)::before {
    right: auto;
    left: 24px;
}

.avital-process__number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--avital-green-600), var(--avital-green-700));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-lg);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.avital-process__content h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-3);
}

.avital-process__content p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ----------------------------------------------------------
   8. TESTIMONIALS
   ---------------------------------------------------------- */
.avital-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.avital-testimonial {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    position: relative;
}

.avital-testimonial::before {
    content: '"';
    position: absolute;
    top: var(--space-4);
    right: var(--space-6);
    font-size: 6rem;
    line-height: 1;
    color: var(--avital-green-100);
    font-family: Georgia, serif;
    pointer-events: none;
}

.avital-testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.avital-testimonial__text {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 1;
}

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

.avital-testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--avital-green-300), var(--avital-green-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: var(--text-lg);
}

.avital-testimonial__name {
    font-weight: 600;
    color: var(--color-text);
}

.avital-testimonial__role {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

/* ----------------------------------------------------------
   9. STATS / METRICS
   ---------------------------------------------------------- */
.avital-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

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

.avital-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--avital-green-300), transparent);
}

.avital-stat__number {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--avital-gold-400);
    line-height: 1;
    margin-bottom: var(--space-3);
}

.avital-stat__label {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ----------------------------------------------------------
   10. FOOTER
   ---------------------------------------------------------- */
.avital-footer {
    background: var(--avital-green-900);
    color: rgba(255,255,255,0.8);
    padding: var(--space-16) var(--space-6) var(--space-8);
}

.avital-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-10);
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: var(--space-10);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.avital-footer__brand h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-4);
}

.avital-footer__brand p {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
}

.avital-footer__links h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--avital-gold-400);
    margin-bottom: var(--space-5);
}

.avital-footer__links ul {
    list-style: none;
}

.avital-footer__links li {
    margin-bottom: var(--space-3);
}

.avital-footer__links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    position: relative;
    padding-right: 0;
}

.avital-footer__links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--avital-gold-400);
    transition: width var(--transition-base);
}

.avital-footer__links a:hover {
    color: white;
}

.avital-footer__links a:hover::before {
    width: 100%;
}

.avital-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.4);
}

/* ----------------------------------------------------------
   11. WHATSAPP FLOATING BUTTON
   ---------------------------------------------------------- */
.avital-whatsapp-float {
    position: fixed;
    bottom: var(--space-6);
    left: var(--space-6);
    z-index: var(--z-sticky);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all var(--transition-bounce);
    animation: fadeInUp 0.6s ease-out 2s both;
}

.avital-whatsapp-float:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

html[dir="rtl"] .avital-whatsapp-float {
    left: auto;
    right: var(--space-6);
}

/* ----------------------------------------------------------
   12. SKIP LINK
   ---------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    z-index: 9999;
    transition: top var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.skip-link:focus {
    top: var(--space-4);
}

/* ----------------------------------------------------------
   13. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --space-24: 4rem;
        --space-20: 3rem;
        --space-16: 2.5rem;
    }

    .avital-hero {
        min-height: 90vh;
        padding: var(--space-12) var(--space-4);
    }

    .avital-hero__title {
        font-size: var(--text-3xl);
    }

    .avital-services__grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .avital-service-card {
        padding: var(--space-6);
    }

    .avital-process__step {
        gap: var(--space-4);
    }

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

    .avital-stat:not(:last-child)::after {
        display: none;
    }

    .avital-footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .avital-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .avital-stats {
        grid-template-columns: 1fr;
    }

    .avital-hero__cta {
        width: 100%;
        justify-content: center;
    }
}

/* ----------------------------------------------------------
   14. REDUCED MOTION
   ---------------------------------------------------------- */
@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;
    }

    .avital-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ----------------------------------------------------------
   15. PRINT STYLES
   ---------------------------------------------------------- */
@media print {
    .avital-hero {
        min-height: auto;
        background: white !important;
        color: black !important;
    }

    .avital-hero__title,
    .avital-hero__subtitle,
    .avital-hero__tagline {
        color: black !important;
    }

    .avital-whatsapp-float,
    .avital-hero__scroll {
        display: none !important;
    }
}
