
/* ===== VARIABLES ===== */
:root {
    --electric: #E8440A;
    --electric-gradient: linear-gradient(90deg, #FF6200 0%, #C42100 100%);
    --electric-dim: rgba(232, 68, 10, 0.12);
    --electric-glow: rgba(232, 68, 10, 0.4);

    --blue: #2563EB;
    --blue-dark: #1D4ED8;
    --blue-glow: rgba(37, 99, 235, 0.28);
    --blue-light: #60A5FA;

    --navy: #0A0F1E;
    --navy-card: #111827;
    --navy-surface: #1A2035;

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #6B7280;
    --text-light: #F8FAFC;
    --text-light-dim: rgba(248, 250, 252, 0.82);

    --surface-white: #FFFFFF;
    --surface-1: #F8FAFC;
    --surface-2: #F1F5F9;
    --border: #E2E8F0;
    --border-dark: rgba(255, 255, 255, 0.08);

    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --s-1: 0.5rem;
    --s-2: 1rem;
    --s-3: 1.5rem;
    --s-4: 2rem;
    --s-5: 3rem;
    --s-6: 4rem;
    --s-7: 6rem;

    --shadow-xs: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.07);
    --shadow-lg: 0 20px 48px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.08);
    --shadow-electric: 0 0 0 1px rgba(232,68,10,0.25), 0 8px 24px rgba(232,68,10,0.2);
    --shadow-blue: 0 0 0 1px rgba(37,99,235,0.15), 0 8px 24px rgba(37,99,235,0.15);

    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-full: 9999px;

    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET ===== */
*, *::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);
    color: var(--text-primary);
    background-color: var(--surface-white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--s-3);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(56px);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
    transition-delay: 0.12s;
}

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

.reveal-delay-1 { transition-delay: 0.22s; }
.reveal-delay-2 { transition-delay: 0.34s; }
.reveal-delay-3 { transition-delay: 0.46s; }
.reveal-delay-4 { transition-delay: 0.58s; }
.reveal-delay-5 { transition-delay: 0.70s; }

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s var(--ease-out);
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: var(--s-3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-brand {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.logo-as {
    background: linear-gradient(90deg, #FF6200 0%, #C42100 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-el {
    color: #1D4ED8;
    transition: color 0.2s var(--ease-out);
}

.logo:hover .logo-as {
    background: linear-gradient(135deg, #CC2000 0%, #8B0F00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo:hover .logo-el { color: #1e40af; }

.logo-city {
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 3px;
}

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

.nav-phone {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: var(--r-md);
    transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--surface-1);
}

.nav-link.active {
    background: linear-gradient(90deg, #FF6200 0%, #C42100 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.nav-link:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    padding: 6px;
    transition: background 0.2s var(--ease-out);
}

.burger:hover { background: var(--surface-2); }

.burger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: var(--r-full);
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: var(--text-light);
    padding: 110px 0 90px;
    text-align: center;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 55% at 15% 40%, rgba(37, 99, 235, 0.38) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 85% 20%, rgba(232, 68, 10, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 80% 65% at 50% 110%, rgba(29, 78, 216, 0.3) 0%, transparent 65%);
    animation: heroAmbient 14s ease-in-out infinite alternate;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    z-index: 0;
}

@keyframes heroAmbient {
    0%   { opacity: 0.75; transform: scale(1); }
    100% { opacity: 1;    transform: scale(1.07); }
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-4);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 68, 10, 0.13);
    border: 1px solid rgba(232, 68, 10, 0.32);
    color: var(--electric);
    padding: 6px 18px;
    border-radius: var(--r-full);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 5vw, 3.7rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 820px;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #FF6200 0%, #C42100 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light-dim);
    max-width: 520px;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    gap: var(--s-2);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: var(--s-4);
    justify-content: center;
    flex-wrap: wrap;
    padding-top: var(--s-4);
    width: 100%;
    margin-top: var(--s-2);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    color: var(--text-light-dim);
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Small hero for inner pages */
.hero-small {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-surface) 100%);
    color: var(--text-light);
    padding: var(--s-6) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.hero-small h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--s-2);
}

