@charset "UTF-8";

/* ==================== VARIABLES Y CONFIGURACION GLOBAL ==================== */

:root {
    --color-primary: #ff5a5f;
    --color-secondary: #4bc0c0;
    --color-light: #f8f9fa;
    --color-dark: #212529;
    --color-accent: #f1a7a6;
    --color-bg: #e9ecef;
}

/* ==================== ESTILOS GENERALES ==================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    padding-top: 80px;
    line-height: 1.6;
}

body h1,
body h2,
body h3,
body p {
    font-family: 'Poppins', sans-serif;
}

section {
    padding: 60px 0;
}

section[id] {
    scroll-margin-top: 90px;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 20px;
}

/* Secciones diferenciadas */
section#emprendedores {
    background-color: var(--color-light);
}

section#noticias {
    background-color: var(--color-light);
}

section#productos {
    background-color: var(--color-bg);
}

/* ==================== ANIMACIONES ==================== */

@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes portal-banner-pulse {
    0%,
    100% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.12));
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 18px rgba(102, 126, 234, 0.28);
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.18), rgba(118, 75, 162, 0.18));
        transform: scale(1.006);
    }
}

@keyframes portal-banner-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

@keyframes portal-banner-shine {
    0%,
    65% {
        transform: translateX(-140%) rotate(25deg);
        opacity: 0;
    }
    75% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(300%) rotate(25deg);
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.fade-up {
    animation: fade-up 1s ease-out;
}

/* ==================== ACCESIBILIDAD ==================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--color-dark, #212529);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* ==================== ANUNCIOS (AdSense) ==================== */

.ad-slot {
    display: block;
    margin: 2rem 0;
}

.ad-slot__inner {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== HEADER Y NAVEGACION ==================== */

header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: #212529 !important;
    opacity: 1 !important;
}

.navbar {
    padding: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
    font-family: 'Poppins', sans-serif;
}

.navbar-brand {
    color: white !important;
}

.navbar-brand img {
    max-height: 80px;
    height: auto;
    width: auto;
    object-fit: contain;
    width: 110px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    position: relative;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: white !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.navbar-nav .nav-link:hover {
    color: var(--color-primary) !important;
}

.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
}

.header-home .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }
    .navbar-nav .nav-link {
        padding: 1rem;
    }
}

/* ==================== PORTAL BANNER ==================== */

.portal-banner-wrap {
    display: flex;
    justify-content: center;
    padding: 12px 0 24px;
}

.portal-banner {
    width: min(980px, 92%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.12));
    border: 1px solid rgba(102, 126, 234, 0.25);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    animation: portal-banner-pulse 3.2s ease-in-out infinite, portal-banner-float 4.8s ease-in-out infinite;
}

.portal-banner::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -30%;
    width: 160px;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: rotate(25deg);
    animation: portal-banner-shine 6s ease-in-out infinite;
}

.portal-banner__label {
    font-weight: 600;
    font-size: 15px;
}

.portal-banner__cta {
    font-size: 14px;
    font-weight: 700;
    color: #667eea;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.portal-banner:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .portal-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ==================== HERO SECTION ==================== */

.hero {
    height: 60vh;
    min-height: 450px;
    max-height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images_sitio/hero/banner_sitio_1.jpeg') center/cover no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1,
.hero h2,
.hero .lead,
.hero .hero-a {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-weight: 700;
}

.hero-a {
    font-weight: 400;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 350px;
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 45vh;
        min-height: 300px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
}

/* ==================== CARDS Y COMPONENTES ==================== */

/*desde aca*/
.card {
    width: 100%;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--color-light);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 15px;
    flex-grow: 1;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.card .btn {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    padding: 10px 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.card .btn:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* Card Compacta */
.card-compact {
    display: flex;
    gap: 12px;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.card-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.card-compact__media {
    position: relative;
    flex: 0 0 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background: #f6f7fb;
}

.card-compact__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--card-img);
    background-size: cover;
    background-position: center;
    filter: blur(12px);
    transform: scale(1.2);
    opacity: 0.85;
    z-index: 0;
}

.card-compact__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.02));
    z-index: 0;
}

