/* =====================================================
   ТехЭксперт — Styles
   ===================================================== */

/* ---------- CSS Variables / Theme ---------- */
:root {
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --surface: #ffffff;
    --surface-glass: rgba(255,255,255,.65);
    --text: #0f172a;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --accent-glow: rgba(59,130,246,.25);
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow: 0 4px 24px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.1);
    --transition: .3s cubic-bezier(.4,0,.2,1);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --header-h: 72px;
}

[data-theme="dark"] {
    --bg: #0b1120;
    --bg-alt: #111827;
    --surface: #1e293b;
    --surface-glass: rgba(30,41,59,.7);
    --text: #f1f5f9;
    --text-secondary: #94a3b8;
    --border: #334155;
    --shadow: 0 4px 24px rgba(0,0,0,.3);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.4);
    --accent-glow: rgba(59,130,246,.15);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background var(--transition), color var(--transition);
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Utility ---------- */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font); font-weight: 600; font-size: 14px;
    border: none; border-radius: var(--radius-sm); cursor: pointer;
    transition: all var(--transition); position: relative; overflow: hidden;
}
.btn--sm { padding: 8px 20px; font-size: 13px; }
.btn--lg { padding: 14px 32px; font-size: 15px; }
.btn--full { width: 100%; }
.btn--primary {
    background: var(--accent-gradient); color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); }
.btn--outline {
    background: transparent; color: var(--accent);
    border: 1.5px solid var(--accent);
}
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--ghost {
    background: transparent; color: var(--accent);
}
.btn--ghost:hover { background: var(--accent-glow); }
.btn--logout { display: none; }

/* ---------- Header ---------- */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: var(--surface-glass);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    transition: background var(--transition), border var(--transition);
}
.header__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-h);
}
.logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text);
}
.logo__icon { width: 36px; height: 36px; }
.logo__text { font-size: 18px; font-weight: 400; letter-spacing: -.5px; }
.logo__text strong { font-weight: 700; }

.nav { display: flex; gap: 8px; }
.nav__link {
    padding: 8px 16px; border-radius: var(--radius-xs);
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    transition: all var(--transition); text-decoration: none;
}
.nav__link:hover { color: var(--text); background: var(--bg-alt); }

.header__actions { display: flex; align-items: center; gap: 12px; }

/* Theme Toggle */
.theme-toggle {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--surface);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all var(--transition); color: var(--text);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: block; }

/* Burger */
.burger {
    display: none; flex-direction: column; gap: 5px;
    width: 36px; height: 36px; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer; padding: 0;
}
.burger span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: all var(--transition);
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding-top: var(--header-h);
}
.hero__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(59,130,246,.12), transparent),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(139,92,246,.1), transparent);
}
[data-theme="dark"] .hero__bg {
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(59,130,246,.08), transparent),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(139,92,246,.06), transparent);
}
.hero__inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center; position: relative; z-index: 1;
    padding: 40px 0;
}
.hero__badge {
    display: inline-block; padding: 8px 20px;
    background: var(--accent-glow); color: var(--accent);
    border-radius: 100px; font-size: 14px; font-weight: 600;
    margin-bottom: 24px;
}
.hero__title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -1px; margin-bottom: 20px;
}
.hero__subtitle {
    font-size: 17px; color: var(--text-secondary);
    max-width: 500px; margin-bottom: 36px; line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Floating Cards */
.hero__visual { position: relative; min-height: 350px; }
.hero__card {
    position: absolute;
    background: var(--surface-glass); backdrop-filter: blur(16px);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px 28px; display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}
.hero__card-icon { font-size: 28px; }
.hero__card-text { font-weight: 600; font-size: 15px; white-space: nowrap; }
.hero__card--1 { top: 10%; left: 5%; animation-delay: 0s; }
.hero__card--2 { top: 45%; right: 5%; animation-delay: 2s; }
.hero__card--3 { bottom: 10%; left: 15%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section:nth-child(even) { background: var(--bg-alt); }
.section__header { text-align: center; margin-bottom: 60px; }
.section__badge {
    display: inline-block; padding: 6px 18px;
    background: var(--accent-glow); color: var(--accent);
    border-radius: 100px; font-size: 13px; font-weight: 600;
    margin-bottom: 16px;
}
.section__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800; letter-spacing: -.5px; margin-bottom: 12px;
}
.section__subtitle {
    font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto;
}

/* ---------- Services ---------- */
.services__grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px 28px;
    transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--accent-gradient); transform: scaleX(0);
    transition: transform var(--transition); transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { font-size: 36px; margin-bottom: 20px; }
