/* ==========================================================================
   Design System & Premium Theme Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-dark: #0f172a;
    /* Deep slate off-black */
    --bg-darker: #020617;
    /* Pure midnight dark */
    --bg-card: rgba(30, 41, 59, 0.4);
    /* Glassmorphic card fill */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(56, 189, 248, 0.15);

    /* Accents */
    --accent-blue: #38bdf8;
    /* Electric Blue (Washing/Water) */
    --accent-blue-rgb: 56, 189, 248;
    --accent-blue-hover: #0284c7;

    --accent-orange: #f97316;
    /* Terracotta / Rust Orange (Paint) */
    --accent-orange-rgb: 249, 115, 22;
    --accent-orange-hover: #ea580c;

    --accent-tg: #24A1DE;
    /* Telegram brand color */
    --accent-wa: #25D366;
    /* WhatsApp brand color */

    /* Text Colors */
    --text-primary: #f8fafc;
    /* Clean white */
    --text-secondary: #94a3b8;
    /* Muted cool grey */
    --text-muted: #64748b;

    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Visual Effects */
    --glass-blur: blur(12px);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 30px -10px rgba(2, 6, 23, 0.5);
    --border-radius-lg: 16px;
    --border-radius-md: 10px;
    --border-radius-sm: 6px;
}

/* ==========================================================================
   Global Reset & Base Setup
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

button,
input,
select,
textarea {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
    border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Selection */
::selection {
    background: rgba(56, 189, 248, 0.3);
    color: var(--text-primary);
}

/* Helper styles */
.text-center {
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Buttons UI Component
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-hover) 100%);
    color: #020617;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--border-radius-md);
}

.btn-tg-accent {
    background: var(--accent-tg);
    color: #fff;
    box-shadow: 0 4px 15px rgba(36, 161, 222, 0.3);
}

.btn-tg-accent:hover {
    background: #1e92ca;
    box-shadow: 0 6px 20px rgba(36, 161, 222, 0.5);
    transform: translateY(-2px);
}

.btn-vb-accent {
    background: #7360F2;
    color: #fff;
    box-shadow: 0 4px 15px rgba(115, 96, 242, 0.3);
}

.btn-vb-accent:hover {
    background: #5b4ac2;
    box-shadow: 0 6px 20px rgba(115, 96, 242, 0.5);
    transform: translateY(-2px);
}

/* ==========================================================================
   Header Component
   ========================================================================== */
.header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-accent {
    color: var(--accent-blue);
    display: inline;
}

.logo-sub {
    font-family: var(--font-primary);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 4px;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.logo:hover .logo-img {
    transform: scale(1.02);
}

/* Geo Badge */
.geo-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
}

.geo-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-orange);
}

.geo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    font-weight: 600;
}

.geo-sub {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Navigation */
.nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* Header Contacts */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone-link {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.phone-link:hover {
    color: var(--accent-blue);
}

.phone-hours {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.header-messengers {
    display: flex;
    gap: 8px;
}

.msg-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition-smooth);
}

.msg-btn svg {
    width: 18px;
    height: 18px;
}

.msg-btn.tg {
    background: rgba(36, 161, 222, 0.15);
    color: var(--accent-tg);
    border: 1px solid rgba(36, 161, 222, 0.3);
}

.msg-btn.tg:hover {
    background: var(--accent-tg);
    color: #fff;
    transform: scale(1.1);
}

.msg-btn.wa {
    background: rgba(37, 211, 102, 0.15);
    color: var(--accent-wa);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.msg-btn.wa:hover {
    background: var(--accent-wa);
    color: #fff;
    transform: scale(1.1);
}

.msg-btn.vb {
    background: rgba(115, 96, 242, 0.15);
    color: #7360F2;
    border: 1px solid rgba(115, 96, 242, 0.3);
}

.msg-btn.vb:hover {
    background: #7360F2;
    color: #fff;
    transform: scale(1.1);
}

/* ==========================================================================
   Hero Section & Layout
   ========================================================================== */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.08) 0%, rgba(2, 6, 23, 0) 60%);
    overflow: hidden;
}

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

.hero-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-blue);
    margin-bottom: 12px;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 14px;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.feature-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    max-width: 110px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* ==========================================================================
   Interactive Before/After Slider UI
   ========================================================================== */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium), 0 0 0 1px var(--border-color);
    user-select: none;
    cursor: ew-resize;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.clean-img {
    width: 50%;
    /* JS dynamic clip */
    overflow: hidden;
    z-index: 2;
}

.clean-img img {
    width: 100%;
    height: 100%;
    max-width: none;
}

/* Before/After Badges */
.label {
    position: absolute;
    bottom: 16px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--border-radius-sm);
    z-index: 5;
    pointer-events: none;
    backdrop-filter: var(--glass-blur);
}

