@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Design System Tokens (Linear & Vercel Inspired) --- */
:root {
    --primary: #FF792D;
    --primary-hover: #E56C28;
    --on-primary: #08090A;

    --success: #3ECF8E;
    --success-glow: rgba(62, 207, 142, 0.2);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;

    --rounded-xs: 4px;
    --rounded-sm: 6px;
    --rounded-md: 8px;
    --rounded-lg: 12px;
    --rounded-xl: 16px;
    --rounded-full: 9999px;

    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.15s ease;
}

/* Dark theme (default) */
[data-theme="dark"] {
    color-scheme: dark;
    --canvas-black: #08090A;
    --canvas: #0D0E11;
    --surface-1: #14161A;
    --surface-2: #1D2026;
    --surface-3: #262B33;
    --primary-glow: rgba(255, 121, 45, 0.15);
    --primary-glow-strong: rgba(255, 121, 45, 0.3);
    --ink: #FFFFFF;
    --ink-muted: #9BA3B0;
    --ink-subtle: #626A7A;
    --ink-dark: #000000;
    --hairline: #1F2228;
    --hairline-strong: #2E333D;
    --nav-bar-bg: rgba(8, 9, 10, 0.8);
    --nav-bar-bg-scrolled: rgba(8, 9, 10, 0.95);
    --mobile-menu-bg: rgba(8, 9, 10, 0.98);
    --shadow-panel: 0 20px 40px rgba(0, 0, 0, 0.5);
    --shadow-card-hover: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-why-hover: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-map: 0 10px 30px rgba(0, 0, 0, 0.4);
    --grid-line: rgba(255, 255, 255, 0.015);
    --map-filter: grayscale(1) invert(0.9) contrast(1.2) opacity(0.85);
    --map-filter-hover: grayscale(0.5) invert(0.9) contrast(1.2) opacity(1);
}

/* Light theme */
[data-theme="light"] {
    color-scheme: light;
    --canvas-black: #FFFFFF;
    --canvas: #FAFBFC;
    --surface-1: #FFFFFF;
    --surface-2: #F5F6F8;
    --surface-3: #EEF0F3;
    --primary-glow: rgba(255, 121, 45, 0.12);
    --primary-glow-strong: rgba(255, 121, 45, 0.22);
    --ink: #0D0E11;
    --ink-muted: #4B5563;
    --ink-subtle: #6B7280;
    --ink-dark: #08090A;
    --hairline: #E8EAED;
    --hairline-strong: #D1D5DB;
    --nav-bar-bg: rgba(255, 255, 255, 0.88);
    --nav-bar-bg-scrolled: rgba(255, 255, 255, 0.96);
    --mobile-menu-bg: rgba(255, 255, 255, 0.98);
    --shadow-panel: 0 12px 40px rgba(13, 14, 17, 0.08);
    --shadow-card-hover: 0 12px 32px rgba(13, 14, 17, 0.1);
    --shadow-why-hover: 0 12px 32px rgba(13, 14, 17, 0.08);
    --shadow-map: 0 12px 32px rgba(13, 14, 17, 0.08);
    --grid-line: rgba(13, 14, 17, 0.05);
    --map-filter: grayscale(0.15) contrast(1.05);
    --map-filter-hover: grayscale(0) contrast(1.05);
}

/* --- Base Resets & Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--canvas-black);
    color: var(--ink);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.25s ease, color 0.25s ease;
}

body {
    background-color: var(--canvas-black);
    overflow-x: hidden;
    line-height: 1.5;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--canvas-black);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-2);
    border-radius: var(--rounded-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* --- Typography System --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1.15;
}

.display-xl {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.display-lg {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.display-md {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.body-lg {
    font-size: 1.125rem;
    color: var(--ink-muted);
    font-weight: 300;
}

.body-md {
    font-size: 1rem;
    color: var(--ink-muted);
}

.body-sm {
    font-size: 0.875rem;
    color: var(--ink-subtle);
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.highlight-orange {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* --- Layout Wrappers & Sections --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    position: relative;
    padding: 100px 0;
    border-bottom: 1px solid var(--hairline);
}

/* --- Premium Structural Backgrounds --- */
.structural-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.mesh-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow-strong) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

