/* =========================================================
   Zhongxin Heavy Industrial - Centro de Productos
   Custom styles (Bootstrap 5 base)
   ========================================================= */

:root {
    --zx-blue: #0d4a8a;
    --zx-blue-dark: #093866;
    --zx-blue-light: #e8f0f9;
    --zx-green: #009b4c;
    --zx-green-dark: #1ebe5b;
    --zx-black: #0c0c0c;
    --zx-text: #2b2b2b;
    --zx-muted: #7a7a7a;
    --zx-border: #e6e6e6;
    --zx-bg: #f3f3f3;
    --zx-white: #ffffff;
    --zx-radius: 6px;
    --zx-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
    --zx-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --zx-shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
    --zx-shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}
@font-face {
  font-family: Folio;
  src: url(../webfonts/Folio_BdCn_BT_Bold.ttf);
  font-style: normal;
  font-display: swap;
}
.folio{font-family: "Folio";}
html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--zx-text);
    background: var(--zx-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s var(--zx-ease);
}

a:hover {
    color: var(--zx-blue);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container-fluid {
    padding-left: 16px;
    padding-right: 16px;
}
.display-5{font-size: 1rem;line-height: 1.5;}
.table-responsive table{margin-bottom:0!important;margin-top:0!important}
/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    background: url("../images/b1.jpg") center/cover no-repeat;
    color: #fff;
    padding: 70px 0;
    overflow: hidden;
}
.Pregnant{
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    background: url("../images/b4.jpg") center/cover no-repeat;
    color: #fff;
    padding: 70px 0;
    overflow: hidden;
}
.Pregnant-content{
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    background: url("../images/b6.jpg") center/cover no-repeat;
    color: #fff;
    padding: 70px 0;
    overflow: hidden;
}
.hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero__title {
    font-size: 52px;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero__lede {
    font-size: 16px;
    max-width: 820px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
}

/* =========================================================
   Category Tabs
   ========================================================= */
.cat-tabs {
    padding: 36px 0 12px;
}

.cat-tabs__list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}
.list-two{
    grid-template-columns: repeat(2, 1fr);
}
.cat-tabs__item {
    background: #fff;
    border: 1px solid var(--zx-border);
    border-radius: var(--zx-radius);
    overflow: hidden;
    transition: border-color 0.25s var(--zx-ease),
    box-shadow 0.25s var(--zx-ease), transform 0.25s var(--zx-ease);
}

.cat-tabs__item:hover {
    border-color: var(--zx-blue);
    box-shadow: 0 4px 12px rgba(13, 74, 138, 0.08);
    transform: translateY(-1px);
}

.cat-tabs__btn {
    width: 100%;
    background: #fff;
    color: var(--zx-text);
    border: none;
    padding: 14px 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: background 0.25s var(--zx-ease), color 0.25s var(--zx-ease);
    text-align: center;
    line-height: 1.4;
    cursor: pointer;
}

.cat-tabs__item.is-active .cat-tabs__btn {
    background: var(--zx-blue);
    color: #fff;
}

.cat-tabs__btn:hover {
    background: var(--zx-blue-light);
    color: var(--zx-blue);
}

.cat-tabs__item.is-active .cat-tabs__btn:hover {
    background: var(--zx-blue);
    color: #fff;
}

.cat-tabs__content {
    padding: 8px 0 24px;
}

.cat-tabs__content .tab-pane[id] {
    scroll-margin-top: 110px;
}

.cat-section {
    background: #fff;
    border: 1px solid var(--zx-border);
    border-radius: var(--zx-radius);
    padding: 26px 28px 32px;
    box-shadow: var(--zx-shadow-sm);
}

.cat-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.cat-section__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--zx-text);
    margin: 0;
    position: relative;
    padding-bottom: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

.cat-section__wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--zx-green);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.25s var(--zx-ease);
}

.cat-section__wa:hover {
    background: var(--zx-green-dark);
    color: #fff !important;
}

.cat-section__wa i {
    font-size: 16px;
}

.cat-section__lede {
    font-size: 14px;
    color: var(--zx-muted);
    margin: 0 0 24px;
    line-height: 1.7;
}