.label-before {
    left: 16px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.label-after {
    right: 16px;
    background: rgba(249, 115, 22, 0.75);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #fff;
}

/* Slider Drag Handle */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--text-primary);
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.handle-line {
    flex-grow: 1;
    width: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.handle-circle {
    width: 42px;
    height: 42px;
    background: var(--text-primary);
    border-radius: 50%;
    color: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Main Hero slider adjustments */
.main-hero-slider {
    height: 460px;
}

/* ==========================================================================
   Section Headers Styling
   ========================================================================== */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism Cards Base */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
}

/* ==========================================================================
   Services Section Components
   ========================================================================== */
.services-section {
    background: var(--bg-darker);
}

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

.service-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Glowing outlines for cards */
.glow-blue:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.08);
}

.glow-green:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
}

.glow-orange:hover {
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.08);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-blue);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    transform: scale(1.08);
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
}

.glow-green .service-icon-box {
    color: #10b981;
}

.service-card.glow-green:hover .service-icon-box {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.glow-orange .service-icon-box {
    color: var(--accent-orange);
}

.service-card.glow-orange:hover .service-icon-box {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.3);
}

.service-icon {
    width: 28px;
    height: 28px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.service-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
}

/* ==========================================================================
   Interactive Calculator Section
   ========================================================================== */
.calculator-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    padding: 48px;
}

.calculator-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calculator-info .section-title {
    font-size: 2rem;
}

.calculator-info p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.calc-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.benefit-item svg {
    color: #10b981;
}

/* Calculator Form Elements */
.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calc-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

/* Material Option Grid */
.material-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.material-option {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    padding: 14px 10px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.material-option.active {
    background: rgba(56, 189, 248, 0.08);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* Range slider styling */
.calc-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-val-display {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.styled-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #1e293b;
    border-radius: 3px;
    outline: none;
}

.styled-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.styled-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* Select element style */
.calc-select {
    width: 100%;
    background: #1e293b;
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
}

.calc-select option {
    background: var(--bg-dark);
}

/* Checkboxes */
.services-checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    user-select: none;
}

.check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.check-container:hover input~.checkmark {
    background-color: rgba(255, 255, 255, 0.1);
}

.check-container input:checked~.checkmark {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #020617;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.check-container input:checked~.checkmark::after {
    display: block;
}

/* Calc Results Panel */
.calc-result {
    margin-top: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.calc-price-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.price-lbl {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.price-val {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.calc-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.calc-cta-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.btn-calc-send {
    background: linear-gradient(135deg, var(--accent-tg) 0%, #1e92ca 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(36, 161, 222, 0.2);
}

.btn-calc-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(36, 161, 222, 0.4);
}

.btn-calc-send-wa {
    background: linear-gradient(135deg, var(--accent-wa) 0%, #1ebe5d 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.btn-calc-send-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.btn-calc-send-vb {
    background: linear-gradient(135deg, #7360F2 0%, #5b4ac2 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(115, 96, 242, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-calc-send-vb:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(115, 96, 242, 0.4);
}

/* ==========================================================================
   Portfolio / Before-After Grid
   ========================================================================== */
.portfolio-section {
    background: var(--bg-darker);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.portfolio-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.portfolio-visual {
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.mini-slider {
    height: 280px;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    box-shadow: none;
    border: none;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.portfolio-specs {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 0.85rem;
}

.portfolio-specs li {
    color: var(--text-secondary);
}

.portfolio-specs li strong {
    color: var(--text-primary);
}

/* ==========================================================================
   Process Timeline Components
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-orange));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: -44px;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    z-index: 2;
}

.timeline-item:nth-child(4) .timeline-number,
.timeline-item:nth-child(5) .timeline-number {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--border-radius-lg);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   FAQ Section Components
   ========================================================================== */
.faq-section {
    background: var(--bg-darker);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.faq-trigger {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.3rem;
    color: var(--accent-blue);
    line-height: 1;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-orange);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-panel p {
    padding: 0 24px 20px 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

/* ==========================================================================
   CTA Section Components
   ========================================================================== */
.cta-section {
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.05) 0%, rgba(2, 6, 23, 0) 70%), var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 36px auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 48px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
}

.footer-info .logo {
    margin-bottom: 12px;
}

.footer-copy {
    margin-top: 8px;
}

.footer-law {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* ==========================================================================
   Responsive Grid Adaptability (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .hero-container {
        gap: 32px;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .calculator-box {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }

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

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

    .geo-badge {
        display: none;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-sub {
        font-size: 0.55rem;
        letter-spacing: 1.1px;
    }

    .phone-hours {
        display: none;
    }

    .phone-link {
        font-size: 0.85rem;
    }

    .header-contacts {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }

    .msg-btn {
        width: 32px;
        height: 32px;
    }

    .msg-btn svg {
        width: 16px;
        height: 16px;
    }

    section {
        padding: 60px 0;
    }

    .header-container {
        height: 70px;
    }

    .nav {
        display: none;
        /* Mobile menu can be simple call action */
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 24px auto;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .main-hero-slider {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .calculator-box {
        padding: 24px 16px;
    }

    .material-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .calc-cta-group {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 340px;
    }

    .footer-container {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }
}