/* ========================================
   Reset & Base
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: var(--transparent);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    /* Slightly more padding for mobile */
}

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

.text-gradient {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--transparent);
    background-clip: text;
}

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

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 4rem;
}

/* Glassmorphism Classes */
.glass-card {
    background: rgba(var(--white-rgb), 0.7);
    backdrop-filter: blur(20px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--white-rgb), 0.6);
    box-shadow: var(--shadow-glass);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(var(--white-rgb), 0.8);
}

.glass-card-sm {
    background: rgba(var(--white-rgb), 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--white-rgb), 0.2);
    border-radius: 50px;
    color: var(--white);
    transition: background 0.3s ease;
}

.glass-card-sm:hover {
    background: rgba(var(--white-rgb), 0.25);
}

.glass-card-dark {
    background: linear-gradient(135deg, rgba(var(--primary-dark-rgb), 0.95) 0%, rgba(var(--accent-dark-rgb), 0.9) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(var(--white-rgb), 0.1);
    color: var(--white);
    border-radius: var(--radius-lg);
}

.glass-icon {
    background: rgba(var(--white-rgb), 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(var(--white-rgb), 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-warm);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.2), 0 5px 15px rgba(var(--accent-red-rgb), 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid rgba(var(--white-rgb), 0.7);
    color: var(--white);
    background: var(--transparent);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

.btn-outline-light {
    border: 1px solid rgba(var(--white-rgb), 0.3);
    color: var(--white);
    background: var(--transparent);
}

.btn-outline-light:hover {
    background: rgba(var(--white-rgb), 0.1);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(var(--black-rgb), 0.1);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--black-rgb), 0.15);
}

.btn-full {
    width: 100%;
}

/* Pulsate Animation */
.pulsate {
    animation: pulsate 2s infinite;
}

@keyframes pulsate {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0);
    }
}

