/* --- Переменные и сброс --- */
:root {
    --brand-light: #60A5FA;
    --brand-main: #2563EB;
    --brand-dark: #1E40AF;
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0F172A;
    --text-color: #0F172A;
    --bg-color: #F8FAFC;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ИСПРАВЛЕНИЕ 1: Глобальный запрет горизонтального скролла */
html, body {
    width: 100%;
    overflow-x: hidden; /* Обрезает все, что вылезает за экран */
    position: relative;
    max-width: 100vw;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Утилиты --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem; /* Отступы по бокам */
}
.flex-center { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-between-end { display: flex; justify-content: space-between; align-items: flex-end; }
.relative-z { position: relative; z-index: 10; }
.section-padding { padding: 4rem 0; } /* Чуть уменьшил для мобильных */
@media (min-width: 768px) { .section-padding { padding: 6rem 0; } }

.text-center { text-align: center; }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: inline-flex; } }

/* --- Иконки --- */
.icon { width: 24px; height: 24px; }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 12px; height: 12px; }
.icon-xl { width: 96px; height: 96px; }

/* --- Навигация --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s;
}
.nav-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.logo-group { display: flex; align-items: center; gap: 0.5rem; }
.logo-icon-box {
    background: var(--brand-main);
    color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-glow);
}
.logo-text { font-size: 1.125rem; font-weight: 800; color: var(--slate-900); line-height: 1; }
.logo-text span { color: var(--brand-main); }
@media (min-width: 768px) { .logo-text { font-size: 1.25rem; } }

.nav-links { display: none; gap: 2rem; font-size: 0.875rem; font-weight: 700; color: var(--slate-600); }
.nav-links a:hover { color: var(--brand-main); }
@media (min-width: 768px) { .nav-links { display: flex; align-items: center; } }

.nav-actions { display: flex; align-items: center; gap: 1.25rem; }

/* ИСПРАВЛЕНИЕ 2: Скрываем кнопку в шапке на мобильных, чтобы не теснить логотип */
.nav-actions .btn { display: none; } 
@media (min-width: 768px) { .nav-actions .btn { display: inline-flex; } }

