/* ========================================
   PROTECTION SECTION - Protección y Conectividad
   ======================================== */

.protection-section {
    background-color: #FFFFFF;
    min-height: 1181px;
    padding: 100px 0;
    position: relative;
    display: flex;
    align-items: center;
}

.protection-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* ========================================
   CONTENIDO - Columna izquierda
   ======================================== */
.protection-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.protection-title {
    font-family: 'Sora', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #1E1E1E;
    line-height: 100%;
    letter-spacing: 0;
    margin: 0 0 40px 0;
    padding-left: 24px;
    border-left: 4px solid #1E1E1E;
    width: 802px;
    max-width: 100%;
}

.protection-text-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
    border-left: 4px solid #E0E0E0;
    margin-bottom: 10px;
}

.protection-description {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #1E1E1E;
    line-height: 28px;
    letter-spacing: 0;
    margin: 0;
    opacity: 0.7;
}

/* ========================================
   SERVICIOS
   ======================================== */
.protection-services {
    margin-top: 20px;
}

.protection-services-title {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1E1E1E;
    line-height: 28px;
    letter-spacing: 0;
    margin: 0 0 20px 0;
}

.protection-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.protection-service-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E0E0E0;
}

.protection-section .protection-service-item .service-icon {
    flex-shrink: 0 !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.protection-section .protection-service-item .service-icon svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* Asegurar que los estilos de services.css no afecten a protection */
.protection-section .service-icon svg,
.protection-section .service-icon img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
}

.protection-service-item .service-text {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1E1E1E;
    line-height: 20px;
    letter-spacing: 0;
    flex: 1;
}

/* ========================================
   BOTONES
   ======================================== */
.protection-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-primary-dark {
    background-color: #010F20;
    color: #FFFFFF;
    border-color: #010F20;
}

.btn-primary-dark::after {
    content: '→';
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-primary-dark:hover {
    background-color: #FFFFFF;
    color: #010F20;
    border-color: #010F20;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 15, 32, 0.2);
}

.btn-primary-dark:hover::after {
    transform: translateX(5px);
}

.btn-secondary-dark {
    background-color: #1E1E1E;
    color: #FFFFFF;
    border-color: #1E1E1E;
}

.btn-secondary-dark:hover {
    background-color: #FFFFFF;
    color: #1E1E1E;
    border-color: #1E1E1E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 30, 30, 0.2);
}

/* ========================================
   VISUAL - Columna derecha
   ======================================== */
.protection-visual {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: sticky;
    top: 160px;
}

.protection-image {
    width: 442px;
    height: 590px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.protection-image img,
.protection-image video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ========================================
   DESKTOP - ESQUINAS RECTAS
   ======================================== */
@media screen and (min-width: 1025px) {
    .protection-image {
        border-radius: 0;
    }
}

.protection-logo {
    width: 100%;
    max-width: 416px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.protection-logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ========================================
   RESPONSIVE - TABLET (1024px y menos)
   ======================================== */
@media screen and (max-width: 1024px) {
    .protection-section {
        padding: 80px 0;
    }

    .protection-container {
        padding: 0 60px;
        gap: 60px;
    }

    .protection-title {
        font-size: 40px;
    }

    .protection-description {
        font-size: 15px;
        line-height: 26px;
    }

    .protection-services-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-text {
        font-size: 14px;
    }

    .protection-image {
        max-width: 380px;
    }

    .protection-logo {
        max-width: 350px;
    }
}

/* ========================================
   RESPONSIVE - MÓVIL (768px y menos)
   ======================================== */
@media screen and (max-width: 768px) {
    .protection-section {
        padding: 60px 0;
    }

    .protection-container {
        padding: 0 30px;
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .protection-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .protection-title {
        font-size: 32px;
        line-height: 110%;
        width: 100%;
        padding-left: 0;
        border-left: none;
    }

    .protection-text-block {
        padding-left: 0;
        border-left: none;
        width: 100%;
    }

    .protection-description {
        font-size: 14px;
        line-height: 24px;
    }

    .protection-services {
        width: 100%;
    }

    .protection-services-title {
        font-size: 13px;
        line-height: 24px;
        text-align: left;
    }

    .protection-services-list {
        gap: 14px;
        grid-template-columns: 1fr;
    }

    .service-text {
        font-size: 13px;
        line-height: 18px;
        text-align: left;
    }

    .protection-service-item {
        text-align: left;
    }

    .protection-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 100%;
    }

    .protection-visual {
        position: relative;
        top: 0;
        align-items: center;
        gap: 30px;
    }

    .protection-image {
        max-width: 100%;
        width: 100%;
    }

    .protection-logo {
        max-width: 300px;
        justify-content: center;
    }
}

/* ========================================
   RESPONSIVE - MÓVIL PEQUEÑO (480px y menos)
   ======================================== */
@media screen and (max-width: 480px) {
    .protection-section {
        padding: 50px 0;
    }

    .protection-container {
        padding: 0 20px;
        gap: 40px;
    }

    .protection-title {
        font-size: 28px;
    }

    .protection-text-block {
        padding-left: 12px;
    }

    .protection-description {
        font-size: 13px;
        line-height: 22px;
    }

    .protection-services-title {
        font-size: 12px;
    }

    .protection-section .protection-service-item .service-icon {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
    }

    .protection-section .protection-service-item .service-icon svg {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
    }

    .protection-section .service-text {
        font-size: 12px;
        line-height: 17px;
    }

    .protection-logo {
        max-width: 250px;
    }
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Aplicar animaciones cuando la sección entra en viewport */
.protection-content {
    animation: fadeInLeft 0.8s ease both;
}

.protection-visual {
    animation: fadeInRight 0.8s ease 0.2s both;
}