/* Button Shine Effect */
.shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(var(--white-rgb), 0) 0%, rgba(var(--white-rgb), 0.4) 50%, rgba(var(--white-rgb), 0) 100%);
    transform: skewX(-25deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    15% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* ========================================
   Header
   ======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(var(--white-rgb), 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(var(--white-rgb), 0.3);
    height: var(--header-height);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(var(--white-rgb), 0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-glow);
    border: none;
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

.nav-desktop {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
    font-size: 0.95rem;
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.phone-link {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.05rem;
}

.mobile-toggle {
    display: none;
    /* Hidden by default */
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 5px;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(var(--black-rgb), 0.4);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 0 0 24px 24px;
    box-shadow: var(--shadow-glass);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

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

.nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 10px;
    border-bottom: 1px solid rgba(var(--black-rgb), 0.05);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 60px);
    /* Header height + Top Padding */
    padding-bottom: calc(var(--header-height) + 60px);
    /* Equal Bottom Padding */
    background: var(--primary-deep);
    overflow: hidden;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero-bg.jpg') no-repeat center center/cover;
    /* Placeholder fallback */
    background-image: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?q=80&w=2069&auto=format&fit=crop');
    z-index: 1;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient with subtle red touch */
    background: linear-gradient(90deg, var(--primary-midnight) 0%, rgba(var(--primary-deep-rgb), 0.9) 50%, rgba(var(--primary-deep-rgb), 0.6) 100%),
        radial-gradient(circle at 80% 20%, rgba(var(--accent-red-rgb), 0.15), var(--transparent) 40%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
    /* Align to top */
    min-height: auto;
    /* Remove min-height enforcement to let padding dictate */
}

.hero-text {
    text-align: left;
    /* Default to left for desktop */
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--white);
}

.hero-title .text-gradient {
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

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

/* Typewriter Cursor */
.type-cursor {
    display: inline-block;
    width: 4px;
    background-color: var(--primary-light);
    /* Solid Green again */
    color: var(--transparent);
    /* Hide the text char '|' */
    animation: blink 1s step-end infinite;
    margin-left: 5px;
    vertical-align: middle;
    height: 1em;
    box-shadow: none;
    /* Remove var(--white)/glow shadow */
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


.hero-subtitle {
    font-size: 1.1rem;
    /* Reduced from 1.25rem */
    margin-bottom: 2.5rem;
    color: var(--slate-200);
    /* Very light gray/var(--white) for contrast against dark bg */
    max-width: 600px;
    font-weight: 300;
    line-height: 1.6;
}

/* Hero Badges (Simplified to just Text + Icon) */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* More spacing since they are loose items now */
    margin-bottom: 3rem;
    justify-content: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    /* Removed padding */
    font-size: 1rem;
    /* Slightly larger text */
    font-weight: 500;
    color: var(--white);
    /* Pure var(--white) text */
    background: var(--transparent);
    /* No background */
    border: none;
    /* No border */
    border-radius: 0;
    backdrop-filter: none;
    cursor: default;
}

.hero-badge:hover {
    background: var(--transparent);
    border-color: var(--transparent);
    transform: translateX(5px);
    /* Subtle movement on hover instead */
    transition: transform 0.3s ease;
}

.hero-badge .material-symbols-rounded {
    font-size: 1.3rem;
    color: var(--primary-light);
    /* Keep accent on icon */
    text-shadow: 0 0 15px rgba(var(--primary-light-rgb), 0.4);
    /* Glow for the icon */
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

/* Stats on the right (or bottom on mobile) */
.hero-stats {
    display: flex;
    flex-direction: column;
    /* Stack vertically on desktop right */
    gap: 20px;
    align-items: flex-end;
    /* Align to right edge */
}

.stat-item {
    padding: 20px 30px;
    min-width: 180px;
    text-align: right;
    /* Right align text inside stat */
    background: rgba(var(--black-rgb), 0.4);
    /* Darker glass for stats */
    border: 1px solid rgba(var(--white-rgb), 0.1);
    border-right: 4px solid var(--primary);
    /* Accent on right */
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2px;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(var(--white-rgb), 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tablet Adaptation (992px and below) */
@media (max-width: 992px) {
    .hero {
        /* Medium Equal Padding for Tablet */
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: calc(var(--header-height) + 40px);
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: left;
        justify-items: start;
        gap: 50px;
    }

    .hero-text {
        text-align: left;
        display: block;
        align-items: flex-start;
        width: 100%;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(var(--primary-deep-rgb), 0.95) 0%, rgba(var(--primary-deep-rgb), 0.8) 100%);
    }

    .hero-title {
        font-size: 4.3rem;
        /* Increased for Tablet (was 4rem) */
    }

    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-features {
        justify-content: flex-start;
    }

    .hero-buttons {
        justify-content: flex-start;
        width: 100%;
        flex-direction: column;
        max-width: 100%;
        /* Full width */
    }

    .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }

    .stat-item {
        text-align: center;
        border-right: 1px solid rgba(var(--white-rgb), 0.1);
        border-bottom: 4px solid var(--primary);
        min-width: 140px;
        flex: 1;
    }
}

/* Mobile Adaptation (768px and below) */
@media (max-width: 768px) {
    .hero {
        /* Small Equal Padding for Mobile */
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: calc(var(--header-height) + 20px);
    }

    .hero-title {
        font-size: 2.9rem;
        /* Decreased for Mobile (was 3.2rem) */
    }

    .hero-content-wrapper {
        gap: 30px;
    }
}


/* ========================================
   Benefits Section
   ======================================== */
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-glow);
    margin: 20px auto 0;
    border-radius: 4px;
}

/* Tablet (992px) */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.4rem;
        /* Tablet specific */
    }
}

/* Mobile (768px) */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        /* Mobile specific */
    }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.benefit-card {
    padding: 40px 30px;
    text-align: center;
    height: 100%;
}

.hover-lift {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
    transform: translateY(-12px);
}

.benefit-icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--emerald-50) 0%, var(--emerald-100) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    /* For pseudo-element */
    isolation: isolate;
    /* Create stacking context */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    /* Removed background transition */
    box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.15);
}

/* Pseudo-element for smooth background transition */
.benefit-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

/* Rotate icon on hover - 3 degrees + Color Change */
.benefit-card:hover .benefit-icon-wrapper {
    transform: rotate(3deg) scale(1.05);
    /* background: var(--primary); Removed this, using pseudo instead */
    box-shadow: 0 15px 30px rgba(var(--primary-dark-rgb), 0.3);
}

.benefit-card:hover .benefit-icon-wrapper::before {
    opacity: 1;
    /* Fade in green bg */
}

.benefit-icon-wrapper .material-symbols-rounded {
    font-size: 44px;
    color: var(--primary);
    transition: color 0.4s ease;
    position: relative;
    z-index: 1;
    /* Ensure icon is above pseudo */
}

