/* ===== V4 — Dark Luxury Minimalist + GSAP ===== */

:root {
    --black: #0A0A0A;
    --black-light: #141414;
    --black-lighter: #1E1E1E;
    --orange: #E8740C;
    --orange-glow: #FF8C2E;
    --orange-dark: #C45F00;
    --white: #FAFAFA;
    --white-dim: #B8B8B8;
    --gray: #666;
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.6s var(--ease);
}

body.loaded {
    opacity: 1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-line {
    width: 60px;
    height: 2px;
    background: var(--orange);
    animation: preloaderPulse 1s var(--ease) infinite alternate;
}

@keyframes preloaderPulse {
    from {
        transform: scaleX(0.5);
        opacity: 0.5;
    }

    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

.preloader-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--orange);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
}

.header.scrolled {
    padding: 16px 40px;
    background: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid rgba(232, 116, 12, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.site-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.site-logo--footer {
    height: 36px;
}

.nav {
    display: flex;
    gap: 36px;
}

.nav-link {
    text-decoration: none;
    color: var(--white-dim);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--orange);
    transition: width 0.4s var(--ease-out);
}

.nav-link:hover {
    color: var(--white);
}

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

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--orange);
    transition: all 0.3s var(--ease);
}

.burger span:first-child {
    position: absolute;
    top: 0;
}

.burger span:last-child {
    position: absolute;
    bottom: 0;
}

.burger.active span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.burger.active span:last-child {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    animation: heroZoom 20s var(--ease) 1 alternate forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 10, 10, 0.88) 0%,
            rgba(10, 10, 10, 0.6) 50%,
            rgba(10, 10, 10, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.hero-label {
    font-size: 0.9rem;
    color: var(--orange);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 0.95;
    position: relative;
    padding-left: 30px;
}

.hero-accent-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--orange);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--white-dim);
    margin-top: 32px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    padding: 18px 40px;
    background: transparent;
    border: 1px solid var(--orange);
    color: var(--white);
    text-decoration: none;
    font-family: inherit;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}

.hero-btn:hover {
    background: var(--orange);
    color: var(--black);
}

.hero-btn svg {
    transition: transform 0.3s;
}

.hero-btn:hover svg {
    transform: translateX(4px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white-dim);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--orange), transparent);
    animation: scrollLine 2s var(--ease) infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ===== Section Shared ===== */
.section-header {
    margin-bottom: 64px;
}

.section-number {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--orange);
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1rem;
    color: var(--white-dim);
    font-weight: 300;
    line-height: 1.7;
    max-width: 500px;
}

/* ===== Services ===== */
.services {
    padding: 140px 0;
    background: var(--black-light);
}

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