.hero-small p {
    font-size: 1.05rem;
    color: var(--text-light-dim);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.75rem;
    border: none;
    border-radius: var(--r-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.2s var(--ease-out),
        box-shadow 0.2s var(--ease-out),
        transform 0.2s var(--ease-spring),
        border-color 0.2s var(--ease-out),
        color 0.2s var(--ease-out);
    white-space: nowrap;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
}

.btn:focus-visible {
    outline: 2px solid var(--electric);
    outline-offset: 3px;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: linear-gradient(90deg, #FF6200 0%, #C42100 100%);
    color: #fff;
    box-shadow: 0 4px 14px var(--electric-glow);
    border-color: transparent;
}

.btn-primary:hover {
    background: #C42100;
    box-shadow: 0 6px 22px rgba(232, 68, 10, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.09);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--surface-white);
    color: var(--navy);
    box-shadow: var(--shadow-sm);
    border-color: var(--border);
}

.btn-light:hover {
    background: var(--surface-1);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-full { width: 100%; }

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* ===== SECTIONS ===== */
section {
    padding: var(--s-7) 0;
}

section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: var(--s-5);
    text-align: center;
    color: var(--text-primary);
}

section h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

section h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin: var(--s-3) 0 var(--s-2);
    color: var(--text-primary);
}

/* ===== SERVICES PREVIEW ===== */
.services-preview {
    background: var(--surface-1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--s-3);
    margin-bottom: var(--s-5);
}

.service-card {
    background: var(--surface-white);
    padding: var(--s-4);
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition:
        box-shadow 0.35s var(--ease-out),
        transform 0.35s var(--ease-spring),
        border-color 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--electric));
    opacity: 0;
    transition: opacity 0.35s var(--ease-out);
}

.service-card:hover {
    box-shadow: var(--shadow-blue);
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.18);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: var(--electric-dim);
    border-radius: var(--r-lg);
    font-size: 1.65rem;
    margin-bottom: var(--s-3);
}

.service-card h3 { margin-bottom: var(--s-2); }

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--s-3);
    font-size: 0.95rem;
}

.link-arrow {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.link-arrow:hover {
    color: var(--blue-dark);
    gap: 10px;
}

.text-center { text-align: center; }
.text-center .btn { margin-top: var(--s-3); }

/* ===== ADVANTAGES ===== */
.advantages {
    background: var(--surface-white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--s-3);
}

.advantage-item {
    padding: var(--s-4);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.35s var(--ease-out),
        box-shadow 0.35s var(--ease-out),
        transform 0.35s var(--ease-spring);
}

.advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.07);
    border-radius: var(--r-lg);
    margin-bottom: var(--s-3);
    transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-spring);
}

.advantage-item:hover .advantage-icon {
    background: rgba(37, 99, 235, 0.13);
    transform: scale(1.08);
}

.advantage-icon svg {
    flex-shrink: 0;
}

.advantage-item::after {
    content: attr(data-number);
    position: absolute;
    top: var(--s-2);
    right: var(--s-3);
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.055);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -0.04em;
}

.advantage-item:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
    transform: translateY(-4px);
}

.advantage-item h3 {
    color: var(--blue-dark);
    margin-bottom: var(--s-2);
    padding-right: 3.5rem;
}

.advantage-item p {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* ===== REVIEWS ===== */
.reviews {
    background: var(--surface-2);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--s-3);
}

.review-card {
    background: var(--surface-white);
    padding: var(--s-4);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-spring);
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: -16px;
    right: var(--s-3);
    font-size: 8rem;
    color: rgba(37, 99, 235, 0.07);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.review-rating {
    color: var(--electric);
    font-size: 1.05rem;
    margin-bottom: var(--s-2);
    letter-spacing: 3px;
}

.review-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: var(--s-3);
    line-height: 1.75;
    font-size: 0.95rem;
}