.benefit-card:hover .benefit-icon-wrapper .material-symbols-rounded {
    color: var(--white);
    /* Turn var(--white) */
}

.benefit-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* ========================================
   Services Section (Grid)
   ======================================== */
.services {
    background: rgba(var(--primary-deep-rgb), 0.03);
    /* Very subtle dark tint on body */
    /* Alternatively, if user wants it really stand out dark: */
    /* background: linear-gradient(180deg, rgba(var(--primary-deep-rgb), 0.05) 0%, rgba(2, 44, 34, 0.1) 100%); */
    border-top: 1px solid rgba(var(--black-rgb), 0.05);
    border-bottom: 1px solid rgba(var(--black-rgb), 0.05);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns on desktop */
    gap: 30px;
    margin-bottom: 50px;
}

/* Tablet/Mobile Adaptation for Services */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }
}

.service-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(var(--white-rgb), 0.6);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-glow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--white);
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.25);
}

.service-icon .material-symbols-rounded {
    font-size: 32px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

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

.service-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-price::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.callout-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    /* Dark Green Background */
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deep) 100%);
    gap: 40px;
    flex-wrap: wrap;
    border: 1px solid rgba(var(--white-rgb), 0.1);
    color: var(--white);
    /* White text */
}

.callout-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    min-width: 300px;
}

.callout-text h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.callout-text p {
    color: rgba(var(--white-rgb), 0.8);
}

.callout-icon .material-symbols-rounded {
    font-size: 60px;
    color: var(--primary-light);
    /* Light green icon for contrast */
}

/* Callout Mobile Adaptation */
@media (max-width: 768px) {
    .callout-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        min-width: auto;
        /* Allow shrinking */
    }

    .callout-block {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        /* Reduced padding from 30px */
        gap: 24px;
        border-radius: 12px;
    }

    .callout-text h3 {
        font-size: 1.3rem;
    }
}

/* ========================================
   Materials Section (Premium List)
   ======================================== */
/* ========================================
   Materials Section (Unified Block)
   ======================================== */
.materials-unified {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 equal columns */
    padding: 0;
    /* No padding on main container, columns handle it */
    overflow: hidden;
    /* For rounded corners clipping */
}

.material-column {
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    border-right: 1px solid rgba(var(--black-rgb), 0.05);
    /* Divider */
    transition: background 0.3s ease;
    position: relative;
}

.material-column:last-child {
    border-right: none;
}

/* Hover Effect for Column */
.material-column:hover {
    background: rgba(var(--accent-rgb), 0.03);
    /* Very subtle green tint */
}

.material-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(var(--accent-rgb), 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.material-column:hover .material-icon-wrapper {
    background: var(--primary);
    transform: translateY(-5px) rotate(-3deg);
    /* Lift and Rotate */
    box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.2);
}

.material-icon-wrapper .material-symbols-rounded {
    font-size: 40px;
    color: var(--primary);
    transition: color 0.4s ease;
}

.material-column:hover .material-icon-wrapper .material-symbols-rounded {
    color: var(--white);
}

.material-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.material-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Brand Tags */
.material-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 0px;
    /* Removed margin since button is gone */
    width: 100%;
}

.brand-tag {
    background: rgba(var(--primary-deep-rgb), 0.05);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(var(--black-rgb), 0.05);
    transition: all 0.2s ease;
}

.material-column:hover .brand-tag {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(var(--black-rgb), 0.05);
}

/* Responsive Materials */
@media (max-width: 992px) {
    .materials-unified {
        grid-template-columns: 1fr;
        /* Stack vertically */
    }

    .material-column {
        border-right: none;
        border-bottom: 1px solid rgba(var(--black-rgb), 0.05);
        padding: 40px 20px;
    }

    .material-column:last-child {
        border-bottom: none;
    }
}

/* ========================================
   Prices & Table (Sticky Logic)
   ======================================== */
/* Green Section Background */
/* Green Section Background */
.section.prices {
    background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.15) 0%, var(--transparent) 100%);
    position: relative;
    border-top: 1px solid rgba(var(--accent-rgb), 0.3);
    /* Clearly visible separator */
}

/* Green Table Accent */
.glass-card-accent {
    background: rgba(var(--white-rgb), 0.7) !important;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.15);
}