.card-compact__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    cursor: pointer;
    padding: 6px;
    background: transparent;
    position: relative;
    z-index: 1;
    border-radius: 8px;
}

.card-compact__badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 11px;
    padding: 4px 6px;
    z-index: 2;
}

.card-compact__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 4px 12px 4px 6px;
}

.card-compact__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.card-compact__title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: #1f2a44;
    display: -webkit-box;
    /*-webkit-line-clamp: 2;*/
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-compact__subtitle {
    margin: 0 0 4px 0;
    font-size: 11px;
    color: #6c7a89;
}

.card-compact__link {
    margin: 0 0 6px 0;
    font-size: 11px;
    color: #6c7a89;
}

.card-compact__link a {
    color: #3b5bdb;
    text-decoration: none;
    font-weight: 600;
}

.card-compact__description {
    font-size: 11px;
    color: #6b7280;
    display: -webkit-box;
   /* -webkit-line-clamp: 1;*/
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.card-compact__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
}

.card-compact__actions .btn {
    padding: 4px 10px;
    font-size: 12px;
}

.card-compact__actions .btn-cta {
    border-width: 2px;
    font-weight: 600;
    box-shadow: 0 6px 12px rgba(13, 110, 253, 0.18);
}
/* hasta*/
.card-compact__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #1f6feb;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(31, 111, 235, 0.08);
}

.card-compact__more:hover {
    text-decoration: underline;
}

.card-compact__price-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #0f5132;
    background: #d1e7dd;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(15, 81, 50, 0.25);
    z-index: 2;
}

@media (max-width: 768px) {
    .card-compact {
        flex-direction: column;
    }
    .card-compact__media {
        width: 100%;
        height: 160px;
    }
    .card-compact__actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Product Card */
.product-card {
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 10px;
}

.product-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-card .card-title {
    font-weight: 700;
}

.product-card .meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-card .meta .badge {
    font-weight: 600;
}

.product-card .btn {
    width: 100%;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.product-image {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    background: #f7f7f7;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== LISTAS Y CARACTERISTICAS ==================== */

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 500;
}

.feature-list li i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* ==================== TESTIMONIOS ==================== */

.testimonial-card {
    position: relative;
    background: linear-gradient(135deg, #1f2a44 0%, #244d7a 55%, #2f6b8f 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(31, 42, 68, 0.35);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 36px rgba(18, 28, 45, 0.28), 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #fff;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 46px rgba(18, 28, 45, 0.35), 0 6px 14px rgba(0, 0, 0, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card .quote {
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    padding-left: 8px;
}

.testimonial-card .quote i.fa-quote-left {
    color: #ffd166;
    font-size: 1.5rem;
    opacity: 0.8;
    filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.4));
    transition: all 0.3s ease;
}

.testimonial-card:hover .quote i.fa-quote-left {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(255, 209, 102, 0.6));
}

