/* Services Pages Specific Styles */
: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 */
}

/* 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--block {
    display: block;
    width: 100%;
}

.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);
}

/* 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;
}

/* 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);
}

/* Service Details Section */
.service-details {
    padding: 80px 0;
    background-color: var(--white-color);
}

.service-details__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.service-details__content .section-title,
.service-details__content .section-subtitle {
    text-align: left;
}

.service-details__content .section-title::after {
    margin-left: 0;
    margin-right: auto;
}

.service-details__intro {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 40px;
}

/* Service Features */
.service-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.service-feature__icon {
    flex: 0 0 60px;
    margin-right: 20px;
}

.service-feature__content h3 {
    font-family: var(--font-title);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-feature__content p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

/* Sidebar */
.service-details__sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-card {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card__title {
    font-family: var(--font-title);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.service-card__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Service Menu */
.service-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-menu__item {
    margin-bottom: 15px;
}

.service-menu__link {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all var(--transition-fast);
    position: relative;
    padding-left: 25px;
}

.service-menu__link::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--secondary-color);
}

.service-menu__link:hover {
    background-color: rgba(107, 123, 108, 0.1);
    color: var(--primary-color);
}

.service-menu__item--active .service-menu__link {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.service-menu__item--active .service-menu__link::before {
    color: var(--white-color);
}

/* Appointment Card */
.appointment-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(107, 123, 108, 0.2);
    text-align: center;
}

.appointment-card__title {
    font-family: var(--font-title);
    font-size: 22px;
    margin-bottom: 15px;
}

.appointment-card p {
    font-family: var(--font-body);
    font-size: 15px;
    margin-bottom: 20px;
}

/* Contact Info Card */
.contact-info-card {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-card__title {
    font-family: var(--font-title);
    font-size: 22px;
    color: var(--accent-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.contact-info-card__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-list__icon {
    flex: 0 0 40px;
    margin-right: 15px;
}

.contact-list__content h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-list__content p {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-color);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 280px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.gallery-item:hover {
    box-shadow: 0 15px 30px rgba(164, 116, 83, 0.2);
}

.gallery-item__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(164, 116, 83, 0.9) 0%, rgba(164, 116, 83, 0) 100%);
    color: var(--white-color);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item__overlay h3 {
    font-family: var(--font-title);
    font-size: 20px;
    margin-bottom: 5px;
}

.gallery-item__overlay p {
    font-family: var(--font-body);
    font-size: 14px;
    opacity: 0.8;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.pricing-card {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pricing-card__title {
    font-family: var(--font-title);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.pricing-card__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(107, 123, 108, 0.2);
}

.pricing-list__item:last-child {
    border-bottom: none;
}

.pricing-list__service {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-color);
}

.pricing-list__price {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--accent-color);
}

.pricing-note {
    text-align: center;
    margin-top: 20px;
}

.pricing-note p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-color);
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item__question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
    position: relative;
}

.faq-item__question h3 {
    font-family: var(--font-title);
    font-size: 20px;
    color: var(--primary-color);
    margin: 0;
    padding-right: 40px;
}

.faq-item__icon {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    transition: all var(--transition-fast);
}

.faq-item__icon::before {
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
}

.faq-item__icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 100%;
}

.faq-item.active .faq-item__icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-item__question {
    background-color: rgba(107, 123, 108, 0.05);
}

.faq-item__answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.faq-item.active .faq-item__answer {
    padding: 0 30px 20px;
    max-height: 1000px;
}

.faq-item__answer p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 15px;
}

.faq-item__answer ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.faq-item__answer li {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 5px;
}

.faq-item__answer p:last-child,
.faq-item__answer ul:last-child,
.faq-item__answer li:last-child {
    margin-bottom: 0;
}

/* 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;
}

.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-details__grid {
        grid-template-columns: 1fr;
    }
    
    .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;
    }
    
    .service-feature {
        flex-direction: column;
    }
    
    .service-feature__icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .gallery-item {
        height: 240px;
    }
    
    .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;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    .faq-item__question h3 {
        font-size: 18px;
    }
    
    .cta-card {
        padding: 40px 20px;
    }
    
    .cta-card__title {
        font-size: 26px;
    }
}