/* --- Interactive Components --- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--rounded-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 4px 30px var(--primary-glow-strong);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--surface-1);
    color: var(--ink);
    border-color: var(--hairline-strong);
}

.btn-secondary:hover {
    background-color: var(--surface-2);
    border-color: var(--ink-muted);
}

.btn-outline {
    background-color: transparent;
    color: var(--ink);
    border-color: var(--hairline-strong);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(255, 121, 45, 0.03);
}

/* Top Navigation Bar */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px;
    z-index: 1000;
    border-bottom: 1px solid var(--hairline);
    background-color: var(--nav-bar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.nav-bar.scrolled {
    height: 65px;
    background-color: var(--nav-bar-bg-scrolled);
    border-bottom-color: var(--hairline-strong);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer-logo {
    margin-bottom: 4px;
}

.brand-logo-img {
    display: block;
    height: 72px;
    width: auto;
    max-width: min(360px, 62vw);
    object-fit: contain;
    object-position: left center;
}

.nav-bar.scrolled .brand-logo-img {
    height: 64px;
}

.brand-logo-img--footer {
    height: 104px;
    max-width: 400px;
}

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

.nav-link {
    font-size: 0.875rem;
    color: var(--ink-muted);
    font-weight: 400;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ink);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

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

/* Theme toggle (sun = switch to light, moon = switch to dark) */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-sm);
    background-color: var(--surface-1);
    color: var(--ink-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.theme-icon {
    display: none;
}

[data-theme="dark"] .theme-icon-sun {
    display: block;
}

[data-theme="light"] .theme-icon-moon {
    display: block;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    background-color: var(--surface-1);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-sm);
    padding: 2px;
    overflow: hidden;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--ink-subtle);
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
    cursor: pointer;
    border-radius: var(--rounded-xs);
    transition: var(--transition-fast);
}

.lang-btn.active {
    background-color: var(--surface-3);
    color: var(--primary);
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ink);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-sec {
    position: relative;
    padding-top: 140px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    min-height: 92vh;
    overflow: hidden;
    border-bottom: none;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg__media {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1.04);
    object-fit: cover;
    object-position: center;
}

.hero-video-bg__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            rgba(8, 9, 10, 0.38) 0%,
            rgba(8, 9, 10, 0.2) 42%,
            rgba(8, 9, 10, 0) 100%);
}

[data-theme="light"] .hero-video-bg__overlay {
    background: linear-gradient(105deg,
            rgba(255, 255, 255, 0.45) 0%,
            rgba(255, 255, 255, 0.22) 48%,
            rgba(255, 255, 255, 0.03) 100%);
}

.hero-sec .structural-grid {
    z-index: 1;
    opacity: 0.12;
}

.hero-sec .mesh-glow {
    display: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-layout--video-bg {
    grid-template-columns: 1fr;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-content {
    position: relative;
}

.hero-subtitle {
    font-weight: 400;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}

/* Hero headline — dark mode: plain text, no stroke */
.hero-title-outline {
    margin-bottom: 24px;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    -webkit-text-stroke: 0;
    paint-order: initial;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero-subtitle-outline {
    color: rgba(255, 255, 255, 0.92);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.92);
    -webkit-text-stroke: 0;
    paint-order: initial;
    text-shadow: none;
}

/* Light mode: letter outline for readability on bright video overlay */
[data-theme="light"] .hero-title-outline {
    color: #08090a;
    -webkit-text-fill-color: #08090a;
    -webkit-text-stroke: 1.25px rgba(255, 255, 255, 0.95);
    paint-order: stroke fill;
    text-shadow:
        -1px -1px 0 rgba(255, 255, 255, 0.95),
        1px -1px 0 rgba(255, 255, 255, 0.95),
        -1px 1px 0 rgba(255, 255, 255, 0.95),
        1px 1px 0 rgba(255, 255, 255, 0.95),
        0 2px 20px rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .hero-subtitle-outline {
    color: rgba(13, 14, 17, 0.94);
    -webkit-text-fill-color: rgba(13, 14, 17, 0.94);
    -webkit-text-stroke: 0.65px rgba(255, 255, 255, 0.9);
    paint-order: stroke fill;
    text-shadow:
        -1px -1px 0 rgba(255, 255, 255, 0.88),
        1px -1px 0 rgba(255, 255, 255, 0.88),
        -1px 1px 0 rgba(255, 255, 255, 0.88),
        1px 1px 0 rgba(255, 255, 255, 0.88);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(20, 22, 26, 0.4);
    border: 1px solid var(--hairline-strong);
    padding: 6px 14px;
    border-radius: var(--rounded-full);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

[data-theme="light"] .hero-badge {
    background-color: rgba(255, 255, 255, 0.5);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: var(--rounded-full);
    box-shadow: 0 0 10px var(--success);
    animation: pulse-green 2s infinite;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

/* Hero Asset Panel */
.hero-asset {
    position: relative;
}

.hero-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 0;
}

.hero-panel {
    background-color: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-xl);
    padding: 24px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-panel);
    overflow: hidden;
}

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

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--rounded-full);
    background-color: var(--hairline-strong);
}