.glass-card-accent .price-table th {
    background: var(--primary-dark);
    color: var(--white);
}

.glass-card-accent .price-table tr:hover td {
    background: rgba(var(--accent-rgb), 0.06);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: -3.5rem;
    margin-bottom: 4rem;
}

.table-container {
    overflow-x: auto;
    padding: 0;
    margin-bottom: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
}

.price-table th,
.price-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(var(--black-rgb), 0.05);
}

/* Specific Column Widths */
.price-table th:nth-child(1),
.price-table td:nth-child(1) {
    min-width: 300px;
    /* Name column - wide */
    white-space: normal;
}

.price-table th:nth-child(2),
.price-table td:nth-child(2),
.price-table th:nth-child(3),
.price-table td:nth-child(3) {
    min-width: 100px;
    /* Unit & Price columns */
    white-space: nowrap;
}

.price-table th {
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.price-table td {
    background: rgba(var(--white-rgb), 0.4);
}

.price-table tr:hover td {
    background: rgba(var(--white-rgb), 0.8);
}

.price-val {
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
}

/* Removed Sticky First Column as per request */

/* ========================================
   Calculator Section
   ======================================== */
.calculator-section {
    padding: 100px 0;
    border-top: none;
}

.calculator-wrapper {
    padding: 50px;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.input-group {
    margin-bottom: 36px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1.1rem;
}

.highlight-val {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.4rem;
}

/* Custom Range Slider */
.styled-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: var(--slate-200);
    outline: none;
    transition: opacity .2s;
    cursor: pointer;
}

.styled-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-glow);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(var(--accent-rgb), 0.4);
    transition: transform 0.2s;
    border: 3px solid var(--white);
}

.styled-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Switch Options */
.switch-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.switch-opt input {
    display: none;
}

.opt-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border: 2px solid var(--slate-200);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    height: 100%;
    text-align: center;
    background: rgba(var(--white-rgb), 0.5);
}

.switch-opt input:checked+.opt-box {
    border-color: var(--primary);
    background: rgba(var(--accent-rgb), 0.08);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.15);
    transform: translateY(-2px);
}

.opt-name {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1rem;
}

.opt-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Checkbox Style */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group .custom-checkbox {
    display: flex !important;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1rem;
    padding: 8px 0;
    width: 100%;
    user-select: none;
    margin-bottom: 0 !important;
    /* Force reset margin inherited from .input-group label */
    font-weight: 400;
    /* Force reset font-weight */
}

.custom-checkbox span:not(.checkmark) {
    line-height: 1.2;
    display: inline-block;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    /* Prevent icon from shrinking */
    border: 2px solid var(--slate-300);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: var(--white);
}

.checkmark::after {
    content: 'check';
    font-family: 'Material Symbols Rounded';
    color: var(--white);
    font-size: 20px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s;
    font-weight: 700;
}

.custom-checkbox input:checked+.checkmark {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 2px 5px rgba(var(--accent-rgb), 0.3);
}

.custom-checkbox input:checked+.checkmark::after {
    opacity: 1;
    transform: scale(1);
}

/* Calc Result */
.calc-result {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 100%;
    box-shadow: 0 15px 40px rgba(var(--primary-dark-rgb), 0.25);
}

.result-header {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.result-price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1;
    text-shadow: 0 5px 15px rgba(var(--black-rgb), 0.3);
}

.result-price .currency {
    font-size: 1.25rem;
    font-weight: 400;
    margin-left: 5px;
    opacity: 0.8;
}

.result-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 40px;
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ========================================
   Info Blocks (Unified Yellow Grid)
   ======================================== */
.section.info-blocks {
    background: linear-gradient(180deg, rgba(var(--amber-400-rgb), 0.08) 0%, var(--transparent) 100%);
    border-top: 1px solid rgba(var(--amber-400-rgb), 0.2);
    position: relative;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 20px 0;
}

/* Amber Glass Card Style */
.amber-card {
    background: rgba(var(--white-rgb), 0.7);
    /* Light amber tint */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--amber-400-rgb), 0.3);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(var(--amber-700-rgb), 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.amber-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--amber-700-rgb), 0.1);
    border-color: rgba(var(--amber-400-rgb), 0.5);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--amber-700);
    /* Amber 700 */
}

.card-header .material-symbols-rounded {
    font-size: 2rem;
    background: var(--amber-100);
    /* Amber 100 */
    padding: 10px;
    border-radius: 12px;
}

