:root {
    --color-verde: #545C34;
    --color-hover: #656D4A;
    --color-texto-slide: #545C34;
    --color-fondo: #DEDFD8;
    --color-gris-claro: #9C9C9C;
    --color-gris-oscuro: #90928C;
    --color-texto: #333333;
    --color-blanco: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header Styles */
.header-custom {
    width: 100%;
    z-index: 50;
    transition: all 0.5s ease;
    background-color: var(--color-verde);
    padding: 1rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.service-hero {
    padding: 1.5rem 0;
    background: linear-gradient(135deg, var(--color-verde) 0%, #656D4A 100%);
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-fondo);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Service Description */
.service-description {
    padding: 5rem 0;
    background: var(--color-blanco);
}

.description-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .description-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.description-text h2 {
    color: var(--color-verde);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.description-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--color-gris-oscuro);
}

.features-list {
    display: grid;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    color: var(--color-verde);
    font-size: 1.2rem;
}

.description-image img {
    width: 60%;
    margin: 0 auto;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Expanding Gallery */
.gallery-section {
    padding: 5rem 0;
    background: var(--color-blanco);
    overflow: hidden;
}

.gallery-title {
    text-align: center;
    color: var(--color-verde);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.gallery-subtitle {
    text-align: center;
    color: var(--color-gris-oscuro);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.expanding-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vmin;
    width: 100%;
    height: 60vmin;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex: 1;
    filter: grayscale(0.3) brightness(0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover {
    flex: 6;
    filter: grayscale(0) brightness(1.1);
    box-shadow: 0 15px 40px rgba(84, 92, 52, 0.3);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(84, 92, 52, 0.9) 0%, transparent 100%);
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: all 0.4s ease;
    opacity: 0;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--color-verde);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--color-blanco);
    color: var(--color-verde);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--color-fondo);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .expanding-gallery {
        flex-direction: column;
        height: auto;
        gap: 2vmin;
    }

    .gallery-item {
        width: 100%;
        height: 40vmin;
    }

    .gallery-item:hover {
        flex: 2;
    }

    .gallery-overlay {
        transform: translateY(0);
        opacity: 1;
        background: rgba(84, 92, 52, 0.8);
    }
}

/* Footer */
.footer-custom {
    background: var(--color-verde);
    color: white;
    padding: 3rem 1rem 1rem;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-verde);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    background: var(--color-hover);
    transform: translateY(-3px);
}