﻿/* =========================================================
   BASE
========================================================= */

body {
    -webkit-font-smoothing: antialiased;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    color: #1f2937;
    background-color: #ffffff;
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

/* =========================================================
   TOPBAR / HEADER / NAV
========================================================= */

.topbar {
    background: #f8fafc;
    color: #475569;
}

.social-link {
    color: #64748b;
}

    .social-link:hover {
        color: #0f4c81;
    }

.main-navbar {
    z-index: 1030;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.site-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 10px;
    background: #ffffff;
}

.brand-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f4c81;
}

/* =========================================================
   BOTONES
========================================================= */

.btn-pdm-primary {
    background-color: #0f4c81;
    border-color: #0f4c81;
    color: #ffffff;
}

    .btn-pdm-primary:hover {
        background-color: #0c3d66;
        border-color: #0c3d66;
        color: #ffffff;
    }

.btn-buscar-catalogo {
    background: linear-gradient(180deg, #0f4c81 0%, #0c3d66 100%);
    border: 1px solid #0c3d66;
    color: #ffffff;
    font-weight: 600;
    border-radius: 12px;
    min-height: 46px;
    box-shadow: 0 8px 18px rgba(15, 76, 129, 0.18);
    transition: all .18s ease;
}

    .btn-buscar-catalogo:hover {
        background: linear-gradient(180deg, #0c3d66 0%, #0a3354 100%);
        border-color: #0a3354;
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 12px 22px rgba(15, 76, 129, 0.22);
    }

/* =========================================================
   HOME HERO
========================================================= */

.hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-badge {
    display: inline-block;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0f4c81;
    font-weight: 600;
    font-size: .92rem;
}

.hero-title {
    font-size: 2.6rem;
    line-height: 1.15;
    font-weight: 800;
    color: #0f172a;
}

.hero-text {
    font-size: 1.08rem;
    color: #475569;
    max-width: 620px;
}

.hero-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hero-logo {
    width: 170px;
    max-width: 100%;
    object-fit: contain;
}

.hero-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .5rem;
}

/* =========================================================
   INFO BLOCKS
========================================================= */

.info-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.info-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eff6ff;
    color: #0f4c81;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .85rem;
    font-size: 1.2rem;
}

.info-title {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: .45rem;
}

.info-text {
    color: #64748b;
    margin-bottom: 0;
    font-size: .95rem;
}

/* =========================================================
   SECTIONS
========================================================= */

.section-heading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-kicker {
    display: inline-block;
    color: #0f4c81;
    font-weight: 700;
    font-size: .92rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.section-text {
    color: #64748b;
    font-size: 1rem;
}

/* =========================================================
   CATEGORÍAS HOME
========================================================= */

.category-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    min-height: 100%;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

/* =========================================================
   ABOUT
========================================================= */

.about-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.about-item {
    padding: .7rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-weight: 500;
}

    .about-item:last-child {
        border-bottom: none;
    }

/* =========================================================
   HOME PRODUCT CARDS
========================================================= */

.product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.product-image-wrap {
    background: #f8fafc;
    padding: 1.25rem;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    max-width: 180px;
    object-fit: contain;
}

.product-body {
    padding: 1.1rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .45rem;
}

.product-text {
    color: #64748b;
    font-size: .94rem;
}

/* =========================================================
   NEWS HOME
========================================================= */

.news-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.news-date {
    font-size: .82rem;
    font-weight: 700;
    color: #0f4c81;
    text-transform: uppercase;
    margin-bottom: .55rem;
}

.news-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.news-text {
    color: #64748b;
    font-size: .95rem;
}

/* =========================================================
   CTA
========================================================= */

.cta-final {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.cta-box {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.cta-text {
    color: #64748b;
    margin-bottom: 0;
}

/* =========================================================
   FOOTER
========================================================= */

footer.footer-pdm {
    background: linear-gradient(180deg, #eef4f8 0%, #f4f9fd 45%, #ffffff 100%) !important;
    border-top: 1px solid #d7e3ee !important;
    box-shadow: 0 -6px 14px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255,255,255,0.65) !important;
    position: relative;
}

    footer.footer-pdm::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd);
    }

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.footer-text {
    color: #64748b;
    font-size: .96rem;
    line-height: 1.7;
}

.footer-contact-item {
    margin-bottom: .75rem;
    color: #475569;
    font-size: .95rem;
}

    .footer-contact-item a {
        color: #475569;
    }

        .footer-contact-item a:hover {
            color: #0f4c81;
        }

.footer-links-simple li {
    margin-bottom: .6rem;
}

.footer-links-simple a {
    color: #475569;
    font-size: .95rem;
}

    .footer-links-simple a:hover {
        color: #0f4c81;
    }

.footer-social {
    min-width: 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: .2s;
}

    .footer-social:hover {
        background: #e6f0fb;
        transform: translateY(-2px);
    }

/* =========================================================
   HERO CAROUSEL
========================================================= */

.hero-carousel-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hero-carousel-image {
    height: 520px;
    object-fit: cover;
    background: #e5e7eb;
}

.carousel-caption-custom {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    background: rgba(15, 23, 42, 0.58);
    color: #ffffff;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    backdrop-filter: blur(4px);
}

    .carousel-caption-custom h3 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: .35rem;
        color: #ffffff;
    }

    .carousel-caption-custom p {
        margin-bottom: 0;
        font-size: .95rem;
        color: rgba(255,255,255,.92);
    }

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* =========================================================
   CATÁLOGO PRODUCTOS
