/* ============================================================
   AMBIDEXTER FORGE — MOBILE-FIRST CORE
   Часть 1: Reset, Root, Global, Typography, Base Layout
   ============================================================ */

/* ------------------------------
   RESET
------------------------------ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #02030a;
    color: #f5f7ff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* ------------------------------
   ROOT VARIABLES
------------------------------ */

:root {
    --bg-main: #02030a;
    --bg-elevated: rgba(5, 10, 25, 0.96);
    --bg-glass: rgba(10, 18, 40, 0.9);

    --accent-orange: #ff7b2c;
    --accent-cyan: #2cf2ff;
    --accent-purple: #7b5cff;

    --text-main: #f5f7ff;
    --text-muted: #9aa0c2;

    --border-soft: rgba(255, 255, 255, 0.06);

    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;

    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.65);
    --shadow-glow-orange: 0 0 30px rgba(255, 123, 44, 0.45);
    --shadow-glow-cyan: 0 0 30px rgba(44, 242, 255, 0.35);

    --transition-fast: 0.18s ease-out;
    --transition-med: 0.28s ease-out;
}

/* ------------------------------
   GLOBAL BACKGROUND
------------------------------ */

.global-bg-layer {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.bg-gradient-core {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 10% 0%, rgba(44, 242, 255, 0.18), transparent 55%),
        radial-gradient(circle at 90% 0%, rgba(255, 123, 44, 0.25), transparent 60%),
        radial-gradient(circle at 50% 100%, rgba(123, 92, 255, 0.22), transparent 60%),
        linear-gradient(160deg, #02030a 0%, #05081a 40%, #05040f 100%);
}

/* ------------------------------
   TYPOGRAPHY (MOBILE-FIRST)
------------------------------ */

h1, h2, h3, h4, h5, h6 {
    color: #f2f2f2;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.12);
}

h1, .hero-title, .main-title {
    font-size: 28px;
}

h2, .section-title {
    font-size: 22px;
}

h3 {
    font-size: 18px;
}

p {
    font-size: 16px;
    color: #e4e4e4;
    line-height: 1.65;
    font-weight: 300;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.10),
        0 0 12px rgba(255, 255, 255, 0.06);
}

.subtitle-text,
.muted {
    font-size: 14px;
    color: var(--text-muted);
}

/* ------------------------------
   BASE LAYOUT
------------------------------ */

.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 16px 40px;
}
/* ============================================================
   AMBIDEXTER FORGE — HEADER + NAVIGATION
   Mobile-first, clean, optimized
   ============================================================ */

/* ------------------------------
   HEADER (mobile-first)
------------------------------ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    backdrop-filter: blur(14px);
    background: linear-gradient(
        to bottom,
        rgba(2, 3, 10, 0.96),
        rgba(2, 3, 10, 0.85),
        transparent
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* ------------------------------
   BRAND
------------------------------ */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-box {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.4), transparent 55%),
        radial-gradient(circle at 50% 100%, rgba(255, 123, 44, 0.9), transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b0b10;
    box-shadow: var(--shadow-glow-orange);
}

.logo-box i {
    font-size: 18px;
}

.brand-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.subtitle {
    font-size: 11px;
    color: var(--text-muted);
}

/* ------------------------------
   MOBILE NAVIGATION
------------------------------ */

/* Бургер-кнопка */
.nav-toggle {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: rgba(5, 10, 25, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: #fff;
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
}

.nav-toggle span::before {
    top: -6px;
}

.nav-toggle span::after {
    top: 6px;
}

/* Выпадающее меню */
.mobile-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(5, 10, 25, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: none;
    flex-direction: column;
    padding: 12px 16px 20px;
    gap: 12px;
    z-index: 29;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color 0.25s ease;
}

.mobile-nav a:hover {
    color: var(--accent-cyan);
}

/* ------------------------------
   DESKTOP NAVIGATION (hidden on mobile)
------------------------------ */

.main-nav {
    display: none;
}

/* ------------------------------
   DESKTOP OVERRIDES
------------------------------ */

@media (min-width: 1024px) {

    /* Показываем десктоп-меню */
    .main-nav {
        display: block;
        margin-left: auto;
    }

    .main-nav ul {
        display: flex;
        gap: 22px;
        list-style: none;
    }

    .nav-link {
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.18em;
        color: var(--text-muted);
        position: relative;
        padding-bottom: 4px;
        white-space: nowrap;
        transition: color 0.3s ease;
    }

    /* Линия под ссылкой */
    .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 2px;
        width: 0;
        background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
        transition: width 0.3s ease;
    }

    .nav-link:hover {
        color: var(--text-main);
    }

    .nav-link:hover::after {
        width: 100%;
    }

    /* Прячем бургер и мобильное меню */
    .nav-toggle,
    .mobile-nav {
        display: none !important;
    }
}
/* ============================================================
   AMBIDEXTER FORGE — HERO SECTION
   Mobile-first, clean, optimized, effects on desktop only
   ============================================================ */

/* ------------------------------
   HERO — MOBILE FIRST
------------------------------ */

