/* Estilos para páginas internas */

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* About Page */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.about-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.intro-content h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.intro-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 217, 163, 0.3));
}

.values-section {
    margin-bottom: 4rem;
}

.values-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

.mission-vision {
    margin-bottom: 4rem;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mv-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.mv-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.mv-card p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats-section {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
}

.stats-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* FAQ Page */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.faq-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-intro h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.faq-intro p {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.faq-intro a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.faq-intro a:hover {
    text-decoration: underline;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-light);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 3rem;
    border-radius: 12px;
    margin-top: 4rem;
}

.faq-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.faq-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.faq-cta .btn {
    background: var(--white);
    color: var(--primary-color);
}

.faq-cta .btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Contact Page */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.info-card p,
.info-card address {
    font-style: normal;
    line-height: 1.8;
    color: var(--text-dark);
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--primary-dark);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 217, 163, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Section */
.map-section {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 2rem 2rem;
}

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Products Page */
.products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 220px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Esto hace que la imagen cubra todo el espacio */
    transition: transform 0.3s ease;
    display: block;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 1.8rem;
    text-align: center;
}

.product-info h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.product-info p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-info .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 968px) {
    .about-intro {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .intro-content h2,
    .values-section h2,
    .stats-section h2,
    .faq-intro h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 2rem;
    }

    .product-image {
        height: 300px;
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: 3rem 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .about-container,
    .faq-container,
    .contact-container {
        padding: 1rem;
    }

    .intro-content h2 {
        font-size: 1.8rem;
    }

    .values-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .mv-card {
        padding: 2rem;
    }

    .products-container {
        padding: 1rem;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-image {
        height: 320px;
        padding: 2rem;
    }

    .product-info {
        padding: 1.5rem;
    }

    .product-info h3 {
        font-size: 1.2rem;
    }
}