/*
Theme Name: M-System Elevators Luxury Theme
Theme URI: https://lift.myagentbox.ru
Author: Antigravity & Hermes Agent
Description: Премиальная динамическая тема для завода панорамных лифтов «М-Систем» с микро-анимациями и скруглениями в стиле lift-home.ru
Version: 1.1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
*/

:root {
    --bg-dark: #0b0b0d;
    --bg-card: #131317;
    --bg-card-hover: #1a1a20;
    --surface-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.12);
    --border-glass-hover: rgba(230, 152, 100, 0.5);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --text-muted: #6b6b76;
    
    --accent-gold: #E69864;
    --accent-gold-hover: #f0ac7e;
    --accent-glow: rgba(230, 152, 100, 0.25);
    
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Onest', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-morph: border-radius 0.65s cubic-bezier(0, 0, 0, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden !important;
}

html {
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    scroll-behavior: auto;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================================
   REVEAL / ПОСТЕПЕННОЕ ПОЯВЛЕНИЕ ЭЛЕМЕНТОВ
   ======================================================== */
.reveal {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-down {
    transform: translateY(-30px);
    transition: opacity 1.35s cubic-bezier(0.16, 1, 0.3, 1), transform 1.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.reveal-fade {
    transform: translateY(0);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Анимация выплывания шапки: логотип слева, бургер справа */
.reveal-header-logo {
    animation: headerLogoSlide 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-header-burger {
    animation: headerBurgerSlide 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes headerLogoSlide {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes headerBurgerSlide {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================================
   CONTAINER & LAYOUT
   ======================================================== */
.container {
    width: 100%;
    max-width: 1600px;
    margin-inline: auto;
    padding-inline: 3rem;
}

@media (max-width: 1400px) {
    .container {
        padding-inline: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding-inline: 1.25rem;
    }
}

/* ========================================================
   HEADER & BURGER
   ======================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition-smooth);
    background: linear-gradient(to bottom, rgba(11, 11, 13, 0.95), rgba(11, 11, 13, 0));
    width: 100%;
    max-width: 100vw;
}

.site-header.scrolled {
    padding: 0.85rem 0;
    background: rgba(11, 11, 13, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.header-logo img {
    height: 28px;
    max-width: 130px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.header-logo-badge {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    border-left: 1px solid var(--border-glass);
    padding-left: 0.85rem;
    line-height: 1.25;
    font-weight: 500;
    white-space: nowrap;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    flex-wrap: nowrap;
}

.header-nav a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    text-transform: uppercase;
    position: relative;
    white-space: nowrap;
}

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

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

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

.header-contacts {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.header-phone {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 1.05rem;
    color: #fff;
    white-space: nowrap;
}

/* Burger Button */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    padding: 12px 10px;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    cursor: pointer;
    z-index: 101;
    transition: var(--transition-smooth);
}

.burger-line {
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.burger-btn:hover {
    background: rgba(230, 152, 100, 0.2);
    border-color: var(--accent-gold);
}

/* Breakpoints for Navigation & Burger */
@media (max-width: 1100px) {
    .header-nav {
        display: none !important;
    }
    .header-logo-badge {
        display: none !important;
    }
    .burger-btn {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .header-phone {
        display: none !important;
    }
    .btn-header-calc {
        display: none !important;
    }
}

/* Mobile Drawer Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.4s ease;
}

.mobile-menu.is-active {
    pointer-events: auto;
    visibility: visible;
}

.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu.is-active .mobile-menu-backdrop {
    opacity: 1;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 85vw);
    background: #0f0f13;
    border-left: 1px solid var(--border-glass);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

.mobile-menu.is-active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-glass);
}

.mobile-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mobile-close-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-link::after {
    content: '→';
    color: var(--accent-gold);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.mobile-nav-link:hover::after {
    transform: translateX(6px);
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
}

.mobile-phone-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.mobile-phone-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.mobile-cta-btn {
    width: 100%;
    text-align: center;
}

/* Buttons */
.btn-luxury {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.85rem;
    border-radius: 9999px;
    border: 1px solid var(--accent-gold);
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-luxury::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.btn-luxury span, .btn-luxury svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-luxury:hover {
    color: #000;
    border-color: var(--accent-gold-hover);
    box-shadow: 0 0 25px var(--accent-glow);
}

.btn-luxury:hover::before {
    opacity: 1;
}

.btn-luxury-primary {
    background: var(--accent-gold);
    color: #0b0b0d;
    border-color: var(--accent-gold);
}

.btn-luxury-primary:hover {
    background: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    color: #000;
}

/* ========================================================
   HERO SECTION
   ======================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: radial-gradient(circle at 70% 30%, rgba(230, 152, 100, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(30, 30, 45, 0.4) 0%, transparent 70%);
    overflow: hidden;
    width: 100%;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-dark) 5%, transparent 60%),
                linear-gradient(to right, rgba(11, 11, 13, 0.95) 0%, rgba(11, 11, 13, 0.5) 50%, rgba(11, 11, 13, 0.85) 100%);
    z-index: 1;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 0;
    filter: saturate(1.05) contrast(1.15);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.4rem;
    border-radius: 9999px;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(8px);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    max-width: 100%;
    flex-wrap: wrap;
    line-height: 1.4;
}

.hero-tag-brand {
    white-space: nowrap;
    color: #fff;
    font-weight: 600;
}

@media (max-width: 480px) {
    .hero-tag {
        font-size: 0.72rem;
        padding: 0.45rem 1rem;
        letter-spacing: 0.08em;
        margin-bottom: 1.5rem;
        gap: 0.35rem;
    }
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 8px var(--accent-gold);
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1.75rem;
    word-break: break-word;
}

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

.hero-desc {
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-hero-calc {
    border-color: rgba(255, 255, 255, 0.25);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-glass);
    width: 100%;
}

@media (max-width: 900px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
        margin-top: 2.5rem;
        padding-top: 2rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn-luxury {
        width: 100%;
    }
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-item h3 span {
    color: var(--accent-gold);
    font-size: 0.75em;
}

.stat-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* ========================================================
   SECTIONS COMMON
   ======================================================== */
.section {
    padding: 7.5rem 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

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

.section-head {
    text-align: center;
    max-width: 780px;
    margin-inline: auto;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.5vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.section-subtitle {
    margin-top: 1.25rem;
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.6;
}

/* ========================================================
   CATALOG WITH SIGNATURE MORPH (LIFT-HOME BORDER-RADIUS 360px)
   ======================================================== */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
}

.catalog-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    transition: var(--transition-morph);
    width: 100%;
}

.catalog-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.05);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.catalog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 11, 13, 0.95) 0%, rgba(11, 11, 13, 0.2) 60%, rgba(11, 11, 13, 0.4) 100%);
    transition: background 0.6s ease;
}

.catalog-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    transition: transform 0.5s ease;
}

@media (max-width: 480px) {
    .catalog-card {
        height: 420px;
    }
    .catalog-card-content {
        padding: 1.75rem 1.25rem;
    }
}

.catalog-card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.catalog-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: #fff;
    transition: transform 0.4s ease;
}

.catalog-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    opacity: 0.85;
}

.catalog-card-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    visibility: hidden;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0, 0, 0, 1), transform 0.6s cubic-bezier(0, 0, 0, 1), background-color 0.3s ease;
}

.catalog-card-btn svg {
    width: 22px;
    height: 22px;
}

@media (hover: hover) {
    .catalog-card:hover {
        border-radius: 360px;
        border-color: var(--border-glass-hover);
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7);
    }
    
    .catalog-card:hover .catalog-card-img {
        transform: scale(1.08);
        filter: brightness(0.85) contrast(1.1);
    }
    
    .catalog-card:hover .catalog-card-overlay {
        background: linear-gradient(to top, rgba(11, 11, 13, 0.9) 0%, rgba(11, 11, 13, 0.15) 50%, rgba(11, 11, 13, 0.3) 100%);
    }

    .catalog-card:hover .catalog-card-btn {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -50%);
    }

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