.hero-forge {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 16px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Бейдж */
.badge-forge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(5, 10, 25, 0.8);
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

/* Заголовок */
.hero-title {
    font-size: 26px;
    line-height: 1.15;
    margin-bottom: 10px;
}

/* Подзаголовок */
.hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 100%;
}

/* Кнопки */
.hero-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Метаданные */
.hero-meta {
    margin-top: 18px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-meta-item {
    min-width: 120px;
}

.hero-meta-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.hero-meta-value {
    font-size: 16px;
    font-weight: 600;
}

/* Правая часть HERO — на мобилке под текстом */
.hero-right {
    display: flex;
    justify-content: flex-start;
}

/* Карточка 3D-анвила */
.hero-anvil-card {
    padding: 16px 14px;
    max-width: 100%;
}

/* 3D‑сцена — отключена на мобилках */
.hero-anvil-3d,
.anvil-shape,
.hammer-shape {
    display: none;
}

/* ------------------------------
   ЛЁГКИЕ ЭФФЕКТЫ НА МОБИЛКАХ
------------------------------ */

.hero-forge .glass-card,
.hero-forge .hero-anvil-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-forge .glass-card:hover,
.hero-forge .hero-anvil-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* ------------------------------
   HERO — TABLET (min-width: 768px)
------------------------------ */

@media (min-width: 768px) {
    .hero-forge {
        padding-top: 110px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
        max-width: 480px;
    }

    .hero-forge {
        gap: 32px;
    }
}

/* ------------------------------
   HERO — DESKTOP (min-width: 1024px)
   Включаем ВСЕ эффекты
------------------------------ */

@media (min-width: 1024px) {

    /* Две колонки */
    .hero-forge {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: center;
        gap: 40px;
        padding-top: 120px;
    }

    /* 3D‑сцена включается */
    .hero-anvil-3d {
        display: block;
        position: relative;
        height: 160px;
        margin-bottom: 10px;
    }

    /* 3D‑анвил */
    .anvil-shape {
        display: block;
        position: absolute;
        left: 10%;
        bottom: 20px;
        width: 80%;
        height: 60px;
        background: linear-gradient(180deg, rgba(10, 18, 40, 0.9), #05060c);
        border-radius: 16px 16px 10px 10px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
    }

    .anvil-shape::before {
        content: "";
        position: absolute;
        left: 18%;
        top: -18px;
        width: 64%;
        height: 18px;
        background: linear-gradient(180deg, rgba(44, 242, 255, 0.4), rgba(10, 18, 40, 0.9));
        border-radius: 12px 12px 4px 4px;
    }

    /* 3D‑молот */
    .hammer-shape {
        display: block;
        position: absolute;
        right: 18%;
        top: 18px;
        width: 80px;
        height: 80px;
        transform-origin: bottom left;
        animation: hammerHit 3.4s ease-in-out infinite;
    }

    .hammer-shape::before {
        content: "";
        position: absolute;
        left: 26px;
        top: 0;
        width: 40px;
        height: 26px;
        background: linear-gradient(135deg, rgba(255, 123, 44, 0.9), rgba(44, 242, 255, 0.6));
        border-radius: 6px;
    }

    .hammer-shape::after {
        content: "";
        position: absolute;
        left: 40px;
        top: 24px;
        width: 8px;
        height: 46px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(10, 18, 40, 0.9));
        border-radius: 999px;
    }

    @keyframes hammerHit {
        0% { transform: rotate(-18deg); }
        40% { transform: rotate(0deg); }
        50% { transform: rotate(-4deg); }
        100% { transform: rotate(-18deg); }
    }

    /* Hover‑эффекты на десктопе */
    .hero-forge .glass-card:hover,
    .hero-forge .hero-anvil-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
    }
}
/* ============================================================
   AMBIDEXTER FORGE — GRID SYSTEM + CARDS
   Mobile-first, optimized, effects on desktop only
   ============================================================ */

/* ------------------------------
   GRID SYSTEM (mobile-first)
------------------------------ */

