* {
    box-sizing: border-box;
}
:root {
    --royal-blue: #004199;
    --light-grey: #ECECEC;
    --dark-charcoal: #333333;
    --mid-grey: #666666;
    --light-text: #999999;
}

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;
}
.bg-blue{background: #004199;}
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s var(--zx-ease);
}
.Pregnant{
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    background: url("../images/b7.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;
}


.page-title {
    color: var(--royal-blue);
    font-weight: 700;
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
}

.hero-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 20px;
    margin-bottom: 30px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    line-height: 2;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--royal-blue);
    margin-bottom: 20px;
}

.hero-text {
    color: var(--mid-grey);
    line-height: 1.6;
    margin-bottom: 15px;
}

.label-bold {
    font-weight: 700;
    color: var(--dark-charcoal);
}

.btn-leer-mas {
    background-color: var(--royal-blue);
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 600;
    align-self: flex-start;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.btn-leer-mas:hover {
    background-color: #3154b4;
    color: #fff;
}

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

.case-product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.case-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-color: var(--royal-blue);
}

.case-product-card:hover .product-title {
    color: var(--royal-blue);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-content {
    padding: 15px;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-charcoal);
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-description {
    font-size: 0.8rem;
    color: var(--light-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.pagination {
    margin-top: 30px;
    justify-content: center;
}

.page-link {
    color: var(--royal-blue);
    border-color: #dee2e6;
    transition: all 0.2s ease;
}

.page-link:hover {
    color: #fff;
    background-color: var(--royal-blue);
    border-color: var(--royal-blue);
}

.page-item.active .page-link {
    background-color: var(--royal-blue);
    border-color: var(--royal-blue);
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(65, 105, 225, 0.25);
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        min-height: 250px;
    }

    .hero-title {
        font-size: 1.25rem;
    }
}

/**/
.case-hero-banner {
    position: relative;
    min-height: 600px;
    background: url("../images/b8.jpg") center/cover no-repeat;
    overflow: hidden;
}

.case-content-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.case-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.case-hero-text {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.btn-primary-custom {
    background: #004199;
    border: none;
    color: white;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 58, 95, 0.3);
    color: white;
}