.card-header h3 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--amber-800);
    /* Amber 800 */
}

/* Internal Card Content Styles */
.zones-content,
.deadlines-list,
.process-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zone-group h5,
.dl-item .dl-label,
.p-mini-step h5 {
    color: var(--amber-800);
    font-weight: 700;
    margin-bottom: 4px;
}

.zone-group p,
.dl-item .dl-val,
.p-mini-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.dl-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(var(--amber-400-rgb), 0.15);
}

.dl-item:last-child {
    border-bottom: none;
}

.p-mini-step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.p-num {
    background: var(--amber-200);
    /* Amber 200 */
    color: var(--amber-800);
    font-weight: 800;
    font-size: 0.8rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Tablet / Mobile */
@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ========================================
   FAQ (Grey Glass Accordion)
   ======================================== */
.section.faq {
    background: linear-gradient(180deg, rgba(var(--slate-600-rgb), 0.05) 0%, var(--transparent) 100%);
    border-top: 1px solid rgba(var(--slate-600-rgb), 0.1);
}

.faq-container {
    padding: 20px 40px;
    background: rgba(var(--white-rgb), 0.8) !important;
    border: 1px solid rgba(var(--slate-600-rgb), 0.2) !important;
}

.faq-item {
    border-bottom: 1px solid rgba(var(--slate-600-rgb), 0.08);
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background: rgba(var(--slate-600-rgb), 0.02);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 0;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--slate-700);
    /* Slate 700 */
    transition: color 0.3s;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-question .material-symbols-rounded {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .material-symbols-rounded {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* ========================================
   SEO Optimization Section
   ======================================== */
.section.seo-optimization {
    padding-bottom: 40px;
}

.seo-block {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.seo-content {
    margin-top: 30px;
    text-align: left;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.seo-content h4 {
    color: var(--text-main);
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.seo-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.seo-content ul,
.seo-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.seo-content.collapsed {
    max-height: 150px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, var(--black) 50%, var(--transparent) 100%);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    text-decoration: underline;
    font-size: 1rem;
}

/* ========================================
   Reviews Section
   ======================================== */
.section.reviews {
    background: rgba(var(--primary-rgb), 0.03);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-item {
    padding: 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-stars {
    color: var(--amber-400);
    /* Amber 400 */
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 24px;
    flex-grow: 1;
}

.review-author {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
}

/* ========================================
   Final CTA
   ======================================== */
/* ========================================
   Final CTA Section
   ======================================== */
.section.cta-final {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at top right, rgba(var(--accent-red-rgb), 0.08), var(--transparent) 40%),
        radial-gradient(circle at bottom left, rgba(var(--accent-rgb), 0.05), var(--transparent) 40%);
}

.cta-box {
    padding: 80px 60px;
    text-align: center;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--emerald-800) 100%);
    box-shadow: 0 40px 100px -20px rgba(var(--primary-dark-rgb), 0.4);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-badge {
    display: inline-block;
    background: rgba(var(--white-rgb), 0.15);
    color: var(--primary-light);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--white-rgb), 0.1);
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 24px;
    color: var(--white);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.cta-desc {
    font-size: 1.15rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 50px;
    text-align: center;
}

.cb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cb-item .material-symbols-rounded {
    font-size: 1.5rem;
    color: var(--primary-light);
    background: rgba(var(--white-rgb), 0.1);
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cb-text strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 3px;
    line-height: 1.1;
    color: var(--white);
}

.cb-text span {
    font-size: 0.75rem;
    opacity: 0.7;
    display: block;
    line-height: 1.2;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background: rgba(var(--white-rgb), 0.04);
    padding: 25px 50px;
    border-radius: 100px;
    border: 1px solid rgba(var(--white-rgb), 0.05);
}

.cta-phone-block {
    text-align: left;
}

.phone-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.6;
    margin-bottom: 2px;
}

.cta-phone {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-phone:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.cta-divider {
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.3;
    text-transform: uppercase;
}

.btn-pulse {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--white-rgb), 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(var(--white-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--white-rgb), 0);
    }
}

/* Response for CTA */
@media (max-width: 1200px) {
    .cta-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .cta-actions {
        flex-direction: column;
        gap: 15px;
        padding: 30px;
        border-radius: 40px;
    }

    .cta-phone-block {
        text-align: center;
    }

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

@media (max-width: 768px) {
    .cta-box {
        padding: 60px 24px;
    }

    .cta-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .cta-desc {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }

    .cta-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 40px;
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--primary-midnight);
    color: var(--white);
    padding: 80px 0 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(var(--white-rgb), 0.05);
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-light-rgb), 0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.footer-logo .material-symbols-rounded {
    color: var(--primary-light);
    font-size: 32px;
    display: inline-flex;
    align-items: center;
    position: relative;
    top: 1px;
}

.footer-desc {
    color: rgba(var(--white-rgb), 0.4);
    max-width: 300px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

.footer-col a {
    display: block;
    color: rgba(var(--white-rgb), 0.5);
    margin-bottom: 14px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-col a:hover {
    color: var(--primary-light);
    transform: translateX(10px);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-link {
    font-size: 1.4rem !important;
    color: var(--white) !important;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px !important;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--primary-light) !important;
    transform: none !important;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(var(--white-rgb), 0.4);
    font-size: 0.9rem;
}

.footer-info-item .material-symbols-rounded {
    font-size: 20px;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    position: relative;
    top: 1px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(var(--white-rgb), 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--white-rgb), 0.05);
    color: rgba(var(--white-rgb), 0.5);
}

.footer-social-btn .material-symbols-rounded {
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.footer-social-btn:hover {
    background: var(--primary);
    border-color: var(--primary-light);
    transform: translateY(-5px);
    color: var(--white);
}

.footer-social-btn.viber:hover {
    background: #7360f2;
    border-color: #9082f4;
}

.footer-social-btn.telegram:hover {
    background: #0088cc;
    border-color: #33a1da;
}

.footer-social-btn.whatsapp:hover {
    background: #25d366;
    border-color: #4ade80;
}

.footer-bottom {
    border-top: 1px solid rgba(var(--white-rgb), 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(var(--white-rgb), 0.25);
    font-size: 0.85rem;
}

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

.footer-bottom-links a {
    color: rgba(var(--white-rgb), 0.25);
    transition: color 0.3s ease;
}

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

@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-col:first-child {
        grid-column: span 2;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-col:first-child {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .footer-bottom-links {
        justify-content: flex-start;
        width: 100%;
    }
}

/* ========================================
   FAB & Modal
   ======================================== */
/* ========================================
   Dynamic FAB (Floating Action Button)
   ======================================== */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.fab-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fab-quick-call {
    display: none;
    /* Hidden by default, shown via media query on mobile */
    align-items: center;
    background: var(--gradient-glow);
    /* Dynamic color matching the fab-main */
    color: var(--white);
    padding: 0 24px;
    height: 64px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    animation: pulseShake 3s infinite;
    transform-origin: center center;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

.fab-quick-call:hover {
    animation-play-state: paused;
    transform: scale(1.05);
}

.fab-quick-call-text {
    font-size: 0.65rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
    margin-bottom: 2px;
}

.fab-quick-call-phone {
    font-size: 1.15rem;
    line-height: 1;
    font-weight: 800;
}

@keyframes pulseShake {
    0% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.4);
    }

    5% {
        transform: scale(1.03) rotate(-2deg);
        box-shadow: 0 0 25px rgba(var(--accent-rgb), 0.7), 0 0 40px rgba(var(--accent-rgb), 0.5);
    }

    10% {
        transform: scale(1.03) rotate(2deg);
    }

    15% {
        transform: scale(1.03) rotate(-2deg);
    }

    20% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.4);
    }

    100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.4);
    }
}

@media (max-width: 768px) {
    .fab-quick-call {
        display: flex;
    }
}

.fab-main {
    width: 64px;
    height: 64px;
    background: var(--gradient-glow);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.fab-main:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.6);
}