.section-padding {
    padding: 32px 16px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.home-teaser-grid,
.services-grid,
.portfolio-grid,
.faq-grid,
.footer-contacts,
.about-stats-grid,
.about-process-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

/* ------------------------------
   CARDS — BASE
------------------------------ */

.glass-card {
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.teaser-card {
    padding: 14px 14px 12px;
}

.icon-box {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(44, 242, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

/* ------------------------------
   SERVICE / PORTFOLIO CARDS
------------------------------ */

.service-card,
.portfolio-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-img,
.portfolio-image {
    position: relative;
    overflow: hidden;
    max-height: 220px;
}

.card-img img,
.portfolio-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.4s ease-out, filter 0.4s ease-out;
}

.no-img-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 0, rgba(44, 242, 255, 0.18), transparent 60%),
                rgba(5, 10, 25, 0.96);
    color: var(--accent-cyan);
    font-size: 22px;
}

.card-info,
.portfolio-info {
    padding: 12px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.service-title,
.portfolio-title {
    font-size: 18px;
    font-weight: 600;
    color: #f2f2f2;
    text-shadow: 0 0 10px rgba(255,255,255,0.18);
}

.short-desc,
.portfolio-short {
    font-size: 14px;
    color: var(--text-muted);
}

/* ------------------------------
   TAGS INSIDE CARDS
------------------------------ */

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.tag-pill {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 10, 25, 0.9);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ------------------------------
   PRICE BADGE
------------------------------ */

.price-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(5, 10, 25, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.price-label {
    font-size: 11px;
    color: var(--text-muted);
}

.price-value {
    font-size: 15px;
    font-weight: 600;
}

.price-currency {
    font-size: 11px;
    color: var(--text-muted);
}

/* ------------------------------
   LIGHT MOBILE EFFECTS
------------------------------ */

.glass-card:hover,
.service-card:hover,
.portfolio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}

/* ------------------------------
   TABLET OVERRIDES (min-width: 768px)
------------------------------ */

@media (min-width: 768px) {

    .home-teaser-grid,
    .services-grid,
    .portfolio-grid,
    .faq-grid,
    .footer-contacts,
    .about-stats-grid,
    .about-process-grid,
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-img img,
    .portfolio-image img {
        height: 240px;
    }

    .service-title,
    .portfolio-title {
        font-size: 20px;
    }
}

/* ------------------------------
   DESKTOP OVERRIDES (min-width: 1024px)
   Включаем ВСЕ эффекты
------------------------------ */

@media (min-width: 1024px) {

    .home-teaser-grid,
    .services-grid,
    .portfolio-grid,
    .faq-grid,
    .footer-contacts,
    .about-stats-grid,
    .about-process-grid,
    .contact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* Hover-эффекты на десктопе */
    .service-card-link:hover img,
    .portfolio-card-link:hover img {
        transform: scale(1.06);
        filter: saturate(1.2);
    }

    .glass-card:hover,
    .service-card:hover,
    .portfolio-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.65);
    }

    .card-img img,
    .portfolio-image img {
        height: 260px;
    }
}
/* ============================================================
   AMBIDEXTER FORGE — ABOUT PAGE
   Mobile-first, optimized, effects on desktop only
   ============================================================ */

/* ------------------------------
   ABOUT HERO — MOBILE FIRST
------------------------------ */

.about-hero {
    padding-top: 96px;
    padding-inline: 16px;
}

.about-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-hero-title {
    font-size: 26px;
    line-height: 1.15;
    margin-bottom: 10px;
}

.about-hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 100%;
}

/* Points */
.about-hero-points {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.about-point-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.about-point-value {
    font-size: 14px;
    font-weight: 600;
}

/* Actions */
.about-hero-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Right side */
.about-hero-right {
    display: flex;
    justify-content: flex-start;
}

/* 3D‑forge — отключено на мобилках */
.about-forge-3d,
.forge-3d-scene,
.forge-anvil-3d,
.forge-hammer-3d,
.forge-sparks-3d {
    display: none;
}

/* ------------------------------
   ABOUT BLOCKS
------------------------------ */

.about-block {
    margin-top: 20px;
}

.about-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 16px;
}

.about-text-lead {
    font-size: 16px;
    margin-bottom: 8px;
}

.about-text-body {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 10px;
}

.about-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.about-checklist strong {
    color: var(--text-main);
}

/* Side note */
.about-side-note {
    display: flex;
}

.about-side-card {
    padding: 16px 14px;
    border-radius: var(--radius-md);
    background: rgba(5, 10, 25, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: var(--text-muted);
}

.about-side-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-cyan);
    margin-bottom: 6px;
}

/* ------------------------------
   ABOUT STATS
------------------------------ */

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.about-stat-card {
    padding: 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
    position: relative;
}

.about-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.about-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 6px;
}

.about-stat-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ------------------------------
   ABOUT PROCESS
------------------------------ */

.about-process-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.about-process-card {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
}

.about-process-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.about-process-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.about-process-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: var(--text-muted);
}