/* ========================================================
   ABOUT SECTION
   ======================================================== */
.about-section {
    background: rgba(255, 255, 255, 0.02);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.about-badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.badge-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.badge-divider {
    border-left: 1px solid var(--border-glass);
    padding-left: 2rem;
}

@media (max-width: 480px) {
    .about-badges {
        flex-direction: column;
        gap: 1.25rem;
    }
    .badge-divider {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-glass);
        padding-top: 1.25rem;
    }
}

.about-image {
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    width: 100%;
}

/* ========================================================
   FEATURES
   ======================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 3rem 2.25rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

@media (max-width: 480px) {
    .feature-item {
        padding: 2rem 1.5rem;
    }
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 152, 100, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-num {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: 1.25rem;
    transition: color 0.3s ease;
}

.feature-item:hover .feature-num {
    color: var(--accent-gold);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================================
   PORTFOLIO SLIDER (SWIPER)
   ======================================================== */
.portfolio-slider {
    width: 100%;
    overflow: visible;
}

.portfolio-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: var(--bg-card);
    width: 100%;
}

.portfolio-card-img {
    height: 380px;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 480px) {
    .portfolio-card-img {
        height: 280px;
    }
}

.portfolio-card-body {
    padding: 1.5rem;
}

.portfolio-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    text-transform: uppercase;
}

.portfolio-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ========================================================
   CALCULATOR
   ======================================================== */
.calc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    width: 100%;
}

@media (max-width: 768px) {
    .calc-card {
        padding: 2rem 1.25rem;
        border-radius: 16px;
    }
}

.calc-step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
    width: 100%;
}

@media (max-width: 480px) {
    .calc-options-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
}

.calc-option {
    padding: 1.25rem 1rem;
    border-radius: 12px;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.calc-option.active, .calc-option:hover {
    border-color: var(--accent-gold);
    background: rgba(230, 152, 100, 0.12);
}

.calc-option h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.calc-option p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.calc-form-wrap {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-glass);
    width: 100%;
}

.calc-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

@media (max-width: 1024px) {
    .calc-form {
        grid-template-columns: 1fr 1fr;
    }
    .calc-submit-btn {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .calc-form {
        grid-template-columns: 1fr;
    }
    .calc-submit-btn {
        grid-column: span 1;
        width: 100%;
    }
}

.calc-input {
    padding: 1rem 1.25rem;
    border-radius: 9999px;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    width: 100%;
    transition: var(--transition-smooth);
}

.calc-input:focus {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.08);
}

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
    border-top: 1px solid var(--border-glass);
    background: #070708;
    padding: 5rem 0 2.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 3.5rem 0 2rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
    width: 100%;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    max-width: 360px;
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: #fff;
}

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

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
    width: 100%;
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
