/* =========================================================================
   ГК «СЕМЁРОЧКА» — ULTRA-GLOSSY ARCHITECTURAL EXPERIENCE 3.0
   Премиальная дизайн-система с глубоким стеклом, анимациями и интерактивом
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Осветленная премиальная палитра: благородный хвойный графит, теплое стекло и золотистый янтарь */
    --bg-dark: #141e18;
    --bg-dark-surface: #1c2a22;
    --bg-glass-card: rgba(34, 50, 42, 0.82);
    --bg-glass-card-hover: rgba(42, 62, 52, 0.95);
    --bg-light-surface: #f4f7f5;
    
    --border-glass: rgba(255, 255, 255, 0.13);
    --border-glass-bright: rgba(255, 255, 255, 0.25);
    --border-accent: rgba(229, 154, 75, 0.45);
    
    --accent-gold: #e59a4b;
    --accent-gold-bright: #ffb86c;
    --accent-gold-glow: rgba(229, 154, 75, 0.28);
    
    --accent-emerald: #2ea069;
    --accent-emerald-light: #4ade80;
    
    --text-primary: #ffffff;
    --text-secondary: #d1ded6;
    --text-muted: #95ab9e;
    --text-dark: #121815;
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-glossy: 0 16px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    --shadow-card-hover: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(229, 154, 75, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    --shadow-glow: 0 0 35px rgba(229, 154, 75, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-color: #141e18;
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
}

.ambient-fx-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99;
    opacity: 1;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* =========================================================================
   ГЛЯНЦЕВЫЕ СТЕКЛЯННЫЕ ЭФФЕКТЫ (GLASSMORPHISM & SHIMMER)
   ========================================================================= */
.glass-panel {
    background: var(--bg-glass-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glossy);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.glass-panel:hover {
    border-color: var(--border-glass-bright);
    box-shadow: var(--shadow-card-hover);
}

/* =========================================================================
   ТИПОГРАФИКА
   ========================================================================= */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(229, 154, 75, 0.12);
    border: 1px solid rgba(229, 154, 75, 0.3);
    color: var(--accent-gold-bright);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    box-shadow: 0 0 15px rgba(229, 154, 75, 0.1);
}

.section-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 8px var(--accent-gold);
    animation: pulseGlow 2s infinite;
}

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

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
    color: #ffffff;
}

.section-title span {
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 50px;
    line-height: 1.65;
}

.section-header {
    text-align: center;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* =========================================================================
   КНОПКИ В СТИЛЕ ЛЮКС
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-gold {
    background: linear-gradient(135deg, #f0a654 0%, #d4822e 100%);
    color: #0c110e;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(212, 130, 46, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 130, 46, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, #ffb567 0%, #e08c35 100%);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass-bright);
    color: #ffffff;
}

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

.btn-sm {
    padding: 9px 18px;
    font-size: 12.5px;
}

.btn-lg {
    padding: 18px 38px;
    font-size: 15px;
    border-radius: var(--radius-md);
}

/* Эффект блика на кнопках */
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(25deg);
    transition: all 0.7s;
}

.btn:hover::after {
    left: 130%;
}

/* =========================================================================
   TOP STATUS BAR
   ========================================================================= */
.top-bar {
    background: rgba(8, 12, 10, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    padding: 10px 0;
    font-size: 12px;
    color: var(--text-muted);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-badges {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-item-highlight {
    color: var(--accent-gold-bright);
    font-weight: 600;
}

.top-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-socials a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.top-socials a:hover {
    color: var(--accent-gold-bright);
}

/* =========================================================================
   STICKY GLOSSY HEADER
   ========================================================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 14, 12, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-badge {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e2f26 0%, #121c17 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--accent-gold-bright);
    box-shadow: 0 0 20px rgba(229, 154, 75, 0.2);
    flex-shrink: 0;
}

.brand-info {
    white-space: nowrap;
}

.brand-info h1 {
    font-size: 16.5px;
    color: #ffffff;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.brand-info p {
    font-size: 9.5px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-weight: 700;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 16px;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s;
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

.phone-card {
    text-align: right;
    white-space: nowrap;
}

.phone-card a {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    display: block;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.phone-card span {
    font-size: 10px;
    color: var(--accent-emerald-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    white-space: nowrap;
}

/* =========================================================================
   CINEMATIC HERO SECTION С АНИМИРОВАННЫМ ФОТОФОНОМ
   ========================================================================= */
.hero {
    position: relative;
    padding: 85px 0 100px;
    background: #111a14;
    overflow: hidden;
}

.hero-bg-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-video, .hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.08) contrast(1.03) saturate(1.06);
    transition: transform 0.8s ease;
}

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

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: 
        linear-gradient(90deg, rgba(16, 26, 20, 0.74) 0%, rgba(16, 26, 20, 0.35) 46%, rgba(16, 26, 20, 0.04) 100%),
        linear-gradient(180deg, rgba(16, 26, 20, 0.08) 0%, rgba(16, 26, 20, 0.60) 100%);
    pointer-events: none;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.hero-headline {
    font-size: 52px;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: normal;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 38px;
    max-width: 580px;
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-glass);
}

.hero-stat-box .val {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--accent-gold-bright);
    display: block;
}