.about-process-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(44, 242, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

/* ------------------------------
   ABOUT TRUST
------------------------------ */

.about-trust-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-trust-main {
    padding: 18px;
}

.about-trust-side {
    padding: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.about-note {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ------------------------------
   TABLET OVERRIDES (min-width: 768px)
------------------------------ */

@media (min-width: 768px) {

    .about-hero-title {
        font-size: 32px;
    }

    .about-hero-subtitle {
        font-size: 17px;
        max-width: 520px;
    }

    .about-hero-grid {
        gap: 32px;
    }

    .about-hero-points {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-flex {
        flex-direction: row;
        gap: 24px;
    }

    .about-stats-grid,
    .about-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ------------------------------
   DESKTOP OVERRIDES (min-width: 1024px)
   Включаем ВСЕ эффекты
------------------------------ */

@media (min-width: 1024px) {

    /* Две колонки в hero */
    .about-hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: center;
    }

    .about-hero-right {
        justify-content: flex-end;
    }

    /* 3D‑forge включается */
    .about-forge-3d,
    .forge-3d-scene,
    .forge-anvil-3d,
    .forge-hammer-3d,
    .forge-sparks-3d {
        display: block;
    }

    .forge-3d-scene {
        position: relative;
        height: 170px;
        margin-bottom: 10px;
    }

    .forge-anvil-3d {
        position: absolute;
        left: 8%;
        bottom: 24px;
        width: 84%;
        height: 64px;
        background: linear-gradient(180deg, rgba(15, 22, 45, 0.95), #05060c);
        border-radius: 18px 18px 10px 10px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
    }

    .forge-anvil-3d::before {
        content: "";
        position: absolute;
        left: 20%;
        top: -18px;
        width: 60%;
        height: 18px;
        background: linear-gradient(180deg, rgba(200, 210, 255, 0.4), rgba(10, 18, 40, 0.95));
        border-radius: 12px 12px 4px 4px;
    }

    .forge-hammer-3d {
        position: absolute;
        right: 16%;
        top: 18px;
        width: 82px;
        height: 82px;
        transform-origin: bottom left;
        animation: forgeHammerHit 3.6s ease-in-out infinite;
    }

    .forge-hammer-3d::before {
        content: "";
        position: absolute;
        left: 26px;
        top: 0;
        width: 42px;
        height: 26px;
        background: linear-gradient(135deg, #ffb347, #ff7b2c);
        border-radius: 6px;
        box-shadow: 0 0 18px rgba(255, 123, 44, 0.6);
    }

    .forge-hammer-3d::after {
        content: "";
        position: absolute;
        left: 40px;
        top: 24px;
        width: 8px;
        height: 48px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(10, 10, 15, 0.95));
        border-radius: 999px;
    }

    @keyframes forgeHammerHit {
        0% { transform: rotate(-18deg); }
        40% { transform: rotate(0deg); }
        55% { transform: rotate(-5deg); }
        100% { transform: rotate(-18deg); }
    }

    /* Desktop grids */
    .about-stats-grid,
    .about-process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-trust-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    }
}
/* ============================================================
   AMBIDEXTER FORGE — CONTACT PAGE + FORM + LIGHTBOX
   Mobile-first, optimized, effects on desktop only
   ============================================================ */

/* ------------------------------
   CONTACT SECTION — MOBILE FIRST
------------------------------ */

.contact-premium {
    padding: 50px 16px;
    background: linear-gradient(
        180deg,
        rgba(5,10,25,0.6),
        rgba(5,10,25,0.95)
    );
}

/* Заголовки */
.contact-title {
    font-size: 24px;
    margin-bottom: 6px;
    text-shadow: 0 0 14px rgba(44, 242, 255, 0.45);
}

.contact-subtitle {
    font-size: 15px;
    color: var(--text-muted);
}

/* ------------------------------
   CONTACT GRID
------------------------------ */

.contact-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.contact-card {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
    transition: 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 14px rgba(44, 242, 255, 0.25);
}

/* ------------------------------
   CONTACT FORM — MOBILE FIRST
------------------------------ */

.contact-form-card {
    margin-top: 30px;
    padding: 26px;
    border-radius: 20px;
    background: radial-gradient(
        circle at top left,
        rgba(77,166,255,0.18),
        rgba(0,0,0,0.75)
    );
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 45px rgba(0,0,0,0.75);
}

/* Заголовок формы */
.contact-form-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-form-header .section-title {
    margin-bottom: 0;
}

/* Тип заявки */
.contact-type-tabs {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.08);
    gap: 4px;
}

.contact-type-tab {
    border: none;
    background: transparent;
    color: #bfc7d9;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.contact-type-tab.active {
    background: linear-gradient(135deg, #4da6ff, #7b5cff);
    color: #fff;
    box-shadow: 0 0 14px rgba(77,166,255,0.6);
}

/* ------------------------------
   FORM FIELDS
------------------------------ */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form .form-row-2,
.contact-form .form-row-3 {
    display: grid;
    gap: 16px;
}

.contact-form .form-row-2 {
    grid-template-columns: 1fr;
}

.contact-form .form-row-3 {
    grid-template-columns: 1fr;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #e6e6e6;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(3, 7, 18, 0.85);
    color: #fff;
    font-size: 15px;
    transition: all 0.18s ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #4da6ff;
    box-shadow: 0 0 10px rgba(77,166,255,0.45);
}

/* ------------------------------
   CHANNEL OPTIONS
------------------------------ */

.channel-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.channel-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.55);
    color: #d5def5;
    font-size: 14px;
    cursor: pointer;
    transition: 0.18s ease;
}

.channel-pill.active {
    border-color: #4da6ff;
    background: radial-gradient(
        circle at top left,
        rgba(77,166,255,0.35),
        rgba(0,0,0,0.9)
    );
    box-shadow: 0 0 12px rgba(77,166,255,0.6);
    color: #fff;
}

/* ------------------------------
   FILE UPLOAD
------------------------------ */

.file-input-wrapper {
    position: relative;
    border-radius: 12px;
    border: 1px dashed rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.55);
    padding: 14px 16px;
    cursor: pointer;
    transition: 0.18s ease;
}

.file-input-wrapper:hover {
    border-color: #4da6ff;
    box-shadow: 0 0 10px rgba(77,166,255,0.4);
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-input-label-main {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e6e6e6;
    font-size: 14px;
}

.file-input-label-main i {
    color: #4da6ff;
}

.file-input-hint {
    margin-top: 4px;
    font-size: 12px;
    color: #9aa3b8;
}

/* ------------------------------
   CAPTCHA
------------------------------ */

.captcha-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.captcha-question {
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.12);
    font-weight: 600;
    color: #e6e6e6;
    font-size: 14px;
}

/* ------------------------------
   SUBMIT BUTTON
------------------------------ */

.contact-form button.btn-main {
    margin-top: 6px;
    padding: 14px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* ------------------------------
   TABLET OVERRIDES (min-width: 768px)
------------------------------ */

@media (min-width: 768px) {

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form .form-row-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form .form-row-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ------------------------------
   DESKTOP OVERRIDES (min-width: 1024px)
   Включаем премиальные эффекты
------------------------------ */

@media (min-width: 1024px) {

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 0 22px rgba(44, 242, 255, 0.35);
    }
}

/* ============================================================
   LIGHTBOX (zoom image)
============================================================ */

.zoomable-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.zoomable-image:hover {
    transform: scale(1.02);
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    inset: 0;
    background-color: rgba(0,0,0,0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.image-modal .modal-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.8);
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--accent-orange);
}
/* ============================================================
   AMBIDEXTER FORGE — FOOTER + FAQ + GLOBAL EFFECTS
   Mobile-first, optimized, effects on desktop only
   ============================================================ */

/* ------------------------------
   FOOTER — MOBILE FIRST
------------------------------ */

footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

.footer-top-cta {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    background: radial-gradient(circle at 0 0, rgba(44, 242, 255, 0.12), transparent 60%),
                rgba(5, 10, 25, 0.96);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-top-text h2 {
    font-size: 18px;
    margin-bottom: 4px;
}

.footer-top-text p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-contacts {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    font-size: 14px;
}

.footer-col h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-col i {
    margin-right: 6px;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

/* ------------------------------
   FAQ — MOBILE FIRST
------------------------------ */

.faq-section {
    margin-top: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 12px;
}

.faq-item {
    padding: 14px 14px 12px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(6px);
}

.faq-item h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ------------------------------
   GLOBAL EFFECTS — MOBILE FIRST
------------------------------ */

/* Fade-up (лёгкий на телефонах) */
.fade-up {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card appear */
.card-appear {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    animation: cardFadeIn 0.45s ease forwards;
}

@keyframes cardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Tag glow (мягкий на телефонах) */
.tag-pill-light,
.tag-pill-dark,
.tag-filter-pill {
    opacity: 0;
    transform: translateY(6px);
    animation: tagFade 0.45s ease forwards;
}

@keyframes tagFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover — лёгкий на телефонах */
.tag-pill-light:hover,
.tag-pill-dark:hover,
.tag-filter-pill:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 10px rgba(44, 242, 255, 0.25);
}

/* ------------------------------
   TABLET OVERRIDES (min-width: 768px)
------------------------------ */

@media (min-width: 768px) {

    .footer-top-cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .footer-contacts {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ------------------------------
   DESKTOP OVERRIDES (min-width: 1024px)
   Включаем ВСЕ эффекты
------------------------------ */

@media (min-width: 1024px) {

    .footer-contacts {
        grid-template-columns: repeat(3, 1fr);
    }

    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Tag hover — премиальный */
    .tag-pill-light:hover,
    .tag-pill-dark:hover,
    .tag-filter-pill:hover {
        transform: translateY(-3px) scale(1.06);
        box-shadow: 0 0 18px rgba(44, 242, 255, 0.45);
        border-color: var(--accent-cyan);
        color: var(--accent-cyan);
    }

    /* Fade-up — более сильный */
    .fade-up {
        transform: translateY(18px);
    }

    /* Card hover — премиальный */
    .glass-card:hover,
    .service-card:hover,
    .portfolio-card:hover,
    .contact-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.65);
    }
}
/* ============================================================
   AMBIDEXTER FORGE — ADMIN PANEL
   Mobile-first, optimized, effects on desktop only
   ============================================================ */

/* ------------------------------
   ADMIN WRAPPER
------------------------------ */

.admin-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 96px 16px 60px;
}

/* Заголовок */
.admin-header {
    margin-bottom: 26px;
}

.back-link-admin {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--accent-cyan);
    opacity: 0.7;
    transition: 0.25s ease;
}

.back-link-admin:hover {
    opacity: 1;
}

/* ------------------------------
   ADMIN ACTIONS
------------------------------ */

.admin-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.admin-btn {
    padding: 12px 20px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    font-size: 14px;
    transition: 0.25s ease;
}

.admin-btn:hover {
    background: rgba(255,255,255,0.12);
}

.logout-btn {
    color: var(--accent-orange);
}

/* ------------------------------
   ADMIN SECTIONS
------------------------------ */

.admin-section {
    margin-top: 40px;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: rgba(10, 18, 40, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
}

/* ------------------------------
   ADMIN TABLE
------------------------------ */

.admin-table {
    margin-top: 16px;
    width: 100%;
    display: grid;
    gap: 10px;
}

.admin-table-header,
.admin-table-row {
    display: grid;
    grid-template-columns: 60px 1.4fr 1fr 120px 1fr 140px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    align-items: center;
}

.admin-table-header {
    background: rgba(255,255,255,0.08);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-cyan);
}

.admin-table-row {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition: 0.25s ease;
}

.admin-table-row:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

/* Tags */
.admin-tags {
    font-size: 12px;
    color: var(--text-muted);
}

/* Actions */
.admin-actions-cell {
    display: flex;
    gap: 8px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    transition: 0.25s ease;
}

.btn-small:hover {
    background: rgba(255,255,255,0.22);
}

.btn-small.danger {
    color: #ff4d4d;
    border-color: rgba(255,77,77,0.4);
}

/* ------------------------------
   ADMIN FORMS (Add Service / Portfolio)
------------------------------ */

.admin-form {
    padding: 26px;
    border-radius: var(--radius-lg);
    background: rgba(10, 18, 40, 0.55);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Form groups */
.admin-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-cyan);
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-main);
    transition: 0.25s ease;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(44,242,255,0.25);
}