/* Estrellas con animación */
.testimonial-card .testimonial-rating {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-card .testimonial-rating i.fa-star {
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.testimonial-card .testimonial-rating i.fa-star.text-warning {
    color: #ffd700 !important;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.4));
}

.testimonial-card:hover .testimonial-rating i.fa-star.text-warning {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
    transform: scale(1.1);
}

/* Foto del autor con borde gradiente */
.testimonial-author-photo {
    position: relative;
    display: inline-block;
}

.testimonial-author-photo::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    animation: rotate-gradient 3s linear infinite;
    z-index: -1;
}

@keyframes rotate-gradient {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.testimonial-author-photo img {
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.testimonios-compact .testimonial-card {
    padding: 20px;
    border-radius: 16px;
}

.testimonios-compact .container {
    max-width: 980px;
}

.testimonios-compact .carousel-item {
    min-height: 150px;
}

.testimonios-compact .quote {
    margin-bottom: 0.75rem !important;
}

.testimonios-compact .testimonial-rating {
    margin-bottom: 0.5rem !important;
}

.testimonial-card:hover .testimonial-author-photo img {
    transform: scale(1.05);
}

/* Info del autor */
.testimonial-author-info .fw-bold {
    font-size: 1rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.testimonial-author-info .text-white-50 {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Controles del carrusel mejorados */
.testimonial-card .btn-light {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card .btn-light:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Animación de entrada */
@keyframes testimonial-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    animation: testimonial-fade-in 0.6s ease-out;
}

/* Responsivo para testimonios */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 24px;
        border-radius: 16px;
    }
    
    .testimonial-card .quote {
        font-size: 1rem;
    }
    
    .testimonial-card .quote i.fa-quote-left {
        font-size: 1.25rem;
    }
    
    .testimonial-card .testimonial-rating i.fa-star {
        font-size: 1rem;
    }
    
    .testimonial-author-photo img {
        width: 44px !important;
        height: 44px !important;
    }

    .testimonios-compact .carousel-item {
        min-height: 130px;
    }
    
    .testimonial-author-info .fw-bold {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-card .quote {
        font-size: 0.9375rem;
    }
    
    .testimonial-card .btn-light {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }

    .testimonios-compact .testimonial-author-photo img {
        width: 52px !important;
        height: 52px !important;
    }
}

/* ==================== FILTROS Y CHIPS ==================== */

.filter-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.chip {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    color: #111;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.chip i {
    color: var(--color-primary);
}

.chip:hover,
.chip.active {
    background: rgba(0, 123, 255, 0.08);
    border-color: rgba(0, 123, 255, 0.4);
    color: #0b5ed7;
}

/* ==================== FOOTER ==================== */

footer {
    background-color: var(--color-dark);
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer-home {
    background: #212529;
}

.footer-home .footer-text {
    font-size: 0.9rem;
}

.footer-home__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: start;
    text-align: left;
}

.footer-home__title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #f1f4ff;
}

.footer-home__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
}

.footer-home__list a {
    color: #9fb2ff;
    text-decoration: none;
}

.footer-home__list a:hover,
.footer-home__list a:focus {
    color: #fff;
}

.footer-home__brand {
    font-size: 1rem;
    font-weight: 700;
}

.footer-home__meta {
    color: #c9d2e3;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-home__bottom {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #c9d2e3;
}

.footer-home__bottom a {
    color: #9fb2ff;
}

.footer-home a {
    color: #9fb2ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-home a:hover,
.footer-home a:focus {
    color: #fff;
}

.footer-home .footer-copy {
    color: #dfe3ea;
}

.footer-home .footer-cta {
    color: #d8dee8;
    line-height: 1.6;
}

.footer-home .footer-sep {
    margin: 0 6px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-home .footer-icon {
    margin-right: 6px;
    color: #a9b8ff;
}

footer .social-links .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    padding: 12px 18px;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

footer .social-links .btn:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

@media (max-width: 576px) {
    .footer-home .footer-cta {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .footer-home .footer-sep {
        display: none;
    }
}

/* ==================== FORMULARIOS ==================== */

#buscadorForm {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

#buscadorForm .form-select,
#buscadorForm .form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#buscadorForm .form-select:focus,
#buscadorForm .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

#buscadorForm .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

#buscadorForm .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

@media (max-width: 576px) {
    #buscadorForm {
        padding: 20px;
    }
    #buscadorForm .form-select,
    #buscadorForm .form-control,
    #buscadorForm .btn-primary {
        font-size: 1rem;
        padding: 8px;
    }
    #buscadorForm h3 {
        font-size: 1.5rem;
    }
}

/* ==================== ACORDEONES ==================== */

.collapse {
    transition: height 0.3s ease, opacity 0.3s ease;
}

.accordion-button {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: var(--bs-accordion-active-bg);
}

.accordion-body {
    background-color: #ffffff;
    border-top: 1px solid #ddd;
}

/* ==================== DRAWERS ==================== */
.drawer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90vw;
    max-width: 1200px;
    max-height: 90vh;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    padding: 0;
    overflow-y: auto;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.drawer.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.drawer .drawer-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.drawer .drawer-body {
    padding: 20px 28px;
    overflow-y: auto;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1040;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.drawer-open {
    overflow: hidden;
}

.close-btn {
    background: none;
    border: none;
    font-size: 30px;
    font-weight: bold;
    color: #343a40;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    transition: color 0.3s ease;
    z-index: 1000;
}

.close-btn:hover {
    color: #007bff;
}

@media (max-width: 768px) {
    .drawer {
        width: 100vw;
        max-width: 100%;
        border-radius: 0;
        height: 100%;
        max-height: 100vh;
        top: 0;
        left: 50%;
        transform: translateX(-50%) scale(0.9);
    }
    .drawer.open {
        transform: translateX(-50%) scale(1);
    }
}

/* ==================== DRAWER EMPRENDIMIENTO ==================== */

.emp-drawer-shell {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 12px 18px 24px;
    box-sizing: border-box;
}

.emp-drawer-hero {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 260px;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.3)), var(--emp-hero-img, linear-gradient(135deg, #0d6efd, #6f42c1));
    background-size: cover;
    background-position: center;
    color: #fff;
}

.emp-drawer-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: brightness(0.75);
}

.emp-drawer-hero__content {
    position: relative;
    z-index: 1;
    padding: 28px;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.emp-drawer-hero__eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.emp-drawer-hero__title {
    margin: 0;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.emp-drawer-hero__subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.emp-drawer-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.emp-drawer-body {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
}

.emp-drawer-body .content-text {
    line-height: 1.6;
    width: 100%;
}

.emp-card__actions {
    padding: 0 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 768px) {
    .emp-drawer-hero__content {
        padding: 20px;
    }
    .emp-drawer-shell {
        padding: 12px;
    }
    .emp-drawer-hero {
        min-height: 250px;
        max-height: 350px;
    }
    .emp-drawer-hero__title {
        font-size: 1.5rem;
    }
    .emp-drawer-hero__subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .emp-drawer-hero {
        min-height: 240px;
        max-height: 340px;
        border-radius: 10px;
    }
    .emp-drawer-hero__content {
        padding: 12px;
        gap: 6px;
    }
    .emp-drawer-hero__eyebrow {
        font-size: 0.65rem;
    }
    .emp-drawer-hero__title {
        font-size: 1.1rem;
        margin-bottom: 2px;
    }
    .emp-drawer-hero__subtitle {
        font-size: 0.75rem;
    }
    .emp-drawer-cta {
        gap: 6px;
        margin-top: 6px;
    }
    .emp-drawer-cta .btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        white-space: nowrap;
    }
}

/* ==================== DRAWER PRODUCTOS ==================== */

.prod-drawer-gallery-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
}

.prod-drawer-carousel {
    position: relative;
    min-height: 300px;
    max-height: 450px;
    background: #000;
}

.prod-drawer-carousel-inner {
    height: 100%;
}

.prod-drawer-carousel-img {
    object-fit: contain;
    height: 450px;
    max-height: 450px;
    width: 100%;
    background: #000;
}

#prodDrawerHero.emp-drawer-hero {
    min-height: 300px;
    max-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
}

#prodDrawerHero.emp-drawer-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--prod-hero-img, none);
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.1);
    z-index: 0;
}