.review-author {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== FORM SECTION ===== */
.form-section {
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 0% 50%, rgba(37, 99, 235, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 100% 50%, rgba(232, 68, 10, 0.09) 0%, transparent 60%);
    pointer-events: none;
}

.form-wrapper {
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--s-6);
    border-radius: var(--r-xl);
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form-wrapper h2 {
    text-align: left;
    color: var(--text-light);
    margin-bottom: var(--s-2);
    font-size: 1.8rem;
}

.form-subtitle {
    color: var(--text-light-dim);
    margin-bottom: var(--s-4);
    text-align: left;
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: var(--s-1);
    color: var(--text-light);
    font-size: 0.88rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--r-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--electric);
    box-shadow: 0 0 0 3px rgba(232, 68, 10, 0.14);
}

.form-note {
    color: rgba(255, 255, 255, 0.60);
    font-size: 0.78rem;
    text-align: center;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(90deg, #FF6200 0%, #C42100 100%);
    color: var(--navy);
    padding: var(--s-7) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::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='%23000' fill-opacity='0.04'%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/svg%3E");
    pointer-events: none;
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 {
    color: var(--navy);
    margin-bottom: var(--s-2);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: var(--s-4);
    color: rgba(10, 15, 30, 0.7);
}

.cta-section .btn-light {
    background: var(--navy);
    color: var(--electric);
    border-color: transparent;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.cta-section .btn-light:hover {
    background: #111827;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.38);
    color: var(--electric);
}

/* ===== FOOTER ===== */
.footer {
    background: #060B14;
    color: #9CA3AF;
    padding: var(--s-7) 0 var(--s-4);
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-logo {
    display: inline-flex;
    margin-bottom: var(--s-2);
}

.footer-logo .logo-brand {
    font-size: 1.4rem;
}

.footer-logo .logo-city {
    color: #6B7280;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--s-5);
    margin-bottom: var(--s-5);
    padding-bottom: var(--s-5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section h4 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--s-3);
    margin-top: 0;
}

.footer-section p {
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: var(--s-2);
    color: #6B7280;
}

.footer-section a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s var(--ease-out);
}

.footer-section a:hover { color: var(--electric); }

.footer-section ul { list-style: none; }

.footer-section ul li {
    margin-bottom: var(--s-2);
    font-size: 0.88rem;
}

.footer-social {
    display: flex;
    gap: var(--s-2);
    margin-top: var(--s-3);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-md);
    font-size: 0.8rem;
    font-weight: 700;
    transition:
        background 0.2s var(--ease-out),
        border-color 0.2s var(--ease-out),
        color 0.2s var(--ease-out);
}

.footer-social a:hover {
    background: var(--electric);
    border-color: var(--electric);
    color: var(--navy);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s-2);
    font-size: 0.78rem;
    color: #6B7280;
}

.footer-links {
    display: flex;
    gap: var(--s-3);
}

.footer-links a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s var(--ease-out);
}

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

/* ===== ANTI-SPAM / TRACKING UTILITIES ===== */
.form-honeypot {
    position: absolute;
    left: -9999px;
}

.offscreen-pixel {
    position: absolute;
    left: -9999px;
}

/* ===== FORM SUCCESS POPUP ===== */
.form-success-popup {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: #ECFDF5;
    border: 2px solid #6EE7B7;
    border-radius: var(--r-lg);
    padding: 22px 36px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    z-index: 9999;
    max-width: 90%;
    text-align: center;
    color: #065F46;
    box-shadow: var(--shadow-lg);
    animation: popupIn 0.4s var(--ease-spring) forwards;
}

@keyframes popupIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-16px) scale(0.94); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

/* ===== THEME TOGGLE ===== */
#themeToggle {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #6B7280;
    font-family: var(--font-body);
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

#themeToggle:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #D1D5DB;
}

/* ===== DARK THEME ===== */
body.dark-theme {
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #9CA3AF;
    --surface-white: #111827;
    --surface-1: #1A2035;
    --surface-2: #0F172A;
    --border: rgba(255, 255, 255, 0.08);
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.5);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.45);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.55);
}

body.dark-theme .header {
    background: rgba(17, 24, 39, 0.95);
    border-color: rgba(255, 255, 255, 0.06);
}

