/* ============================================
   PROPUESTA DE PORTADA - SIRTELECOM
   Hoja de estilos para index-propuesta.php
   ============================================ */

/* === VARIABLES Y COLORES === */
:root {
    --primary-blue: #00519F;
    --primary-orange: #F18D24;
    --dark-blue: #003366;
    --light-blue: #E6F2FF;
    --dark-gray: #2C3E50;
    --medium-gray: #5a5858;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

/* === HERO SECTION === */
.hero-section-propuesta {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

.hero-wrapper-propuesta {
    position: relative;
}

.hero-overlay-propuesta {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 81, 159, 0.85) 0%, rgba(0, 51, 102, 0.75) 100%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-title-propuesta {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle-propuesta {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta-propuesta {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === BOTONES === */
.btn-primary-propuesta {
    background: var(--primary-orange);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--primary-orange);
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-propuesta:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-propuesta {
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--white);
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-outline-propuesta:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* === SECCIONES GENERALES === */
.services-section-propuesta,
.blog-section-propuesta,
.partners-section-propuesta {
    padding: 100px 0;
    background: var(--white);
}

.features-section-propuesta {
    padding: 100px 0;
    background: var(--light-gray);
}

.contact-section-propuesta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

/* === ENCABEZADOS DE SECCIÓN === */
.section-header-propuesta {
    margin-bottom: 60px;
}

.section-tag-propuesta {
    display: inline-block;
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.section-tag-propuesta.light-propuesta {
    color: var(--primary-orange);
}

.section-title-propuesta {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-title-propuesta.light-propuesta {
    color: var(--white);
}

.section-description-propuesta {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* === SERVICIOS GRID === */
.services-grid-propuesta {
    margin-top: 40px;
}

.service-card-propuesta {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.service-image-propuesta {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.service-image-propuesta img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.service-overlay-propuesta {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 81, 159, 0.9) 0%, rgba(241, 141, 36, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-link-icon-propuesta {
    font-size: 3rem;
    color: var(--white);
    font-weight: bold;
    transform: translateX(-20px);
    transition: var(--transition);
}

.service-card-propuesta:hover .service-image-propuesta img {
    transform: scale(1.1);
}

.service-card-propuesta:hover .service-overlay-propuesta {
    opacity: 1;
}

.service-card-propuesta:hover .service-link-icon-propuesta {
    transform: translateX(0);
}

/* === CARACTERÍSTICAS === */
.features-content-propuesta {
    padding: 20px 0;
}

.features-list-propuesta {
    margin-top: 40px;
}

.feature-item-propuesta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item-propuesta:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.feature-icon-propuesta {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.feature-text-propuesta h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.feature-text-propuesta p {
    color: var(--medium-gray);
    margin: 0;
    font-size: 0.95rem;
}

/* === IMAGEN DE CARACTERÍSTICAS === */
.features-image-propuesta {
    position: relative;
    padding: 20px;
}

.image-wrapper-propuesta {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: var(--border-radius);
    padding: 60px 40px;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    position: relative;
}

.stats-overlay-propuesta {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item-propuesta {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.stat-number-propuesta {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label-propuesta {
    display: block;
    font-size: 1rem;
    color: var(--white);
    opacity: 0.9;
}

/* === BLOG CARDS === */
.blog-grid-propuesta {
    margin-top: 40px;
}

.blog-card-propuesta {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-propuesta:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-image-propuesta {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-image-propuesta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-propuesta:hover .blog-image-propuesta img {
    transform: scale(1.1);
}

.blog-date-propuesta {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.date-day-propuesta {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.date-month-propuesta {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.blog-content-propuesta {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-title-propuesta {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-title-propuesta a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
}

.blog-title-propuesta a:hover {
    color: var(--primary-blue);
}

.blog-excerpt-propuesta {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-link-propuesta {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.blog-link-propuesta:hover {
    color: var(--primary-blue);
    gap: 12px;
}

/* === PARTNERS === */
.partners-section-propuesta {
    background: var(--light-gray);
}

.partners-carousel-propuesta {
    margin-top: 40px;
}

/* === CONTACTO === */
.contact-wrapper-propuesta {
    position: relative;
}

.contact-info-propuesta {
    padding: 20px 0;
}

.contact-description-propuesta {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.contact-benefits-propuesta {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item-propuesta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    font-size: 1rem;
}

.benefit-item-propuesta i {
    font-size: 1.5rem;
    color: var(--primary-orange);
    flex-shrink: 0;
}

.contact-form-propuesta {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.form-header-propuesta {
    background: var(--primary-orange);
    color: var(--white);
    padding: 25px 30px;
    text-align: center;
}

.form-header-propuesta h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.form-body-propuesta {
    padding: 40px 30px;
}

/* === CTA FINAL === */
.cta-section-propuesta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
}

.cta-content-propuesta {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title-propuesta {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.cta-text-propuesta {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .hero-title-propuesta {
        font-size: 2.5rem;
    }

    .hero-subtitle-propuesta {
        font-size: 1.2rem;
    }

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

    .services-section-propuesta,
    .blog-section-propuesta,
    .partners-section-propuesta,
    .features-section-propuesta,
    .contact-section-propuesta {
        padding: 60px 0;
    }

    .features-image-propuesta {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title-propuesta {
        font-size: 2rem;
    }

    .hero-subtitle-propuesta {
        font-size: 1rem;
    }

    .hero-cta-propuesta {
        flex-direction: column;
    }

    .btn-primary-propuesta,
    .btn-outline-propuesta {
        width: 100%;
        text-align: center;
    }

    .section-title-propuesta {
        font-size: 1.8rem;
    }

    .cta-title-propuesta {
        font-size: 1.8rem;
    }

    .stat-number-propuesta {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section-propuesta {
        min-height: 500px;
    }

    .section-header-propuesta {
        margin-bottom: 40px;
    }

    .feature-item-propuesta {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon-propuesta {
        margin: 0 auto;
    }
}

/* === ANIMACIONES ADICIONALES === */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-card-propuesta:hover {
    animation: float 3s ease-in-out infinite;
}

/* === SMOOTH SCROLL === */
html {
    scroll-behavior: smooth;
}

/* === UTILIDADES === */
.g-4 {
    gap: 1.5rem !important;
}

.g-5 {
    gap: 3rem !important;
}

/* === SECCIÓN CASOS DE ÉXITO EN PORTADA === */
.casos-exito-portada {
    padding: 100px 0;
    background: var(--light-gray);
}

.casos-exito-grid {
    margin-top: 0;
}

.caso-card-portada {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.caso-card-portada:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.caso-imagen-portada {
    position: relative;
    overflow: hidden;
    height: 230px;
}

.caso-imagen-portada img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.caso-card-portada:hover .caso-imagen-portada img {
    transform: scale(1.07);
}

.caso-categoria-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-orange);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 20px;
}

.caso-contenido-portada {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.caso-meta-portada {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.caso-cliente-portada {
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.caso-cliente-portada i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.caso-year-portada {
    font-size: 0.8rem;
    color: var(--medium-gray);
    background: var(--light-gray);
    padding: 3px 10px;
    border-radius: 12px;
}

.caso-titulo-portada {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    flex-grow: 1;
}

.caso-titulo-portada a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
}

.caso-titulo-portada a:hover {
    color: var(--primary-blue);
}

.caso-excerpt-portada {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.caso-link-portada {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    margin-top: auto;
}

.caso-link-portada:hover {
    color: var(--primary-blue);
    gap: 14px;
}

.casos-exito-cta {
    margin-top: 50px;
}

@media (max-width: 992px) {
    .casos-exito-portada {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .caso-imagen-portada {
        height: 200px;
    }
}

/* (estilos de sección proyectos portada movidos a custom_stc.css) */
