/* ==================================================
   PRODUCTOS Y SOLUCIONES - XOCHITECH
   Diseño de Catálogo Comercial & Soluciones Integrales
================================================== */

/* Hero de Productos */
.products-hero {
    min-height: 520px;
    padding: 100px 24px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(20, 24, 18, 0.88) 0%, rgba(32, 37, 28, 0.82) 100%), url("../images/Desarrollo.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
}

.products-hero-content {
    max-width: 920px;
    position: relative;
    z-index: 2;
}

.products-hero h1 {
    margin-bottom: 22px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 400;
    line-height: 1.15;
}

.products-hero h1 span {
    color: #dce4c1;
    font-style: italic;
}

.products-hero p {
    max-width: 760px;
    margin: 0 auto 35px;
    color: #f1f1f1;
    font-size: clamp(16px, 1.8vw, 19.5px);
    line-height: 1.8;
}

/* Botones del Hero */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background-color: #e8edd6;
    border: 1px solid #e8edd6;
    border-radius: 999px;
    color: #24271e;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.hero-button:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
}

.hero-button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background-color: transparent;
    border: 1px solid #e8edd6;
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.hero-button-outline:hover {
    background-color: #e8edd6;
    color: #24271e;
    transform: translateY(-3px);
}

/* Barra de Estadísticas Rápidas en Hero */
.hero-quick-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    padding-top: 25px;
    border-top: 1px solid rgba(232, 237, 214, 0.2);
}

.quick-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e8edd6;
    font-size: 14px;
    font-weight: 500;
}

.quick-stat-item i {
    color: #dce4c1;
    font-size: 18px;
}

/* Sección de Catálogo */
.catalog-section {
    padding: 110px 24px 90px;
    background-color: #f7f5ef;
}

.catalog-container {
    width: min(100%, 1250px);
    margin: 0 auto;
}

.catalog-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 65px;
}

.catalog-heading h2 {
    margin-bottom: 18px;
    color: #252525;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 400;
    line-height: 1.15;
}

.catalog-heading h2 span {
    color: #7f8767;
    font-style: italic;
}

.catalog-heading p {
    color: #696969;
    font-size: 16.5px;
    line-height: 1.8;
}

/* Tarjetas Anchas de Catálogo (Formato Horizontal) */
.catalog-showcase-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.catalog-wide-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    background-color: #ffffff;
    border: 1px solid #e7eada;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.catalog-wide-card:hover {
    border-color: #dfe5c9;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
}

/* Panel Lateral Visual */
.card-visual-side {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, #24271e 0%, #3a4130 100%);
    color: #ffffff;
    position: relative;
}

.visual-badge-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.visual-category-tag {
    padding: 5px 14px;
    background-color: rgba(232, 237, 214, 0.18);
    border: 1px solid rgba(232, 237, 214, 0.3);
    border-radius: 999px;
    color: #e8edd6;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.visual-number {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    color: rgba(232, 237, 214, 0.4);
    font-weight: 600;
}

.visual-icon-center {
    font-size: 72px;
    color: rgba(232, 237, 214, 0.35);
    margin: 25px 0;
    transition: transform 0.4s ease, color 0.4s ease;
}

.catalog-wide-card:hover .visual-icon-center {
    transform: scale(1.1) rotate(-4deg);
    color: rgba(232, 237, 214, 0.7);
}

.visual-delivery-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dce4c1;
    font-size: 13px;
    font-weight: 500;
}

/* Panel de Contenido de la Tarjeta */
.card-content-side {
    padding: 42px 40px;
    display: flex;
    flex-direction: column;
}

.card-content-side h3 {
    margin-bottom: 14px;
    color: #242424;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.25;
}

.card-content-side p {
    color: #5f5f5f;
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.catalog-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin-bottom: 30px;
}

.catalog-feature-point {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #383c30;
    font-size: 14px;
    font-weight: 500;
}

.catalog-feature-point i {
    color: #7f8767;
    font-size: 16px;
    flex-shrink: 0;
}

.card-actions-bar {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #eef1e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.explore-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #252820;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s ease, color 0.3s ease;
}

.explore-service-btn span {
    transition: transform 0.3s ease;
}

.explore-service-btn:hover {
    color: #7f8767;
    gap: 16px;
}

.explore-service-btn:hover span {
    transform: translateX(4px);
}

.quote-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background-color: #20221c;
    border: 1px solid #20221c;
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.quote-service-btn:hover {
    background-color: #7f8767;
    border-color: #7f8767;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Sección de Modalidades de Contratación / Entrega */
.engagement-section {
    padding: 100px 24px;
    background-color: #ffffff;
}

.engagement-container {
    width: min(100%, 1250px);
    margin: 0 auto;
}

.engagement-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 65px;
}

.engagement-heading h2 {
    margin-bottom: 16px;
    color: #252525;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4.5vw, 50px);
    font-weight: 400;
}

.engagement-heading h2 span {
    color: #7f8767;
    font-style: italic;
}

.engagement-heading p {
    color: #696969;
    font-size: 16px;
    line-height: 1.8;
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.engagement-card {
    padding: 40px 32px;
    background-color: #f7f5ef;
    border: 1px solid #e7eada;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.engagement-card:hover {
    background-color: #ffffff;
    border-color: #dfe5c9;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
}

.engagement-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e4e9d2;
    border-radius: 50%;
    color: #4d533e;
    font-size: 24px;
}

.engagement-card h3 {
    margin-bottom: 12px;
    color: #242424;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 400;
}

.engagement-card p {
    margin: 0;
    color: #656565;
    font-size: 15px;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 1050px) {
    .catalog-wide-card {
        grid-template-columns: 280px 1fr;
    }

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

@media (max-width: 800px) {
    .catalog-wide-card {
        grid-template-columns: 1fr;
    }

    .card-visual-side {
        padding: 30px 24px;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .visual-icon-center {
        display: none;
    }

    .card-content-side {
        padding: 32px 24px;
    }

    .catalog-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .products-hero {
        min-height: 440px;
        padding-top: 75px;
        padding-bottom: 50px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-button,
    .hero-button-outline {
        width: 100%;
        text-align: center;
    }

    .hero-quick-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .card-actions-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .quote-service-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Aviso de filtro de búsqueda */
.catalog-search-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 24px;
    margin-bottom: 35px;
    background-color: #f2f5e8;
    border: 1px solid #b8c29e;
    border-radius: 8px;
}

.notice-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #20221c;
}

.notice-info i {
    font-size: 18px;
    color: #7f8767;
}

.clear-search-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: #ffffff;
    border: 1px solid #b8c29e;
    border-radius: 20px;
    color: #20221c;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.clear-search-link:hover {
    background-color: #7f8767;
    color: #ffffff;
    border-color: #7f8767;
}