/**/
.mineral-hero {
    position: relative;
    background: url('../images/b5.jpg') center/cover no-repeat;
    padding: 50px 0;
}

.mineral-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.85) 0%,
            rgba(30, 41, 59, 0.75) 50%,
            rgba(15, 23, 42, 0.9) 100%
    );
}

.mineral-inner {
    position: relative;
    z-index: 2;
    color: #fff;
}

.mineral-heading {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.mineral-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.92;
    margin-bottom: 2.5rem;
}

.mineral-hero .product-box {
    background:#ffffffc7;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 1.5rem;
    color: #1e3a5f;
}

.mineral-hero .product-box-title {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mineral-hero .product-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mineral-hero .product-items li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.mineral-hero .product-items li:last-child {
    margin-bottom: 0;
}

.mineral-hero .product-dot {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2.5px solid #1e3a5f;
    border-radius: 50%;
    margin-top: 1px;
}

.mineral-benefit {
    margin-top: 2.5rem;
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.92;
}

@media (max-width: 767px) {
    .mineral-hero {
        padding: 60px 0;
    }

    .mineral-hero .product-box {
        padding: 1.5rem;
    }

    .mineral-hero .product-box-title {
        font-size: 0.9rem;
    }

    .mineral-hero .product-items li {
        font-size: 0.88rem;
    }
}
/**/
.btn-primary-custom {
    background-color: #004199;
    border-color: #004199;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
}

.btn-primary-custom:hover {
    background-color: #003066;
    border-color: #003066;
    color: white;
}

.btn-success-custom {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
}

.btn-success-custom:hover {
    background-color: #007a33;
    border-color: #007a33;
    color: white;
}

.contact-panel {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
}

.qr-box {
    background-color: #004199;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}
.qr-box-two{
    background-color: #45b035;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}
.qr-label {
    font-size: 14px;
    margin-top: 4px;
    color: #fff;
    font-weight: 600;
}

.product-image {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.hero-title {
    color: #333;
    font-weight: 700;
    line-height: 1.4;
    font-size: 1.5rem;
}

.section-text {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.info-item i {
    font-size: 20px;
}

.text-blue {
    color: var(--primary-blue);
}

.text-green {
    color: var(--primary-green);
}
/**/
.table-container {
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table-custom thead th {
    background-color: #1a3a5c;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    vertical-align: middle;
    padding: 0.85rem 1rem;
    border: 1px solid #15304d;
    white-space: nowrap;
}
.table-custom tbody td {
    vertical-align: middle;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #333;
    border: 1px solid #dee2e6;
}
.table-custom tbody tr:hover {
    background-color: #f0f4f8;
}
.table-custom td:first-child {
    font-weight: 500;
    color: #1a3a5c;
}
.table-custom .text-center-cell {
    text-align: center;
}
.table-custom .text-right-cell {
    text-align: center;
}
@media (max-width: 768px) {
    .table-custom thead th,
    .table-custom tbody td {
        font-size: 0.8rem;
        padding: 0.6rem 0.5rem;
    }
    .table-header-title {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}
/* =========================================================
   FAQ
   ========================================================= */
.faq {
    padding: 20px 0 36px;
}

.faq__panel {
    background: #fff;
    border: 1px solid var(--zx-border);
    border-radius: var(--zx-radius);
    overflow: hidden;
    box-shadow: var(--zx-shadow-sm);
}

.faq__title {
    background: var(--zx-blue-light);
    color: var(--zx-blue);
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin: 0;
    padding: 16px;
    letter-spacing: 1px;
}

.faq__accordion {
    --bs-accordion-border-radius: 0;
    --bs-accordion-inner-border-radius: 0;
    --bs-accordion-border-color: var(--zx-border);
    --bs-accordion-btn-bg: #fff;
    --bs-accordion-active-bg: #fff;
    --bs-accordion-btn-color: var(--zx-text);
    --bs-accordion-active-color: var(--zx-blue);
    --bs-accordion-btn-focus-box-shadow: none;
}

.faq__item {
    border-left: 0;
    border-right: 0;
}

.faq__item:first-child {
    border-top: 0;
}

.faq__btn {
    font-size: 14.5px;
    font-weight: 600;
    padding: 14px 18px;
    background: #fff !important;
    color: var(--zx-text) !important;
    box-shadow: none !important;
}

.faq__btn:not(.collapsed) {
    color: var(--zx-blue) !important;
    background: #fff !important;
}

.faq__btn::after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237a7a7a'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-size: 14px;
}

.faq__body {
    font-size: 14px;
    color: var(--zx-text);
    padding: 4px 18px 18px;
    line-height: 1.7;
}

.faq__body ul {
    margin: 0;
    padding-left: 20px;
}

.faq__body li {
    margin-bottom: 4px;
}

/* =========================================================
   Contact Form
   ========================================================= */
.contact {
    padding: 8px 0 36px;
}

.contact__panel {
    background: #fff;
    border: 1px solid var(--zx-border);
    border-radius: var(--zx-radius);
    padding: 28px 32px 32px;
    box-shadow: var(--zx-shadow-sm);
}

.contact__title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: var(--zx-text);
    margin: 0 0 6px;
}

.contact__lede {
    text-align: center;
    font-size: 14px;
    color: var(--zx-muted);
    margin: 0 0 24px;
}

.contact__lede a {
    color: var(--zx-blue);
    font-weight: 600;
}

.contact__row {
    margin-bottom: 16px;
}

.contact__field {
    position: relative;
    display: flex;
    align-items: center;
    background: #f5f7fa;
    border: 1px solid var(--zx-border);
    border-radius: 999px;
    padding: 0 16px;
    height: 46px;
    transition: border-color 0.25s var(--zx-ease), background 0.25s var(--zx-ease);
}

.contact__field:focus-within {
    border-color: var(--zx-blue);
    background: #fff;
}

.contact__field i {
    color: var(--zx-muted);
    font-size: 16px;
    margin-right: 10px;
}

.contact__field .form-control {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    font-size: 14px;
    color: var(--zx-text);
    height: auto;
}

.contact__field .form-control::placeholder {
    color: #a0a4ad;
}

.contact__field .form-control:focus {
    box-shadow: none;
}

.contact__check {
    margin: 4px 0 18px;
    font-size: 13.5px;
    color: var(--zx-muted);
}

.contact__check label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.contact__check input {
    width: 16px;
    height: 16px;
    accent-color: var(--zx-blue);
}

.contact__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 520px;
    margin: 0 auto;
}

.contact__send,
.contact__reset {
    height: 48px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--zx-radius);
    border: none;
    letter-spacing: 0.5px;
    transition: background 0.25s var(--zx-ease), transform 0.25s var(--zx-ease);
}

.contact__send {
    background: var(--zx-blue);
    color: #fff;
}

.contact__send:hover {
    background: var(--zx-blue-dark);
    color: #fff;
    transform: translateY(-1px);
}

.contact__reset {
    background: var(--zx-green);
    color: #fff;
}

.contact__reset:hover {
    background: var(--zx-green-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 992px) {
    .hero__title {
        font-size: 40px;
    }
    .cat-section__title {
        font-size: 24px;
    }
    .site-nav__inner {
        height: 64px;
    }
    .site-nav__list .nav-link {
        padding: 12px !important;
    }
    .site-nav__list .nav-link.is-active::after {
        display: none;
    }
    .site-nav__wa {
        margin: 12px 0;
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .cat-tabs__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .cat-tabs__item + .cat-tabs__item {
        border-left: 1px solid var(--zx-border);
    }
    .hero {
        min-height: 240px;
        padding: 50px 0;
    }
    .hero__title {
        font-size: 32px;
    }
    .hero__lede {
        font-size: 14px;
    }
    .cat-section {
        padding: 20px 16px 24px;
    }
    .contact__panel {
        padding: 20px 16px;
    }
    .contact__actions {
        grid-template-columns: 1fr;
    }
    .site-brand__text small {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero__title {
        font-size: 28px;
    }
    .cat-section__title {
        font-size: 20px;
    }
    .cat-section__wa {
        font-size: 12px;
        padding: 7px 12px;
    }
    .cat-tabs__list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .cat-tabs__item + .cat-tabs__item {
        border-left: 1px solid var(--zx-border);
    }
    .faq__title {
        font-size: 18px;
    }
    .contact__title {
        font-size: 20px;
    }
}