.fab-main .close-icon {
    display: none;
    font-size: 28px;
}

.fab-main .main-icon {
    font-size: 32px;
}

.fab-container.active .fab-main {
    background: var(--accent);
    transform: rotate(90deg);
}

.fab-container.active .main-icon {
    display: none;
}

.fab-container.active .close-icon {
    display: block;
}

/* FAB Menu */
.fab-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
}

.fab-container.active .fab-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.fab-item {
    background: rgba(var(--white-rgb), 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--white-rgb), 0.5);
    padding: 12px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(var(--black-rgb), 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.fab-request {
    background: var(--gradient-glow);
    color: var(--white);
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.fab-request:hover {
    transform: translateX(-5px);
    box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.3);
}

.fab-phone-display {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.fab-phone-display .phone-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fab-phone-display a {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
}

/* Social Icons Row */
.fab-social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: var(--white);
    border: 1px solid var(--slate-200);
    box-shadow: 0 5px 15px rgba(var(--black-rgb), 0.05);
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon .material-symbols-rounded {
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.social-icon.call {
    background: var(--success-bg);
    color: var(--success-text);
}

.social-icon.viber {
    background: var(--viber-bg);
    color: var(--viber);
}

.social-icon.telegram {
    background: var(--telegram-bg);
    color: var(--telegram);
}

.social-icon.whatsapp {
    background: var(--whatsapp-bg);
    color: var(--whatsapp);
}

@media (max-width: 768px) {
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
}



.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-rgb), 0.4);
    /* Base overlay */
    backdrop-filter: blur(15px);
    /* Strong blur required */
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(var(--white-rgb), 0.98);
    width: 95%;
    max-width: 480px;
    padding: 0;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 32px;
    box-shadow: 0 40px 100px rgba(var(--black-rgb), 0.25);
    overflow: hidden;
}

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