========================================================= */

.catalog-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.catalog-hero-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 1.4rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.catalog-hero-item {
    padding: .65rem 0;
    border-bottom: 1px solid #eef2f7;
    color: #334155;
    font-weight: 500;
}

    .catalog-hero-item:last-child {
        border-bottom: none;
    }

.catalog-toolbar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.catalog-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transition: transform .18s ease, box-shadow .18s ease;
}

    .catalog-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    }

.premium-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog-card-image-wrap {
    background: #f8fafc;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    overflow: hidden;
    border-bottom: 1px solid #eef2f7;
    position: relative;
}

.catalog-card-image {
    width: 100%;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.premium-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 250px;
    padding: 1.1rem;
}

.catalog-badge {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: max-content;
    padding: .32rem .75rem;
    border-radius: 999px;
    background: #eef4ff;
    color: #0f4c81;
    font-size: .76rem;
    font-weight: 700;
}

.premium-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .55rem;
    line-height: 1.35;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.premium-desc {
    color: #64748b;
    font-size: .94rem;
    line-height: 1.55;
    min-height: 4.65em;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-card-actions {
    margin-top: auto;
    padding-top: .25rem;
}

    .catalog-card-actions .btn {
        min-width: 108px;
    }

/* =========================================================
   BREADCRUMBS
========================================================= */

.breadcrumb-pdm {
    font-size: .95rem;
}

    .breadcrumb-pdm a {
        color: #2563eb;
        text-decoration: none;
    }

        .breadcrumb-pdm a:hover {
            text-decoration: underline;
        }

/* =========================================================
   DETALLE DE PRODUCTO
========================================================= */

.product-gallery-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.product-main-image-wrap {
    border-radius: 18px;
    overflow: hidden;
    background: #f8fafc;
}

.product-main-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.product-thumb {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 14px;
    border: 2px solid transparent;
    cursor: pointer;
    background: #f8fafc;
}

.active-thumb {
    border-color: #2563eb;
}

.product-info-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.product-image-card {
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.product-category {
    display: inline-block;
    padding: 6px 12px;
    background: #e8f1fb;
    color: #2563eb;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #0f172a;
}

.product-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-features {
    padding-left: 18px;
    color: #334155;
    margin-bottom: 26px;
}

    .product-features li {
        margin-bottom: 6px;
    }

.product-meta-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1rem 1.1rem;
}

.product-meta-item {
    color: #334155;
    margin-bottom: .55rem;
    font-size: .96rem;
}

    .product-meta-item:last-child {
        margin-bottom: 0;
    }

.related-products-box {
    padding-top: 1rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }

    .site-logo {
        width: 48px;
        height: 48px;
    }

    .hero-carousel-image {
        height: 340px;
    }

    .product-main-image {
        height: 360px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-card {
        padding: 1.4rem;
    }

    .cta-box {
        padding: 1.4rem;
    }

    .hero-carousel-image {
        height: 250px;
    }

    .carousel-caption-custom {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: .85rem 1rem;
    }

        .carousel-caption-custom h3 {
            font-size: 1rem;
        }

        .carousel-caption-custom p {
            font-size: .88rem;
        }

    .catalog-card-image-wrap {
        height: 100px;
        min-height: 100px;
        max-height: 100px;
    }

    .catalog-card-image {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }

    .premium-card-body {
        min-height: 220px;
    }

    .product-main-image {
        height: 260px;
    }

    .product-thumb {
        height: 80px;
    }
}

/* ======================================
BANNERS COMERCIALES
====================================== */

.banner-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.banner-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 25px;
    left: 25px;
}

    .banner-overlay .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }


.product-badge-auto {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: inline-block;
    padding: .38rem .7rem;
    border-radius: 999px;
    background: #0f4c81;
    color: #ffffff;
    font-size: .78rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(15, 76, 129, 0.22);
}

.catalog-card-image-wrap {
    position: relative !important;
}

.most-viewed-section .premium-card-body {
    min-height: 290px !important;
}

.most-viewed-section .premium-desc {
    min-height: 72px !important;
    max-height: 72px !important;
}