#prodDrawerHero .prod-hero-main-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 450px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

#prodDrawerHero .emp-drawer-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    height: 70%;
}

#prodDrawerHero .emp-drawer-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    max-width: 100%;
    z-index: 2;
}

.prod-drawer-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    padding: 28px;
    color: #fff;
    z-index: 10;
    width: 100%;
    box-sizing: border-box;
}

.prod-drawer-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 6px;
}

.prod-drawer-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.prod-drawer-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
}

.prod-drawer-thumbnails {
    display: flex;
    gap: 12px;
    padding: 16px;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.prod-drawer-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    opacity: 0.7;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.prod-drawer-thumbnail:hover {
    opacity: 1;
    border-color: rgba(13, 110, 253, 0.6);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
}

.prod-drawer-thumbnail.active {
    opacity: 1;
    border-color: #0d6efd;
    border-width: 3px;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.prod-drawer-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prod-drawer-carousel .carousel-control-prev,
.prod-drawer-carousel .carousel-control-next {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.prod-drawer-carousel .carousel-control-prev {
    left: 16px;
}

.prod-drawer-carousel .carousel-control-next {
    right: 16px;
}

.prod-drawer-carousel .carousel-control-prev:hover,
.prod-drawer-carousel .carousel-control-next:hover {
    background: rgba(255, 255, 255, 1);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.prod-drawer-carousel .carousel-control-prev-icon,
.prod-drawer-carousel .carousel-control-next-icon {
    filter: invert(1);
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .prod-drawer-carousel {
        min-height: 250px;
        max-height: 350px;
    }
    .prod-drawer-carousel-img {
        height: 350px;
        max-height: 350px;
    }
    #prodDrawerHero.emp-drawer-hero {
        min-height: 250px;
        max-height: 350px;
    }
    .prod-drawer-info-overlay {
        padding: 18px;
    }
    .prod-drawer-title {
        font-size: 1.35rem;
    }
    .prod-drawer-thumbnail {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    #prodDrawerHero.emp-drawer-hero {
        min-height: 240px;
        max-height: 340px;
        border-radius: 10px;
    }
    #prodDrawerHero .prod-hero-main-img {
        max-height: 280px;
    }
    #prodDrawerHero .emp-drawer-hero__content {
        padding: 12px;
        gap: 6px;
    }
}

/* ==================== DRAWER NOTICIAS ==================== */

#noticiaDrawerHero.emp-drawer-hero {
    min-height: 220px;
    max-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    z-index: 1;
    background-color: #020617;
    background-image: none;
}