.window-dot:nth-child(1) {
    background-color: #ff5f56;
}

.window-dot:nth-child(2) {
    background-color: #ffbd2e;
}

.window-dot:nth-child(3) {
    background-color: #27c93f;
}

.hero-illustration {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--canvas-black);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    position: relative;
    overflow: hidden;
}

/* SVG Line Animations */
.steel-structure {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-structure 4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Stats Band --- */
.stats-band {
    background-color: var(--surface-1);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background-color: var(--hairline);
}

.stat-num {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-mono);
    line-height: 1;
    margin-bottom: 8px;
}

/* --- Catalog Section --- */
.sec-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px auto;
}

.sec-header .mono {
    color: var(--primary);
    margin-bottom: 16px;
    display: inline-block;
}

.sec-header h2 {
    margin-bottom: 20px;
}

/* Catalog Filter Controls */
.catalog-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--surface-1);
    border: 1px solid var(--hairline-strong);
    color: var(--ink-muted);
    padding: 8px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--rounded-full);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--ink);
}

.filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* Product Grid Layout */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover), 0 0 20px var(--primary-glow);
}

.product-image {
    width: 100%;
    height: 200px;
    background-color: var(--canvas-black);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image svg {
    width: auto;
    height: 120px;
    transition: var(--transition-smooth);
}

.product-image--video {
    padding: 0;
}

.product-media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.product-media-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background-color: var(--canvas-black);
    transition: var(--transition-smooth);
}

.product-card:hover .product-image svg,
.product-card:hover .product-media-video,
.product-card:hover .product-media-image {
    transform: scale(1.05);
}

.product-category {
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--ink);
}

.product-desc {
    font-size: 0.875rem;
    color: var(--ink-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-specs {
    border-top: 1px solid var(--hairline);
    padding-top: 16px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.spec-label {
    color: var(--ink-subtle);
}

.spec-val {
    font-family: var(--font-mono);
    color: var(--ink-muted);
}

.product-card .btn {
    width: 100%;
}

/* --- Slab Calculator Section --- */
.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.calc-panel {
    background-color: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-xl);
    padding: 40px;
    box-shadow: var(--shadow-panel);
}

.slider-group {
    margin-bottom: 32px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-label {
    font-size: 0.95rem;
    font-weight: 500;
}

.slider-value-display {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 1.125rem;
    font-weight: 600;
}

.custom-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--rounded-full);
    background: var(--surface-3);
    outline: none;
    margin-bottom: 8px;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: var(--rounded-full);
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-glow-strong);
    transition: var(--transition-fast);
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--ink);
}

.slider-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--ink-subtle);
    font-family: var(--font-mono);
}

