/* ===========================================
   I COLORI - COOPERATIVA SOCIALE
   Main Stylesheet with Page Theme System
   =========================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Base Colors */
    --white: #FFFFFF;
    --black: #000000;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 100px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Default Theme (Home - Viola/Indaco) */
    --theme-primary: #667eea;
    --theme-primary-dark: #5a67d8;
    --theme-secondary: #764ba2;
    --theme-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --theme-gradient-soft: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    --theme-light: #EEF2FF;
    --theme-pale: #F5F3FF;
}

/* ===== PAGE THEMES ===== */

/* Home - Viola/Indaco */
.theme-home {
    --theme-primary: #667eea;
    --theme-primary-dark: #5a67d8;
    --theme-secondary: #764ba2;
    --theme-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --theme-gradient-soft: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    --theme-light: #EEF2FF;
    --theme-pale: #F5F3FF;
}

/* Chi Siamo - Verde */
.theme-about {
    --theme-primary: #10B981;
    --theme-primary-dark: #059669;
    --theme-secondary: #34D399;
    --theme-gradient: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    --theme-gradient-soft: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.1) 100%);
    --theme-light: #ECFDF5;
    --theme-pale: #D1FAE5;
}

/* Servizi - Arancio */
.theme-services {
    --theme-primary: #F97316;
    --theme-primary-dark: #EA580C;
    --theme-secondary: #FB923C;
    --theme-gradient: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
    --theme-gradient-soft: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(251, 146, 60, 0.1) 100%);
    --theme-light: #FFF7ED;
    --theme-pale: #FFEDD5;
}

/* Servizio Civile - Blu */
.theme-civil {
    --theme-primary: #0EA5E9;
    --theme-primary-dark: #0284C7;
    --theme-secondary: #38BDF8;
    --theme-gradient: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%);
    --theme-gradient-soft: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(56, 189, 248, 0.1) 100%);
    --theme-light: #F0F9FF;
    --theme-pale: #E0F2FE;
}

/* Bilanci - Teal */
.theme-reports {
    --theme-primary: #14B8A6;
    --theme-primary-dark: #0D9488;
    --theme-secondary: #2DD4BF;
    --theme-gradient: linear-gradient(135deg, #14B8A6 0%, #2DD4BF 100%);
    --theme-gradient-soft: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(45, 212, 191, 0.1) 100%);
    --theme-light: #F0FDFA;
    --theme-pale: #CCFBF1;
}

/* Contatti - Rosa */
.theme-contact {
    --theme-primary: #EC4899;
    --theme-primary-dark: #DB2777;
    --theme-secondary: #F472B6;
    --theme-gradient: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
    --theme-gradient-soft: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(244, 114, 182, 0.1) 100%);
    --theme-light: #FDF2F8;
    --theme-pale: #FCE7F3;
}

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

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

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition-base); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--theme-gradient);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    z-index: 9999;
}

.skip-link:focus { top: 20px; }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

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

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

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

.logo-img {
    height: 48px;
    width: auto;
}

.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-gradient);
    color: var(--white);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 16px;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

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

.nav-close { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

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

.btn-primary {
    background: var(--theme-gradient);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.45);
}

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

.btn-outline:hover {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    background: var(--theme-light);
}

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

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

.btn-colored {
    background: var(--theme-gradient);
    color: var(--white);
}

.btn-colored:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.mt-4 { margin-top: 24px; }

/* ===== SECTIONS ===== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-light { background: var(--gray-50); }
.section-pattern { background: var(--theme-light); }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--theme-gradient-soft);
    color: var(--theme-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== NEW HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--gray-50);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 75%;
    background: var(--theme-gradient);
    clip-path: ellipse(150% 100% at 50% 0%);
}

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

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.hero-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.hero-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: 20%;
    left: -100px;
}

.hero-shape:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 10%;
}

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

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

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 28px;
}

.hero-badge svg {
    color: #FFD700;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title span {
    display: block;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat-number {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 800;
}

.hero-stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.hero-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.hero-card:nth-child(2) {
    bottom: -20px;
    left: -30px;
}

.hero-card:nth-child(3) {
    top: 40px;
    right: -30px;
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--white);
}

.hero-card-icon.green { background: linear-gradient(135deg, #10B981, #34D399); }
.hero-card-icon.purple { background: linear-gradient(135deg, #8B5CF6, #A78BFA); }
.hero-card-icon.orange { background: linear-gradient(135deg, #F97316, #FB923C); }

.hero-card strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
}

.hero-card p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
}

/* ===== FULLSCREEN HERO (Home) ===== */
.hero-fullscreen {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-fullscreen-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-fullscreen-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-fullscreen-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.theme-home .hero-fullscreen-overlay {
    background: linear-gradient(135deg, rgb(8 53 255 / 85%) 0%, rgb(49 27 86 / 90%) 100%);
}

.hero-fullscreen-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 0 100px;
}

.hero-fullscreen-inner {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-fullscreen-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease;
}

.hero-fullscreen-badge svg {
    color: #FFD700;
}