/* =========================================================
   HOME BANNERS REFINADOS
========================================================= */

.promo-banner-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    height: 100%;
}

.promo-banner-img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.promo-banner-content {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 3;
}

.promo-banner-content-right {
    left: auto;
    right: 28px;
    bottom: 28px;
}

.promo-banner-actions .btn {
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

/* =========================================================
   PRODUCTOS MÁS VISTOS - HOME
========================================================= */

.most-viewed-section .row {
    justify-content: center;
}

.shadow-soft-card {
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.most-viewed-section .catalog-card {
    border-radius: 24px;
}

.most-viewed-section .catalog-card-image-wrap {
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    border-bottom: 1px solid #eef2f7;
    position: relative !important;
}

.most-viewed-section .catalog-card-image {
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.most-viewed-section .premium-card-body {
    min-height: 290px !important;
    padding: 1.35rem !important;
}

.premium-title-home {
    font-size: 1.1rem !important;
    margin-bottom: .9rem !important;
}

.premium-desc-home {
    min-height: 72px !important;
    max-height: 72px !important;
    margin-bottom: 1.2rem !important;
}

.most-viewed-section .catalog-card-actions {
    gap: .55rem !important;
}

    .most-viewed-section .catalog-card-actions .btn {
        min-width: 136px !important;
        border-radius: 10px;
    }

.product-badge-auto {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    display: inline-block;
    padding: .4rem .8rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #0f4c81 0%, #0c3d66 100%);
    color: #ffffff;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 8px 18px rgba(15, 76, 129, 0.22);
}

/* =========================================================
   RESPONSIVE BANNERS + MÁS VISTOS
========================================================= */

@media (max-width: 991px) {
    .promo-banner-img {
        min-height: 300px;
        max-height: 360px;
    }

    .promo-banner-content,
    .promo-banner-content-right {
        left: 20px;
        right: auto;
        bottom: 20px;
    }

    .most-viewed-section .catalog-card-image-wrap {
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
    }

    .most-viewed-section .catalog-card-image {
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
    }
}

@media (max-width: 767px) {
    .promo-banner-img {
        min-height: 220px;
        max-height: 260px;
    }

    .promo-banner-content,
    .promo-banner-content-right {
        left: 16px;
        right: auto;
        bottom: 16px;
    }

    .promo-banner-actions .btn {
        font-size: .95rem;
        padding: .65rem 1rem;
    }

    .most-viewed-section .catalog-card-image-wrap {
        height: 210px !important;
        min-height: 210px !important;
        max-height: 210px !important;
    }

    .most-viewed-section .catalog-card-image {
        height: 210px !important;
        min-height: 210px !important;
        max-height: 210px !important;
    }

    .most-viewed-section .premium-card-body {
        min-height: 250px !important;
    }

    .premium-desc-home {
        min-height: 66px !important;
        max-height: 66px !important;
    }
}

.news-card-premium {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card-image-wrap {
    height: 240px;
    min-height: 240px;
    max-height: 240px;
    overflow: hidden;
    background: #f8fafc;
}

.news-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.news-card-body-premium {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    min-height: 240px;
}

.news-card-title-premium {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: .75rem;
}

.news-card-summary-premium {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.news-detail-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.news-detail-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
}

.news-detail-image-wrap {
    border-radius: 18px;
    overflow: hidden;
    background: #f8fafc;
}

.news-detail-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.news-detail-content {
    color: #334155;
    line-height: 1.8;
    font-size: 1rem;
}

    .news-detail-content p {
        margin-bottom: 1rem;
    }

    .news-detail-content h2,
    .news-detail-content h3,
    .news-detail-content h4 {
        color: #0f172a;
        font-weight: 700;
        margin-top: 1.5rem;
        margin-bottom: .85rem;
    }

@media (max-width: 767px) {
    .news-card-image-wrap,
    .news-card-image {
        width: 100%;
        height: 260px; /* tamaño fijo */
        object-fit: cover; /* recorta la imagen sin deformarla */
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
    }

    .news-detail-title {
        font-size: 1.8rem;
    }

    .news-detail-image {
        max-height: 300px;
    }
}

.news-image-wrap {
    height: 260px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

    .news-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* =========================================================
   NOTICIAS - LISTADO PROFESIONAL
========================================================= */

.news-card-premium {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .news-card-premium:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 30px rgba(15, 23, 42, 0.09);
    }

.news-card-image-wrap {
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    overflow: hidden;
    background: #f8fafc;
    position: relative;
}

.news-card-image {
    width: 100%;
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform .35s ease;
}

.news-card-premium:hover .news-card-image {
    transform: scale(1.03);
}

.news-card-body-premium {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 270px;
}

.news-date {
    font-size: .82rem;
    font-weight: 700;
    color: #0f4c81;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.news-card-title-premium {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.32;
    margin-bottom: .85rem;
    min-height: 3.3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-summary-premium {
    color: #64748b;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
    min-height: 5.4em;
    max-height: 5.4em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-actions {
    margin-top: auto;
    padding-top: .35rem;
}

    .news-card-actions .btn {
        min-width: 132px;
        border-radius: 10px;
    }

/* =========================================================
   NOTICIA DETALLE
========================================================= */

.news-detail-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.news-detail-kicker {
    display: inline-block;
    color: #0f4c81;
    font-weight: 700;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .35rem;
}

.news-detail-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.12;
    margin-bottom: .85rem;
}

.news-detail-image-wrap {
    border-radius: 18px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.news-detail-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.news-detail-content {
    color: #334155;
    line-height: 1.85;
    font-size: 1.03rem;
}

    .news-detail-content p {
        margin-bottom: 1rem;
    }

    .news-detail-content h2,
    .news-detail-content h3,
    .news-detail-content h4 {
        color: #0f172a;
        font-weight: 800;
        line-height: 1.25;
        margin-top: 1.6rem;
        margin-bottom: .85rem;
    }

    .news-detail-content ul,
    .news-detail-content ol {
        padding-left: 1.4rem;
        margin-bottom: 1rem;
    }

    .news-detail-content li {
        margin-bottom: .45rem;
    }

    .news-detail-content img {
        max-width: 100%;
        height: auto;
        border-radius: 14px;
    }

/* =========================================================
   CTA NOTICIAS
========================================================= */

.news-cta-box {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbeafe;
    border-radius: 22px;
    padding: 1.6rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

/* =========================================================
   RESPONSIVE NOTICIAS
========================================================= */

@media (max-width: 991px) {
    .news-detail-title {
        font-size: 2rem;
    }

    .news-detail-image {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .news-card-image-wrap,
    .news-card-image {
        height: 210px;
        min-height: 210px;
        max-height: 210px;
    }

    .news-card-body-premium {
        min-height: 235px;
        padding: 1.1rem;
    }

    .news-card-title-premium {
        font-size: 1.08rem;
        min-height: auto;
    }

    .news-card-summary-premium {
        color: #64748b;
        line-height: 1.8;
        font-size: 1rem;
        margin-bottom: 1rem;
        min-height: 5.4em;
        max-height: 5.4em;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-detail-title {
        font-size: 1.75rem;
    }

    .news-detail-image {
        height: 280px;
    }

    .news-detail-box {
        padding: 1.2rem;
    }

    .news-card-actions {
        margin-top: auto;
        padding-top: .35rem;
    }
}

/* =========================================================
   SOCIOS
========================================================= */

.partner-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .partner-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 30px rgba(15, 23, 42, 0.09);
    }

.partner-logo-wrap {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-bottom: 1px solid #eef2f7;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
}

.partner-logo-img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    display: block;
}

.partner-card-body {
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 220px;
}

.partner-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: .75rem;
}

.partner-text {
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.partner-badge-new {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    display: inline-block;
    padding: .38rem .75rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #0f4c81 0%, #0c3d66 100%);
    color: #ffffff;
    font-size: .75rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 76, 129, 0.22);
}

@media (max-width: 767px) {
    .partner-logo-wrap {
        height: 160px;
        min-height: 160px;
        max-height: 160px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background: #f8fafc;
        border-bottom: 1px solid #eef2f7;
        overflow: hidden;
    }

    .partner-logo-img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .partner-card-body {
        min-height: 180px;
    }
}

/* =========================================================
   CONTACTO
========================================================= */

.contact-info-box,
.contact-form-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 1.6rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    height: 100%;
}

.contact-box-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: .6rem;
}

.contact-box-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .6rem;
}

.contact-box-text {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.contact-card-mini {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #eef2f7;
}

    .contact-card-mini:last-child {
        border-bottom: none;
    }

.contact-mini-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: #eff6ff;
    color: #0f4c81;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.contact-mini-label {
    font-size: .9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .2rem;
}

.contact-mini-link {
    color: #0f4c81;
    text-decoration: none;
    word-break: break-word;
}

    .contact-mini-link:hover {
        text-decoration: underline;
    }

.contact-mini-text {
    color: #64748b;
    line-height: 1.6;
}

.contact-form-box .form-control {
    border-radius: 14px;
    min-height: 48px;
    border-color: #dbe2ea;
}

.contact-form-box textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

/* =========================================================
   THANK YOU
========================================================= */

.thankyou-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.thankyou-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    color: #0f4c81;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
}

.thankyou-mini-card {
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: 22px;
    padding: 1.4rem;
    height: 100%;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
}

.thankyou-mini-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem auto;
    border-radius: 16px;
    background: #eff6ff;
    color: #0f4c81;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.thankyou-mini-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: .65rem;
}

.thankyou-mini-text {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0;
}