/* Calculator Results Panel */
.results-panel {
    background-color: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.results-header {
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.results-summary-title {
    color: var(--ink-subtle);
}

.total-weight-display {
    text-align: right;
}

.weight-val {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.weight-label {
    font-size: 0.75rem;
    color: var(--ink-subtle);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.result-item {
    display: flex;
    align-items: center;
    background-color: var(--canvas-black);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 16px;
    gap: 16px;
    transition: var(--transition-fast);
}

.result-item:hover {
    border-color: var(--hairline-strong);
    background-color: var(--surface-2);
}

.result-icon-box {
    width: 40px;
    height: 40px;
    background-color: var(--surface-1);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.result-info {
    flex-grow: 1;
}

.result-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.result-sub {
    font-size: 0.75rem;
    color: var(--ink-subtle);
}

.result-calc-value {
    text-align: right;
}

.result-num {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
}

.result-unit {
    font-size: 0.75rem;
    color: var(--ink-subtle);
    margin-left: 2px;
}

.results-panel .btn {
    width: 100%;
}

/* --- Why Us Section --- */
.why-sec {
    background-color: var(--surface-1);
}

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

.why-card {
    background-color: var(--canvas-black);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 32px;
    transition: var(--transition-smooth);
}

.why-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-why-hover);
}

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--rounded-md);
    background-color: var(--surface-1);
    border: 1px solid var(--hairline-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.875rem;
    color: var(--ink-muted);
}

/* --- Quote / Form Section --- */
.quote-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-header {
    margin-bottom: 40px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-card-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: var(--rounded-md);
    background-color: var(--surface-1);
    border: 1px solid var(--hairline-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--ink-subtle);
    margin-bottom: 4px;
    font-family: var(--font-mono);
}

.contact-value {
    font-size: 1.05rem;
    color: var(--ink);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--rounded-md);
    background-color: var(--surface-1);
    border: 1px solid var(--hairline-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-muted);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.social-link.telegram:hover {
    background-color: #229ED9;
    border-color: #229ED9;
    box-shadow: 0 4px 15px rgba(34, 158, 217, 0.4);
}

.social-link.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

.social-link.facebook:hover {
    background-color: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

/* Honeypot — hidden from users, not from bots */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Form Styling */
.form-panel {
    background-color: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-xl);
    padding: 40px;
    box-shadow: var(--shadow-panel);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8rem;
    color: var(--ink-muted);
    font-weight: 500;
}

.form-input-field {
    background-color: var(--canvas-black);
    border: 1px solid var(--hairline-strong);
    color: var(--ink);
    padding: 12px 16px;
    border-radius: var(--rounded-sm);
    font-size: 0.95rem;
    width: 100%;
    outline: none;
    transition: var(--transition-fast);
    font-family: var(--font-sans);
}

.form-input-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

textarea.form-input-field {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    margin-top: 10px;
}

.form-actions .btn {
    width: 100%;
}

/* --- Footer --- */
footer {
    background-color: var(--canvas-black);
    border-top: 1px solid var(--hairline-strong);
    padding: 80px 0 40px 0;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-desc {
    color: var(--ink-subtle);
    font-size: 0.875rem;
    max-width: 320px;
}

.footer-column h4 {
    font-size: 0.85rem;
    margin-bottom: 24px;
    color: var(--ink);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--ink-subtle);
}

.footer-link:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.75rem;
    color: var(--ink-subtle);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    font-size: 0.75rem;
    color: var(--ink-subtle);
}

.footer-bottom-link:hover {
    color: var(--primary);
}

/* --- Animations Keyframes --- */
@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(62, 207, 142, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(62, 207, 142, 0);
    }
}

@keyframes draw-structure {
    to {
        stroke-dashoffset: 0;
    }
}

/* --- Responsive Breakpoints --- */

@media (max-width: 1024px) {

    .hero-layout,
    .calculator-layout,
    .quote-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-layout--video-bg {
        max-width: 100%;
    }

    .hero-sec {
        min-height: 85vh;
        padding-top: 120px;
    }

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

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

    .stat-item:nth-child(2)::after {
        display: none;
    }

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

    .footer-layout {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nav-menu {
        display: none;
        /* Collapses on mobile */
    }

    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

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

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

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        text-align: center;
        align-items: center;
    }

    .footer-desc {
        max-width: 100%;
    }

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

    .contact-map-container {
        height: 300px;
        margin-top: 40px;
    }
}

/* Contact Map Container */
.contact-map-container {
    margin-top: 60px;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline-strong);
    height: 450px;
    width: 100%;
    box-shadow: var(--shadow-map);
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: var(--map-filter);
    transition: var(--transition-smooth);
}

.contact-map-container iframe:hover {
    filter: var(--map-filter-hover);
}