.service-card {
    padding: 36px 30px;
    background: linear-gradient(160deg, rgba(30, 30, 32, 0.95) 0%, rgba(18, 18, 20, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), rgba(232, 116, 12, 0.3), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

/* Corner glow */
.service-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(232, 116, 12, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.service-card:hover {
    border-color: rgba(232, 116, 12, 0.2);
    transform: translateY(-6px);
    background: linear-gradient(160deg, rgba(40, 30, 22, 0.9) 0%, rgba(22, 18, 14, 0.95) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(232, 116, 12, 0.05);
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    padding: 12px;
    background: rgba(232, 116, 12, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(232, 116, 12, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

.service-card:hover .service-icon {
    background: rgba(232, 116, 12, 0.12);
    border-color: rgba(232, 116, 12, 0.25);
    box-shadow: 0 4px 20px rgba(232, 116, 12, 0.1);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    transition: gap 0.3s;
}

.service-link::after {
    content: '→';
    transition: transform 0.3s;
}

.service-link:hover {
    gap: 14px;
}

/* ===== Smart Home Demo — Phone Ecosystem ===== */
.smart-demo {
    padding: 140px 0 120px;
    background: var(--black);
    overflow: hidden;
    position: relative;
}

.smart-demo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 116, 12, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.demo-stage {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 640px;
}

/* Phone Mockup — Premium Redesign */
.phone-mockup {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.5));
}

.phone-frame {
    width: 300px;
    height: 620px;
    background: linear-gradient(145deg, #2C2C2E 0%, #1C1C1E 50%, #2A2A2C 100%);
    border-radius: 44px;
    border: 2.5px solid;
    border-image: linear-gradient(160deg, #555 0%, #333 40%, #444 80%, #555 100%) 1;
    border-image: none;
    border-color: #3A3A3C;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(255, 255, 255, 0.03),
        0 0 0 1px rgba(0, 0, 0, 0.4),
        0 25px 60px rgba(0, 0, 0, 0.45),
        0 0 100px rgba(232, 116, 12, 0.06);
    padding: 10px;
    position: relative;
    overflow: hidden;
}

/* Side buttons */
.phone-frame::before {
    content: '';
    position: absolute;
    right: -3px;
    top: 140px;
    width: 4px;
    height: 50px;
    background: linear-gradient(180deg, #444, #333, #444);
    border-radius: 0 3px 3px 0;
}

.phone-frame::after {
    content: '';
    position: absolute;
    left: -3px;
    top: 120px;
    width: 4px;
    height: 32px;
    background: linear-gradient(180deg, #444, #333, #444);
    border-radius: 3px 0 0 3px;
    box-shadow: 0 46px 0 0 #383838;
}

/* Dynamic Island */
.phone-notch {
    width: 90px;
    height: 24px;
    background: #000;
    border-radius: 20px;
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-notch::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #1a3a2a, #0a1a12);
    box-shadow: inset 0 0 2px rgba(0, 200, 100, 0.15);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(175deg, #111113 0%, #0A0A0C 40%, #0F0F11 100%);
    border-radius: 34px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 48px 18px 14px;
}

/* App Top Bar */
.app-bar {
    margin-bottom: 16px;
}

.app-greeting {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
}

.app-home-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 4px;
    color: #fff;
}

/* Quick Stats */
.app-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 12px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-bottom: 14px;
    gap: 0;
}

.app-stat {
    text-align: center;
    flex: 1;
    min-width: 0;
    padding: 4px 6px;
}

.app-stat-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--orange);
    line-height: 1.2;
}

.app-stat-label {
    display: block;
    font-size: 0.48rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.app-stat-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

/* Room controls */
.app-rooms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex: 1;
    transition: opacity 0.4s ease;
}

.app-room-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 18px;
    padding: 14px 13px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
}

.app-room-card:hover {
    border-color: rgba(232, 116, 12, 0.25);
    background: rgba(232, 116, 12, 0.05);
}

.app-room--active {
    border-color: rgba(232, 116, 12, 0.15);
    background: rgba(232, 116, 12, 0.03);
}

.app-room-icon {
    width: 26px;
    height: 26px;
    color: var(--orange);
}

.app-room-icon svg {
    width: 100%;
    height: 100%;
}

.app-room-name {
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 6px;
    color: #f0f0f0;
}

.app-room-status {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.app-room-toggle {
    width: 36px;
    height: 20px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: auto;
    position: relative;
    transition: background 0.3s;
    cursor: pointer;
}

.app-room-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.3s var(--ease);
}

.app-room-toggle.on {
    background: var(--orange);
    box-shadow: 0 0 12px rgba(232, 116, 12, 0.3);
}

.app-room-toggle.on::after {
    left: 19px;
    background: #fff;
}

/* ── Lighting glow — entire section ── */
.demo-stage-glow {
    position: absolute;
    top: -40%;
    left: -20%;
    right: -20%;
    bottom: -40%;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 210, 120, 0.14) 0%, rgba(255, 180, 80, 0.07) 30%, transparent 65%),
        radial-gradient(ellipse at 30% 40%, rgba(255, 220, 140, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(255, 200, 100, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.smart-demo.lighting-on .demo-stage-glow {
    opacity: 1;
}

.smart-demo.lighting-on {
    background: linear-gradient(175deg, #141210 0%, #100e0c 40%, #12100e 100%);
}

.smart-demo.lighting-on .section-title,
.smart-demo.lighting-on .section-desc {
    color: rgba(255, 245, 230, 0.95);
    transition: color 1s ease;
}

.smart-demo.lighting-on .eco-float-inner {
    border-color: rgba(255, 200, 120, 0.15);
    box-shadow: 0 4px 24px rgba(255, 180, 80, 0.08);
}

.smart-demo.lighting-on .phone-frame {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(255, 255, 255, 0.03),
        0 0 0 1px rgba(0, 0, 0, 0.4),
        0 25px 60px rgba(0, 0, 0, 0.35),
        0 0 120px rgba(255, 200, 100, 0.12),
        0 0 240px rgba(255, 180, 80, 0.06);
    transition: box-shadow 1s ease;
}

.smart-demo.lighting-on .demo-stage::before,
.smart-demo.lighting-on .demo-stage::after {
    border-color: rgba(255, 200, 120, 0.15);
    transition: border-color 1s ease;
}

/* ── Climate sliders panel ── */
.climate-panel {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 14px 13px;
    margin-top: -2px;
    animation: climateSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.climate-panel.visible {
    display: flex;
}

@keyframes climateSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.climate-slider-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.climate-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.climate-slider-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.climate-slider-value {
    font-size: 0.72rem;
    color: var(--orange);
    font-weight: 700;
    font-family: var(--font-display);
}

.climate-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    cursor: pointer;
    position: relative;
}

.climate-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--orange);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(232, 116, 12, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.climate-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 14px rgba(232, 116, 12, 0.6);
}

.climate-range::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--orange);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 8px rgba(232, 116, 12, 0.4);
}

/* Bottom nav */
.app-bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px 0 4px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.app-nav-item {
    width: 26px;
    height: 26px;
    color: rgba(255, 255, 255, 0.25);
    transition: color 0.3s;
    cursor: pointer;
}

.app-nav-item.active {
    color: var(--orange);
}

.app-nav-item svg {
    width: 100%;
    height: 100%;
}

/* ===== Floating Ecosystem Icons — Orbital Ring ===== */
.eco-float {
    position: absolute;
    z-index: 3;
}

.eco-float-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    transition: all 0.35s var(--ease);
    cursor: default;
}

.eco-float-inner:hover {
    border-color: rgba(232, 116, 12, 0.4);
    transform: scale(1.1);
    box-shadow: 0 8px 36px rgba(232, 116, 12, 0.15);
}

.eco-float-inner svg {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.eco-float-inner span {
    font-size: 0.62rem;
    color: var(--white-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Orbital positions — symmetrical ring around the phone */
.eco-float--alice {
    top: 12%;
    left: 4%;
}

.eco-float--homekit {
    top: 12%;
    right: 4%;
}

.eco-float--knx {
    top: 50%;
    left: -2%;
    transform: translateY(-50%);
}

.eco-float--google {
    top: 50%;
    right: -2%;
    transform: translateY(-50%);
}


/* Connecting dots between icons and phone */
.demo-stage::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
    border: 1px dashed rgba(232, 116, 12, 0.12);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.demo-stage::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    border: 1px dashed rgba(232, 116, 12, 0.06);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* ===== About ===== */
.about {
    padding: 140px 0;
    background: var(--black-light);
    position: relative;
}

/* Decorative top divider */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.06) 70%, transparent);
}



.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--white-dim);
    font-weight: 300;
    margin-bottom: 48px;
}

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

.stat {
    padding: 24px 0;
    border-top: 1px solid rgba(232, 116, 12, 0.3);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--white-dim);
    font-weight: 300;
}

/* ===== Control ===== */
.control {
    padding: 140px 0;
    background: var(--black);
    position: relative;
}

.control::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.06) 70%, transparent);
}

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