body.dark-theme .service-card,
body.dark-theme .review-card {
    background: var(--surface-1);
}

/* ===== INNER PAGES - SERVICES ===== */
.services-detailed { background: var(--surface-white); }

.service-detail {
    background: var(--surface-1);
    padding: var(--s-4);
    border-radius: var(--r-xl);
    margin-bottom: var(--s-4);
    border: 1px solid var(--border);
}

.service-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-3);
    margin-bottom: var(--s-4);
    flex-wrap: wrap;
}

.service-detail h3 { margin: 0; }

.price-badge {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    padding: 6px 16px;
    border-radius: var(--r-full);
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.28);
}

.service-detail-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--s-3);
}

.service-list {
    list-style-position: inside;
    margin: var(--s-3) 0;
    color: var(--text-secondary);
}

.service-list li {
    margin-bottom: var(--s-2);
    line-height: 1.6;
}

.service-list li::marker {
    color: var(--blue);
    font-weight: 700;
}

.price-table {
    background: var(--surface-white);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin: var(--s-4) 0;
    border: 1px solid var(--border);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--s-3);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s var(--ease-out);
}

.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--surface-1); }

.price-row span:first-child { color: var(--text-primary); font-weight: 500; }
.price-row span:last-child { color: var(--blue); font-weight: 700; }

.service-note {
    background: #FEF3C7;
    padding: var(--s-3);
    border-left: 4px solid var(--electric);
    border-radius: var(--r-sm);
    color: #92400E;
    font-size: 0.9rem;
    margin-top: var(--s-4);
}

.additional-services { background: var(--surface-1); }

/* ===== INNER PAGES - PORTFOLIO ===== */
.portfolio-section { background: var(--surface-white); }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--s-4);
    margin: var(--s-4) 0;
}

.portfolio-item {
    background: var(--surface-white);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.portfolio-item:hover .portfolio-image img { transform: scale(1.06); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,15,30,0.85), rgba(37,99,235,0.7));
    display: flex;
    align-items: flex-end;
    padding: var(--s-3);
    opacity: 0;
    transition: opacity 0.35s var(--ease-out);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.project-category {
    background: var(--electric);
    color: var(--navy);
    padding: 4px 12px;
    border-radius: var(--r-full);
    font-weight: 700;
    font-size: 0.78rem;
}

.portfolio-info { padding: var(--s-3); }
.portfolio-info h3 { margin-bottom: var(--s-1); }

.project-year {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: var(--s-3);
    font-size: 0.85rem;
}

.project-details {
    background: var(--surface-1);
    padding: var(--s-3);
    border-radius: var(--r-md);
    margin-bottom: var(--s-3);
}

.detail { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }
.detail strong { color: var(--text-primary); }

.project-description {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: var(--s-3);
}

.project-result { color: #059669; font-weight: 600; font-size: 0.88rem; }

.portfolio-stats {
    background: var(--navy);
    color: var(--text-light);
    padding: var(--s-6);
    border-radius: var(--r-xl);
    margin-top: var(--s-6);
    text-align: center;
}

.portfolio-stats h2 { color: var(--text-light); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--s-4);
    margin-top: var(--s-4);
}

.stat-item { padding: var(--s-3); }

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--electric);
    letter-spacing: -0.03em;
    margin-bottom: var(--s-1);
}

.stat-label {
    display: block;
    color: var(--text-light-dim);
    font-weight: 500;
    font-size: 0.88rem;
}

/* ===== INNER PAGES - ABOUT ===== */
.about-section { background: var(--surface-white); }

.about-intro {
    background: var(--surface-1);
    padding: var(--s-4);
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    margin-bottom: var(--s-6);
}

.about-intro h2 { text-align: left; margin-bottom: var(--s-3); }
.about-intro p { color: var(--text-secondary); line-height: 1.8; margin-bottom: var(--s-3); }

.about-values { margin-bottom: var(--s-6); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--s-3);
    margin-top: var(--s-4);
}

.value-item {
    padding: var(--s-4);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    text-align: center;
    transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-spring);
}

.value-item:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
    transform: translateY(-4px);
}