.phone-block { display: none; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.phone-number { font-weight: 700; color: var(--slate-900); }
.phone-block:hover .phone-number { color: var(--brand-main); }
.status-badge {
    font-size: 11px; color: #16a34a; font-weight: 700;
    background: #f0fdf4; padding: 2px 8px; border-radius: 999px;
    border: 1px solid #dcfce7; display: flex; align-items: center; gap: 4px;
}
.status-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
@media (min-width: 1024px) { .phone-block { display: flex; } }

/* --- Кнопки --- */
.btn {
    padding: 0.625rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-primary {
    background: var(--brand-main);
    color: white;
}
.btn-primary:hover {
    background: var(--brand-dark);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}
.btn-outline {
    background: white;
    color: var(--slate-900);
    border: 1px solid var(--slate-200);
}
.btn-outline:hover { background: var(--slate-50); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.btn-lg { padding: 1rem 2rem; border-radius: 1rem; font-size: 1rem; }
@media (min-width: 768px) { .btn-lg { font-size: 1.125rem; } }

.btn-full { width: 100%; }

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding-top: 7rem;
    padding-bottom: 4rem;
    overflow: hidden;
}
@media (min-width: 1024px) { .hero-section { padding-top: 10rem; padding-bottom: 8rem; } }

.bg-grid {
    position: absolute; inset: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.4; pointer-events: none;
}

/* ИСПРАВЛЕНИЕ 3: Уменьшаем светящийся шар для мобильных */
.hero-glow {
    position: absolute; top: 0; right: 0;
    width: 300px; height: 300px; /* Было 800px */
    background: rgba(37, 99, 235, 0.15);
    border-radius: 50%;
    filter: blur(60px);
    transform: translate(30%, -30%);
    pointer-events: none;
    z-index: 0;
}
@media (min-width: 768px) { 
    .hero-glow {
        width: 800px; height: 800px;
        filter: blur(80px);
        transform: translate(25%, -50%);
        background: rgba(37, 99, 235, 0.1);
    } 
}

.hero-container {
    position: relative; z-index: 10;
    display: grid; gap: 3rem;
}
@media (min-width: 1024px) { .hero-container { grid-template-columns: 1fr 1fr; align-items: center; } }

.badge-blue {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.375rem 1rem; border-radius: 999px;
    background: #eff6ff; color: var(--brand-dark);
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    border: 1px solid #dbeafe; margin-bottom: 1.5rem;
}

/* ИСПРАВЛЕНИЕ 4: Размер шрифта заголовка для мобильных */
h1 {
    font-size: 2rem; /* Было 3rem, что слишком много для длинного слова */
    font-weight: 800; 
    line-height: 1.2; 
    margin-bottom: 1.5rem; 
    color: var(--slate-900);
    overflow-wrap: break-word; /* Перенос длинных слов */
    word-wrap: break-word;
}
h1 span { color: var(--brand-main); }

/* Возвращаем большие размеры для планшетов и ПК */
@media (min-width: 768px) { h1 { font-size: 3rem; } }
@media (min-width: 1024px) { h1 { font-size: 4.5rem; } }

.hero-desc { font-size: 1rem; color: var(--slate-600); margin-bottom: 2rem; font-weight: 500; }
@media (min-width: 768px) { .hero-desc { font-size: 1.125rem; } }

.hero-buttons { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

.hero-features { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--slate-500); font-weight: 600; }
@media (min-width: 768px) { .hero-features { gap: 1.5rem; } }
.feature-item { display: flex; align-items: center; gap: 0.5rem; }
.check-circle { background: #eff6ff; padding: 4px; border-radius: 50%; color: var(--brand-main); display: flex; }

/* Hero Image */
.hero-image-block { display: none; position: relative; }
@media (min-width: 1024px) { .hero-image-block { display: block; } }
.image-wrapper {
    position: relative; z-index: 10;
    background: white; padding: 0.75rem; border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotate(1deg); transition: transform 0.7s;
    border: 1px solid var(--slate-100);
}
.image-wrapper:hover { transform: rotate(0); }
.image-wrapper img { width: 100%; height: 500px; object-fit: cover; border-radius: 32px; }
.floating-badge {
    position: absolute; bottom: -1.5rem; left: -1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 1.5rem; border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255,255,255,0.5);
    display: flex; align-items: center; gap: 1rem;
    max-width: 320px;
}
.badge-icon {
    background: var(--brand-main); width: 3rem; height: 3rem;
    border-radius: 0.75rem; display: flex; align-items: center; justify-content: center;
    color: white; flex-shrink: 0; box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}
.badge-title { font-weight: 700; }
.badge-subtitle { font-size: 0.875rem; color: var(--slate-500); }

/* --- Bento Grid --- */
.bg-white { background: white; }
.section-header { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
@media (min-width: 768px) { .section-header { flex-direction: row; } }
h2 { font-size: 1.75rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.5rem; line-height: 1.2; }
@media (min-width: 768px) { h2 { font-size: 2.25rem; } }

.subtitle { color: var(--slate-500); }
.link-arrow {
    display: inline-flex; align-items: center; color: var(--brand-main); font-weight: 700;
}
.link-arrow:hover { color: var(--brand-dark); }

.bento-grid {
    display: grid; gap: 1rem;
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(200px, auto);
}
@media (min-width: 768px) { 
    .bento-grid { gap: 1.5rem; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; } 
}
@media (min-width: 1024px) { .bento-grid { grid-template-columns: repeat(4, 1fr); } }

.bento-card {
    border-radius: 1.5rem; padding: 1.5rem;
    position: relative; overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--slate-200);
}
@media (min-width: 768px) { .bento-card { border-radius: 2rem; padding: 2rem; } }

.bento-card:hover { transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.bento-large { grid-column: span 1; grid-row: span 1; background: var(--slate-800); border-color: var(--slate-600); min-height: 250px; }
.bento-medium { grid-column: span 1; grid-row: span 1; background: var(--brand-main); border: none; box-shadow: var(--shadow-glow); }
.bento-small { grid-column: span 1; grid-row: span 1; background: white; }

@media (min-width: 768px) {
    .bento-large { grid-column: span 1; grid-row: span 2; }
}

@media (min-width: 1024px) { 
    .bento-large { grid-column: span 2; }
    .bento-medium { grid-column: span 2; }
}

/* Card Content Styling */
.card-bg-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0.6; transition: transform 0.7s;
}
.bento-card:hover .card-bg-img { transform: scale(1.05); }
.card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, var(--slate-900), rgba(15, 23, 42, 0.4), transparent);
}
.card-content { position: relative; z-index: 20; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.card-content.centered { justify-content: center; gap: 0.5rem; }

.card-icon-glass {
    width: 3rem; height: 3rem;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(4px);
    border-radius: 0.75rem; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    color: white; transition: background 0.3s;
}
@media (min-width: 768px) { .card-icon-glass { width: 3.5rem; height: 3.5rem; border-radius: 1rem; } }

.bento-card:hover .card-icon-glass { background: var(--brand-main); }
.bento-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--slate-900); }
.bento-large h3, .bento-medium h3 { color: white; }
@media (min-width: 768px) { .bento-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; } }