.control-card {
    padding: 36px 26px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, rgba(26, 26, 28, 0.8) 0%, rgba(14, 14, 16, 0.9) 100%);
}

/* Left accent bar */
.control-card::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    width: 3px;
    height: 60%;
    background: linear-gradient(180deg, var(--orange), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: 0 3px 3px 0;
}

.control-card:hover {
    border-color: rgba(232, 116, 12, 0.25);
    background: linear-gradient(170deg, rgba(36, 28, 20, 0.8) 0%, rgba(18, 14, 10, 0.9) 100%);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

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

.control-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(232, 116, 12, 0.4), rgba(232, 116, 12, 0.1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.control-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f0f0f0;
}

.control-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    font-weight: 300;
}

/* ===== Projects ===== */
.projects {
    padding: 140px 0;
    background: var(--black-light);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 116, 12, 0.2) 30%, rgba(232, 116, 12, 0.35) 50%, rgba(232, 116, 12, 0.2) 70%, transparent);
}

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

.project-item {
    cursor: pointer;
    transition: transform 0.4s var(--ease);
}

.project-item:hover {
    transform: translateY(-6px);
}

.project-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 4/3;
    border-radius: 16px;
}

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

.project-item:hover .project-image img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 8, 10, 0.85) 0%, rgba(8, 8, 10, 0.2) 40%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: background 0.4s;
}

