/* CSS específico para la página principal de servicios */
:root {
    --primary-color: #6b7b6c;
    --secondary-color: #d8cdc0;
    --accent-color: #a47453; /* Nuevo color cobre/marrón */
    --dark-primary: #556155;
    --dark-accent: #8a6245; /* Versión más oscura del acento */
    --light-primary: #8a9a8b;
    --text-color: #333333;
    --background-color: #f8f5f2;
    --white-color: #ffffff;
    --transition-slow: 0.5s ease;
    --transition-medium: 0.3s ease;
    --transition-fast: 0.2s ease;
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Main Content Padding (to account for fixed header) */
main {
    padding-top: 80px; /* Height of the header */
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);

    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/header-pattern.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header__title {
    font-family: var(--font-title);
    font-size: 48px;
    margin-bottom: 15px;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--font-body);
    font-size: 14px;
}

.breadcrumbs__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs__link:hover {
    color: var(--accent-color);
}

.breadcrumbs__separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs__current {
    color: var(--white-color);
}

/* Section Styles */
.section-title {
    font-family: var(--font-title);
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    color: var(--text-color);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: var(--white-color);
}

/* Service Categories */
.services-categories {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}

.service-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.service-category--reverse {
    direction: rtl;
}

.service-category--reverse .service-category__content {
    direction: ltr;
}

.service-category__image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.service-category__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-medium);
}

.service-category:hover .service-category__image img {
    transform: scale(1.05);
}

.service-category__content {
    padding: 20px;
}

.service-category__title {
    font-family: var(--font-title);
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.service-category__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.service-category__description {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 20px;
}

.service-category__list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.service-category__list li {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-color);
    padding: 8px 0 8px 30px;
    position: relative;
}

.service-category__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 16px;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-medium);
    letter-spacing: 1px;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

.btn--primary:hover {
    background-color: var(--dark-primary);
    border-color: var(--dark-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(107, 123, 108, 0.3);
}

.btn--secondary {
    background-color: var(--accent-color);
    color: var(--white-color);
    border: 2px solid var(--accent-color);
}

.btn--secondary:hover {
    background-color: var(--dark-accent);
    border-color: var(--dark-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(164, 116, 83, 0.3);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--background-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    background-color: var(--white-color);
    border-radius: 10px;
    border-top: 3px solid transparent;

    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box__icon {
    margin-bottom: 20px;
}

.feature-box__title {
    font-family: var(--font-title);
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-box__description {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.cta-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    color: var(--white-color);
    box-shadow: 0 20px 40px rgba(107, 123, 108, 0.2);
    position: relative;
    overflow: hidden;
}

/* Efecto hover mejorado para categorías de servicios */
.service-category:hover .service-category__image {
    box-shadow: 0 15px 30px rgba(164, 116, 83, 0.15);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/heroa.jpg') center/cover no-repeat;
    opacity: 0.05;
    z-index: 1;
}

.cta-card__title {
    font-family: var(--font-title);
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.cta-card__text {
    font-family: var(--font-body);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.cta-card__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Media Queries */
@media (max-width: 992px) {
    .section-title {
        font-size: 36px;
    }
    
    .page-header__title {
        font-size: 42px;
    }
    
    .service-category {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-category--reverse {
        direction: ltr;
    }
    
    .cta-card {
        padding: 50px 30px;
    }
    
    .cta-card__title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header__title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-card__buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-card__title {
        font-size: 28px;
    }
    
    .cta-card__text {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 30px;
    }
    
    .page-header__title {
        font-size: 32px;
    }
    
    .service-category__title {
        font-size: 26px;
    }
    
    .cta-card {
        padding: 40px 20px;
    }
    
    .cta-card__title {
        font-size: 26px;
    }
}