.service-card__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ---------- About ---------- */
.about__inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about__photo-placeholder {
    background: var(--bg-alt); border-radius: var(--radius);
    width: 100%; aspect-ratio: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; position: relative;
    border: 1px solid var(--border); overflow: hidden;
}
.about__photo-placeholder svg { width: 60%; opacity: .3; }
.about__photo-label {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: var(--accent-gradient); color: #fff;
    padding: 10px 24px; border-radius: 100px;
    font-weight: 700; font-size: 14px; white-space: nowrap;
}
.about__text { color: var(--text-secondary); font-size: 15px; margin-bottom: 16px; line-height: 1.7; }
.about__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.stat { text-align: center; }
.stat__number {
    display: block; font-size: 32px; font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat__label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }

/* ---------- Reviews / Carousel ---------- */
.carousel { max-width: 900px; margin: 0 auto; overflow: hidden; position: relative; }
.carousel__track {
    display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.review-card {
    min-width: 100%; padding: 40px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-sizing: border-box;
}
.review-card__stars { color: #f59e0b; font-size: 20px; margin-bottom: 16px; letter-spacing: 2px; }
.review-card__text {
    font-size: 17px; line-height: 1.8; color: var(--text-secondary);
    margin-bottom: 28px; font-style: italic;
}
.review-card__author { display: flex; align-items: center; gap: 14px; }
.review-card__avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--accent-gradient); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px;
}
.review-card__name { font-weight: 700; font-size: 15px; }
.review-card__role { font-size: 13px; color: var(--text-secondary); }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.carousel__btn {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--surface);
    font-size: 22px; cursor: pointer; color: var(--text);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.carousel__btn:hover { border-color: var(--accent); color: var(--accent); }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--border); border: none; cursor: pointer;
    transition: all var(--transition);
}
.carousel__dot--active { background: var(--accent); transform: scale(1.3); }

/* ---------- Contacts ---------- */
.contacts__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.form-input {
    padding: 12px 16px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); background: var(--surface);
    color: var(--text); font-family: var(--font); font-size: 14px;
    transition: all var(--transition); outline: none;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-input::placeholder { color: var(--text-secondary); opacity: .6; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-input-wrapper { position: relative; }
.form-input-wrapper .form-input { width: 100%; padding-right: 44px; }
.password-toggle {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; font-size: 16px;
    padding: 4px; opacity: .6; transition: opacity var(--transition);
}
.password-toggle:hover { opacity: 1; }

.contacts__info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
    display: flex; align-items: center; gap: 16px;
    padding: 20px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.contact-info-card:hover { transform: translateX(4px); border-color: var(--accent); }
.contact-info-card__icon { font-size: 24px; }
.contact-info-card__label { font-size: 12px; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.contact-info-card__value { font-size: 15px; font-weight: 600; color: var(--text); }

/* ---------- Auth Modal ---------- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,.5); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
    background: var(--surface-glass); backdrop-filter: blur(24px);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 40px; width: 100%; max-width: 440px;
    box-shadow: var(--shadow-lg); position: relative;
    transform: translateY(20px) scale(.97);
    transition: transform var(--transition);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal__close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--surface);
    font-size: 20px; cursor: pointer; color: var(--text);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.modal__close:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.modal__header { text-align: center; margin-bottom: 28px; }
.modal__title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.modal__subtitle { font-size: 14px; color: var(--text-secondary); }
.modal__footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-secondary); }

.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-form__options {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 13px;
}
.auth-form__forgot { color: var(--accent); font-weight: 500; }
.checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--text-secondary); font-weight: 500; }
.checkbox input { display: none; }
.checkbox__mark {
    width: 18px; height: 18px; border-radius: 4px;
    border: 1.5px solid var(--border); background: var(--surface);
    transition: all var(--transition); position: relative;
}
.checkbox input:checked + .checkbox__mark {
    background: var(--accent); border-color: var(--accent);
}
.checkbox input:checked + .checkbox__mark::after {
    content: '✓'; color: #fff; font-size: 12px; font-weight: 700;
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.auth-form__error {
    color: var(--danger); font-size: 13px; font-weight: 500;
    text-align: center; min-height: 0;
    transition: all var(--transition);
}

/* ---------- Dashboard ---------- */
.dashboard {
    display: flex; min-height: 100vh; padding-top: 0;
}
.dashboard__sidebar {
    width: 260px; background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
    transition: transform var(--transition);
}
.sidebar__header {
    padding: 20px 24px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center;
}
.sidebar__nav { padding: 16px 12px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.sidebar__link {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    border: none; background: none; cursor: pointer; width: 100%;
    font-family: var(--font); text-align: left;
    transition: all var(--transition);
}
.sidebar__link:hover { color: var(--text); background: var(--bg-alt); }
.sidebar__link--active { color: var(--accent); background: var(--accent-glow); font-weight: 600; }
.sidebar__icon { font-size: 18px; }

.dashboard__main {
    flex: 1; margin-left: 260px;
    background: var(--bg); min-height: 100vh;
}
.dashboard__topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 32px; border-bottom: 1px solid var(--border);
    background: var(--surface); height: var(--header-h);
    position: sticky; top: 0; z-index: 50;
}
.dashboard__page-title { font-size: 20px; font-weight: 700; }
.dashboard__user { display: flex; align-items: center; gap: 12px; }
.dashboard__user-name { font-size: 14px; font-weight: 600; }
.dashboard__user-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent-gradient); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px;
}
.burger--dash { display: none; }