.project-item:hover .project-overlay {
    background: linear-gradient(to top, rgba(8, 8, 10, 0.9) 0%, rgba(8, 8, 10, 0.1) 50%, transparent 100%);
}

.project-tag {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--black);
    font-weight: 600;
    padding: 6px 14px;
    background: var(--orange);
    border: none;
    border-radius: 6px;
}

.project-item h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    line-height: 1.6;
}

/* ===== Contact ===== */
.contact {
    padding: 140px 0;
    background: var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-details {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    transition: all 0.35s var(--ease);
}

.contact-item:hover {
    border-color: rgba(232, 116, 12, 0.2);
    background: rgba(232, 116, 12, 0.03);
    transform: translateX(6px);
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    color: var(--orange);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 500;
}

.contact-value {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.5;
}

.contact-form-wrap {
    padding: 44px;
    background: linear-gradient(160deg, rgba(28, 28, 30, 0.95) 0%, rgba(16, 16, 18, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.form-group {
    position: relative;
    margin-bottom: 28px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
    font-weight: 300;
}

.form-group textarea {
    resize: none;
}

/* Phone input with prefix */
.form-group--phone {
    display: flex;
    align-items: center;
}

.phone-prefix {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--white-dim);
    padding: 16px 0;
    padding-right: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    order: -1;
    transition: opacity 0.25s var(--ease), max-width 0.25s var(--ease), border-color 0.3s, color 0.3s;
}

.form-group--phone input:focus ~ .phone-prefix,
.form-group--phone input:not(:placeholder-shown) ~ .phone-prefix {
    opacity: 1;
    max-width: 30px;
}

.form-group--phone input:focus ~ .phone-prefix {
    border-color: var(--orange);
    color: var(--white);
}

.form-group--phone input {
    flex: 1;
    min-width: 0;
}

.form-group--phone label {
    left: 0;
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
    transition: all 0.3s var(--ease);
    font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--orange);
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    font-size: 0.72rem;
    color: var(--orange);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Consent checkbox */
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
    cursor: pointer;
    user-select: none;
}

.form-consent input {
    display: none;
}

.form-consent-check {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: relative;
    transition: all 0.25s var(--ease);
    margin-top: 1px;
}

.form-consent-check::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid var(--black);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s var(--ease-out);
}

.form-consent input:checked ~ .form-consent-check {
    background: var(--orange);
    border-color: var(--orange);
}

.form-consent input:checked ~ .form-consent-check::after {
    transform: rotate(45deg) scale(1);
}

.form-consent-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    line-height: 1.5;
}

.form-consent-text a {
    color: var(--orange);
    text-decoration: none;
    transition: opacity 0.3s;
}

.form-consent-text a:hover {
    opacity: 0.7;
}

.form-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--orange);
    color: var(--black);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.4s var(--ease);
}

.form-btn:hover {
    background: var(--orange-glow);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(232, 116, 12, 0.3);
}

.form-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-btn:disabled:hover {
    background: var(--orange);
    transform: none;
    box-shadow: none;
}

.form-btn--success {
    background: #4ade80 !important;
    opacity: 1 !important;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 32px;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    text-decoration: none;
    color: var(--white-dim);
    font-size: 0.85rem;
    transition: color 0.3s;
}

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

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--white-dim);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--orange);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
}

.footer-legal a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--orange);
}

.footer-bottom span {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 300;
}

/* ===== Nav CTA Button ===== */
.nav-link--cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid var(--orange);
    border-radius: 8px;
    color: var(--orange) !important;
    font-weight: 500 !important;
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}