.hero-fullscreen-title {
    font-family: var(--font-primary);
    font-size: 72px;
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-fullscreen-title span {
    display: inline-block;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.hero-fullscreen-subtitle {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-fullscreen-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--white);
    color: var(--theme-primary);
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Hero Floating Cards */
.hero-fullscreen-cards {
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 0 24px;
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.hero-floating-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.hero-floating-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.hero-floating-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-gradient);
    border-radius: var(--radius-md);
    color: var(--white);
}

.hero-floating-text {
    display: flex;
    flex-direction: column;
}

.hero-floating-number {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.hero-floating-label {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

/* Responsive Fullscreen Hero */
@media (max-width: 992px) {
    .hero-fullscreen-title {
        font-size: 52px;
    }

    .hero-fullscreen-cards {
        bottom: 100px;
        gap: 16px;
    }

    .hero-floating-card {
        padding: 16px 20px;
    }

    .hero-floating-number {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .hero-fullscreen-title {
        font-size: 40px;
    }

    .hero-fullscreen-subtitle {
        font-size: 17px;
    }

    .hero-fullscreen-cards {
        flex-direction: column;
        align-items: center;
        bottom: 80px;
        gap: 12px;
    }

    .hero-floating-card {
        width: 100%;
        max-width: 280px;
    }

    .hero-fullscreen-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-fullscreen-title {
        font-size: 32px;
    }

    .hero-fullscreen-badge {
        font-size: 12px;
        padding: 10px 18px;
    }

    .hero-fullscreen-cards {
        bottom: 60px;
    }

    .hero-floating-card {
        padding: 14px 18px;
    }

    .hero-floating-icon {
        width: 48px;
        height: 48px;
    }

    .hero-floating-number {
        font-size: 20px;
    }
}

/* ===== PAGE HERO (Internal Pages) ===== */
.page-hero {
    padding: 160px 0 80px;
    background: var(--theme-gradient);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--white);
}

.page-hero-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero-subtitle,
.page-hero-description {
    font-size: 20px;
    opacity: 0.9;
    line-height: 1.7;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--theme-gradient);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge-number {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 800;
}

.about-badge-text {
    font-size: 13px;
    opacity: 0.9;
}

.about-content h2 {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
}

.about-feature-icon {
    width: 20px;
    height: 20px;
    color: var(--theme-primary);
}

/* ===== VALUES ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
}

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

.value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
}

.value-icon.blue { background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(102, 126, 234, 0.05)); }
.value-icon.green { background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05)); }
.value-icon.purple { background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05)); }
.value-icon.orange { background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.05)); }

.value-icon.blue svg { color: #667eea; }
.value-icon.green svg { color: #10B981; }
.value-icon.purple svg { color: #8B5CF6; }
.value-icon.orange svg { color: #F97316; }

.value-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.value-text {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
}

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

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

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

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

.service-content {
    padding: 28px;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-gradient);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--white);
}

.service-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-text {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.service-link:hover { gap: 12px; }

/* ===== CTA ===== */
.cta-section {
    padding: 100px 0;
    background: var(--theme-gradient);
    position: relative;
    overflow: hidden;
}

.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-shape:nth-child(1) { width: 300px; height: 300px; top: -100px; right: 10%; }
.cta-shape:nth-child(2) { width: 200px; height: 200px; bottom: -50px; left: 5%; }
.cta-shape:nth-child(3) { width: 150px; height: 150px; top: 50%; left: 30%; }

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: var(--white);
}

.cta-title {
    font-family: var(--font-primary);
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ===== CERTIFICATIONS ===== */
.certifications {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 100px;
}

.cert-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.cert-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

/* ===== DOCUMENTS ===== */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.document-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
    text-decoration: none;
}

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

.document-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-gradient-soft);
    border-radius: var(--radius-md);
    color: var(--theme-primary);
    flex-shrink: 0;
}

.document-info { flex: 1; }

.document-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.document-meta {
    font-size: 14px;
    color: var(--gray-500);
}

.document-download {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-light);
    border-radius: var(--radius-md);
    color: var(--theme-primary);
    transition: var(--transition-base);
}

.document-card:hover .document-download {
    background: var(--theme-gradient);
    color: var(--white);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-gradient-soft);
    border-radius: var(--radius-md);
    color: var(--theme-primary);
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.contact-item-content p,
.contact-item-content a {
    font-size: 15px;
    color: var(--gray-600);
}

.contact-item-content a:hover {
    color: var(--theme-primary);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 15px;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    background: var(--white);
    border-color: var(--theme-primary);
}

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

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--theme-primary);
}

.form-checkbox label {
    font-size: 14px;
    color: var(--gray-600);
}

.form-checkbox a {
    color: var(--theme-primary);
    font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 80px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon { background: var(--theme-gradient); }

.footer-logo .logo-text {
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
}

.footer-text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: var(--transition-base);
}

.footer-social-link:hover {
    background: var(--theme-primary);
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
}

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

.footer-links li,
.footer-links a {
    font-size: 15px;
}

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

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

.footer-copy { font-size: 14px; }

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a { font-size: 14px; }
.footer-legal a:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero-subtitle { max-width: 100%; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-card { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-padding: 60px; }

    .nav-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        background: var(--white);
        padding: 80px 32px 32px;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        z-index: 1001;
    }

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

    .nav-close {
        display: flex;
        position: absolute;
        top: 24px;
        right: 24px;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        background: var(--gray-100);
        border-radius: var(--radius-md);
    }

    .nav-close svg { width: 20px; height: 20px; }
    .nav-list { flex-direction: column; gap: 8px; }
    .nav-link { width: 100%; padding: 14px 20px; font-size: 16px; }

    .hero { min-height: auto; padding: 140px 0 80px; }
    .hero-title { font-size: 36px; }
    .hero-cta { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 24px; }

    .page-hero { padding: 140px 0 60px; }
    .page-hero-title { font-size: 36px; }
    .section-title { font-size: 32px; }

    .values-grid, .services-grid { grid-template-columns: 1fr; }
    .cta-title { font-size: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .hero-stat-number { font-size: 28px; }
    .section-title { font-size: 26px; }
    .btn { width: 100%; }
    .contact-form { padding: 28px; }
    .about-features { grid-template-columns: 1fr; }
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }

.stagger-children.active > * {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .stagger-children > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