.input-hint {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.8;
}

/* Form rows */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Submit */
.admin-submit {
    margin-top: 10px;
}

.full-width {
    width: 100%;
}

/* ------------------------------
   TABLET OVERRIDES (min-width: 768px)
------------------------------ */

@media (min-width: 768px) {

    .form-row-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .admin-table-header,
    .admin-table-row {
        grid-template-columns: 50px 1fr 1fr 1fr;
    }

    .admin-actions-cell {
        flex-wrap: wrap;
    }
}

/* ------------------------------
   DESKTOP OVERRIDES (min-width: 1024px)
------------------------------ */

@media (min-width: 1024px) {

    .admin-wrapper {
        padding-top: 110px;
    }

    .admin-table-header,
    .admin-table-row {
        grid-template-columns: 60px 1.4fr 1fr 120px 1fr 140px;
    }

    .admin-table-row:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.45);
    }
}
/* ============================================================
   AMBIDEXTER FORGE — GLOBAL MEDIA QUERIES + EFFECTS + CLEANUP
   Final optimization layer
   ============================================================ */

/* ------------------------------------------------------------
   MOBILE-FIRST EFFECTS (включены всегда)
------------------------------------------------------------ */

/* Лёгкий hover */
.hover-soft:hover {
    transform: translateY(-2px);
    transition: 0.25s ease;
}