.nav-link--cta::before {
    display: none;
}

.nav-link--cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
    z-index: -1;
    border-radius: 7px;
}

.nav-link--cta:hover {
    color: var(--black) !important;
    border-color: var(--orange);
    box-shadow: 0 4px 20px rgba(232, 116, 12, 0.3);
}

.nav-link--cta:hover::after {
    transform: scaleX(1);
}

.nav-link--cta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.nav-link--cta:hover svg {
    transform: scale(1.1);
}

/* ===== Inline Calculator Section ===== */
.calc-section {
    padding: 140px 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.calc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 116, 12, 0.2), transparent);
}

.calc-section::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 116, 12, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0;
    background: linear-gradient(160deg, rgba(22, 22, 24, 0.7) 0%, rgba(12, 12, 14, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(232, 116, 12, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.calc-config {
    padding: 40px 36px;
}

/* Area input */
.calc-area {
    margin-bottom: 28px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.calc-area-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white-dim);
    margin-bottom: 14px;
    font-weight: 500;
}

.calc-area-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.calc-range {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--orange) 0%, var(--orange) var(--range-percent, 14.9%), rgba(255, 255, 255, 0.1) var(--range-percent, 14.9%));
    outline: none;
    cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--orange);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(232, 116, 12, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 16px rgba(232, 116, 12, 0.6);
}

.calc-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--orange);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(232, 116, 12, 0.4);
}

.calc-area-value {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 12px;
    min-width: 90px;
}

.calc-area-num {
    background: none;
    border: none;
    color: var(--orange);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    width: 50px;
    text-align: right;
    outline: none;
    -moz-appearance: textfield;
}

.calc-area-num::-webkit-outer-spin-button,
.calc-area-num::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-area-value span {
    color: var(--white-dim);
    font-size: 0.8rem;
    font-weight: 400;
}

/* Calc service categories */
.calc-services {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-category {
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    transition: all 0.3s var(--ease);
}

.calc-category.calc-active {
    background: rgba(232, 116, 12, 0.04);
    border-color: rgba(232, 116, 12, 0.15);
}

.calc-cat-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calc-cat-icon {
    width: 32px;
    height: 32px;
    padding: 6px;
    background: rgba(232, 116, 12, 0.08);
    border-radius: 9px;
    color: var(--orange);
    flex-shrink: 0;
}

.calc-cat-icon svg {
    width: 100%;
    height: 100%;
}

.calc-cat-name {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--white);
}

.calc-cat-price {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--orange);
    white-space: nowrap;
    min-width: 70px;
    text-align: right;
}

/* Calc tier radio buttons */
.calc-tiers {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.calc-tier {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s;
    user-select: none;
}

.calc-tier:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.calc-tier input {
    display: none;
}

.calc-tier-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.25s;
    flex-shrink: 0;
}

.calc-tier-dot::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--orange);
    transform: scale(0);
    transition: transform 0.25s var(--ease-out);
}

.calc-tier input:checked ~ .calc-tier-dot {
    border-color: var(--orange);
}

.calc-tier input:checked ~ .calc-tier-dot::after {
    transform: scale(1);
}

.calc-tier input:checked ~ .calc-tier-label {
    color: var(--white);
}

.calc-tier-label {
    font-size: 0.75rem;
    color: var(--white-dim);
    font-weight: 400;
    transition: color 0.25s;
    white-space: nowrap;
}

/* Calc summary panel */
.calc-summary {
    background: linear-gradient(180deg, rgba(232, 116, 12, 0.06) 0%, rgba(10, 10, 10, 0.5) 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
}

.calc-summary-inner {
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: sticky;
    top: 120px;
}

.calc-summary-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(232, 116, 12, 0.08);
    border: 1px solid rgba(232, 116, 12, 0.15);
    border-radius: 10px;
    color: var(--orange);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    width: fit-content;
}

.calc-summary-badge svg {
    flex-shrink: 0;
}

.calc-summary-total {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--orange);
    line-height: 1.1;
    transition: color 0.3s;
}

.calc-summary-area {
    font-size: 0.82rem;
    color: var(--white-dim);
    margin-top: 4px;
    font-weight: 300;
}