.modal-header {
    background: var(--gradient-main);
    padding: 50px 40px 30px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.modal-icon-badge {
    width: 70px;
    height: 70px;
    background: rgba(var(--white-rgb), 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--white-rgb), 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-icon-badge .material-symbols-rounded {
    font-size: 36px;
    color: var(--primary-light);
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
    color: var(--white);
}

.modal-desc {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.5;
}

.modal-form {
    padding: 30px 40px 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 22px;
}

.form-input {
    width: 100%;
    padding: 16px 16px 16px 50px;
    border: 2px solid var(--slate-100);
    border-radius: 16px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    background: var(--slate-50);
}

.form-input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1);
}

.form-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.form-submit-error {
    text-align: center;
    margin: 0 0 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-red, #f43f5e);
    line-height: 1.4;
}

.form-submit-error[hidden] {
    display: none !important;
}

/* Form messengers - primary CTA inside modal */
.form-messengers {
    margin: 8px 0 18px;
}

.form-messengers-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--slate-600);
    margin: 0 0 12px;
}

.form-messengers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.msg-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 76px;
    padding: 12px 8px;
    border-radius: 16px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 18px rgba(var(--black-rgb), 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.msg-btn .material-symbols-rounded {
    font-size: 26px;
    line-height: 1;
}

.msg-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
    box-shadow: 0 12px 24px rgba(var(--black-rgb), 0.18);
}

.msg-whatsapp {
    background: linear-gradient(145deg, #25d366 0%, #128c7e 100%);
}

.msg-telegram {
    background: linear-gradient(145deg, #2aabee 0%, #0088cc 100%);
}

.msg-viber {
    background: linear-gradient(145deg, #8b7cf6 0%, #7360f2 100%);
}

.form-messengers-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 14px;
    color: var(--slate-400);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-messengers-divider::before,
.form-messengers-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--slate-200);
}

.form-messengers-divider span {
    white-space: nowrap;
}

/* Deprioritized form submit */
.btn-form-muted {
    background: var(--transparent);
    color: var(--slate-500);
    border: 1.5px solid var(--slate-300);
    box-shadow: none;
    font-size: 0.95rem;
    padding: 14px 20px;
    font-weight: 600;
}

.btn-form-muted:hover {
    background: var(--slate-50);
    color: var(--slate-700);
    border-color: var(--slate-400);
    transform: none;
    box-shadow: none;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(var(--white-rgb), 0.1);
    border: 1px solid rgba(var(--white-rgb), 0.2);
    border-radius: 50%;
    cursor: pointer;
    color: var(--white);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-modal:hover {
    background: rgba(var(--white-rgb), 0.2);
    transform: rotate(90deg);
}

/* Success Content */
.success-content {
    padding: 60px 40px;
    text-align: center;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--success-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 50px;
    animation: success-pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes success-pop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-content h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.success-content p {
    color: var(--text-muted);
}

/* ========================================
   POLICY PAGE STYLES
   ======================================== */
.policy-hero {
    padding: 120px 0 60px;
    background: var(--gradient-main);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.policy-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero-radial);
    z-index: 1;
}

.policy-body {
    padding: 80px 0;
    background: var(--bg-body);
}

/* ========================================
   Policy Page Navigation Blocks
   ======================================== */
.policy-nav-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}

.policy-nav-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.nav-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.nav-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.nav-card-icon .material-symbols-rounded {
    font-size: 32px;
    color: var(--primary);
}

.nav-card:hover .nav-card-icon {
    background: var(--primary);
    transform: rotate(10deg);
}

.nav-card:hover .nav-card-icon .material-symbols-rounded {
    color: var(--white);
}

.nav-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.nav-card p {
    font-size: 0.95rem;
    color: rgba(var(--primary-dark-rgb), 0.6);
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .policy-nav-section {
        margin-top: 50px;
        padding-top: 40px;
    }

    .nav-cards-grid {
        grid-template-columns: 1fr;
    }

    .nav-card {
        padding: 30px 20px;
    }
}

.policy-card {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.policy-card h2 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.policy-card h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-warm);
    border-radius: 4px;
}

