/* Services Page - Component CSS */

/* General Service Page Styles */
.services-page .section-title {
    font-size: 1.8rem;
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Justifica los párrafos de los bloques de servicios en la página de servicios */
.services-page .service-desc {
    text-align: justify;
    font-size: 1.1rem;
    color: var(--text-color);
    font-family: var(--body-text-font, 'Open Sans', Arial, sans-serif);
    line-height: 1.7;
}

/* Centra los textos de las secciones generales en la página de servicios */
.services-page .section-desc {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    font-family: var(--body-text-font, 'Open Sans', Arial, sans-serif);
    line-height: 1.7;
}

/* Hero Section */
.services-hero-section {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    padding: 40px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.services-hero-section .container {
    position: relative;
    z-index: 2;
}

.services-main-title {
    font-size: 2.8rem;
    font-family: var(--montserrat-font), Arial, sans-serif;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.services-main-subtitle {
    font-size: 1.4rem;
    color: #fff;
    font-family: 'Poppins', var(--poppins-font), Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
}

/* Idea Labs Section */
.services-idea-section {
    background: var(--light-gray);
    padding: 50px 0;
    text-align: center;
}

.services-idea-box {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    padding: 40px 35px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.idea-lab-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.idea-lab-icon .fas {
    opacity: 0.8;
}

/* Servicios Section */
.services-list-section {
    background: #fff;
    padding: 60px 0;
}

.services-list-container {
    max-width: 950px;
    margin: 0 auto;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-block {
    background: var(--light-gray);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    overflow: hidden;
    border: 1px solid #e7e7e7;
}

.service-img {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 30px 25px;
}

.service-title {
    font-size: 1.6rem;
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 1.05rem;
    color: var(--text-color);
    font-family: var(--body-text-font, 'Open Sans', Arial, sans-serif);
    line-height: 1.65;
}

/* Service Block Reverse Layout (for desktop) */
@media (min-width: 768px) {
    .service-block {
        flex-direction: row;
        align-items: center;
    }

    .service-img {
        flex: 0 0 40%;
        max-width: 40%;
        height: auto;
        min-height: 280px;
        border-radius: 15px 0 0 15px;
    }

    .service-content {
        flex: 1 1 60%;
        padding: 35px 40px;
    }

    .service-block--reverse .service-img {
        order: 2;
        border-radius: 0 15px 15px 0;
    }

    .service-block--reverse .service-content {
        order: 1;
    }
}

/* CTA Section */
.services-cta-section {
    background: linear-gradient(135deg, #b9c5b1 0%, #3b564d 100%);
    padding: 0 0 60px 0;
    position: relative;
    margin-top: 0;
}

.cta-separator {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-bottom: -2px;
}

.services-cta-box {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(60, 60, 60, 0.10);
    padding: 38px 28px 32px 28px;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    top: 1px;
    z-index: 2;
}

.services-cta-text {
    font-size: 1.18rem;
    color: #2d2d2d;
    margin-bottom: 28px;
    font-family: var(--body-text-font, 'Open Sans', Arial, sans-serif);
    line-height: 1.7;
}

.cta-btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.services-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.08rem;
    font-family: var(--body-text-font, 'Open Sans', Arial, sans-serif);
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(60, 60, 60, 0.07);
}

.services-cta-btn.main-btn {
    background: #25d366;
    color: #fff;
}

.services-cta-btn.main-btn:hover {
    background: #1ebe57;
    color: #fff;
}

.services-cta-btn.secondary-btn {
    background: var(--primary-color);
    color: #fff;
}

.services-cta-btn.secondary-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.services-cta-btn i.fab.fa-whatsapp {
    font-size: 1.25em;
}

@media (max-width: 600px) {
    .services-cta-box {
        padding: 22px 8px 18px 8px;
        max-width: 98vw;
    }

    .cta-btn-group {
        flex-direction: column;
        gap: 10px;
    }
}

.services-cta-section+.main-footer {
    margin-top: 0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767px) {
    .services-main-title {
        font-size: 2.2rem;
    }

    .services-main-subtitle {
        font-size: 1.2rem;
    }

    .services-idea-box {
        padding: 30px 20px;
    }

    .services-page .section-title {
        font-size: 1.6rem;
    }

    .service-title {
        font-size: 1.4rem;
    }

    .service-img {
        order: 1;
        border-radius: 15px 15px 0 0;
        height: 280px;
    }

    .service-img img {
        object-fit: contain;
        background: #f8f9fa;
    }

    .service-content {
        order: 2;
        padding: 20px 15px;
    }

    .service-block--reverse .service-img {
        order: 1;
        border-radius: 15px 15px 0 0;
    }

    .service-block--reverse .service-content {
        order: 2;
    }
}

/* --- Propuesta de Diseño Alternativo --- */
.design-proposal-separator {
    padding: 30px 0 10px 0;
    background: #e0e0e0;
    text-align: center;
}

.proposal-title {
    font-size: 1.5rem;
    font-family: 'Magnetik', var(--heading-font);
    color: #333;
    font-weight: 600;
}

/* Hero Section v2 */
.services-hero-section-v2 {
    min-height: 380px;
}

.hero-overlay-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.services-hero-section-v2 .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.services-main-title-v2 {
    font-size: 3rem;
    font-family: 'Space Grotesk', var(--space-grotesk-font), Arial, sans-serif;
    font-weight: 600;
    color: #fff;
    margin-bottom: 18px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.services-main-subtitle-v2 {
    font-size: 1.5rem;
    color: #fff;
    font-family: 'Poppins', var(--poppins-font), Arial, sans-serif;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

/* Idea Labs Section v2 */
.services-idea-section-v2 {
    background: #ffffff;
    padding: 60px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.services-idea-box-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 950px;
    margin: 0 auto;
    background: var(--light-gray);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.idea-lab-visual-v2 {
    flex-basis: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.idea-lab-visual-v2 .fas {
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.85;
}

.idea-lab-content-v2 {
    flex: 1;
    text-align: center;
}

.section-title-v2 {
    font-size: 2rem;
    font-family: 'Magnetik', var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-desc-v2 {
    font-size: 1.15rem;
    color: var(--text-color);
    font-family: var(--body-text-font, 'Open Sans', Arial, sans-serif);
    line-height: 1.75;
}

@media (min-width: 768px) {
    .services-idea-box-v2 {
        flex-direction: row;
        align-items: center;
        gap: 40px;
        padding: 45px;
    }

    .idea-lab-visual-v2 {
        flex-basis: 250px;
    }

    .idea-lab-visual-v2 .fas {
        font-size: 7rem;
    }

    .idea-lab-content-v2 {
        text-align: left;
    }
} 