.calc-summary-breakdown {
    margin-top: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100px;
}

.calc-summary-empty {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
}

.calc-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    animation: fadeSlideIn 0.3s var(--ease-out);
}

.calc-breakdown-name {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.calc-breakdown-tier {
    font-size: 0.65rem;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-breakdown-cost {
    font-size: 0.82rem;
    color: var(--white);
    font-weight: 600;
    white-space: nowrap;
}

.calc-summary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding: 16px 24px;
    background: var(--orange);
    color: var(--black);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 12px;
    transition: all 0.3s var(--ease);
    border: none;
    cursor: pointer;
}

.calc-summary-btn:hover {
    background: var(--orange-glow);
    box-shadow: 0 8px 30px rgba(232, 116, 12, 0.35);
    transform: translateY(-2px);
}

.calc-summary-btn svg {
    transition: transform 0.3s;
}

.calc-summary-btn:hover svg {
    transform: translateX(4px);
}

.calc-summary-note {
    margin-top: 16px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    text-align: center;
    line-height: 1.4;
}

/* Calc discount block */
.calc-discount {
    margin-top: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(232, 116, 12, 0.08) 0%, rgba(232, 116, 12, 0.03) 100%);
    border: 1px solid rgba(232, 116, 12, 0.18);
    border-radius: 12px;
    animation: fadeSlideIn 0.35s var(--ease-out);
}

.calc-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.calc-discount-badge svg {
    flex-shrink: 0;
}

.calc-discount-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.calc-discount-old {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: line-through;
    font-weight: 400;
}

.calc-discount-arrow {
    color: var(--orange);
    font-size: 0.8rem;
}

.calc-discount-new {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #4ade80;
}

.calc-discount-save {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.calc-discount-save strong {
    color: #4ade80;
    font-weight: 600;
}

/* ===== Promo Banner ===== */
.promo-banner {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.promo-banner-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(232, 116, 12, 0.06) 0%,
        rgba(232, 116, 12, 0.02) 40%,
        transparent 70%);
    pointer-events: none;
}

.promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 0;
    border-top: 1px solid rgba(232, 116, 12, 0.12);
    border-bottom: 1px solid rgba(232, 116, 12, 0.12);
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.promo-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 116, 12, 0.08);
    border: 1px solid rgba(232, 116, 12, 0.15);
    border-radius: 16px;
    color: var(--orange);
}

.promo-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.promo-desc {
    font-size: 0.88rem;
    color: var(--white-dim);
    font-weight: 300;
    line-height: 1.5;
    max-width: 460px;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--orange);
    color: var(--black);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 12px;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
}

.promo-btn:hover {
    background: var(--orange-glow);
    box-shadow: 0 8px 30px rgba(232, 116, 12, 0.35);
    transform: translateY(-2px);
}

.promo-btn svg {
    transition: transform 0.3s;
}