#noticiaDrawerHero.emp-drawer-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--noticia-hero-img, none);
    background-size: cover;
    background-position: center center;
    filter: blur(14px) saturate(1.05);
    transform: scale(1.06);
    opacity: 0.9;
    z-index: 0;
}

#noticiaDrawerHero .prod-hero-main-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 260px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

#noticiaDrawerHero .emp-drawer-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    height: 65%;
    z-index: 1;
}

#noticiaDrawerHero .emp-drawer-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    max-width: 100%;
    z-index: 2;
}

#noticiaDrawer .emp-drawer-body {
    padding: 24px 28px 32px;
}

#noticiaDrawerArticulo {
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 0.98rem;
}

#noticiaDrawerArticulo h2,
#noticiaDrawerArticulo h3,
#noticiaDrawerArticulo h4 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

#noticiaDrawerArticulo p {
    margin-bottom: 1rem;
}

#noticiaDrawerArticulo ul,
#noticiaDrawerArticulo ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

#noticiaDrawer .articulo-drawer__header {
    text-align: center;
    padding-top: 1rem;
}

#noticiaDrawer .articulo-drawer__meta {
    justify-content: center;
}

#noticiaDrawer .articulo-drawer__image {
    padding: 1.25rem 2rem 0.5rem;
    text-align: center;
}

#noticiaDrawer .articulo-drawer__image-img {
    display: block;
    max-width: 100%;
    max-height: min(55vh, 480px);
    margin: 0 auto;
    object-fit: contain;
}

#noticiaDrawer .articulo-drawer__gallery {
    max-width: 760px;
    margin: 1.5rem auto 0;
    justify-content: center;
}