.bento-card .text-gray-300 { --tw-text-opacity: 1; color: rgb(203 213 225 / var(--tw-text-opacity, 1));}
.bento-card .max-w-sm {max-width: 24rem;}
.bento-card p { font-size: 0.875rem; line-height: 1.5; }

.card-decor-icon { position: absolute; top: 0; right: 0; padding: 2rem; opacity: 0.2; }
.badge-mini {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: rgba(255,255,255,0.8); font-weight: 700; font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.dot-pulse { width: 8px; height: 8px; background: white; border-radius: 50%; animation: pulse 2s infinite; }
.text-blue-100 { color: #dbeafe; }
.full-link { position: absolute; inset: 0; z-index: 30; }

.icon-box-red { background: #fef2f2; color: #dc2626; padding: 0.75rem; border-radius: 0.75rem; transition: transform 0.3s; }
.card-hover-red:hover { border-color: #f87171; }
.card-hover-red:hover .icon-box-red { transform: scale(1.1); }
.badge-red { background: #fef2f2; color: #ef4444; padding: 0.25rem 0.5rem; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 700; }

.icon-box-blue { background: #eff6ff; color: var(--brand-main); padding: 0.75rem; border-radius: 0.75rem; transition: transform 0.3s; }
.card-hover-blue:hover { border-color: var(--brand-main); }
.card-hover-blue:hover .icon-box-blue { transform: rotate(90deg); }

.flex-between.mb-4 { margin-bottom: 1rem; }

/* --- Энергонезависимость --- */
.bg-slate-50 { background-color: var(--slate-50); }
.border-y { border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.blur-blob {
    position: absolute; top: 0; left: 50%; width: 500px; height: 500px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 50%; filter: blur(60px);
    transform: translate(-50%, 0); pointer-events: none;
}
.label-brand { color: var(--brand-main); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; }
.subtitle-lg { font-size: 1rem; color: var(--slate-600); }
@media (min-width: 768px) { .subtitle-lg { font-size: 1.125rem; } }

.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.feature-card {
    background: white; border-radius: 1.5rem; padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
    border: 1px solid var(--slate-100);
    transition: transform 0.3s; position: relative; overflow: hidden;
}
@media (min-width: 768px) { .feature-card { padding: 2rem; } }

.feature-card:hover { transform: translateY(-0.5rem); }
.feature-card.bg-dark { background: var(--slate-900); color: white; border: none; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; color: var(--slate-900); }
.feature-card.bg-dark h3 { color: white; }

.icon-box-brand, .icon-box-white {
    width: 3.5rem; height: 3.5rem; border-radius: 1rem;
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.icon-box-brand { background: #eff6ff; color: var(--brand-main); }
.icon-box-white { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); color: var(--brand-light); }
.glow-spot { position: absolute; top: 0; right: 0; width: 8rem; height: 8rem; background: rgba(37,99,235,0.2); border-radius: 50%; filter: blur(40px); }

.check-list li { display: flex; align-items: flex-start; margin-bottom: 0.75rem; font-size: 0.875rem; color: var(--slate-600); }
.check-list.dark-mode li { color: var(--slate-400); }
.icon-check { width: 16px; height: 16px; color: #22c55e; margin-right: 0.5rem; margin-top: 2px; }
.icon-check-brand { width: 16px; height: 16px; color: var(--brand-main); margin-right: 0.5rem; margin-top: 2px; }
.link-brand { font-weight: 700; font-size: 0.875rem; color: var(--brand-main); display: inline-block; margin-top: 1rem; }
.link-brand:hover { text-decoration: underline; }
.link-brand-light { font-weight: 700; font-size: 0.875rem; color: var(--brand-light); display: inline-block; margin-top: 1rem; }

/* --- Slider --- */
.label-gray { color: var(--slate-400); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.875rem; display: block; margin-bottom: 0.5rem; }
.slider-controls { display: flex; gap: 0.75rem; margin-top: 1rem; }
@media (min-width: 768px) { .slider-controls { margin-top: 0; } }

.slider-btn {
    width: 3rem; height: 3rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--slate-200); background: transparent;
    cursor: pointer; transition: all 0.2s; color: var(--slate-600);
}
.slider-btn:hover { border-color: var(--brand-main); background: var(--brand-main); color: white; }
.slider-btn.active { background: var(--brand-main); color: white; border-color: var(--brand-main); box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3); }

.slider-track {
    display: flex; gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 1rem 3rem 1rem;
    scrollbar-width: none; /* Firefox */
}
@media (min-width: 768px) { .slider-track { gap: 1.5rem; } }

.slider-track::-webkit-scrollbar { display: none; }
@media (min-width: 1280px) { .slider-track { padding-left: calc((100vw - 1280px)/2); } }

.slider-item {
    min-width: 85vw; scroll-snap-align: center;
    background: white; border-radius: 1.5rem; overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
    border: 1px solid var(--slate-100);
}
@media (min-width: 768px) { .slider-item { min-width: 450px; border-radius: 2rem; } }

.slider-img-box { height: 14rem; position: relative; overflow: hidden; }
@media (min-width: 768px) { .slider-img-box { height: 16rem; } }

.slider-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.slider-item:hover img { transform: scale(1.05); }
.img-badge {
    position: absolute; top: 1rem; left: 1rem;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(4px);
    color: var(--slate-900); font-size: 0.75rem; font-weight: 700;
    padding: 0.375rem 0.75rem; border-radius: 999px;
}
.img-badge.badge-blue { background: var(--brand-main); color: white; }
.slider-content { padding: 1.5rem; }
@media (min-width: 768px) { .slider-content { padding: 2rem; } }
.slider-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--slate-900); }
.slider-content p { font-size: 0.875rem; color: var(--slate-500); }

/* --- FAQ & Accordion --- */
.border-t { border-top: 1px solid var(--slate-200); }
.accordion-group { display: flex; flex-direction: column; gap: 1rem; }
.accordion-item {
    background: white; border: 1px solid var(--slate-200);
    border-radius: 1rem; overflow: hidden; cursor: pointer;
    transition: all 0.3s;
}
.accordion-item:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); border-color: rgba(37, 99, 235, 0.3); }
.accordion-header { padding: 1.25rem; display: flex; justify-content: space-between; align-items: center; }
@media (min-width: 768px) { .accordion-header { padding: 1.5rem; } }

.accordion-header h3 { font-size: 1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0; }
@media (min-width: 768px) { .accordion-header h3 { font-size: 1.125rem; } }

.chevron { color: var(--slate-400); transition: transform 0.3s; }
.accordion-body { padding: 0 1.25rem 1.25rem; color: var(--slate-600); display: none; line-height: 1.6; animation: fadeIn 0.3s ease; font-size: 0.875rem; }
@media (min-width: 768px) { .accordion-body { padding: 0 1.5rem 1.5rem; font-size: 1rem; } }

.accordion-item.active .accordion-body { display: block; }
.accordion-item.active .chevron { transform: rotate(180deg); }

/* --- Footer --- */
.footer { background: var(--slate-900); color: white; padding-top: 4rem; padding-bottom: 7rem; position: relative; overflow: hidden; }
@media (min-width: 768px) { .footer { padding-top: 6rem; padding-bottom: 2rem; } }

.footer-blur {
    position: absolute; top: 0; right: 0; width: 300px; height: 300px;
    background: rgba(37,99,235,0.1); border-radius: 50%; filter: blur(80px); pointer-events: none;
}
@media (min-width: 768px) { .footer-blur { width: 500px; height: 500px; filter: blur(100px); } }

.footer-grid { display: flex; flex-direction: column; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .footer-grid { flex-direction: row; margin-bottom: 5rem; gap: 4rem; } }

.footer-info { flex: 1; }
.footer-info h2 { font-size: 2rem; margin-bottom: 1rem; color: white; line-height: 1.2; }
@media (min-width: 768px) { .footer-info h2 { font-size: 3rem; margin-bottom: 1.5rem; } }

.footer-desc { color: var(--slate-400); font-size: 1rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-desc { font-size: 1.125rem; margin-bottom: 2.5rem; } }

.contact-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; color: var(--slate-400); font-size: 1rem; }
@media (min-width: 768px) { .contact-item { font-size: 1.125rem; } }

.contact-item.big { font-size: 1.25rem; font-weight: 700; color: white; }
@media (min-width: 768px) { .contact-item.big { font-size: 1.5rem; } }

.contact-item:hover { color: var(--brand-main); }
.icon-square {
    width: 3rem; height: 3rem; border-radius: 1rem;
    background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
    color: white; transition: background 0.3s; flex-shrink: 0;
}
@media (min-width: 768px) { .icon-square { width: 3.5rem; height: 3.5rem; } }

.contact-item:hover .icon-square { background: var(--brand-main); }
.icon-square.dimmed { background: rgba(255,255,255,0.05); color: var(--slate-500); }

.contact-form {
    flex: 1; background: white; padding: 1.5rem; border-radius: 1.5rem;
    color: var(--slate-900); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
@media (min-width: 768px) { .contact-form { padding: 2.5rem; border-radius: 2rem; } }

.contact-form h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .contact-form h3 { font-size: 1.5rem; margin-bottom: 1.5rem; } }

.form-group { margin-bottom: 1rem; }
.form-group input, .form-group textarea {
    width: 100%; background: var(--slate-50); border: 1px solid var(--slate-200);
    border-radius: 0.75rem; padding: 0.875rem 1.25rem; outline: none;
    font-size: 1rem; font-family: inherit; transition: all 0.3s;
}
@media (min-width: 768px) { .form-group input, .form-group textarea { padding: 1rem 1.5rem; } }

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--brand-main); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { resize: none; }
.shadow-glow { box-shadow: var(--shadow-glow); }
.form-note { text-align: center; font-size: 0.75rem; color: var(--slate-400); margin-top: 1rem; }
@media (min-width: 768px) { .form-note { margin-top: 1.5rem; } }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; flex-direction: column; justify-content: space-between; align-items: center; color: var(--slate-500); font-size: 0.875rem; text-align: center; gap: 1rem; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; text-align: left; gap: 0; } }

.social-links { display: flex; gap: 1.5rem; }
.social-links a:hover { color: white; }

/* FAB Mobile */
.fab {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100;
    width: 3.5rem; height: 3.5rem; background: var(--brand-main);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
    animation: bounce 2s infinite;
}
@media (min-width: 768px) { .fab { display: none; } }

/* Animations */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); } 50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); } }

.reveal-up { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-up.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-150 { transition-delay: 0.15s; }
.delay-200 { transition-delay: 0.2s; }