.promo-btn:hover svg {
    transform: translateX(4px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    /* Ecosystem section: stack phone + icons vertically */
    .demo-stage {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        min-height: auto;
        padding: 20px 16px 40px;
        gap: 16px;
    }

    .demo-stage::before,
    .demo-stage::after {
        display: none;
    }

    .phone-mockup {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .eco-float {
        position: static !important;
        transform: none !important;
        order: 2;
    }

    .eco-float--alice,
    .eco-float--homekit,
    .eco-float--google,
    .eco-float--knx {
        position: static !important;
        transform: none !important;
    }

    .calc-grid {
        grid-template-columns: 1fr 340px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .header {
        padding: 16px 24px;
    }

    .nav {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s var(--ease);
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .burger {
        display: block;
    }

    .hero-content {
        padding: 0 24px;
    }

    .services,
    .about,
    .control,
    .projects,
    .contact,
    .smart-demo,
    .calc-section {
        padding: 80px 0;
    }

    .services-grid,
    .control-grid,
    .projects-showcase {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

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

    .contact-form-wrap {
        padding: 32px 24px;
    }

    .phone-frame {
        width: 260px;
        height: 530px;
        border-radius: 38px;
    }

    .phone-screen {
        border-radius: 30px;
        padding: 44px 14px 10px;
    }

    .app-stat-label {
        font-size: 0.42rem;
        letter-spacing: 0;
    }

    .eco-float-inner {
        padding: 10px 14px;
        border-radius: 14px;
    }

    .eco-float-inner svg {
        width: 30px;
        height: 30px;
    }

    .eco-float-inner span {
        font-size: 0.55rem;
    }

    /* Nav CTA on mobile */
    .nav-link--cta {
        font-size: 1.2rem;
        padding: 12px 28px;
        border-radius: 12px;
    }

    /* Inline calc responsive */
    .calc-grid {
        grid-template-columns: 1fr;
    }

    .calc-config {
        padding: 28px 20px;
    }

    .calc-summary {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .calc-summary-inner {
        padding: 24px 20px;
    }

    .calc-summary-total {
        font-size: 2rem;
    }

    .calc-tiers {
        gap: 4px;
    }

    .calc-tier {
        padding: 5px 8px;
    }

    .calc-tier-label {
        font-size: 0.65rem;
    }

    .calc-tier-dot {
        width: 12px;
        height: 12px;
    }
}

/* ===== Constructor Modal ===== */
.constructor-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.constructor-overlay.active {
    opacity: 1;
    visibility: visible;
}

.constructor-modal {
    position: relative;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    background: linear-gradient(160deg, rgba(22, 22, 24, 0.98) 0%, rgba(12, 12, 14, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    overflow: hidden;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.5s var(--ease-out);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(232, 116, 12, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.constructor-overlay.active .constructor-modal {
    transform: scale(1) translateY(0);
}

.constructor-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white-dim);
    transition: all 0.3s;
}

.constructor-close:hover {
    background: rgba(232, 116, 12, 0.15);
    border-color: rgba(232, 116, 12, 0.3);
    color: var(--orange);
}

.constructor-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    max-height: 90vh;
}

.constructor-config {
    padding: 40px 36px;
    overflow-y: auto;
    max-height: 90vh;
    scrollbar-width: thin;
    scrollbar-color: rgba(232, 116, 12, 0.3) transparent;
}

.constructor-config::-webkit-scrollbar {
    width: 4px;
}

.constructor-config::-webkit-scrollbar-track {
    background: transparent;
}

.constructor-config::-webkit-scrollbar-thumb {
    background: rgba(232, 116, 12, 0.25);
    border-radius: 2px;
}

.constructor-header {
    margin-bottom: 32px;
}

.constructor-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
}

.constructor-subtitle {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--white-dim);
    font-weight: 300;
    line-height: 1.5;
}

/* Area input */
.constructor-area {
    margin-bottom: 28px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.constructor-area-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white-dim);
    margin-bottom: 14px;
    font-weight: 500;
}

.constructor-area-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.constructor-range {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--orange) 0%, var(--orange) var(--range-percent, 14.9%), rgba(255, 255, 255, 0.1) var(--range-percent, 14.9%));
    outline: none;
    cursor: pointer;
}

.constructor-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--orange);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(232, 116, 12, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.constructor-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 16px rgba(232, 116, 12, 0.6);
}

.constructor-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--orange);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(232, 116, 12, 0.4);
}

.constructor-area-value {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 12px;
    min-width: 90px;
}

.constructor-area-num {
    background: none;
    border: none;
    color: var(--orange);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    width: 50px;
    text-align: right;
    outline: none;
    -moz-appearance: textfield;
}

.constructor-area-num::-webkit-outer-spin-button,
.constructor-area-num::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.constructor-area-value span {
    color: var(--white-dim);
    font-size: 0.8rem;
    font-weight: 400;
}

/* Service categories */
.constructor-services {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-category {
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    transition: all 0.3s var(--ease);
}

.cs-category.cs-active {
    background: rgba(232, 116, 12, 0.04);
    border-color: rgba(232, 116, 12, 0.15);
}

.cs-cat-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-cat-icon {
    width: 32px;
    height: 32px;
    padding: 6px;
    background: rgba(232, 116, 12, 0.08);
    border-radius: 9px;
    color: var(--orange);
    flex-shrink: 0;
}

.cs-cat-icon svg {
    width: 100%;
    height: 100%;
}

.cs-cat-name {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--white);
}

