/* ==========================================
   CONFIGURACIÓN DE SOBRE NOSOTROS
========================================== */

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.5;
}

.page-frame {
    display: flex;
    flex-direction: column;
}

.about-main {
    flex: 1;
    width: 100%;
}

.about-section {
    width: 100%;
    padding: 80px 6%;
}

.section-eyebrow {
    display: block;
    color: var(--gold-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.section-heading {
    max-width: 850px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h2 {
    margin: 10px 0 16px;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 800;
}

.section-heading p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ==========================================
   BANNER
========================================== */

.about-banner {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px 20px;

    background: linear-gradient(
        135deg,
        #faf6eb,
        #f8edc9
    );

    border-bottom: 1px solid var(--gold-border);
}

.about-banner-content {
    max-width: 850px;
    text-align: center;
}

.about-banner h2 {
    margin: 12px 0;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

.about-banner p {
    color: #665a3b;
    font-size: 1.15rem;
}

.gold-line {
    width: 85px;
    height: 4px;
    margin: 25px auto 0;
    background: var(--gold);
    border-radius: 10px;
}

/* ==========================================
   IDENTIDAD
========================================== */

.identity-section {
    background: #ffffff;
}

.story-layout {
    max-width: 1320px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.story-text {
    padding: 15px 0;
}

.story-text p,
.origin-text p,
.vision-content p,
.workers-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.9;
}

.story-text p:last-child,
.origin-text p:last-child,
.vision-content p:last-child,
.workers-content p:last-child {
    margin-bottom: 0;
}

.story-image {
    overflow: hidden;
    background: var(--cream-light);
    border: 1px solid var(--gold-border);
    border-radius: 14px;
}

.story-image img {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center;
}

.story-image figcaption {
    padding: 13px 18px;
    color: #6c5c39;
    font-size: 0.85rem;
    text-align: center;
}

/* ==========================================
   ORIGEN
========================================== */

.origin-section {
    background: var(--cream-light);
}

.origin-panel {
    max-width: 1100px;
    margin: auto;
    padding: 42px;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 35px;
    align-items: start;
    background: #ffffff;
    border: 1px solid #e8d9ad;
    border-radius: 14px;
}

.origin-symbol {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-light);
    border-radius: 16px;
    color: var(--gold-dark);
    font-size: 2.8rem;
}

/* ==========================================
   PRODUCTOS
========================================== */

.products-section {
    background: #ffffff;
}

.products-grid {
    max-width: 1320px;
    margin: 0 auto 45px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.product-card {
    min-height: 165px;
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: var(--cream-light);
    border: 1px solid #e8d9ad;
    border-radius: 12px;
    text-align: center;
}

.product-card i {
    color: var(--gold-dark);
    font-size: 2rem;
}

.product-card h3 {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================
   GALERÍA FOTOGRÁFICA
========================================== */

.product-gallery {
    max-width: 1320px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.gallery-item {
    position: relative;
    height: 380px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--cream-light);
    border: 1px solid var(--gold-border);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 35px 15px 15px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78),
        transparent
    );
}

/* ==========================================
   TRABAJADORES
========================================== */

.workers-section {
    background: var(--cream-light);
}

.workers-container {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 35px;
    align-items: start;
}

.workers-icon {
    width: 115px;
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--gold-border);
    border-radius: 18px;
    color: var(--gold-dark);
    font-size: 3.3rem;
}

.workers-content h2 {
    margin: 12px 0 24px;
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1.25;
}

/* ==========================================
   VISIÓN
========================================== */

.vision-section {
    background: #ffffff;
}

.vision-container {
    max-width: 1320px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 55px;
    align-items: center;
}

.vision-content h2 {
    margin: 12px 0 25px;
    font-size: clamp(2rem, 3vw, 2.7rem);
}

.vision-visual {
    min-height: 340px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: var(--cream-light);
    border: 1px solid var(--gold-border);
    border-radius: 16px;
    text-align: center;
}

.vision-visual i {
    color: var(--gold-dark);
    font-size: 4rem;
}

.vision-visual h3 {
    font-size: 1.45rem;
}

.vision-visual p {
    color: var(--text-light);
}

/* ==========================================
   VALORES
========================================== */

.values-section {
    background: var(--cream-light);
}

.values-grid {
    max-width: 1320px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.value-card {
    min-height: 215px;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e8d9ad;
    border-radius: 12px;
    text-align: center;
}

.value-card i {
    color: var(--gold-dark);
    font-size: 2rem;
}

.value-card h3 {
    font-size: 1.1rem;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.values-description {
    max-width: 1050px;
    margin: 35px auto 0;
    padding: 32px;
    background: #ffffff;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
}

.values-description p {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.values-description p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   CLIENTES
========================================== */

.customers-section {
    padding: 80px 20px;
    background: var(--nav-bg);
    border-top: 1px solid var(--gold-border);
}

.customers-content {
    max-width: 950px;
    margin: auto;
    text-align: center;
}

.customers-icon {
    margin-bottom: 25px;
    color: var(--gold-dark);
    font-size: 3rem;
}

.customers-content h2 {
    margin-bottom: 25px;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.customers-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.9;
}

.customers-divider {
    width: 110px;
    height: 2px;
    margin: 32px auto;
    background: var(--gold);
}

.customers-content h3 {
    color: var(--gold-dark);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.5;
}

/* ==========================================
   PANTALLAS MEDIANAS
========================================== */

@media (max-width: 1350px) {

    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================
   CELULARES
========================================== */

@media (max-width: 650px) {

    .about-banner {
        min-height: 230px;
        padding: 45px 18px;
    }

    .about-banner h2 {
        font-size: 2.3rem;
    }

    .about-banner p {
        font-size: 0.95rem;
    }

    .about-section {
        padding: 52px 18px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 1.85rem;
    }

    .section-heading p {
        font-size: 0.95rem;
    }

    .story-layout,
    .vision-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .story-text p,
    .origin-text p,
    .vision-content p,
    .workers-content p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .story-image img {
        height: 350px;
    }

    .origin-panel {
        grid-template-columns: 1fr;
        padding: 26px 22px;
        gap: 20px;
    }

    .origin-symbol {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card {
        min-height: 145px;
        padding: 18px 10px;
    }

    .product-card i {
        font-size: 1.6rem;
    }

    .product-card h3 {
        font-size: 0.85rem;
    }

    .product-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-item {
        height: 330px;
    }

    .gallery-wide {
        height: 310px;
    }

    .workers-container {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .workers-icon {
        width: 80px;
        height: 80px;
        font-size: 2.3rem;
    }

    .workers-content h2 {
        font-size: 1.85rem;
    }

    .vision-visual {
        min-height: 230px;
        padding: 28px 20px;
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .value-card {
        min-height: 185px;
        padding: 20px 12px;
    }

    .value-card i {
        font-size: 1.7rem;
    }

    .value-card h3 {
        font-size: 0.95rem;
    }

    .value-card p {
        font-size: 0.8rem;
    }

    .values-description {
        padding: 24px 20px;
    }

    .customers-section {
        padding: 60px 18px;
    }

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

    .customers-content p {
        font-size: 0.95rem;
    }

    .customers-content h3 {
        font-size: 1.2rem;
    }
}

/* ==========================================
   CELULARES PEQUEÑOS
========================================== */

@media (max-width: 360px) {

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