/* Лёгкая тень */
.shadow-soft {
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* Fade-up (мягкий) */
.fade-up {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card appear */
.card-appear {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    animation: cardFadeIn 0.45s ease forwards;
}

@keyframes cardFadeIn {
    0% { opacity: 0; transform: translateY(10px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ------------------------------------------------------------
   MOBILE CLEANUP — отключаем тяжёлые эффекты
------------------------------------------------------------ */

@media (max-width: 1023px) {

    /* Отключаем параллакс */
    .bg-anvil,
    .bg-hammer {
        display: none !important;
    }

    /* Отключаем 3D-анимации */
    .anvil-shape,
    .hammer-shape,
    .forge-anvil-3d,
    .forge-hammer-3d,
    .forge-sparks-3d {
        display: none !important;
    }

    /* Отключаем молоток и искры */
    .button-hammer,
    .button-sparks {
        display: none !important;
    }

    /* Отключаем tilt */
    .tilt-card {
        transform: none !important;
        transition: none !important;
    }

    /* Убираем backdrop-filter (тормозит на мобилках) */
    .glass-card,
    .contact-premium,
    .admin-section,
    .contact-form-card {
        backdrop-filter: none !important;
        background: rgba(10, 10, 20, 0.85) !important;
    }

    /* Уменьшаем тени */
    .glass-card,
    .service-card,
    .portfolio-card {
        box-shadow: 0 6px 16px rgba(0,0,0,0.35) !important;
    }
}

/* ------------------------------------------------------------
   TABLET (min-width: 768px)
------------------------------------------------------------ */

@media (min-width: 768px) {

    body {
        font-size: 17px;
    }

    h1, .hero-title, .main-title {
        font-size: 34px;
    }

    h2, .section-title {
        font-size: 26px;
    }

    p {
        font-size: 17px;
    }
}

/* ------------------------------------------------------------
   DESKTOP (min-width: 1024px)
   Включаем ВСЕ эффекты
------------------------------------------------------------ */

@media (min-width: 1024px) {

    body {
        font-size: 18px;
    }

    h1, .hero-title, .main-title {
        font-size: 42px;
    }

    h2, .section-title {
        font-size: 32px;
    }

    /* Параллакс включён */
    .bg-anvil,
    .bg-hammer {
        display: block;
    }

    /* 3D-анимации включены */
    .anvil-shape,
    .hammer-shape,
    .forge-anvil-3d,
    .forge-hammer-3d,
    .forge-sparks-3d {
        display: block;
    }

    /* Молоток и искры включены */
    .button-hammer,
    .button-sparks {
        display: block;
    }

    /* Tilt включён */
    .tilt-card {
        transform-style: preserve-3d;
        transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    }

    .tilt-card:hover {
        transform: rotateX(6deg) rotateY(-6deg);
        box-shadow: 0 18px 40px rgba(0,0,0,0.65);
    }

    /* Backdrop-filter включён */
    .glass-card,
    .contact-premium,
    .admin-section,
    .contact-form-card {
        backdrop-filter: blur(14px) !important;
    }

    /* Премиальные hover-эффекты */
    .glass-card:hover,
    .service-card:hover,
    .portfolio-card:hover,
    .contact-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.65);
    }

    /* Премиальный glow для тегов */
    .tag-pill-light:hover,
    .tag-pill-dark:hover,
    .tag-filter-pill:hover {
        transform: translateY(-3px) scale(1.06);
        box-shadow: 0 0 18px rgba(44, 242, 255, 0.45);
        border-color: var(--accent-cyan);
        color: var(--accent-cyan);
    }
}

/* ------------------------------------------------------------
   LARGE DESKTOP (min-width: 1440px)
------------------------------------------------------------ */

@media (min-width: 1440px) {

    .main-wrapper,
    .section-padding,
    .hero-forge,
    footer {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 36px;
    }
}

/* ------------------------------------------------------------
   FINAL CLEANUP — удаляем старые классы, если они остались
------------------------------------------------------------ */

.site-footer {
    display: none !important; /* старый футер */
}

.metal-bg::before {
    content: none !important; /* убираем лишние затемнения */
}
/* ============================================================
   GLOBAL BUTTON SYSTEM — FIX ALL BUTTONS
   ============================================================ */

.btn,
.btn-main,
.btn-accent,
.btn-ghost,
.btn-small,
.btn-action,
.btn-consult,
.btn-telegram,
.btn-contact,
.button,
a.btn,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 22px;
    border-radius: 12px;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;

    background: linear-gradient(135deg, #4da6ff, #7b5cff);
    color: #fff;

    border: 1px solid rgba(255,255,255,0.18);

    cursor: pointer;
    transition: 0.25s ease;
    text-align: center;
}

/* Иконки */
.btn i,
.button i {
    font-size: 16px;
    opacity: 0.9;
}

/* Hover */
.btn:hover,
.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 14px rgba(77,166,255,0.45);
}

/* Active (нажатие) */
.btn:active,
.button:active {
    transform: translateY(0);
    box-shadow: 0 0 6px rgba(77,166,255,0.35);
}

/* Ghost‑кнопки (прозрачные) */
.btn-ghost,
.btn-outline,
.btn-transparent {
    background: rgba(255,255,255,0.06);
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.18);
}

.btn-ghost:hover,
.btn-outline:hover,
.btn-transparent:hover {
    background: rgba(255,255,255,0.12);
}

/* Маленькие кнопки */
.btn-small {
    padding: 8px 14px;
    font-size: 13px;
}
/* ============================================================
   SERVICE FILTER BUTTONS — TRANSPARENT STYLE
   ============================================================ */

.service-filters,
.tags-filter,
.tags-filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 26px;
}