.cs-cat-price {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--orange);
    white-space: nowrap;
    min-width: 70px;
    text-align: right;
}

/* Tier radio buttons */
.cs-tiers {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.cs-tier {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s;
    user-select: none;
}

.cs-tier:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.cs-tier input {
    display: none;
}

.cs-tier-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.25s;
    flex-shrink: 0;
}

.cs-tier-dot::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--orange);
    transform: scale(0);
    transition: transform 0.25s var(--ease-out);
}

.cs-tier input:checked~.cs-tier-dot {
    border-color: var(--orange);
}

.cs-tier input:checked~.cs-tier-dot::after {
    transform: scale(1);
}

.cs-tier input:checked~.cs-tier-label {
    color: var(--white);
}

.cs-tier-label {
    font-size: 0.75rem;
    color: var(--white-dim);
    font-weight: 400;
    transition: color 0.25s;
    white-space: nowrap;
}

/* Summary panel */
.constructor-summary {
    background: linear-gradient(180deg, rgba(232, 116, 12, 0.06) 0%, rgba(10, 10, 10, 0.5) 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
}

.cs-summary-inner {
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: sticky;
    top: 0;
}

.cs-summary-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white-dim);
    font-weight: 500;
    margin-bottom: 8px;
}

.cs-summary-total {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--orange);
    line-height: 1.1;
    transition: color 0.3s;
}

.cs-summary-area {
    font-size: 0.82rem;
    color: var(--white-dim);
    margin-top: 4px;
    font-weight: 300;
}

.cs-summary-breakdown {
    margin-top: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100px;
}

.cs-summary-empty {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
}

.cs-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    animation: fadeSlideIn 0.3s var(--ease-out);
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cs-breakdown-name {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.cs-breakdown-tier {
    font-size: 0.65rem;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cs-breakdown-cost {
    font-size: 0.82rem;
    color: var(--white);
    font-weight: 600;
    white-space: nowrap;
}

.cs-summary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding: 16px 24px;
    background: var(--orange);
    color: var(--black);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 12px;
    transition: all 0.3s var(--ease);
    border: none;
    cursor: pointer;
}

.cs-summary-btn:hover {
    background: var(--orange-glow);
    box-shadow: 0 8px 30px rgba(232, 116, 12, 0.35);
    transform: translateY(-2px);
}

.cs-summary-btn svg {
    transition: transform 0.3s;
}

.cs-summary-btn:hover svg {
    transform: translateX(4px);
}

.cs-summary-note {
    margin-top: 16px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    text-align: center;
    line-height: 1.4;
}

/* Constructor responsive */
@media (max-width: 768px) {
    .constructor-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .constructor-modal {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
    }

    .constructor-overlay.active .constructor-modal {
        transform: translateY(0);
    }

    .constructor-body {
        grid-template-columns: 1fr;
    }

    .constructor-config {
        padding: 28px 20px;
        max-height: 60vh;
    }

    .constructor-summary {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .cs-summary-inner {
        padding: 24px 20px;
    }

    .cs-summary-total {
        font-size: 1.8rem;
    }

    .cs-tiers {
        gap: 4px;
    }

    .cs-tier {
        padding: 5px 8px;
    }

    .cs-tier-label {
        font-size: 0.65rem;
    }

    .cs-tier-dot {
        width: 12px;
        height: 12px;
    }

    .constructor-title {
        font-size: 1.6rem;
    }

    .constructor-close {
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .cs-tiers {
        flex-wrap: wrap;
    }

    .cs-cat-name {
        font-size: 0.8rem;
    }

    .constructor-area-row {
        flex-direction: column;
        align-items: stretch;
    }

    .constructor-area-value {
        justify-content: center;
    }

    .constructor-area-num {
        text-align: center;
    }

    .calc-tiers {
        flex-wrap: wrap;
    }

    .calc-cat-name {
        font-size: 0.8rem;
    }

    .calc-area-row {
        flex-direction: column;
        align-items: stretch;
    }

    .calc-area-value {
        justify-content: center;
    }

    .calc-area-num {
        text-align: center;
    }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-bg img {
        animation: none;
        transform: scale(1);
    }
}