/* === HOME PAGE UTILITIES === */
.section-title-centered {
    text-align: center;
    margin-bottom: 60px;
}

.projects-btn-wrapper {
    text-align: center;
    margin-top: 60px;
}

.btn-projects-view {
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    padding: 16px 32px;
    border-radius: 50px;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-projects-view:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* --- HERO SECTION --- */
.hero-real-city {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 20px;
    max-width: 1200px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: #FFF;
}
 
.hero-title-large {
    font-family: var(--font-head);
    color: var(--color-bg-white);
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: -0.04em;

}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    background: linear-gradient(135deg, #6EAA5E, #3F4F5E);
    background: var(--color-primary);
    /* background: #3F4F5E; */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc-large {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
}

.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;


}

.hero-btn-group  а {
    text-decoration: none;
}

.btn-hero {
    padding: 18px 40px;
    font-size: 18px;
    border: none;
    background: #0EA5E9;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

/* --- STATS SECTION --- */
.section-stats {
    padding: 60px 20px;
    background: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-sub);
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 768px) {

    .stat-number {
    font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }
}

/* --- ABOUT SECTION --- */
.section-about {
    padding: 100px 20px;
    background: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
}

.container-about {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-subtitle {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 16px;
}

.about-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-sub);
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.feature-icon-box.blue {
    background: #EFF6FF;
    color: var(--color-primary);
}

.feature-icon-box.orange {
    background: #FFF7ED;
    color: var(--color-warning);
}

.feature-text-title {
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 4px;
}

.feature-text-desc {
    font-size: 15px;
    color: var(--color-text-sub);
}

.about-img-wrapper {
    position: relative;
}

.about-img-box {
    background: var(--color-bg-white);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.about-main-img {
    width: 100%;
    border-radius: 16px;
    display: block;
    height: 600px;
    object-fit: cover;
}



.about-badge {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: var(--color-bg-dark);
    color: white;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


@media (max-width: 1024px) {
    .about-main-img {
        height: auto;
        object-fit: contain;
    }
    .about-badge {
        left: 0;
    }

    .about-img-box {
        padding: 0;
    }
}

.about-badge-title {
    font-weight: 700;
    font-size: 14px;
}

.about-badge-desc {
    font-size: 12px;
    color: var(--color-text-light);
}


/* --- CORE ELEMENTS --- */
.section-core-elements {
    padding: 100px 20px;
    background: var(--color-bg-grey);
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 16px;
}

.section-header-desc {
    color: var(--color-text-sub);
    font-size: 18px;
}

.core-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.core-card {
    background: var(--color-bg-white);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.core-card-content {
    padding: 40px;
    flex: 1;
}

@media (max-width: 768px) {
    .core-card-content {
        padding: 20px;
        flex: 1;
    }
}

.core-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
}

.core-card-icon.blue {
    color: var(--color-primary);
}

.core-card-icon.green {
    background: #F0FDF4;
    color: var(--color-accent);
}

.core-card-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 16px;
}

.core-card-desc {
    color: var(--color-text-sub);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.check-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.check-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-sub);
    font-weight: 500;
}

.check-circle {
    min-width: 20px;
    height: 20px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
}

.core-card-img-area {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.core-card-img {
    width: 100%;
    height: 100%;
    opacity: 0.9;
    mix-blend-mode: multiply;
    object-fit: contain;
}

.core-card-img.platform-img {
  object-fit: cover;
}

/* --- SOLUTIONS SECTION --- */
.section-monitoring-types {
    padding: 100px 20px;
    background-color: var(--color-bg-grey);
    background-image: linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

.solutions-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.pillar-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    width: 48%;
}

@media (max-width: 1024px) {
.pillar-card {

    width: 100%;
}
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.1);
    border-color: var(--color-text-light);
}

.pillar-visual {
    height: 220px;
    overflow: hidden;
    background: var(--color-bg-grey);
    position: relative;
    border-bottom: 1px solid var(--color-bg-light);
}

.pillar-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specific image tweak for Construction */
.img-scale-up {
    object-position: 0% center;
    transform: scale(1.5);
}

.pillar-content {
    padding: 24px;
    flex: 1;
}

.pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 12px;
    line-height: 1.3;
}

.pillar-link-text {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.pillar-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-sub);
    margin-bottom: 12px;
}


/* --- PROCESS SECTION --- */
.section-process {
    padding: 100px 20px;
    background: var(--color-bg-grey);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.process-card {
    background: var(--color-bg-white);
    padding: 32px;
    border-radius: 20px;
    text-align: left;
    transition: transform 0.2s;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
}

.process-step-num {
    font-family: var(--font-head);
    font-size: 24px;
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.process-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 12px;
}

.process-desc {
    color: var(--color-text-sub);
    font-size: 15px;
    line-height: 1.6;
}


/* --- ADVANTAGES SECTION --- */
.section-advantages {
    padding: 100px 20px;
    background: var(--color-bg-white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    text-align: left;
    padding: 40px;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.advantage-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.advantage-icon-box.green {
    background: #ECFDF5;
    color: #10B981;
}

.advantage-icon-box.blue {
    color: var(--color-primary);
}

.advantage-icon-box.purple {
    background: #F5F3FF;
    color: #8B5CF6;
}

.advantage-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.advantage-desc {
    color: var(--color-text-sub);
    line-height: 1.6;
}


/* --- PROJECTS SECTION --- */
.section-projects {
    padding: 100px 20px;
    background: var(--color-bg-grey);
}

.projects-showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 40px;
    width: 100%;
}

.project-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
    color: white;
    font-size: 12px;
    font-weight: 700;
}

.project-title {
    color: white;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.project-desc {
    color: #cbd5e1;
    margin-bottom: 24px;
}

.project-stats-row {
    display: flex;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.project-stat-val {
    color: #38BDF8;
    font-weight: 700;
    font-size: 20px;
}

.project-stat-label {
    color: var(--color-text-light);
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {

    .container-about,
    .core-grid,
    .contact-container-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid {
        gap: 24px;
        grid-template-columns: 1fr 1fr;
    }

    .hero-title-large {
        font-size: 42px;
    }
}

@media (max-width: 768px) {

    .section-about,
    .section-core-elements,
    .section-monitoring-types,
    .section-process,
    .section-advantages,
    .section-projects {
        padding: 60px 20px;
    }

    .section-stats {
        padding: 40px 20px;
    }

    .hero-title-large {
        font-size: 32px;
    }

    .hero-desc-large {
        font-size: 16px;
    }

    .btn-hero {
        padding: 14px 28px;
        font-size: 16px;
    }
}

/* === HOME PAGE MODE BG === */
body.bg-mode-home #data-network {
    opacity: 0;
}

body.bg-mode-home {
    background-color: var(--color-bg-light);
}

body.bg-mode-home::before { 
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('../../img/hero_city_photorealistic.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.95);
    opacity: 1;
    pointer-events: none;
}

body.bg-mode-home::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(circle at 60% 50%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 40%, transparent 100%);
    pointer-events: none;
    opacity: 0.99;
}