/**
 * Technology Section Styles
 * Columna izquierda: contenido | Columna derecha: imagen con stats centrados
 */

/* ========================================
   Section Base
   ======================================== */
.block-technology {
    background: linear-gradient(180deg, #fff 0%, #f8f6f4 100%);
    position: relative;
    overflow: hidden;
}

/* ========================================
   Row - Equal Height Columns
   ======================================== */
.block-technology .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.block-technology .col-lg-6 {
    display: flex;
}

/* ========================================
   Section Label
   ======================================== */
.block-technology .section-label {
    display: inline-block;
    color: var(--primary-color, #AF997F);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 18px;
    position: relative;
    padding-left: 50px;
}

.block-technology .section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 2px;
    background: var(--primary-color, #AF997F);
}

/* ========================================
   Section Title & Intro
   ======================================== */
.block-technology .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.block-technology .section-intro {
    font-size: 17px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 35px;
}

/* ========================================
   Content Wrapper - Left Column
   ======================================== */
.technology-content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
}

/* ========================================
   Technology Features Grid
   ======================================== */
.technology-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.tech-feature {
    background: #fff;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(175, 153, 127, 0.1);
    transition: all 0.3s ease;
    display: flex;
    gap: 16px;
    align-items: center;
}

.tech-feature:hover {
    box-shadow: 0 8px 25px rgba(175, 153, 127, 0.12);
    transform: translateY(-2px);
    border-color: rgba(175, 153, 127, 0.2);
}

.tech-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary-color, #AF997F) 0%, #c4b097 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(175, 153, 127, 0.25);
}

.tech-icon span {
    font-size: 20px;
    color: #fff;
}

.tech-content {
    flex: 1;
}

.tech-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.tech-content p {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* ========================================
   Visual Column - Right Side
   Image background with centered stats
   ======================================== */
.technology-visual {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

/* Background Image - full coverage */
.technology-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Dark overlay */
.technology-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        rgba(0, 0, 0, 0.45) 100%
    );
    z-index: 2;
}

/* ========================================
   Stats Card - Centered vertically
   ======================================== */
.technology-stats {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 35px 45px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    margin: 30px;
}

.stat-item {
    text-align: center;
    padding: 10px 0;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
}

.stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color, #AF997F);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-text {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ========================================
   Responsive - Large Desktop
   ======================================== */
@media (max-width: 1200px) {
    .block-technology .section-title {
        font-size: 2.2rem;
    }

    .technology-stats {
        padding: 30px 35px;
        margin: 25px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .technology-visual {
        min-height: 450px;
    }
}

/* ========================================
   Responsive - Tablet
   ======================================== */
@media (max-width: 992px) {
    .block-technology .row {
        flex-direction: column;
    }

    .block-technology .col-lg-6 {
        width: 100%;
        display: block;
    }

    .technology-content-wrapper {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .technology-visual {
        min-height: 350px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .block-technology .section-title {
        font-size: 2rem;
    }

    .technology-features {
        gap: 15px;
    }

    .technology-stats {
        flex-direction: row;
        gap: 0;
        padding: 25px 30px;
        margin: 20px;
    }

    .stat-item {
        flex: 1;
        padding: 0 15px;
    }

    .stat-item:not(:last-child)::after {
        bottom: auto;
        top: 50%;
        left: auto;
        right: 0;
        transform: translateY(-50%);
        width: 1px;
        height: 40px;
        background: linear-gradient(180deg, transparent 0%, #e0e0e0 50%, transparent 100%);
    }
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media (max-width: 768px) {
    .tech-feature {
        padding: 18px 20px;
        gap: 14px;
    }

    .tech-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 10px;
    }

    .tech-icon span {
        font-size: 18px;
    }

    .tech-content h4 {
        font-size: 15px;
    }

    .tech-content p {
        font-size: 13px;
    }

    .block-technology .section-title {
        font-size: 1.75rem;
    }

    .block-technology .section-intro {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .block-technology .section-label {
        padding-left: 40px;
        font-size: 12px;
    }

    .block-technology .section-label::before {
        width: 28px;
    }

    .technology-visual {
        min-height: 280px;
        border-radius: 16px;
    }

    .technology-stats {
        padding: 20px 25px;
        margin: 15px;
    }

    .stat-item {
        padding: 0 10px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-text {
        font-size: 10px;
    }

    .stat-item:not(:last-child)::after {
        height: 30px;
    }
}

/* ========================================
   Responsive - Small Mobile
   ======================================== */
@media (max-width: 480px) {
    .tech-feature {
        padding: 16px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .tech-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .tech-icon span {
        font-size: 17px;
    }

    .tech-content h4 {
        font-size: 14px;
    }

    .block-technology .section-title {
        font-size: 1.5rem;
    }

    .block-technology .section-label {
        padding-left: 0;
        display: block;
        text-align: center;
        margin-bottom: 15px;
    }

    .block-technology .section-label::before {
        display: none;
    }

    .technology-visual {
        min-height: 220px;
    }

    .technology-stats {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        margin: 15px;
    }

    .stat-item {
        padding: 8px 0;
    }

    .stat-item:not(:last-child)::after {
        bottom: 0;
        top: auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 50px;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
    }

    .stat-value {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }

    .stat-text {
        font-size: 11px;
    }
}