@media (max-width: 768px) {
    #noticiaDrawerHero.emp-drawer-hero {
        min-height: 180px;
        max-height: 260px;
    }
    #noticiaDrawerHero .prod-hero-main-img {
        max-height: 260px;
    }
    #noticiaDrawerHero .emp-drawer-hero__content {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    #noticiaDrawerHero.emp-drawer-hero {
        min-height: 160px;
        max-height: 230px;
        border-radius: 10px;
    }
    #noticiaDrawerHero .prod-hero-main-img {
        max-height: 220px;
    }
    #noticiaDrawerHero .emp-drawer-hero__content {
        padding: 12px;
        gap: 6px;
    }
}

/* ==================== CONTENIDO DE NOTICIAS ==================== */

.noticia-contenido {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.noticia-contenido h2 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #212529;
    text-align: left;
}

.noticia-contenido .text-muted {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #6c757d;
    font-style: italic;
}

.noticia-contenido img {
    display: block;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-width: 100%;
    height: auto;
}

.noticia-contenido .content-text {
    font-size: 1.1rem;
    color: #343a40;
    line-height: 1.9;
}

.noticia-contenido .content-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.noticia-contenido .content-text h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #212529;
    border-left: 4px solid #007bff;
    padding-left: 1rem;
}

.noticia-contenido .content-text strong {
    font-weight: 700;
    color: #212529;
}

.noticia-contenido .content-text em {
    font-style: italic;
    color: #495057;
}

.noticia-contenido .content-text ul,
.noticia-contenido .content-text ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.noticia-contenido .content-text li {
    margin-bottom: 0.8rem;
    color: #343a40;
}

.noticia-contenido .content-text blockquote {
    border-left: 4px solid #007bff;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    margin: 2rem 0;
    font-style: italic;
    color: #495057;
}

@media (max-width: 768px) {
    .noticia-contenido {
        padding: 15px;
    }
    .noticia-contenido h2 {
        font-size: 1.6rem;
    }
    .noticia-contenido .content-text {
        font-size: 1rem;
    }
    .noticia-contenido .content-text h3 {
        font-size: 1.3rem;
    }
}

/* ==================== CODIGO Y PRE ==================== */

pre {
    color: #343a40;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    text-align: left;
}

/* ==================== UTILIDADES ==================== */

.zoom-hover {
    overflow: hidden;
    display: inline-block;
}

.zoom-hover img {
    transition: transform 0.4s ease;
    display: block;
    width: 100%;
    height: auto;
}

.zoom-hover:hover img {
    transform: scale(1.1);
}

.breadcrumb-dark {
    background-color: transparent;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
}

.breadcrumb-dark .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-dark .breadcrumb-item a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-dark .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-dark .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

.skeleton-card {
    position: relative;
    overflow: hidden;
    background: #f6f7f8;
    border-radius: 12px;
    min-height: 280px;
    box-shadow: inset 0 0 0 1px #f0f0f0;
}

.skeleton-line {
    height: 14px;
    margin: 10px 15px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f0f0f0 0%, #e6e6e6 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.pagination-sticky {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-top: 12px;
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.08);
}

/* ==================== DARK MODE ==================== */

body.dark-mode .drawer {
    background: #1f1f1f !important;
    color: #e0e0e0 !important;
}

body.dark-mode .drawer .drawer-content {
    background: #1f1f1f !important;
    color: #e0e0e0 !important;
}

body.dark-mode .drawer .drawer-body {
    background: #1c1c1e !important;
    color: #e0e0e0 !important;
}

body.dark-mode .drawer h2,
body.dark-mode .drawer h3,
body.dark-mode .drawer h4 {
    color: #ffffff !important;
}

body.dark-mode .drawer p,
body.dark-mode .drawer .content-text {
    color: #e0e0e0 !important;
}

body.dark-mode .close-btn {
    color: #e0e0e0 !important;
}

body.dark-mode .close-btn:hover {
    color: #0056b3 !important;
}

body.dark-mode #noticiaDrawer {
    background: #1f1f1f !important;
    color: #e0e0e0 !important;
    border-radius: 12px;
}