.value-icon { font-size: 2.4rem; margin-bottom: var(--s-3); display: block; }
.value-item h3 { color: var(--blue-dark); margin-bottom: var(--s-2); }
.value-item p { color: var(--text-secondary); line-height: 1.7; }

.about-team { margin-bottom: var(--s-6); }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--s-4);
    margin-top: var(--s-4);
}

.team-member { text-align: center; }

.member-image {
    width: 100%;
    height: 240px;
    border-radius: var(--r-xl);
    overflow: hidden;
    margin-bottom: var(--s-3);
}

.member-image img { width: 100%; height: 100%; object-fit: cover; }
.team-member h3 { margin-bottom: var(--s-1); }
.member-title { color: var(--blue); font-weight: 600; margin-bottom: var(--s-3); font-size: 0.88rem; }
.member-bio { color: var(--text-secondary); line-height: 1.7; font-size: 0.9rem; }

.about-certifications { margin-bottom: var(--s-6); }

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--s-3);
    margin-top: var(--s-4);
}

.cert-item {
    text-align: center;
    padding: var(--s-4);
    background: var(--surface-1);
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    transition: background 0.2s, border-color 0.2s, transform 0.35s var(--ease-spring);
}

.cert-item:hover {
    background: #EFF6FF;
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateY(-4px);
}

.cert-icon { font-size: 2.4rem; margin-bottom: var(--s-3); display: block; }
.cert-item h3 { margin-bottom: var(--s-2); font-size: 1rem; }
.cert-item p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

.about-achievements { margin-bottom: var(--s-6); }

.achievements-list {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    margin-top: var(--s-4);
}

.achievement {
    display: flex;
    gap: var(--s-3);
    align-items: flex-start;
    padding: var(--s-4);
    background: var(--surface-1);
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    border-left: 4px solid var(--blue);
    transition: box-shadow 0.35s var(--ease-out);
}

.achievement:hover { box-shadow: var(--shadow-sm); }
.achievement-icon { font-size: 1.7rem; flex-shrink: 0; }

.achievement-content h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 var(--s-1);
}

.achievement-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.92rem;
    margin: 0;
}

.about-cta {
    background: linear-gradient(135deg, #F0F4FF, #E8EFFE);
    padding: var(--s-6);
    border-radius: var(--r-xl);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.cta-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5);
    margin-top: var(--s-4);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

/* ===== INNER PAGES - CONTACTS ===== */
.contacts-section { background: var(--surface-white); }

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5);
    margin: var(--s-4) 0;
}

.contacts-info,
.contact-form-wrapper {
    background: var(--surface-1);
    padding: var(--s-4);
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
}

