/* ==============================================
   MAVI TECH - Premium Industrial Design
   ============================================== */

/* --- CSS VARIABLES --- */
:root {
    /* Colors - Premium Dark Tech */
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #3385ff;
    --primary-glow: rgba(0, 102, 255, 0.15);
    
    --dark-900: #0a0f1a;
    --dark-800: #0d1424;
    --dark-700: #131c2e;
    --dark-600: #1a2540;
    --dark-500: #243352;
    
    --light-100: #ffffff;
    --light-200: #f8fafc;
    --light-300: #e2e8f0;
    --light-400: #94a3b8;
    --light-500: #64748b;
    
    --success: #10b981;
    --error: #ef4444;
    
    /* Typography */
    --font-display: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --navbar-height: 80px;
    --section-padding: 120px;
    --container-max: 1200px;
    
    /* Effects */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--light-200);
    color: var(--dark-800);
    line-height: 1.7;
    font-size: 17px;
    overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* --- ACCESSIBILITY --- */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.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;
}

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

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    transition: var(--transition-normal);
}

.navbar.scrolled::before {
    opacity: 1;
}

.navbar > * {
    position: relative;
    z-index: 1;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 25px;
    width: auto;
    transition: var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-700);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:not(.cta-link)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
}

.nav-links a:not(.cta-link):hover::after {
    width: 100%;
}

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

.cta-link {
    background: var(--dark-800);
    color: var(--light-100) !important;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: var(--transition-normal);
}

.cta-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cta-link::after {
    display: none !important;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid var(--light-300);
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light-500);
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--primary);
    background: var(--primary-glow);
}

.lang-divider {
    color: var(--light-400);
    font-weight: 300;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--dark-800);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('bild.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 26, 0.95) 0%,
        rgba(13, 20, 36, 0.85) 50%,
        rgba(0, 102, 255, 0.2) 100%
    );
}

/* Animated grid pattern */
.hero::before {
    content: '';
    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;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding-top: var(--navbar-height);
}

.hero-content {
    max-width: 800px;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

.hero-badge span {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--light-100);
    margin-bottom: 24px;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--light-400);
    margin-bottom: 48px;
    max-width: 600px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--primary);
    color: var(--light-100);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-100);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-full {
    width: 100%;
    background: var(--primary);
    color: var(--light-100);
    padding: 18px 32px;
}

.btn-full:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-full:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* --- SECTION HEADERS --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--primary);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-800);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-500);
    line-height: 1.8;
}

/* --- SERVICES SECTION --- */
#services {
    background: var(--light-100);
}

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

.service-card {
    background: var(--light-200);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

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

.service-card:hover {
    background: var(--light-100);
    border-color: var(--light-300);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-glow);
    border-radius: var(--radius-md);
    margin-bottom: 28px;
    font-size: 1.8rem;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--dark-800);
    margin-bottom: 16px;
}

.service-list {
    list-style: none;
}

.service-list li {
    position: relative;
    padding: 10px 0 10px 24px;
    color: var(--light-500);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--light-300);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* --- WHY SECTION --- */
#why {
    background: var(--dark-800);
    position: relative;
    overflow: hidden;
}

#why::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

#why .section-label {
    color: var(--primary-light);
}

#why .section-title {
    color: var(--light-100);
}

#why .section-subtitle {
    color: var(--light-400);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateX(8px);
}

.why-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
}

.why-card h4 {
    font-size: 1.1rem;
    color: var(--light-100);
    margin-bottom: 8px;
}

.why-card p {
    color: var(--light-400);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- ABOUT SECTION --- */
#about {
    background: var(--light-100);
}

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

.about-text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--dark-800);
    margin-bottom: 24px;
}

.about-text .lead {
    font-size: 1.15rem;
    color: var(--light-500);
    line-height: 1.9;
    margin-bottom: 32px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--light-200);
    border-radius: var(--radius-md);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--light-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-visual {
    position: relative;
}

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

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 102, 255, 0.2) 100%);
    z-index: 1;
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about-float-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--dark-800);
    color: var(--light-100);
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.about-float-card .number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.about-float-card .text {
    font-size: 0.9rem;
    color: var(--light-400);
    margin-top: 4px;
}

/* --- CONTACT SECTION --- */
#contact {
    background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 100%);
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

#contact .container {
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--light-100);
    margin-bottom: 20px;
}

.contact-info .subtitle {
    font-size: 1.1rem;
    color: var(--light-400);
    line-height: 1.8;
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.15);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
}

.contact-item-text {
    color: var(--light-300);
    font-size: 1rem;
}

.contact-item-text a {
    color: var(--light-100);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-300);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--light-100);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--light-500);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.1);
}

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

.form-error {
    font-size: 0.85rem;
    color: var(--error);
    min-height: 20px;
}

#result {
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#result.success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

#result.error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Button loader */
.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--light-100);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- FOOTER --- */
.footer {
    background: var(--dark-900);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.footer-brand .brand-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--light-100);
    margin-bottom: 12px;
}

.footer-brand .brand-tagline {
    font-size: 0.9rem;
    color: var(--light-500);
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a {
    color: var(--light-400);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-400);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--light-500);
}

/* --- SCROLL TO TOP --- */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: var(--light-100);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-glow);
    z-index: 999;
}

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

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* --- BURGER MENU --- */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger div {
    width: 100%;
    height: 2px;
    background: var(--dark-700);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-6px, -6px);
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

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

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

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

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

/* --- LEGAL PAGES --- */
.legal-page {
    padding-top: calc(var(--navbar-height) + 60px);
    padding-bottom: 100px;
    background: var(--light-100);
    min-height: 100vh;
}

.legal-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-800);
    margin-bottom: 48px;
}

.legal-content {
    max-width: 800px;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--dark-800);
    margin-top: 48px;
    margin-bottom: 16px;
}

.legal-content h3 {
    font-size: 1.2rem;
    color: var(--dark-700);
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content p {
    color: var(--light-500);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    margin: 16px 0 16px 24px;
    color: var(--light-500);
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-visual {
        order: -1;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
        --navbar-height: 70px;
    }
    
    body {
        font-size: 16px;
    }
    
    .navbar {
        padding: 0 20px;
    }
    
    .burger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--light-100);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transform: translateX(100%);
        transition: var(--transition-normal);
    }
    
    .nav-links.nav-active {
        transform: translateX(0);
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .lang-switch {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 20px;
    }
    
    .hero-content {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .stat-item {
        padding: 16px 12px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .about-float-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: -40px;
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 48px;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* --- PRINT --- */
@media print {
    .navbar, .scroll-to-top, .burger, .hero-bg, .hero-overlay {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        background: none;
        color: var(--dark-800);
    }
    
    .hero-title, .hero-text {
        color: var(--dark-800);
    }
}