body.dark-mode #noticiaDrawer .drawer-body {
    background: #1c1c1e !important;
}

body.dark-mode #noticiaDrawer h2,
body.dark-mode #noticiaDrawer h3,
body.dark-mode #noticiaDrawer h4 {
    color: #ffffff !important;
    margin-bottom: 1rem;
}

body.dark-mode #noticiaDrawer p,
body.dark-mode #noticiaDrawer .content-text,
body.dark-mode #noticiaDrawer span {
    color: #e0e0e0 !important;
}

body.dark-mode #noticiaDrawer img {
    border-radius: 8px;
    border: 1px solid #444;
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

body.dark-mode #noticiaDrawer iframe {
    border-radius: 8px;
    border: 1px solid #444 !important;
}

body.dark-mode #noticiaDrawer a {
    color: #67aef8 !important;
    text-decoration: none;
}

body.dark-mode #noticiaDrawer a:hover {
    color: #9fd0ff !important;
    text-decoration: underline;
}

body.dark-mode #noticiaDrawer pre {
    background: #2a2a2a !important;
    color: #e0e0e0 !important;
    border: 1px solid #444 !important;
    border-radius: 6px;
    padding: 12px;
    overflow-x: auto;
}

body.dark-mode #noticiaDrawer code {
    color: #ffd966 !important;
    background: #2a2a2a !important;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

body.dark-mode #noticiaDrawer blockquote {
    border-left: 4px solid #0056b3;
    padding-left: 1rem;
    color: #b0d4ff;
    font-style: italic;
    margin: 1rem 0;
}

body.dark-mode #noticiaDrawer hr {
    border-color: #444 !important;
}

body.dark-mode .drawer,
body.dark-mode #noticiaDrawer {
    background-color: #1f1f1f !important;
    background: #1f1f1f !important;
}

body.dark-mode .drawer-content,
body.dark-mode #noticiaDrawer .drawer-content {
    background-color: #1c1c1e !important;
    background: #1c1c1e !important;
}

body.dark-mode .drawer-body,
body.dark-mode #noticiaDrawer .drawer-body {
    background-color: #1c1c1e !important;
    background: #1c1c1e !important;
}

body.dark-mode #noticiaDrawer .text-primary {
    color: #0056b3 !important;
}

body.dark-mode #noticiaDrawer .text-muted {
    color: #9ca3af !important;
}

body.dark-mode #noticiaDrawer .text-secondary {
    color: #b0d4ff !important;
}

body.dark-mode #noticiaDrawer .text-light {
    color: #e0e0e0 !important;
}

body.dark-mode #noticiaDrawer .text-white {
    color: #ffffff !important;
}

body.dark-mode #noticiaDrawer .bg-light {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
}

body.dark-mode #noticiaDrawer .bg-white {
    background-color: #1c1c1e !important;
    color: #e0e0e0 !important;
}

body.dark-mode #noticiaDrawer .lead {
    color: #e0e0e0 !important;
}

body.dark-mode #noticiaDrawer .display-6 {
    color: #ffffff !important;
}

body.dark-mode #noticiaDrawer .noticia-contenido {
    background: #1c1c1e !important;
    color: #e0e0e0 !important;
}

body.dark-mode #noticiaDrawer * {
    background-color: inherit !important;
}

body.dark-mode #noticiaDrawer p,
body.dark-mode #noticiaDrawer span,
body.dark-mode #noticiaDrawer div:not([class*='bg-']) {
    color: #e0e0e0 !important;
}

/* ==================== MODALES ==================== */

#modalImagen70 .modal-dialog {
    max-width: min(980px, 95vw);
    margin: 1.5rem auto;
}

#modalImagen70 .modal-content {
    border-radius: 14px;
    overflow: hidden;
}

#modalImagen70 .modal-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
}

#modalImagen70 .modal-body {
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 80vh;
}

#modalImagen70 .modal-body img {
    width: auto;
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
}