.policy-card p,
.policy-card li {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.policy-card ul {
    list-style: none;
    padding: 0;
}

.policy-card ul li {
    padding-left: 30px;
    position: relative;
}

.policy-card ul li::before {
    content: 'check_circle';
    font-family: 'Material Symbols Rounded';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-size: 20px;
}

.last-update {
    display: inline-block;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* ========================================
   RESPONSIVE DESIGN (Adaptive Rubber)
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Tablet / Small Desktop */
@media (max-width: 1024px) {
    :root {
        --container-width: 960px;
    }

    .nav-desktop,
    .header-actions .btn-sm {
        display: none;
        /* Hide desktop nav and button */
    }

    .mobile-toggle {
        display: block;
    }

    .header-container {
        justify-content: space-between;
    }

    /* Keep phone number visible if possible, or hide on smaller */
    .hero-title {
        font-size: 3rem;
    }
}

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

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .switch-options {
        grid-template-columns: 1fr;
    }

    .calculator-wrapper {
        padding: 30px 15px;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 20px;
    }

    .calc-result {
        padding: 30px 20px;
    }

    .result-price {
        font-size: 2.5rem;
    }

    .content-cols {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-contact-link,
    .footer-info-item {
        justify-content: flex-start;
    }

    .faq-question {
        font-size: 1rem;
    }

    .header-actions {
        display: none;
    }

    /* Hide phone in header on mobile */

    .modal-content {
        padding: 0;
    }

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

    .cta-phone {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: 40px 20px 20px;
    }

    .modal-form {
        padding: 25px 20px 30px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-icon-badge {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .modal-icon-badge .material-symbols-rounded {
        font-size: 30px;
    }

    .success-content {
        padding: 40px 20px;
    }

    .form-messengers-grid {
        gap: 8px;
    }

    .msg-btn {
        min-height: 68px;
        padding: 10px 4px;
        font-size: 0.7rem;
        border-radius: 14px;
    }

    .msg-btn .material-symbols-rounded {
        font-size: 22px;
    }
}

/* Stealth stats trigger — © у copyright, виглядає як звичайний текст */
.stats-stealth-btn {
    display: inline;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    line-height: inherit;
    cursor: text;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    box-shadow: none;
    text-decoration: none;
}

.stats-stealth-btn:hover,
.stats-stealth-btn:focus,
.stats-stealth-btn:active {
    color: inherit;
    background: none;
    outline: none;
    box-shadow: none;
    text-decoration: none;
    transform: none;
}

.stats-modal-content {
    padding: 0;
    overflow: hidden;
}

.stats-modal-body {
    padding: 48px 32px 32px;
}

.stats-modal-title {
    font-size: 1.5rem;
    margin: 0 0 8px;
    color: var(--text-main, #0f172a);
}

.stats-modal-updated {
    margin: 0 0 20px;
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.55);
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    border-radius: 12px;
}

.stats-row--total {
    background: #0f172a;
    color: #fff;
}

.stats-row--total .stats-label,
.stats-row--total .stats-value {
    color: #fff;
}

.stats-label {
    font-size: 0.95rem;
    color: #334155;
}

.stats-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.stats-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-top: 0.35rem;
}

.stats-loading,
.stats-error {
    text-align: center;
    color: #64748b;
    padding: 1rem 0;
}

.stats-error {
    color: #ef4444;
}
