/* Estilos Reutilizables para Páginas de Servicios */

/* Color Palette */
:root {
    --primary-color: #4F5941;
    --secondary-color: #2B3526;
    --accent-color: #334233;
    --light-bg: #f8f9fa;
    --white: #FFFFFF;
    --text-dark: #000000;
    --text-muted: #6c757d;
}

/* General Overrides */
body {
    padding-top: 76px;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 60vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.hero-section h1 {
    font-family: "Montserrat", sans-serif;
    color: var(--primary-color);
}

.hero-section .lead {
    font-size: 1.1rem;
    line-height: 1.8;
}

.image-placeholder {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.image-placeholder img {
    transition: transform 0.3s ease;
}

.image-placeholder:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services-section {
    background-color: var(--white);
}

.service-category {
    position: relative;
}

.section-title {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title i {
    color: var(--primary-color);
}

/* Service Cards */
.service-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(79, 89, 65, 0.15);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
}

.service-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
    min-height: 60px;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.cta-section .lead {
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

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

    .service-title {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 70px;
    }

    .hero-section {
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

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

    .service-card {
        padding: 25px 15px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-icon i {
        font-size: 1.5rem;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-section .lead {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-title i {
        display: block;
        margin-bottom: 10px;
    }
}

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

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

