/* Nosotros Page Specific Styles */
:root {
    --primary-color: #6b7b6c;
    --secondary-color: #d8cdc0;
    --accent-color: #a47453; /* Nuevo color cobre/marrón */
    --dark-primary: #556155;
    --light-primary: #8a9a8b;
    --dark-accent: #8a6245; /* Versión más oscura del acento */
    --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--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: 20px;
    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: 500;
    color: var(--primary-color);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-content {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
}

.section-content p {
    margin-bottom: 20px;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white-color);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/heroa.jpg') center/cover no-repeat;
    opacity: 0.08;
    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);
}

/* About Intro Section */
.about-intro {
    padding: 100px 0;
    background-color: var(--white-color);
}

.about-intro__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-intro__content .section-title {
    text-align: left;
}

.about-intro__content .section-title::after {
    margin-left: 0;
    margin-right: auto;
}

.about-intro__image {
    position: relative;
}

.rounded-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.about-intro__pattern {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 70%;
    height: 70%;
    background-color: var(--accent-color);
    border-radius: 10px;
    opacity: 0.8;
    z-index: 1;
}

/* Mission and Values Section */
.mission-values {
    padding: 100px 0;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
    border-top: 2px linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
}

.mission-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/leaf-pattern.png') center/cover no-repeat;
    opacity: 0.05;
    z-index: 1;
}

.mission-values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.mission-values__mission,
.mission-values__vision,
.mission-values__values {
    background-color: var(--white-color);
    border-radius: 10px;
    border-top: 4px solid var(--primary-color);
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission-values__mission {
    border-top-color: var(--primary-color);
}

.mission-values__vision {
    border-top-color: var(--accent-color);
}

.mission-values__values {
    border-top-color: var(--secondary-color);
}

.mission-values__mission:hover,
.mission-values__vision:hover,
.mission-values__values:hover {
    transform: translateY(-10px);
}



.mission-values__icon {
    margin-bottom: 20px;
}

.mission-values p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    text-align: center;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.values-list li {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.values-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 20px;
}

.values-list li strong {
    color: var(--accent-color);
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background-color: var(--white-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    background-color: var(--background-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-medium);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(164, 116, 83, 0.15);

}

.team-member__image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.team-member__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.team-member:hover .team-member__image img {
    transform: scale(1.1);
}

.team-member__content {
    padding: 30px;
}

.team-member__name {
    font-family: var(--font-title);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-member:nth-child(even) .team-member__name {
    color: var(--accent-color);
}

.team-member__position {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.team-member:nth-child(even) .team-member__position {
    color: var(--dark-primary);
}

.team-member__description {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
}

.team-member__social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(107, 123, 108, 0.1);
    border-radius: 50%;
    transition: all var(--transition-medium);
}

.social-icon:hover {
    background-color: var(--accent-color);
}

.team-member:nth-child(even) .social-icon:hover {
    background-color: var(--primary-color);
}

.social-icon:hover svg path {
    fill: var(--white-color);
}

/* Certifications Section */
.certifications-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.certification-item {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all var(--transition-medium);
    height: 100%;
    border-bottom: 3px solid transparent;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.certification-item:nth-child(odd):hover {
    border-bottom-color: var(--primary-color);
}

.certification-item:nth-child(even):hover {
    border-bottom-color: var(--accent-color);
}

.certification-item:hover {
    transform: translateY(-10px);
}

.certification-item__icon {
    margin-bottom: 20px;
}

.certification-item__title {
    font-family: var(--font-title);
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.certification-item__description {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--white-color);
}

.testimonials-section .section-title {
    color: var(--white-color);
}

.testimonials-section .section-title::after {
    background-color: var(--secondary-color);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 40px 30px;
    transition: transform var(--transition-medium);
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card__quote {
    margin-bottom: 20px;
}

.testimonial-card__text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
}

.testimonial-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid var(--secondary-color);
}

.testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__info h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.testimonial-card__info p {
    font-family: var(--font-body);
    font-size: 14px;
    opacity: 0.8;
}

/* Numbers Section */
.numbers-section {
    padding: 80px 0;
    background-color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.numbers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
}

.number-box:nth-child(even) .number-box__value {
    color: var(--accent-color);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.number-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: rgba(107, 123, 108, 0.05);
    transition: transform var(--transition-medium);
}

.number-box:hover {
    transform: translateY(-10px);
    background-color: rgba(107, 123, 108, 0.1);
}

.number-box__value {
    font-family: var(--font-title);
    font-size: 48px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.number-box__label {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
}

/* Join Us Section */
.join-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.join-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.join-card__content {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}



.join-card__title {
    font-family: var(--font-title);
    font-size: 36px;
    margin-bottom: 20px;
}

.join-card__text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.join-card__image {
    height: 100%;
}

.join-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 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;
    }
    
    .about-intro__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mission-values__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-values__values {
        grid-column: span 2;
    }
    
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .join-card {
        grid-template-columns: 1fr;
    }
    
    .join-card__image {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header__title {
        font-size: 36px;
    }
    
    .mission-values__grid {
        grid-template-columns: 1fr;
    }
    
    .mission-values__values {
        grid-column: span 1;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .cta-card__buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 30px;
    }
    
    .page-header__title {
        font-size: 32px;
    }
    
    .numbers-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        padding: 40px 20px;
    }
    
    .cta-card__title {
        font-size: 30px;
    }
    
    .cta-card__text {
        font-size: 16px;
    }
}