.filter-btn,
.tag-filter-pill,
.service-filter-btn {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;

    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--text-muted);

    cursor: pointer;
    transition: 0.25s ease;
}

/* Hover */
.filter-btn:hover,
.tag-filter-pill:hover,
.service-filter-btn:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.12);
    color: var(--accent-cyan);
    border-color: rgba(44, 242, 255, 0.35);
}

/* Active */
.filter-btn.active,
.tag-filter-pill.active,
.service-filter-btn.active {
    background: linear-gradient(135deg, #4da6ff, #7b5cff);
    color: #fff;
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 0 18px rgba(77,166,255,0.55);
    transform: translateY(-2px);
}
/* ============================================================
   MOBILE OPTIMIZATION FOR ALL BUTTONS
   ============================================================ */

@media (max-width: 480px) {
    .btn,
    .button,
    .filter-btn,
    .tag-filter-pill,
    .service-filter-btn {
        padding: 10px 18px;
        font-size: 14px;
        border-radius: 10px;
    }
}
/* ============================================================
   DESKTOP PREMIUM EFFECTS
   ============================================================ */

@media (min-width: 1024px) {

    .btn:hover,
    .button:hover {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 0 22px rgba(77,166,255,0.65);
    }

    .filter-btn:hover,
    .tag-filter-pill:hover,
    .service-filter-btn:hover {
        transform: translateY(-3px) scale(1.06);
        box-shadow: 0 0 18px rgba(44, 242, 255, 0.45);
        border-color: var(--accent-cyan);
        color: var(--accent-cyan);
    }
}
.about-hero {
    background-image: url("/static/img/backgrounds/metal-bg.jpg");
    background-size: cover;
    background-position: center;
}
/* ============================================================
   MOBILE MENU FIX — чтобы меню было видно на телефонах
   ============================================================ */

/* Показываем бургер на телефонах */
@media (max-width: 1023px) {
    .nav-toggle {
        display: flex !important;
    }

    /* Прячем десктоп-меню */
    .main-nav {
        display: none !important;
    }

    /* Показываем мобильное меню */
    .mobile-nav {
        display: none;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
        background: rgba(5,10,25,0.96);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    /* Когда меню открыто */
    .mobile-nav.open {
        display: flex !important;
    }

    /* Ссылки в мобильном меню */
    .mobile-nav a {
        font-size: 16px;
        padding: 10px 0;
        color: #e6e6e6;
        font-weight: 600;
        letter-spacing: 0.04em;
        transition: 0.25s ease;
    }

    .mobile-nav a:hover {
        color: var(--accent-cyan);
        transform: translateX(4px);
    }
}
/* ============================================================
   BURGER MENU FIX — чтобы бургер был виден и работал
   ============================================================ */

/* Показываем бургер на телефонах */
@media (max-width: 1023px) {

    /* Контейнер хедера */
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999; /* поверх всего */
    }

    /* Контейнер внутри */
    .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Делаем бургер видимым */
    .nav-toggle {
        display: flex !important;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: rgba(5,10,25,0.9);
        border: 1px solid rgba(255,255,255,0.18);
        align-items: center;
        justify-content: center;
        z-index: 99999;
    }

    /* Полоски бургера */
    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
        background: #fff !important;
        width: 20px;
        height: 2px;
        border-radius: 2px;
    }

    .nav-toggle span::before {
        top: -6px;
    }

    .nav-toggle span::after {
        top: 6px;
    }

    /* Прячем десктоп-меню */
    .main-nav {
        display: none !important;
    }

    /* Мобильное меню */
    .mobile-nav {
        display: none;
        flex-direction: column;
        gap: 14px;
        padding: 18px 16px;
        background: rgba(5,10,25,0.96);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 9998;
    }

    /* Когда открыто */
    .mobile-nav.open {
        display: flex !important;
    }

    /* Ссылки */
    .mobile-nav a {
        font-size: 16px;
        padding: 10px 0;
        color: #e6e6e6;
        font-weight: 600;
        letter-spacing: 0.04em;
        transition: 0.25s ease;
    }

    .mobile-nav a:hover {
        color: var(--accent-cyan);
        transform: translateX(4px);
    }
}
@media (max-width: 1023px) {

    .nav-toggle {
        display: flex !important;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: rgba(5,10,25,0.9);
        border: 1px solid rgba(255,255,255,0.18);
        align-items: center;
        justify-content: center;
        z-index: 99999;
    }

    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
        content: "";
        background: #fff;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        position: relative;
        display: block;
    }

    .nav-toggle span::before {
        position: absolute;
        top: -6px;
    }

    .nav-toggle span::after {
        position: absolute;
        top: 6px;
    }

    .main-nav {
        display: none !important;
    }

    .mobile-nav {
        display: none;
        flex-direction: column;
        gap: 14px;
        padding: 18px 16px;
        background: rgba(5,10,25,0.96);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 9998;
    }

    .mobile-nav.open {
        display: flex !important;
    }
}