.hero-stat-box .lbl {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.3;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

/* HERO LIVE CONFIGURATOR WIDGET */
.hero-widget-card {
    background: linear-gradient(145deg, rgba(24, 38, 31, 0.85) 0%, rgba(14, 22, 18, 0.95) 100%);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(229, 154, 75, 0.12);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
}

.hero-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-glass);
}

.hero-widget-header h3 {
    font-size: 18px;
    color: #ffffff;
}

.widget-live-badge {
    background: rgba(46, 160, 105, 0.15);
    border: 1px solid var(--accent-emerald);
    color: var(--accent-emerald-light);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.form-row {
    margin-bottom: 16px;
}

.form-label-glossy {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.select-glossy, .input-glossy {
    width: 100%;
    padding: 12px 16px;
    background: rgba(10, 16, 13, 0.7);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 13.5px;
    outline: none;
    transition: all 0.2s;
}

.select-glossy:focus, .input-glossy:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(229, 154, 75, 0.2);
}

/* =========================================================================
   INTERACTIVE CATALOG GRID (AWARD-WINNING CARDS)
   ========================================================================= */
.catalog-section {
    background-color: #1b2921;
    background-image: radial-gradient(circle, rgba(229, 154, 75, 0.09) 1.2px, transparent 1.2px);
    background-size: 28px 28px;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    position: relative;
}

.catalog-navbar {
    background: rgba(28, 42, 35, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass-bright);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-pill.active {
    background: var(--accent-gold);
    color: #0c110e;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(229, 154, 75, 0.4);
    border-color: var(--accent-gold);
}

.filter-pill:hover:not(.active) {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.catalog-subfilters {
    display: flex;
    gap: 12px;
}

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

/* GLOSSY LUXURY PROJECT CARD */
.project-card {
    background: linear-gradient(160deg, rgba(38, 56, 47, 0.92) 0%, rgba(24, 36, 30, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(229, 154, 75, 0.5);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(229, 154, 75, 0.2);
}

.project-card-image-wrap {
    height: 240px;
    position: relative;
    overflow: hidden;
    background: #090e0c;
}

.project-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-card-image-wrap img {
    transform: scale(1.06);
}

.project-card-overlay {
    display: none;
}

.card-top-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.badge-style {
    background: rgba(12, 18, 15, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass-bright);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.badge-hit {
    background: linear-gradient(135deg, #d9822b 0%, #b86b1e 100%);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    box-shadow: 0 0 15px rgba(217, 130, 43, 0.5);
}

.project-card-body {
    padding: 24px 28px;
}

.project-name {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 6px;
}

.project-style-sub {
    font-size: 12px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 18px;
}

.project-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 22px;
}

.spec-cell {
    text-align: center;
}

.spec-cell .val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    color: #ffffff;
    display: block;
}

.spec-cell .lbl {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.card-pricing-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 22px;
}

.card-price-total {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.card-price-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.card-mortgage-pill {
    font-size: 11.5px;
    color: var(--accent-emerald-light);
    font-weight: 600;
    background: rgba(46, 160, 105, 0.12);
    border: 1px solid rgba(46, 160, 105, 0.3);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.project-card-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 28px 28px;
}

/* =========================================================================
   FULLSCREEN INTERACTIVE 3.0 PROJECT DRAWER / MODAL
   ========================================================================= */
.drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.drawer-backdrop.open {
    display: flex;
}

.drawer-container {
    background: linear-gradient(160deg, #131d18 0%, #0c120f 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 50px rgba(229, 154, 75, 0.15);
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: drawerPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawerPop {
    from { opacity: 0; transform: scale(0.96) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.drawer-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-nav-tabs {
    display: flex;
    gap: 10px;
}

.drawer-tab-btn {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.drawer-tab-btn.active {
    background: var(--accent-gold);
    color: #0c110e;
    font-weight: 700;
}

.drawer-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
}

.drawer-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.drawer-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* =========================================================================
   FACTORY & WOODWORKING REPUTATION SECTION
   ========================================================================= */
.factory-section {
    background-color: #15221b;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.016) 0, rgba(255, 255, 255, 0.016) 1px, transparent 1px, transparent 20px);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.factory-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.factory-stat-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fstat-card {
    background: rgba(36, 54, 45, 0.7);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.fstat-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    background: rgba(42, 64, 53, 0.9);
}

.fstat-card h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 8px;
}

.fstat-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* =========================================================================
   6-STEP INTERACTIVE ENGINEERING ACCORDION
   ========================================================================= */
.tech-section {
    background-color: #1a2720;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 36px 36px;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

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

.tech-step-box {
    background: linear-gradient(160deg, rgba(38, 56, 47, 0.85) 0%, rgba(24, 36, 30, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
    transition: all 0.35s ease;
    box-shadow: 0 14px 35px rgba(0,0,0,0.25);
}

.tech-step-box:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.4), 0 0 25px rgba(229, 154, 75, 0.2);
}

.tech-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: rgba(229, 154, 75, 0.45);
    margin-bottom: 12px;
}

.tech-step-box h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 10px;
}

.tech-step-box p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =========================================================================
   ИНЖЕНЕРНЫЕ СИСТЕМЫ И СЕПТИКИ ПОД КЛЮЧ
   ========================================================================= */
.engineering-section {
    background-color: #17241d;
    background-image: radial-gradient(circle, rgba(229, 154, 75, 0.08) 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

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

.eng-card {
    background: linear-gradient(160deg, rgba(36, 54, 44, 0.88) 0%, rgba(22, 34, 28, 0.96) 100%);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.eng-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.4), 0 0 25px rgba(229, 154, 75, 0.15);
}

.eng-card-img {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.eng-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.eng-card:hover .eng-card-img img {
    transform: scale(1.06);
}

.eng-card-body {
    padding: 24px;
}

.eng-card h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 6px;
}

.eng-card-sub {
    font-size: 12px;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.eng-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
}

.eng-features-list {
    list-style: none;
    margin-bottom: 20px;
    display: grid;
    gap: 6px;
}

.eng-features-list li {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.eng-features-list li span {
    color: var(--accent-emerald-light);
    font-weight: 700;
}

.eng-card-footer {
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eng-price {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-gold-bright);
}

/* =========================================================================
   ФУНДАМЕНТЫ И МАТЕРИАЛЫ
   ========================================================================= */
.foundations-section {
    background-color: #1a2820;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

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

.fnd-card {
    background: linear-gradient(160deg, rgba(34, 52, 42, 0.85) 0%, rgba(20, 32, 26, 0.95) 100%);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.fnd-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}

.fnd-card-img {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.fnd-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fnd-card-body {
    padding: 20px;
}

.fnd-card h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 8px;
}

.fnd-card p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
}

.fnd-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--accent-gold-bright);
    font-weight: 600;
    padding-top: 10px;
    border-top: 1px solid var(--border-glass);
}

/* =========================================================================
   РЕАЛЬНОЕ ПОРТФОЛИО СО СТРОЕК
   ========================================================================= */
.portfolio-section {
    background-color: #16231c;
    background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 0, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 18px);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

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

.portfolio-item-card {
    background: linear-gradient(160deg, rgba(34, 52, 42, 0.9) 0%, rgba(20, 32, 26, 0.98) 100%);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.portfolio-item-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.45), 0 0 25px rgba(229, 154, 75, 0.15);
}

.portfolio-img-box {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.portfolio-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item-card:hover .portfolio-img-box img {
    transform: scale(1.08);
}

.portfolio-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(14, 22, 18, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass-bright);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.portfolio-item-body {
    padding: 20px;
}

.portfolio-item-body h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 6px;
}

.portfolio-item-body span {
    font-size: 12px;
    color: var(--text-muted);
}

/* =========================================================================
   ЛИЦЕНЗИИ И СЕРТИФИКАТЫ
   ========================================================================= */
.licenses-section {
    background-color: #131d17;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.licenses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.license-preview-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 24px;
    align-items: center;
}

.license-preview-card img {
    width: 130px;
    height: 170px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-glass-bright);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.bundle-master-card {
    background: linear-gradient(135deg, rgba(42, 64, 52, 0.9) 0%, rgba(26, 40, 33, 0.98) 100%);
    border: 1px solid rgba(229, 154, 75, 0.45);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 35px rgba(229, 154, 75, 0.15);
}

/* =========================================================================
   CONTACTS SECTION
   ========================================================================= */
.contacts-section {
    background-color: #16221b;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    border-top: 1px solid var(--border-glass);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background: #0f1612;
    border-top: 1px solid var(--border-glass-bright);
    padding: 80px 0 40px;
    color: var(--text-muted);
}

.footer-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    line-height: 2.2;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent-gold-bright);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

/* =========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================= */
@media (max-width: 1100px) {
    .projects-grid, .tech-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-grid, .factory-showcase-grid, .bundle-master-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .nav-menu {
        display: none;
    }
    .hero-headline {
        font-size: 32px;
    }
    .projects-grid, .tech-cards-grid, .factory-stat-cards {
        grid-template-columns: 1fr;
    }
    .hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-columns {
        grid-template-columns: 1fr;
    }
    .bundle-master-card {
        padding: 24px;
    }
}