.dash-section { padding: 32px; }
.dash-welcome {
    padding: 32px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 28px;
}
.dash-welcome h2 { font-size: 24px; margin-bottom: 8px; }
.dash-welcome p { color: var(--text-secondary); font-size: 15px; }

.dash-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.dash-stat-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; text-align: center;
    transition: all var(--transition);
}
.dash-stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dash-stat-card__icon { font-size: 28px; margin-bottom: 8px; }
.dash-stat-card__value { font-size: 32px; font-weight: 800; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.dash-stat-card__label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }

.dash-section__title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }

/* Table */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.dash-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.dash-table th, .dash-table td {
    padding: 14px 18px; text-align: left; font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.dash-table th { font-weight: 600; color: var(--text-secondary); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; background: var(--bg-alt); }
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: var(--bg-alt); }

.status {
    display: inline-block; padding: 4px 12px; border-radius: 100px;
    font-size: 12px; font-weight: 600;
}
.status--progress { background: rgba(59,130,246,.1); color: var(--accent); }
.status--review { background: rgba(245,158,11,.1); color: var(--warning); }
.status--done { background: rgba(34,197,94,.1); color: var(--success); }

/* Documents */
.doc-list { display: flex; flex-direction: column; gap: 12px; }
.doc-item {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.doc-item:hover { border-color: var(--accent); }
.doc-item__icon {
    width: 44px; height: 44px; border-radius: var(--radius-xs);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: #fff;
}
.doc-item__icon--pdf { background: #ef4444; }
.doc-item__icon--docx { background: #3b82f6; }
.doc-item__icon--xlsx { background: #22c55e; }
.doc-item__info { flex: 1; }
.doc-item__name { font-weight: 600; font-size: 14px; }
.doc-item__meta { font-size: 12px; color: var(--text-secondary); }

/* Messages */
.msg-list { display: flex; flex-direction: column; gap: 12px; }
.msg-item {
    display: flex; gap: 16px; padding: 20px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); cursor: pointer;
    transition: all var(--transition);
}
.msg-item:hover { border-color: var(--accent); }
.msg-item--unread { border-left: 3px solid var(--accent); }
.msg-item__avatar {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: var(--accent-gradient); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
}
.msg-item__content { flex: 1; min-width: 0; }
.msg-item__header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.msg-item__sender { font-weight: 700; font-size: 14px; }
.msg-item__date { font-size: 12px; color: var(--text-secondary); }
.msg-item__subject { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.msg-item__preview { font-size: 13px; color: var(--text-secondary); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 60px; }
.footer__inner {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px; padding-bottom: 40px;
}
.footer__brand .logo { margin-bottom: 16px; }
.footer__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.footer__links a { font-size: 14px; color: var(--text-secondary); transition: color var(--transition); text-decoration: none; }
.footer__links a:hover { color: var(--accent); }
.footer__social h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.social-links { display: flex; gap: 10px; }
.social-link {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--surface);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); transition: all var(--transition);
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.footer__bottom {
    border-top: 1px solid var(--border); padding: 20px 0;
    text-align: center; font-size: 13px; color: var(--text-secondary);
}

/* ---------- Toast ---------- */
.toast {
    position: fixed; bottom: 32px; right: 32px; z-index: 3000;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px 28px;
    box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600;
    transform: translateY(100px); opacity: 0;
    transition: all .4s cubic-bezier(.4,0,.2,1);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast--success { border-left: 4px solid var(--success); }
.toast--error { border-left: 4px solid var(--danger); }

/* ---------- Fade In Animation ---------- */
.fade-in {
    opacity: 0; transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .hero__visual { display: none; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .about__inner { grid-template-columns: 1fr; }
    .about__image { display: none; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .dash-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav { 
        display: none; flex-direction: column; gap: 0;
        position: absolute; top: var(--header-h); left: 0; right: 0;
        background: var(--surface); border-bottom: 1px solid var(--border);
        padding: 12px;
    }
    .nav.active { display: flex; }
    .nav__link { padding: 12px 16px; border-radius: var(--radius-xs); }
    .burger { display: flex; }
    .services__grid { grid-template-columns: 1fr; }
    .contacts__inner { grid-template-columns: 1fr; }
    .contact-form { grid-template-columns: 1fr; }
    .about__stats { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr; gap: 28px; }

    /* Dashboard */
    .dashboard__sidebar { transform: translateX(-100%); }
    .dashboard__sidebar.active { transform: translateX(0); }
    .dashboard__main { margin-left: 0; }
    .burger--dash { display: flex; }
    .dash-stats { grid-template-columns: 1fr; }
    .dash-section { padding: 20px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__title { font-size: 30px; }
    .section { padding: 60px 0; }
    .modal { padding: 28px; margin: 16px; }
    .review-card { padding: 24px; }
}