.contact-item {
    margin-bottom: var(--s-4);
    padding-bottom: var(--s-4);
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-item h3 { color: var(--blue-dark); margin-bottom: var(--s-2); }
.contact-detail { font-size: 1.05rem; font-weight: 500; margin-bottom: var(--s-2); }
.contact-detail a { color: var(--blue); text-decoration: none; transition: color 0.2s var(--ease-out); }
.contact-detail a:hover { color: var(--blue-dark); }
.contact-note { color: var(--text-secondary); font-size: 0.85rem; margin-top: var(--s-1); }

.schedule {
    background: var(--surface-white);
    border-radius: var(--r-md);
    padding: var(--s-3);
    margin: var(--s-3) 0;
    border: 1px solid var(--border);
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    padding: var(--s-1) 0;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.schedule-row.highlight {
    background: #EFF6FF;
    padding: var(--s-1) var(--s-2);
    border-radius: var(--r-sm);
    margin: 2px 0;
}

.schedule-row strong { color: var(--blue); font-weight: 700; }

.messengers {
    display: flex;
    gap: var(--s-2);
    margin: var(--s-3) 0;
    flex-wrap: wrap;
}

.messenger-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border-radius: var(--r-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    color: white;
    border: 1px solid transparent;
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-spring);
}

.messenger-link:hover { opacity: 0.88; transform: translateY(-2px); }
.messenger-link.whatsapp { background: #25D366; }
.messenger-link.telegram { background: #0088CC; }
.messenger-link.vk { background: #4C75A3; }

.social-links {
    display: flex;
    gap: var(--s-2);
    margin: var(--s-3) 0;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--surface-white);
    border: 2px solid var(--blue);
    border-radius: var(--r-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--blue);
    transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.social-links a:hover {
    background: var(--blue);
    color: white;
}

.map-section { background: var(--surface-1); padding: 0; }
.map-title { padding: var(--s-6) var(--s-3) 0; text-align: center; }
.map-container { width: 100%; margin: var(--s-4) 0; }
.map-container iframe { border-radius: var(--r-xl); }
.map-note { text-align: center; color: var(--text-secondary); padding: 0 var(--s-3) var(--s-6); font-size: 0.88rem; }

.faq-section { background: var(--surface-white); }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--s-3);
    margin: var(--s-4) 0;
}

.faq-item {
    padding: var(--s-4);
    background: var(--surface-1);
    border-radius: var(--r-xl);
    border-left: 4px solid var(--blue);
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.35s var(--ease-out);
}

.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item h3 { color: var(--text-primary); margin-bottom: var(--s-2); font-size: 1.02rem; }
.faq-item p { color: var(--text-secondary); line-height: 1.7; font-size: 0.92rem; }

.contact-form-wrapper h2 {
    text-align: left;
    margin-bottom: var(--s-2);
}

/* Форма на светлом фоне (страница контактов) */
.contact-form-wrapper .form-subtitle {
    color: var(--text-secondary);
}

.contact-form-wrapper .form-group label {
    color: var(--text-primary);
}

.contact-form-wrapper .form-group input,
.contact-form-wrapper .form-group select,
.contact-form-wrapper .form-group textarea {
    background: var(--surface-white);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.contact-form-wrapper .form-group input::placeholder,
.contact-form-wrapper .form-group textarea::placeholder {
    color: var(--text-muted);
}

.contact-form-wrapper .form-group input:focus,
.contact-form-wrapper .form-group select:focus,
.contact-form-wrapper .form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.contact-form-wrapper .form-note {
    color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    :root {
        --s-6: 3rem;
        --s-7: 4rem;
    }

    .header-content { height: 62px; }

    .nav {
        display: none;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 62px;
        left: 0;
        right: 0;
        background: var(--surface-white);
        padding: var(--s-2) var(--s-3) var(--s-3);
        box-shadow: 0 12px 40px rgba(0,0,0,0.14);
        border-bottom: 2px solid var(--border);
        z-index: 99;
    }

    .nav.open {
        display: flex;
        animation: navSlideIn 0.3s var(--ease-out) forwards;
    }

    @keyframes navSlideIn {
        from { opacity: 0; transform: translateY(-12px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
        padding: 14px 16px;
        border-radius: var(--r-md);
        border-bottom: 1px solid var(--border);
        color: var(--text-primary);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-phone {
        display: none;
    }

    .nav.open .nav-phone {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: var(--s-2);
        background: var(--electric);
        color: var(--navy) !important;
        border-radius: var(--r-md);
        justify-content: center;
        font-size: 1.05rem;
        border-bottom: none;
    }

    .burger { display: flex; }

    .burger.open .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .burger.open .burger-line:nth-child(2) { opacity: 0; }
    .burger.open .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero { padding: 80px 0 64px; }
    .hero-features { flex-direction: column; gap: var(--s-2); align-items: center; }

    .services-grid,
    .advantages-grid,
    .reviews-grid,
    .team-grid,
    .cta-features,
    .contacts-grid { grid-template-columns: 1fr; }

    .portfolio-grid { grid-template-columns: 1fr; }

    .form-wrapper { padding: var(--s-4); }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links { justify-content: center; flex-wrap: wrap; }

    .service-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .achievement { gap: var(--s-2); padding: var(--s-3); }
}

@media (max-width: 480px) {
    :root {
        --s-5: 2rem;
        --s-6: 2.5rem;
        --s-7: 3rem;
    }

    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; max-width: 320px; }

    .logo-city { display: none; }
}