/* ============================================================
   FLOATING TELEGRAM BUTTON — FIX & MOBILE OPTIMIZATION
   ============================================================ */

.right-sidebar {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    pointer-events: none; /* чтобы не мешал кликам по странице */
}

.social-dock {
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: auto; /* но кнопка кликабельна */
}

.dock-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4da6ff, #7b5cff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 0 18px rgba(77,166,255,0.45);
    transition: 0.25s ease;
}

.dock-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 0 26px rgba(77,166,255,0.65);
}

/* MOBILE OPTIMIZATION */
@media (max-width: 480px) {
    .right-sidebar {
        bottom: 18px;
        right: 18px;
    }

    .dock-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
        box-shadow: 0 0 14px rgba(77,166,255,0.45);
    }
}
/* ============================================================
   FINAL FIX + ANIMATIONS: Catalog visible on mobile + smooth UI
   Paste this at the VERY END of style_v3.css
   ============================================================ */

/* --- A) FIX: catalog grid missing --- */
.catalog-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  width:100%;
  margin-top:18px;
}
@media (min-width:768px){
  .catalog-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (min-width:1024px){
  .catalog-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); }
}

/* Обёртка кликабельной карточки */
.catalog-card-link{
  display:block;
  opacity:1;
  transform:none;
}
/* ===== CLEAN CATALOG FIX ===== */

.catalog-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  margin-top:24px;
}

@media (min-width:768px){
  .catalog-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:1024px){
  .catalog-grid{ grid-template-columns:repeat(3,1fr); }
}

.catalog-card{
  border-radius:18px;
  overflow:hidden;
  background:rgba(10,18,40,.65);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 45px rgba(0,0,0,.55);
  transition:.3s ease;
}

.catalog-card-img{
  height:240px;
  overflow:hidden;
}

.catalog-card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.6s ease;
}

.catalog-card-content{
  padding:18px;
  background:linear-gradient(180deg, rgba(6,10,24,.95), rgba(6,10,24,.85));
  display:flex;
  flex-direction:column;
  gap:10px;
}

.catalog-title{
  font-size:18px;
  font-weight:800;
}

.catalog-desc{
  font-size:14px;
  color:rgba(200,210,255,.75);
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.catalog-bottom{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:6px;
  border-top:1px solid rgba(255,255,255,.08);
}

@media (hover:hover){
  .catalog-card:hover{
    transform:translateY(-6px);
    box-shadow:0 22px 60px rgba(0,0,0,.65);
  }

  .catalog-card:hover img{
    transform:scale(1.08);
  }
}




