/* =============================================
   J&H Importaciones - Custom Design Styles
   ============================================= */

/* === Menú lateral (hamburguesa) — reducir ancho === */
.side {
    width: 300px !important;
    right: -300px !important;
    padding: 50px 28px 50px 28px !important;
}

/* --- Featured Courses Slider (Productos) --- */
.featured-courses-area .thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 320px;
}

.featured-courses-area .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.featured-courses-area .thumb:hover img {
    transform: scale(1.04);
}

.featured-courses-area .thumb .live-view {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-courses-area .thumb:hover .live-view {
    opacity: 1;
}

.featured-courses-area .thumb .live-view a {
    background: rgba(255, 255, 255, 0.92);
    color: #002147;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transition: background 0.2s, color 0.2s;
}

.featured-courses-area .thumb .live-view a:hover {
    background: var(--color-primary);
    color: #ffffff;
}

/* Info section del slider de productos */
.featured-courses-area .info {
    padding-left: 30px;
}

.featured-courses-area .info h2 a {
    font-size: 1.6rem;
    font-weight: 700;
    color: #002147;
    text-decoration: none;
}

.featured-courses-area .info h4 {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.featured-courses-area .info p {
    color: #555;
    font-size: 0.97rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

/* Alineación vertical del contenido del slider */
.featured-courses-area .row.align-items-center {
    min-height: 340px;
}

/* --- Owl Carousel Controles --- */
.featured-courses-carousel.owl-carousel .owl-nav button.owl-prev,
.featured-courses-carousel.owl-carousel .owl-nav button.owl-next {
    background: #002147;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 44px;
    transition: background 0.25s;
}

/* --- Productos destacados: grid 2 columnas --- */
.jh-featured-products-grid .site-heading {
    margin-bottom: 40px;
}

.jh-featured-products-grid .site-heading h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #002147;
    margin-bottom: 10px;
}

.jh-featured-products-grid .site-heading p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
}

.jh-featured-product-card {
    background: #fff;
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 33, 71, 0.06);
    height: 100%;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.jh-featured-product-card:hover {
    box-shadow: 0 12px 32px rgba(0, 33, 71, 0.12);
    transform: translateY(-2px);
}

.jh-featured-products-grid .jh-featured-product-card .thumb {
    height: 240px;
    border-radius: 0;
}

.jh-featured-products-grid .jh-featured-product-card .info {
    padding: 24px 24px 24px 20px;
}

.jh-featured-products-grid .jh-featured-product-card .info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #002147;
    margin-bottom: 10px;
}

.jh-featured-products-grid .jh-featured-product-card .info h4 {
    margin-bottom: 8px;
}

.jh-featured-products-grid .jh-featured-product-card .info p {
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.jh-featured-products-grid .jh-featured-product-card .row.align-items-center {
    min-height: 240px;
}

@media (max-width: 767px) {
    .jh-featured-products-grid .jh-featured-product-card .info {
        padding: 20px;
    }

    .jh-featured-products-grid .jh-featured-product-card .thumb {
        height: 220px;
    }
}

.featured-courses-carousel.owl-carousel .owl-nav button:hover {
    background: var(--color-primary);
    color: #002147;
}

/* --- Productos Destacados — carousel de 2 columnas --- */
.jh-productos-destacados-carousel .item {
    padding: 4px 0 8px;
}

/* Nav: flex centrado, NO absoluto */
.jh-productos-destacados-carousel.owl-carousel .owl-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    position: static !important;
}

/* Botones prev / next */
.jh-productos-destacados-carousel.owl-carousel .owl-nav button.owl-prev,
.jh-productos-destacados-carousel.owl-carousel .owl-nav button.owl-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    border-radius: 50% !important;
    background: #002147 !important;
    color: #fff !important;
    font-size: 17px !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transition: background 0.25s, transform 0.15s;
    cursor: pointer;
}

.jh-productos-destacados-carousel.owl-carousel .owl-nav button.owl-prev:hover,
.jh-productos-destacados-carousel.owl-carousel .owl-nav button.owl-next:hover {
    background: var(--color-primary) !important;
    transform: scale(1.08);
}

/* El <span> interno que Owl puede inserir no debe alterar el tamaño */
.jh-productos-destacados-carousel.owl-carousel .owl-nav button span {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}

/* Dots */
.jh-productos-destacados-carousel.owl-carousel .owl-dots {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.jh-productos-destacados-carousel.owl-carousel .owl-dots .owl-dot {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    cursor: pointer;
}

.jh-productos-destacados-carousel.owl-carousel .owl-dots .owl-dot span {
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: rgba(0, 33, 71, 0.22) !important;
    margin: 0 !important;
    transition: background 0.2s;
}

.jh-productos-destacados-carousel.owl-carousel .owl-dots .owl-dot.active span,
.jh-productos-destacados-carousel.owl-carousel .owl-dots .owl-dot:hover span {
    background: var(--color-primary) !important;
}

/* --- Botones generales --- */
.btn-theme {
    background: var(--color-primary) !important;
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 6px;
    padding: 10px 28px;
    border: none;
    transition: background 0.25s, transform 0.2s;
}

.btn-theme:hover {
    background: #e0a000 !important;
    transform: translateY(-2px);
}

/* --- Sección About --- */
.about-area .col-lg-6.thumb {
    overflow: hidden;
    border-radius: 10px;
}

.about-area .col-lg-6.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.about-area .col-lg-6.thumb img:hover {
    transform: scale(1.03);
}

/* --- Sección Why Chose Us --- */
.wcs-area .col-lg-6.thumb {
    min-height: 420px;
}

/* ============================================
   Nuestros Productos — Rediseño con card moderna
   ============================================ */

/* =============================================
   Productos — Galería dinámica v2
   ============================================= */

.jh-productos-galeria {
    background: #f1f5f9;
}

/* Animación entrada escalonada */
@keyframes jhProdFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.jh-productos-galeria-grid > div:nth-child(1)  .jh-prod-card { animation: jhProdFadeUp 0.5s ease 0.05s both; }
.jh-productos-galeria-grid > div:nth-child(2)  .jh-prod-card { animation: jhProdFadeUp 0.5s ease 0.13s both; }
.jh-productos-galeria-grid > div:nth-child(3)  .jh-prod-card { animation: jhProdFadeUp 0.5s ease 0.21s both; }
.jh-productos-galeria-grid > div:nth-child(4)  .jh-prod-card { animation: jhProdFadeUp 0.5s ease 0.29s both; }
.jh-productos-galeria-grid > div:nth-child(5)  .jh-prod-card { animation: jhProdFadeUp 0.5s ease 0.37s both; }
.jh-productos-galeria-grid > div:nth-child(6)  .jh-prod-card { animation: jhProdFadeUp 0.5s ease 0.45s both; }
.jh-productos-galeria-grid > div:nth-child(7)  .jh-prod-card { animation: jhProdFadeUp 0.5s ease 0.50s both; }
.jh-productos-galeria-grid > div:nth-child(8)  .jh-prod-card { animation: jhProdFadeUp 0.5s ease 0.55s both; }
.jh-productos-galeria-grid > div:nth-child(9)  .jh-prod-card { animation: jhProdFadeUp 0.5s ease 0.60s both; }
.jh-productos-galeria-grid > div:nth-child(10) .jh-prod-card { animation: jhProdFadeUp 0.5s ease 0.65s both; }
.jh-productos-galeria-grid > div:nth-child(11) .jh-prod-card { animation: jhProdFadeUp 0.5s ease 0.70s both; }
.jh-productos-galeria-grid > div:nth-child(12) .jh-prod-card { animation: jhProdFadeUp 0.5s ease 0.75s both; }

/* Card wrapper */
.jh-prod-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Caja de imagen — clickeable */
.jh-prod-flip {
    position: relative;
    height: 230px;
    border-radius: 18px;
    overflow: hidden;
    background: #0f172a;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.13);
    transition: box-shadow 0.32s ease, transform 0.32s ease;
    flex: 1;
    display: block;
    outline: none;
}

.jh-prod-flip:hover {
    box-shadow: 0 10px 36px rgba(230, 57, 70, 0.28);
    transform: translateY(-5px);
}

/* Imagen */
.jh-prod-flip img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #0f172a;
    transition: transform 0.42s ease;
}

.jh-prod-flip:hover img {
    transform: scale(1.06);
}

/* Overlay con ícono de zoom */
.jh-prod-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.jh-prod-flip:hover .jh-prod-overlay {
    background: rgba(0, 0, 0, 0.25);
}

.jh-prod-overlay .jh-zoom-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.jh-prod-flip:hover .jh-prod-overlay .jh-zoom-icon {
    opacity: 1;
    transform: scale(1);
}

/* Label al pie de la imagen */
.jh-prod-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px 14px 14px;
    background: linear-gradient(to top, rgba(2, 8, 23, 0.96) 0%, rgba(2, 8, 23, 0.55) 55%, transparent 100%);
    z-index: 3;
    pointer-events: none;
    transition: padding-bottom 0.3s ease;
}

.jh-prod-flip:hover .jh-prod-label {
    padding-bottom: 18px;
}

.jh-prod-label span {
    display: block;
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    line-height: 1.35;
    transition: letter-spacing 0.3s ease;
}

.jh-prod-flip:hover .jh-prod-label span {
    letter-spacing: 1.3px;
}

.jh-prod-label small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.7rem;
    margin-top: 4px;
    line-height: 1.4;
    font-weight: 400;
}

/* Botón WhatsApp */
.jh-prod-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 11px 16px;
    background: linear-gradient(135deg, #25d366 0%, #128c4e 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.83rem;
    border-radius: 12px;
    text-decoration: none !important;
    letter-spacing: 0.2px;
    box-shadow: 0 3px 14px rgba(37, 211, 102, 0.32);
    transition: background 0.25s ease, transform 0.22s ease, box-shadow 0.25s ease;
}

.jh-prod-wa-btn:hover {
    background: linear-gradient(135deg, #1ebe5e 0%, #0e6e3e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
    color: #fff !important;
    text-decoration: none !important;
}

.jh-prod-wa-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.jh-prod-wa-btn:hover i {
    transform: scale(1.25) rotate(-8deg);
}

/* --- Top Categories — Tarjetas con imagen + overlay hover --- */
.top-cat-area {
    background: #f4f6f9;
}

.top-cat-area .equal-height {
    padding: 10px;
}

/* Contenedor de la tarjeta */
.top-cat-area .item.jh-cat-card,
.top-cat-items .item.jh-cat-card {
    position: relative !important;
    height: 240px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    cursor: pointer;
    background-color: #002147 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease !important;
    display: block !important;
}

.top-cat-area .item.jh-cat-card:hover,
.top-cat-items .item.jh-cat-card:hover {
    transform: translateY(-7px) scale(1.015) !important;
    box-shadow: 0 18px 42px rgba(0,0,0,0.28) !important;
}

/* Imagen real como fondo — máxima especificidad */
.top-cat-area .top-cat-items .item.jh-cat-card img.jh-card-img,
.jh-cat-card img.jh-card-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    z-index: 0 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    transition: transform 0.45s ease;
}

.jh-cat-card:hover img.jh-card-img {
    transform: scale(1.07);
}

/* Quitar capa blanca del template (style.css) que tapa la foto */
.top-cat-items .item.jh-cat-card > a::after,
.jh-cat-card > a::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
    opacity: 0 !important;
}

/* Overlay suave siempre visible para que se vea la imagen (no blanco plano) */
.jh-cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 21, 47, 0.82) 0%,
        rgba(0, 21, 47, 0.35) 45%,
        rgba(0, 21, 47, 0.15) 100%
    );
    transition: background 0.4s ease;
    pointer-events: none;
}

.jh-cat-card:hover::before {
    background: linear-gradient(
        to top,
        rgba(0, 21, 47, 0.9) 0%,
        rgba(0, 21, 47, 0.55) 50%,
        rgba(0, 21, 47, 0.25) 100%
    );
}

/* Enlace — z-index 2, encima del overlay */
.top-cat-area .top-cat-items .item.jh-cat-card > a,
.jh-cat-card > a {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 20px 16px 24px !important;
    text-decoration: none !important;
    color: #fff !important;
    text-align: center;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Ícono — siempre visible */
.jh-cat-card > a > i {
    font-size: 2.4rem;
    color: var(--color-primary);
    margin-bottom: 10px;
    transform: translateY(0);
    transition: transform 0.35s ease, color 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.8));
}

.jh-cat-card:hover > a > i {
    transform: translateY(-6px);
    color: #fff;
    filter: drop-shadow(0 4px 10px rgba(255,182,6,0.6));
}

/* Título — siempre visible */
.jh-cat-card .info h4 {
    color: #fff !important;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 10px;
    line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0,0,0,0.95), 0 0 20px rgba(0,0,0,0.8);
    transition: transform 0.3s ease;
}

.jh-cat-card:hover .info h4 {
    transform: translateY(-4px);
}

/* Botón Ver más — aparece en hover */
.jh-cat-card .info span {
    display: inline-block;
    background: var(--color-primary);
    color: #002147;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 6px 22px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease 0.06s, transform 0.3s ease 0.06s;
    box-shadow: 0 4px 12px rgba(255,182,6,0.4);
}

.jh-cat-card:hover .info span {
    opacity: 1;
    transform: translateY(0);
}

/* Badge — z-index 3, encima de todo */
.jh-cat-card .cat-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    z-index: 3;
    background: var(--color-primary);
    color: #002147;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* --- Section Headings --- */
.site-heading h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.site-heading h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- Fun Factor --- */
.fun-factor-area .fun-fact .timer {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-primary);
}

/* ============================================
   Blog / Información de productos — Rediseño
   ============================================ */
.blog-area {
    background: #fff;
}

/* Card */
html body .blog-area .blog-items .single-item .item {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    border: none !important;
    background: #fff !important;
    transition: transform 0.32s ease, box-shadow 0.32s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

html body .blog-area .blog-items .single-item .item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 22px 48px rgba(0,0,0,0.14) !important;
}

/* Imagen */
html body .blog-area .blog-items .single-item .item .thumb {
    position: relative !important;
    height: 230px !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    flex-shrink: 0 !important;
}

html body .blog-area .blog-items .single-item .item .thumb a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
}

html body .blog-area .blog-items .single-item .item .thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.45s ease !important;
}

html body .blog-area .blog-items .single-item .item:hover .thumb img {
    transform: scale(1.07) !important;
}

/* Overlay al hacer hover */
html body .blog-area .blog-items .single-item .item .thumb::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 21, 47, 0) !important;
    transition: background 0.35s ease !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

html body .blog-area .blog-items .single-item .item:hover .thumb::after {
    background: rgba(0, 21, 47, 0.32) !important;
}

/* Badge de categoría (usa .date del template) */
html body .blog-area .blog-items .single-item .item .thumb .date {
    position: absolute !important;
    bottom: 14px !important;
    left: 14px !important;
    top: auto !important;
    right: auto !important;
    z-index: 2 !important;
    background: transparent !important;
}

html body .blog-area .blog-items .single-item .item .thumb .date h4 {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

html body .blog-area .blog-items .single-item .item .thumb .date h4 span {
    display: inline-block !important;
    background: var(--color-primary) !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    padding: 5px 16px !important;
    border-radius: 30px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25) !important;
}

/* Ícono de ver más que aparece en hover */
html body .blog-area .blog-items .single-item .item .thumb .date::after {
    content: none !important;
}

/* Cuerpo del card */
html body .blog-area .blog-items .single-item .item .info {
    padding: 20px 22px 22px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-top: 3px solid var(--color-primary) !important;
}

/* Título */
html body .blog-area .blog-items .single-item .item .info h4,
html body .blog-area .blog-items .single-item .item .info h4 a {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #002147 !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    margin: 0 0 10px !important;
    transition: color 0.2s !important;
    opacity: 1 !important;
}

html body .blog-area .blog-items .single-item .item .info h4 a:hover {
    color: var(--color-primary) !important;
}

/* Descripción — 2 líneas */
html body .blog-area .blog-items .single-item .item .info p {
    font-size: 0.87rem !important;
    color: #6b7280 !important;
    line-height: 1.65 !important;
    margin: 0 0 18px !important;
    flex: 1 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    opacity: 1 !important;
}

/* Botón Más información */
html body .blog-area .blog-items .single-item .item .info > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #002147 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 9px 20px !important;
    border: 2px solid #002147 !important;
    border-radius: 30px !important;
    align-self: flex-start !important;
    transition: background 0.25s, color 0.25s, transform 0.2s !important;
    margin-top: auto !important;
}

html body .blog-area .blog-items .single-item .item .info > a:hover {
    background: #002147 !important;
    color: #fff !important;
    transform: translateX(3px) !important;
}

/* --- Testimonios --- */
.testimonials-area .clients-review-carousel .item .col-lg-5.thumb {
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

.testimonials-area .clients-review-carousel .item .col-lg-5.thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 12px;
    display: block;
}

/* --- Banner interior páginas (Nosotros, Productos, etc.) --- */
.breadcrumb-area.jh-page-banner {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #1e293b;
    padding: 65px 0 70px;
}

.breadcrumb-area.jh-page-banner .jh-page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.72) 100%);
    z-index: 0;
}

.breadcrumb-area.jh-page-banner .box-table {
    position: relative;
    z-index: 1;
}

.breadcrumb-area.jh-page-banner h1,
.breadcrumb-area.jh-page-banner p {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* --- Sección Videos --- */
.jh-video-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jh-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.16);
}

.jh-video-thumb {
    position: relative;
    width: 100%;
    height: 280px;
    background: #000;
    overflow: hidden;
}

.jh-video-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jh-video-info {
    padding: 20px 22px 22px;
}

.jh-video-tag {
    display: inline-block;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 12px;
    border-radius: 20px;
    margin-top: 12px;
    margin-bottom: 10px;
}

.jh-video-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #002147;
    margin: 0 0 6px;
}

.jh-video-info p {
    font-size: 0.88rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.jh-videos-section .jh-section-title-line {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.jh-videos-section .jh-section-title-line::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 48px;
    height: 3px;
    background: var(--color-primary, #e63946);
    border-radius: 2px;
}

.jh-video-poster {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
}

.jh-video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jh-video-poster.is-hidden {
    display: none;
}

.jh-video-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.92);
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    transition: transform 0.2s, background 0.2s;
}

.jh-video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: #c1121f;
}

.jh-video-player-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.jh-video-player-wrap.is-hidden {
    display: none;
}

.jh-video-embed {
    width: 100%;
    height: 100%;
}

.jh-video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.jh-video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255,255,255,0.6);
    gap: 8px;
}

.jh-videos-page .jh-videos-grid {
    margin-top: 10px;
}

@media (max-width: 991px) {
    .jh-video-thumb {
        height: 220px;
    }
}

/* --- Tarjetas Sobre Nosotros (fotos de producto) --- */
.about-area .jh-our-features .jh-feature-card {
    padding: 0 !important;
    overflow: hidden;
    border-radius: 14px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12) !important;
    display: block !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.about-area .jh-our-features .jh-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18) !important;
}

.about-area .jh-our-features .jh-feature-card .jh-feature-img {
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.about-area .jh-our-features .jh-feature-card .jh-feature-img .jh-feature-popup {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.about-area .jh-our-features .jh-feature-card .jh-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.about-area .jh-our-features .jh-feature-card:hover .jh-feature-img img {
    transform: scale(1.06);
}

.about-area .jh-our-features .jh-feature-card .jh-feature-img .jh-product-overlay {
    border-radius: 0;
}

.about-area .jh-our-features .jh-feature-card .jh-feature-img:hover .jh-product-overlay {
    opacity: 1 !important;
}

.about-area .jh-our-features .jh-feature-card .jh-feature-img:hover .jh-product-overlay .jh-zoom-icon {
    transform: scale(1) !important;
}

.about-area .jh-our-features .jh-feature-card .info {
    display: block !important;
    padding: 22px 20px 26px !important;
    text-align: center;
}

.about-area .jh-our-features .jh-feature-card .info h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #002147;
}

.about-area .jh-our-features .jh-feature-card .info p {
    font-size: 0.88rem;
    color: #555;
    margin: 0 0 14px;
    line-height: 1.5;
}

.about-area .jh-our-features .jh-feature-card .info a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--color-primary, #ff0605);
}

.about-area .jh-our-features .jh-feature-card .icon {
    display: none !important;
}

/* Iconos Confianza → miniaturas de producto */
.wcs-area .item > .icon {
    width: 90px;
    min-width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    padding: 0 !important;
}

.wcs-area .item > .icon i {
    display: none !important;
}

.wcs-area .jh-wcs-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .wcs-area .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .wcs-area .item > .icon {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }

    .wcs-area .item .info {
        padding-left: 0;
        width: 100%;
    }
}

/* --- Carrusel Fabricamos Espirales — tarjetas producto --- */
.advisor-area.jh-advisor-section {
    background: #f4f6f9 !important;
}

.advisor-area .jh-advisor-carousel .advisor-item {
    padding: 0 8px;
}

.advisor-area .jh-advisor-carousel .advisor-item .info-box {
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 22px rgba(0, 21, 47, 0.1) !important;
    border: 1px solid #e8ecf1 !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.advisor-area .jh-advisor-carousel .advisor-item:hover .info-box {
    transform: translateY(-8px) !important;
    box-shadow: 0 18px 40px rgba(0, 21, 47, 0.16) !important;
}

.advisor-area .jh-advisor-carousel .advisor-item .info-box img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0 !important;
    transition: transform 0.45s ease !important;
}

.advisor-area .jh-advisor-carousel .advisor-item:hover .info-box img {
    transform: scale(1.05) !important;
}

/* Panel de texto debajo de la imagen (no overlay) */
.advisor-area .jh-advisor-carousel .advisor-item .info-title,
.advisor-area .jh-advisor-carousel .advisor-items .advisor-item .info-title {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    background: #ffffff !important;
    padding: 20px 18px 22px !important;
    text-align: center !important;
    border-top: 3px solid #c62828 !important;
}

.advisor-area .jh-advisor-carousel .advisor-item:hover .info-title,
.advisor-area .jh-advisor-carousel .advisor-items .advisor-item:hover .info-title {
    transform: none !important;
}

.advisor-area .jh-advisor-carousel .advisor-item .info-title h4 {
    color: #002147 !important;
    text-shadow: none !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    margin: 0 0 6px !important;
    line-height: 1.35 !important;
}

.advisor-area .jh-advisor-carousel .advisor-item .info-title span {
    color: #c62828 !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: block !important;
    margin-bottom: 14px !important;
    opacity: 1 !important;
}

.advisor-area .jh-advisor-carousel .advisor-item .info-title .btn {
    display: inline-block !important;
    background: #ff0605 !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    padding: 9px 24px !important;
    border-radius: 30px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(255, 182, 6, 0.4) !important;
    margin-top: 0 !important;
    transition: background 0.25s, transform 0.2s !important;
}

.advisor-area .jh-advisor-carousel .advisor-item .info-title .btn:hover {
    background: #e0a000 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* Flechas del carrusel */
.advisor-area .jh-advisor-carousel.owl-carousel .owl-nav button.owl-prev,
.advisor-area .jh-advisor-carousel.owl-carousel .owl-nav button.owl-next {
    background: #002147 !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
}

.advisor-area .jh-advisor-carousel.owl-carousel .owl-nav button:hover {
    background: #c62828 !important;
}

/* ============================================
   Sección Nuestros Clientes
   ============================================ */
.jh-clients-area {
    background: #f4f6f9;
    padding: 70px 0;
}

/* Encabezado */
.jh-clients-header {
    margin-bottom: 48px;
}

.jh-clients-tag {
    display: inline-block;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 5px 16px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.jh-clients-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #002147;
    margin: 0 0 12px;
}

.jh-clients-header p {
    font-size: 1rem;
    color: #6b7280;
    max-width: 480px;
    margin: 0 auto;
}

/* Cards de stats */
.jh-trust-row {
    margin-bottom: 48px;
    justify-content: center;
}

.jh-trust-item {
    padding: 10px;
}

.jh-trust-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    border-bottom: 4px solid var(--color-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jh-trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.13);
}

.jh-trust-card i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    display: block;
}

.jh-trust-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #002147;
    margin: 0 0 6px;
    line-height: 1;
}

.jh-trust-card span {
    font-size: 0.83rem;
    color: #6b7280;
    font-weight: 500;
}

/* Logos carousel */
.jh-clients-carousel-row {
    margin-top: 28px;
    margin-bottom: 10px;
}

.jh-clients-area .clients-items {
    margin-bottom: 16px;
    padding: 0 50px;
}

.jh-clients-area .clients-items .single-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.jh-clients-area .clients-items .single-item img {
    height: 7rem;
    /* width: auto !important; */
    width: 15rem;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: opacity 0.3s, filter 0.3s, transform 0.3s;
    margin: 0 auto;
    display: block;
}

.jh-clients-area .clients-items .single-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Botones nav del carrusel */
.jh-clients-area .clients-items.owl-carousel .owl-nav {
    display: flex !important;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.jh-clients-area .clients-items.owl-carousel .owl-nav button {
    pointer-events: all;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15) !important;
    border: 2px solid #eee !important;
    color: #002147 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.25s, color 0.25s, border-color 0.25s !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.jh-clients-area .clients-items.owl-carousel .owl-nav button:hover {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #002147 !important;
}

/* Owl Carousel — dots fondo blanco (todos los carousels) */
.owl-theme .owl-dots .owl-dot {
    background: #ffffff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 2px !important;
}

.owl-theme .owl-dots .owl-dot span {
    background: #d1d5db !important;
    transition: background 0.25s, transform 0.25s !important;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--color-primary) !important;
}

/* Dots */
.jh-clients-area .clients-items.owl-carousel .owl-dots {
    margin-top: 16px !important;
    display: flex !important;
    justify-content: center;
    gap: 6px;
}

.jh-clients-area .clients-items.owl-carousel .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    background: #ccc !important;
    border-radius: 50% !important;
    transition: background 0.25s, transform 0.25s !important;
}

.jh-clients-area .clients-items.owl-carousel .owl-dot.active span {
    background: var(--color-primary) !important;
    transform: scale(1.3) !important;
}

/* CTA */
.jh-clients-cta {
    padding-top: 12px;
}

.jh-clients-cta p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 16px;
}

.jh-clients-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(37,211,102,0.35);
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
}

.jh-clients-btn i {
    font-size: 1.2rem;
}

.jh-clients-btn:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37,211,102,0.45);
}

/* --- Footer corporativo J&H (3 columnas, fondo claro) --- */
footer.jh-footer-corporativo {
    background: #f0f0f2;
    color: #3d3d4a;
}

footer.jh-footer-corporativo .jh-footer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #3b2d6b;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 14px;
    padding-bottom: 0;
    border-bottom: none;
    display: block;
}

footer.jh-footer-corporativo .jh-footer-title-mt {
    margin-top: 28px;
}

footer.jh-footer-corporativo .jh-footer-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #4a4a55;
    margin-bottom: 0;
}

footer.jh-footer-corporativo .jh-footer-direccion {
    max-width: 320px;
}

footer.jh-footer-corporativo .jh-footer-redes-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #3d3d4a;
    margin: 18px 0 10px;
}

footer.jh-footer-corporativo .jh-footer-redes-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

footer.jh-footer-corporativo .jh-footer-redes-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: #3b2d6b;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(59, 45, 107, 0.12);
    transition: transform 0.2s, background 0.2s, color 0.2s;
    text-decoration: none;
}

footer.jh-footer-corporativo .jh-footer-redes-icons li a:hover {
    background: var(--color-primary, #25d366);
    color: #fff;
    transform: translateY(-2px);
}

footer.jh-footer-corporativo .jh-footer-lista-contacto {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer.jh-footer-corporativo .jh-footer-lista-contacto li {
    margin-bottom: 8px;
    font-size: 0.92rem;
    line-height: 1.5;
}

footer.jh-footer-corporativo .jh-footer-label {
    font-weight: 600;
    color: #3d3d4a;
    margin-right: 4px;
}

footer.jh-footer-corporativo .jh-footer-lista-contacto a {
    color: #3b2d6b;
    text-decoration: none;
    font-weight: 500;
}

footer.jh-footer-corporativo .jh-footer-lista-contacto a:hover {
    color: var(--color-primary, #25d366);
    text-decoration: underline;
}

footer.jh-footer-corporativo .jh-footer-bottom {
    background: #e8e8ec;
    border-top: 1px solid rgba(59, 45, 107, 0.08);
    padding: 16px 0;
}

footer.jh-footer-corporativo .jh-footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: #5a5a66;
}

footer.jh-footer-corporativo .jh-footer-nav-bottom {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: flex-end;
}

footer.jh-footer-corporativo .jh-footer-nav-bottom a {
    font-size: 0.82rem;
    color: #3b2d6b;
    text-decoration: none;
}

footer.jh-footer-corporativo .jh-footer-nav-bottom a:hover {
    color: var(--color-primary, #25d366);
}

@media (max-width: 991px) {
    footer.jh-footer-corporativo .jh-footer-nav-bottom {
        justify-content: flex-start;
        margin-top: 10px;
    }
}

/* --- Footer (tema oscuro legacy) --- */
footer .f-items {
    padding-bottom: 40px;
}

footer .f-item h4 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

footer .f-item.link ul li {
    margin-bottom: 10px;
}

footer .f-item.link ul li a {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

footer .f-item.link ul li a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

footer .f-item.link ul li a i {
    width: 14px;
    color: var(--color-primary);
    font-size: 0.85rem;
}

footer .f-item.address ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

footer .f-item.address ul li i {
    color: var(--color-primary);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

footer .f-item.address ul li p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}

footer .f-item.address ul li p span {
    display: block;
    color: #fff;
    font-size: 0.9rem;
}

footer .f-item.address ul li p span a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

footer .opening-info {
    margin-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 14px;
}

footer .opening-info h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

footer .opening-info ul li {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

footer .opening-info ul li .closed {
    color: #ff6b6b;
    font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .featured-courses-area .thumb {
        height: 240px;
        margin-bottom: 20px;
    }

    .featured-courses-area .info {
        padding-left: 0;
    }

    .featured-courses-area .info h2 a {
        font-size: 1.3rem;
    }
}

@media (max-width: 575px) {
    .featured-courses-area .thumb {
        height: 200px;
    }

    .jh-video-thumb {
        height: 200px;
    }
}

/* --- Menú fijo al hacer scroll --- */
nav.navbar.validnavs.navbar-sticky {
    background: #ffffff !important;
}

nav.navbar.validnavs.navbar-sticky.sticked {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
}

/* Móvil/tablet: menú siempre fijo (no sticky que se detiene en el slider) */
@media (max-width: 1023px) {
    header {
        position: static;
        z-index: 9999;
        min-height: var(--jh-nav-height, 72px);
    }

    header nav.navbar.validnavs.navbar-sticky {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        margin: 0 !important;
        background: #ffffff !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14) !important;
        animation: none !important;
        transform: none !important;
    }
}

/* =============================================
   BANNER / HERO SLIDER — Responsive Mobile
   ============================================= */

.banner-area .slider-thumb {
    position: relative;
}

.banner-area .carousel-item {
    position: relative;
}

.banner-area .jh-slide-thumb-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    cursor: pointer;
}

.banner-area .jh-slide-link-hint {
    position: absolute;
    top: clamp(92px, 12vh, 148px);
    right: clamp(16px, 4vw, 52px);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-primary, #e02424);
    color: #fff !important;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    box-shadow: 0 6px 22px rgba(224, 36, 36, 0.45);
    pointer-events: none;
    white-space: nowrap;
    animation: jh-slide-hint-pulse 2.6s ease-in-out infinite;
}

.banner-area.text-normal .jh-slide-link-hint,
.banner-area.text-normal .jh-slide-link-hint span,
.banner-area.text-normal .jh-slide-link-hint i,
.banner-area .jh-slide-link-hint i,
.banner-area .jh-slide-link-hint-text {
    color: #fff !important;
}

.banner-area .jh-slide-link-hint i {
    font-size: 16px;
}

@keyframes jh-slide-hint-pulse {
    0%,
    100% {
        box-shadow: 0 6px 22px rgba(224, 36, 36, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 10px 30px rgba(224, 36, 36, 0.65);
        transform: scale(1.03);
    }
}

.banner-area .carousel-item:hover .jh-slide-link-hint {
    background: #c41e3a;
}

.banner-area .box-table {
    position: relative;
    z-index: 3;
    pointer-events: none;
}

.banner-area .box-table .content,
.banner-area .box-table .content a,
.banner-area .box-table .content .btn {
    pointer-events: auto;
}

/* Corrección crítica: background-attachment:fixed no funciona en iOS */
@media (max-width: 1023px) {
    .banner-area .slider-thumb,
    .banner-area .slider-thumb.bg-fixed {
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    /* Altura fija para el slider en móvil */
    .banner-area,
    .banner-area .carousel,
    .banner-area .carousel-inner,
    .banner-area .carousel-item,
    .banner-area .box-table {
        height: auto !important;
        min-height: 520px !important;
    }

    .banner-area .slider-thumb {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 520px !important;
    }

    .banner-area .box-cell {
        padding: 80px 0 40px !important;
        vertical-align: middle !important;
    }

    /* Títulos más pequeños */
    .banner-area.text-normal.banner-style-one h1,
    .banner-area .content h1 {
        font-size: 28px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }

    .banner-area .content h3 {
        font-size: 12px !important;
        letter-spacing: 1.5px !important;
        margin-bottom: 10px !important;
    }

    .banner-area .content p {
        font-size: 14px !important;
        line-height: 1.65 !important;
        margin-bottom: 20px !important;
    }

    .banner-area .content .btn {
        padding: 10px 24px !important;
        font-size: 13px !important;
    }

    .banner-area .jh-slide-link-hint {
        top: 88px;
        right: 16px;
        padding: 9px 14px;
        font-size: 12px;
    }

    @keyframes jh-slide-hint-pulse-mobile {
        0%,
        100% {
            box-shadow: 0 4px 16px rgba(224, 36, 36, 0.35);
        }

        50% {
            box-shadow: 0 8px 24px rgba(224, 36, 36, 0.6);
        }
    }

    .banner-area .jh-slide-link-hint {
        animation: jh-slide-hint-pulse-mobile 2.6s ease-in-out infinite;
    }
}

@media (max-width: 575px) {
    .banner-area,
    .banner-area .carousel,
    .banner-area .carousel-inner,
    .banner-area .carousel-item,
    .banner-area .box-table {
        min-height: 440px !important;
    }

    .banner-area .slider-thumb {
        min-height: 440px !important;
    }

    .banner-area.text-normal.banner-style-one h1,
    .banner-area .content h1 {
        font-size: 24px !important;
    }
}

/* --- Botones flotantes (WhatsApp + subir) --- */
.jh-floating-actions {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.jh-whatsapp-btn {
    position: static;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    animation: jh-wa-breathe 2.2s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.jh-scroll-top-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background-color: #ff0606;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 33, 71, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
    flex-shrink: 0;
}

.jh-scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.jh-scroll-top-btn:hover {
    background-color: #c62828;
}

.jh-scroll-top-btn i {
    font-size: 20px;
    line-height: 1;
}

.jh-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
    background-color: #20bc5b;
}

.jh-whatsapp-btn i {
    color: #fff;
    font-size: 34px;
    line-height: 1;
    animation: jh-wa-beat 2.2s ease-in-out infinite;
}

@keyframes jh-wa-breathe {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes jh-wa-beat {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.18); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .jh-floating-actions {
        bottom: 18px;
        right: 16px;
        gap: 10px;
    }

    .jh-whatsapp-btn {
        width: 54px;
        height: 54px;
    }

    .jh-whatsapp-btn i { font-size: 28px; }

    .jh-scroll-top-btn {
        width: 44px;
        height: 44px;
    }

    .jh-scroll-top-btn i { font-size: 18px; }
}

@media (max-width: 480px) {
    .jh-floating-actions {
        bottom: 14px;
        right: 12px;
        gap: 8px;
    }

    .jh-whatsapp-btn {
        width: 48px;
        height: 48px;
    }

    .jh-whatsapp-btn i { font-size: 24px; }

    .jh-scroll-top-btn {
        width: 40px;
        height: 40px;
    }

    .jh-scroll-top-btn i { font-size: 16px; }
}

/* --- About Image Lightbox --- */
.jh-about-thumb-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.jh-about-popup {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.jh-about-popup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
    border-radius: 10px;
}

.jh-about-popup:hover img {
    transform: scale(1.05);
}

/* Overlay oscuro con fade */
.jh-about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 21, 47, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 10px;
}

.jh-about-popup:hover .jh-about-overlay {
    opacity: 1;
}

/* Ícono de expandir */
.jh-zoom-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.35s ease;
}

.jh-about-popup:hover .jh-zoom-icon {
    transform: scale(1);
}

.jh-zoom-icon i {
    font-size: 24px;
    color: #002147;
}

/* Lightbox: bloquear scroll sin romper el backdrop.
   El scroll real se restaura por JS al cerrar. */
html.jh-modal-open,
html.jh-modal-open body {
    overflow: hidden;
}

#jh-lightbox-shield {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10049;
    background: transparent;
    cursor: default;
}

#jh-image-lightbox.jh-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

#jh-image-lightbox.jh-image-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#jh-image-lightbox .jh-image-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    cursor: default;
}

#jh-image-lightbox .jh-image-lightbox__panel {
    position: relative;
    z-index: 2;
    max-width: min(94vw, 920px);
    width: 100%;
    margin: 0 auto;
}

#jh-image-lightbox .jh-image-lightbox__figure {
    margin: 0;
    text-align: center;
}

#jh-image-lightbox .jh-image-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: min(82vh, 720px);
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    background: #fff;
}

#jh-image-lightbox .jh-image-lightbox__caption {
    margin-top: 12px;
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

#jh-image-lightbox .jh-image-lightbox__close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

#jh-image-lightbox .jh-image-lightbox__close:hover {
    background: #fff;
}

/* --- Product Cards Lightbox Overlay --- */
.jh-product-popup {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

.jh-product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 21, 47, 0.44);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.32s ease;
    z-index: 4;
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

/* Disparar hover desde el .thumb para mayor fiabilidad */
html body .popular-courses.circle .item .thumb:hover .jh-product-overlay {
    opacity: 1 !important;
}

.jh-product-overlay .jh-zoom-icon {
    transform: scale(0.7);
    transition: transform 0.32s ease;
    pointer-events: none;
}

html body .popular-courses.circle .item .thumb:hover .jh-product-overlay .jh-zoom-icon {
    transform: scale(1) !important;
}

/* --- Featured Courses Slider — overlay lightbox --- */
.featured-courses-area .thumb .jh-slider-popup {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.featured-courses-area .thumb .jh-slider-popup .jh-product-overlay {
    border-radius: 10px;
}

.featured-courses-area .thumb:hover .jh-product-overlay {
    opacity: 1 !important;
}

.featured-courses-area .thumb:hover .jh-product-overlay .jh-zoom-icon {
    transform: scale(1) !important;
}

/* --- Video Section — imagen horizontal con lightbox --- */
.jh-horizontal-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 260px;
}

.jh-horizontal-thumb .jh-slider-popup {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.jh-horizontal-thumb img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 10px;
    transition: transform 0.42s ease;
}

.jh-horizontal-thumb:hover img {
    transform: scale(1.05);
}

.jh-horizontal-thumb .jh-product-overlay {
    border-radius: 10px;
}

.jh-horizontal-thumb:hover .jh-product-overlay {
    opacity: 1 !important;
}

.jh-horizontal-thumb:hover .jh-product-overlay .jh-zoom-icon {
    transform: scale(1) !important;
}

/* --- Formulario de contacto (reg-area) --- */
.reg-area .reg-form button {
    border-radius: 12px;
}

.reg-area .reg-items .thumb {
    overflow: hidden;
    border-radius: 16px;
}

.reg-area .reg-items .thumb img {
    display: block;
    width: 100%;
    border-radius: 16px;
}

/* --- Página Nosotros --- */
.jh-nosotros-intro {
    background: #f8f9fb;
}

.jh-nosotros-intro-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d1b4e;
    margin-bottom: 1.25rem;
}

.jh-nosotros-intro-desc {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.jh-nosotros-intro-btn {
    border-radius: 50px;
    padding: 12px 28px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.jh-nosotros-intro-logo img {
    max-height: 380px;
    width: auto;
    max-width: 100%;
}

.jh-nosotros-quienes-thumb {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 3px solid var(--color-primary, #2563eb);
}

.jh-nosotros-quienes-thumb img {
    width: 100%;
    height: 20rem;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

.jh-nosotros-quienes-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #2d1b4e;
    margin-bottom: 1rem;
}

.jh-nosotros-quienes-desc {
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.jh-nosotros-beneficios li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #334155;
    font-weight: 500;
}

.jh-nosotros-beneficios li i {
    color: #2d1b4e;
    margin-top: 3px;
    flex-shrink: 0;
}

.jh-nosotros-catalogo-header {
    text-align: center;
    margin-bottom: 24px;
}

.jh-nosotros-catalogo-titulo {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 6px;
}

.jh-nosotros-catalogo-titulo i {
    color: #ff0605;
    margin-right: 8px;
}

.jh-nosotros-catalogo-subtitulo {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.jh-nosotros-catalogo-wrap {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.jh-nosotros-catalogo-link {
    position: relative;
    display: inline-block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jh-nosotros-catalogo-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.jh-nosotros-catalogo-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.jh-nosotros-catalogo-link:hover .jh-nosotros-catalogo-img {
    transform: scale(1.04);
}

.jh-nosotros-catalogo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 42, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.35s ease;
}

.jh-nosotros-catalogo-link:hover .jh-nosotros-catalogo-overlay {
    background: rgba(13, 27, 42, 0.48);
}

.jh-nosotros-catalogo-zoom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.jh-nosotros-catalogo-zoom i {
    font-size: 2.2rem;
}

.jh-nosotros-catalogo-link:hover .jh-nosotros-catalogo-zoom {
    opacity: 1;
    transform: scale(1);
}

.jh-nosotros-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: linear-gradient(135deg, #0d1b2a 0%, #162236 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
    position: relative;
}

/* === Fondo flotante: hojas, cuadernos, encuadernadoras (puro CSS) === */
.jh-nosotros-rain {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
}

/* Base común: todos los spans son pequeños rectángulos flotantes */
.jh-nosotros-rain span {
    position: absolute;
    bottom: 5%;
    opacity: 0;
    animation-name: jh-item-float;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* ── TIPO A: Hoja de papel (nth-child 3n+1) ── */
.jh-nosotros-rain span:nth-child(3n+1) {
    width: 28px;
    height: 36px;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 2px 8px 2px 2px; /* esquina doblada arriba-derecha */
}
/* triángulo de esquina doblada */
.jh-nosotros-rain span:nth-child(3n+1)::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent rgba(255,6,5,0.35) transparent transparent;
}
/* líneas de renglón */
.jh-nosotros-rain span:nth-child(3n+1)::after {
    content: '';
    position: absolute;
    left: 4px; right: 4px;
    top: 12px; bottom: 4px;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.18) 0px,
        rgba(255,255,255,0.18) 1px,
        transparent 1px,
        transparent 5px
    );
}

/* ── TIPO B: Cuaderno (nth-child 3n+2) ── */
.jh-nosotros-rain span:nth-child(3n+2) {
    width: 26px;
    height: 34px;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-left: 4px solid rgba(255, 6, 5, 0.9);
    border-radius: 2px;
}
/* espiral (puntitos) */
.jh-nosotros-rain span:nth-child(3n+2)::before {
    content: '';
    position: absolute;
    left: -7px; top: 4px; bottom: 4px; width: 4px;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.55) 0px,
        rgba(255, 255, 255, 0.55) 3px,
        transparent 3px,
        transparent 6px
    );
    border-radius: 2px;
}
/* líneas interiores */
.jh-nosotros-rain span:nth-child(3n+2)::after {
    content: '';
    position: absolute;
    left: 3px; right: 3px;
    top: 6px; bottom: 4px;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.15) 0px,
        rgba(255,255,255,0.15) 1px,
        transparent 1px,
        transparent 5px
    );
}

/* ── TIPO C: Máquina encuadernadora (nth-child 3n+3) ── */
.jh-nosotros-rain span:nth-child(3n+3) {
    width: 40px;
    height: 26px;
    background: rgba(255, 255, 255, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 4px 4px 2px 2px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}
/* ranura para papel */
.jh-nosotros-rain span:nth-child(3n+3)::before {
    content: '';
    position: absolute;
    left: 4px; right: 4px;
    bottom: 4px; height: 5px;
    background: rgba(255, 6, 5, 1);
    border-radius: 1px;
}
/* botón LED */
.jh-nosotros-rain span:nth-child(3n+3)::after {
    content: '';
    position: absolute;
    top: 5px; right: 6px;
    width: 6px; height: 6px;
    background: #ff0605;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 6, 5, 1);
}

/* Posiciones y tiempos (6 ítems distribuidos) */
.jh-nosotros-rain span:nth-child(1) { left:  8%; animation-duration: 8.0s; animation-delay: 0.0s; }
.jh-nosotros-rain span:nth-child(2) { left: 28%; animation-duration: 9.5s; animation-delay: 2.0s; }
.jh-nosotros-rain span:nth-child(3) { left: 48%; animation-duration: 7.5s; animation-delay: 1.0s; }
.jh-nosotros-rain span:nth-child(4) { left: 62%; animation-duration:10.0s; animation-delay: 3.5s; }
.jh-nosotros-rain span:nth-child(5) { left: 78%; animation-duration: 8.8s; animation-delay: 0.5s; }
.jh-nosotros-rain span:nth-child(6) { left: 90%; animation-duration: 7.2s; animation-delay: 4.0s; }

@keyframes jh-item-float {
    0% {
        transform: translateY(0px) rotate(-6deg);
        opacity: 0;
    }
    8% {
        opacity: 0.85;
    }
    50% {
        transform: translateY(-180px) rotate(6deg);
        opacity: 0.75;
    }
    92% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-320px) rotate(-4deg);
        opacity: 0;
    }
}

.jh-nosotros-stat-card {
    text-align: center;
    padding: 50px 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
    transition: background 0.3s ease;
}

.jh-nosotros-stat-card:last-child {
    border-right: none;
}

/* Bracket esquina superior-izquierda */
.jh-nosotros-stat-card::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    width: 18px;
    height: 18px;
    border-top: 2px solid rgba(255, 6, 5, 0.5);
    border-left: 2px solid rgba(255, 6, 5, 0.5);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

/* Bracket esquina inferior-derecha */
.jh-nosotros-stat-card::after {
    content: '';
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 18px;
    height: 18px;
    border-bottom: 2px solid rgba(255, 6, 5, 0.5);
    border-right: 2px solid rgba(255, 6, 5, 0.5);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.jh-nosotros-stat-card:hover::before,
.jh-nosotros-stat-card:hover::after {
    width: 26px;
    height: 26px;
    border-color: #ff0605;
}

.jh-nosotros-stat-card:hover {
    background: rgba(255, 6, 5, 0.05);
}

.jh-nosotros-stat-head {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.jh-nosotros-stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: #ff0605;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 6, 5, 0.35);
}

.jh-nosotros-stat-label {
    font-size: 1.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    /* text-transform: uppercase;
    letter-spacing: 0.06em; */
}

.jh-nosotros-stat-desc {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .jh-nosotros-stats-grid {
        grid-template-columns: 1fr;
    }
    .jh-nosotros-stat-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        padding: 32px 24px;
    }
    .jh-nosotros-stat-card:last-child {
        border-bottom: none;
    }
}

/* === CTA Strip — frase destacada J&H === */
.jh-cta-strip {
    position: relative;
    overflow: hidden;
    padding: 54px 0;
    background: #0d1b2a;
}



.jh-cta-strip__blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.jh-cta-strip__blob {
    display: none;
}

.jh-cta-strip__shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        transparent 35%,
        rgba(255, 255, 255, 0.055) 50%,
        transparent 65%
    );
    background-size: 220% 100%;
    animation: jh-cta-shine 5s linear infinite;
}

@keyframes jh-cta-shine {
    0%   { background-position: -220% 0; }
    100% { background-position: 220% 0; }
}

.jh-cta-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.jh-cta-strip__icon-deco {
    flex-shrink: 0;
    font-size: 2rem;
    color: #ff0605;
    animation: jh-cta-icon-pulse 2.8s ease-in-out infinite;
    filter: drop-shadow(0 0 9px rgba(255, 6, 5, 0.65));
}

.jh-cta-strip__icon-deco--right {
    animation-delay: -1.4s;
}

@keyframes jh-cta-icon-pulse {
    0%, 100% { transform: scale(1);    opacity: 1; }
    50%       { transform: scale(1.2); opacity: 0.75; }
}

.jh-cta-strip__text {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    color: #ffffff;
}

.jh-cta-strip__ql,
.jh-cta-strip__qr {
    font-size: 1.9rem;
    -webkit-text-fill-color: #ff0605;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
    vertical-align: middle;
    opacity: 0.8;
}


@media (max-width: 991px) {
    .jh-cta-strip { padding: 40px 0; }
    .jh-cta-strip__text { font-size: 1.2rem; }
    .jh-cta-strip__icon-deco { font-size: 1.6rem; }
}

@media (max-width: 575px) {
    .jh-cta-strip { padding: 32px 0; }
    .jh-cta-strip__inner { gap: 14px; }
    .jh-cta-strip__text { font-size: 1rem; }
    .jh-cta-strip__icon-deco { font-size: 1.3rem; }
    .jh-cta-strip__ql, .jh-cta-strip__qr { font-size: 1.4rem; }
}

.jh-nosotros-productos .popular-courses-items .item .thumb {
    height: 220px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.jh-nosotros-productos .popular-courses-items .item .thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.jh-nosotros-productos .popular-courses-items .item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.jh-nosotros-productos .popular-courses-items .item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.jh-nosotros-productos .popular-courses-items .item .info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 150px;
}

.jh-nosotros-productos .popular-courses-items .item .info .bottom-info {
    margin-top: auto;
}

/* =============================================
   Inicio — Carousel "Nuestros Productos"
   Altura uniforme en cards e imágenes
   ============================================= */
html body .popular-courses-items.popular-courses-carousel.owl-carousel .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

html body .popular-courses-items.popular-courses-carousel.owl-carousel .owl-item {
    display: flex !important;
    height: auto !important;
}

html body .popular-courses-carousel .item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

html body .popular-courses-carousel .item .thumb {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
    border-radius: 10px 10px 0 0;
    flex-shrink: 0;
}

html body .popular-courses-carousel .item .thumb a,
html body .popular-courses-carousel .item .thumb .jh-product-popup {
    display: block;
    width: 100%;
    height: 100%;
}

html body .popular-courses-carousel .item .thumb img {
    width: 100% !important;
    height: 100% !important;
    min-height: 220px;
    object-fit: cover !important;
    object-position: center;
    background: #f8fafc;
    display: block;
    transition: transform 0.4s ease;
}

html body .popular-courses-carousel .item .thumb:hover img {
    transform: scale(1.05);
}

html body .popular-courses-carousel .item .info {
    min-height: 150px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 16px 18px 18px;
}

html body .popular-courses-carousel .item .info h4 {
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

html body .popular-courses-carousel .item .info p {
    flex: 1 1 auto;
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.9em;
}

html body .popular-courses-carousel .item .info .bottom-info {
    margin-top: auto;
    padding-top: 12px;
    flex-shrink: 0;
}

/* --- Página Productos --- */
.jh-productos-intro {
    background: #f8f9fb;
}

.jh-productos-intro-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d1b4e;
    margin-bottom: 1.25rem;
}

.jh-productos-intro-desc {
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.jh-productos-intro-desc p {
    margin-bottom: 0.75rem;
}

.jh-productos-intro-btn {
    border-radius: 50px;
    padding: 12px 28px;
    text-transform: uppercase;
    font-weight: 600;
}

.jh-productos-intro-img {
    position: relative;
    display: inline-block;
}

/* esquina superior-izquierda */
.jh-productos-intro-img::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px;
    width: 36px; height: 36px;
    border-top: 3px solid #ff0605;
    border-left: 3px solid #ff0605;
    border-radius: 2px 0 0 0;
    z-index: 1;
    transition: width .3s ease, height .3s ease;
}

/* esquina inferior-derecha */
.jh-productos-intro-img::after {
    content: '';
    position: absolute;
    bottom: -10px; right: -10px;
    width: 36px; height: 36px;
    border-bottom: 3px solid #ff0605;
    border-right: 3px solid #ff0605;
    border-radius: 0 0 2px 0;
    z-index: 1;
    transition: width .3s ease, height .3s ease;
}

.jh-productos-intro-img:hover::before,
.jh-productos-intro-img:hover::after {
    width: 52px; height: 52px;
}

.jh-productos-intro-img img {
    max-height: 420px;
    width: auto;
    max-width: 100%;
    display: block;
    border-radius: 1rem;
}

/* Grid productos: columnas igual altura + botón siempre abajo */
.jh-productos-galeria-grid > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

html body .jh-productos-galeria.popular-courses.circle .item.jh-productos-galeria-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto;
}

.jh-productos-galeria-grid .item .thumb {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.jh-productos-galeria-grid .item .thumb a,
.jh-productos-galeria-grid .item .thumb .jh-product-popup {
    display: block;
    width: 100%;
    height: 100%;
}

.jh-productos-galeria-grid .item .thumb img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
}

html body .jh-productos-galeria.popular-courses.circle .item.jh-productos-galeria-card .info {
    padding: 16px !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 150px;
}

.jh-productos-galeria-grid .item .info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #2d1b4e;
    margin-bottom: 8px;
    text-align: center;
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    line-height: 1.35;
}

.jh-productos-galeria-grid .item .info h4 a {
    color: inherit;
    text-decoration: none;
}

html body .jh-productos-galeria.popular-courses.circle .item.jh-productos-galeria-card .info p {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    flex: 1 1 auto !important;
    margin-bottom: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.9em;
    line-height: 1.45;
}

html body .jh-productos-galeria.popular-courses.circle .item.jh-productos-galeria-card .info .bottom-info {
    margin-top: auto !important;
    padding-top: 12px !important;
    flex-shrink: 0;
}

.jh-btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: #25d366;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
}

.jh-btn-whatsapp:hover {
    background: #1da851;
    color: #fff;
}

.jh-productos-prioridad-visual {
    position: relative;
    padding: 24px 0 24px 24px;
}

.jh-productos-prioridad-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 90%;
    background: #fde8d8;
    border-radius: 20px;
    z-index: 0;
}

.jh-productos-prioridad-thumb {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.jh-productos-prioridad-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.jh-productos-prioridad-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 8px;
}

.jh-productos-prioridad-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #2d1b4e;
    margin-bottom: 1rem;
}

.jh-productos-prioridad-desc {
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.jh-productos-prioridad-btn {
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
}

.jh-productos-frase-box {
    padding: 36px 40px;
    background: linear-gradient(135deg, #3d2066 0%, #2d1b4e 100%);
    border-radius: 20px;
    color: #fff;
}

.jh-productos-frase-box h3 {
    margin: 0 0 10px;
    font-size: 1.6rem;
    font-weight: 700;
}

.jh-productos-frase-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

/* =============================================
   Página Máquinarias — Estilo Pro v3
   (mismo lenguaje visual que Productos)
   ============================================= */

/* Sección */
.jh-maq-galeria {
    background: #f1f5f9;
}

/* Grid row */
.jh-maq-grid {
    row-gap: 32px;
}

/* Animación entrada escalonada */
@keyframes jhMaqFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.jh-maq-grid > div:nth-child(1) .jh-maq-card { animation: jhMaqFadeUp 0.5s ease 0.05s both; }
.jh-maq-grid > div:nth-child(2) .jh-maq-card { animation: jhMaqFadeUp 0.5s ease 0.13s both; }
.jh-maq-grid > div:nth-child(3) .jh-maq-card { animation: jhMaqFadeUp 0.5s ease 0.21s both; }
.jh-maq-grid > div:nth-child(4) .jh-maq-card { animation: jhMaqFadeUp 0.5s ease 0.29s both; }
.jh-maq-grid > div:nth-child(5) .jh-maq-card { animation: jhMaqFadeUp 0.5s ease 0.37s both; }
.jh-maq-grid > div:nth-child(6) .jh-maq-card { animation: jhMaqFadeUp 0.5s ease 0.45s both; }
.jh-maq-grid > div:nth-child(7) .jh-maq-card { animation: jhMaqFadeUp 0.5s ease 0.50s both; }
.jh-maq-grid > div:nth-child(8) .jh-maq-card { animation: jhMaqFadeUp 0.5s ease 0.55s both; }
.jh-maq-grid > div:nth-child(9) .jh-maq-card { animation: jhMaqFadeUp 0.5s ease 0.60s both; }

/* ── Card wrapper ── */
.jh-maq-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.09);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.jh-maq-card:hover {
    box-shadow: 0 10px 36px rgba(230, 57, 70, 0.18);
    transform: translateY(-5px);
}

/* ── Zona de imagen (común) ── */
.jh-maq-img-zone {
    position: relative;
    height: 240px;
    background: #f8fafc;
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Single (zoom) ── */
.jh-maq-single img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.42s ease;
    background: #f8fafc;
    display: block;
}

.jh-maq-card:hover .jh-maq-single img {
    transform: scale(1.06);
}

/* ── Flip (3D) ── */
.jh-maq-has-flip {
    perspective: 1200px;
}

.jh-maq-flip-inner {
    display: block;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    outline: none;
    cursor: pointer;
}

.jh-maq-has-flip:hover .jh-maq-flip-inner {
    transform: rotateY(180deg);
}

.jh-maq-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: #f8fafc;
}

.jh-maq-front { z-index: 2; }
.jh-maq-back  { transform: rotateY(180deg); }

.jh-maq-face img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Badge FLIP */
.jh-maq-flip-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e63946;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 20;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Overlay zoom (single y front del flip) ── */
.jh-maq-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0);
    transition: background 0.28s ease;
    z-index: 5;
    pointer-events: none;
}

.jh-maq-card:hover .jh-maq-overlay,
.jh-maq-has-flip:hover .jh-maq-front .jh-maq-overlay {
    background: rgba(0,0,0,0.22);
}

.jh-maq-zoom-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.jh-maq-card:hover .jh-maq-zoom-icon,
.jh-maq-has-flip:hover .jh-maq-front .jh-maq-zoom-icon {
    opacity: 1;
    transform: scale(1);
}

/* ── Info bajo la imagen ── */
.jh-maq-info {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 14px;
}

.jh-maq-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #e63946;
    line-height: 1.35;
    text-align: center;
    transition: color 0.2s ease;
}

/* ── Botón "Me interesa" estilo Productos ── */
.jh-maq-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    background: #e63946;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 3px 12px rgba(230, 57, 70, 0.3);
    margin-top: auto;
}

.jh-maq-btn:hover {
    background: #c0212d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.45);
    color: #fff !important;
    text-decoration: none !important;
}

.jh-maq-btn i {
    font-size: 1rem;
    transition: transform 0.28s ease;
}

.jh-maq-btn:hover i {
    transform: scale(1.2) rotate(-8deg);
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .jh-maq-img-zone { height: 200px; }
    .jh-maq-grid { row-gap: 20px; }
}

/* ============================================================
   Página Contacto — Rediseño J&H
   ============================================================ */

/* Fondo de la sección principal */
.jh-contacto-seccion {
    background: #f0f4f8;
}

/* ---------- SIDEBAR ---------- */
.jh-contacto-sidebar {
    background: linear-gradient(160deg, #0d1b2a 0%, #162236 100%);
    border-radius: 16px;
    padding: 0;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(13, 27, 42, 0.26);
    position: relative;
}

/* Franja roja superior del sidebar */
.jh-contacto-sidebar-header {
    background: #ff0605;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.jh-contacto-sidebar-header i {
    color: #fff;
    font-size: 1.1rem;
    opacity: 0.9;
}

.jh-contacto-sidebar-header h4 {
    color: #fff;
    font-weight: 800;
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Cuerpo del sidebar */
.jh-contacto-sidebar-body {
    padding: 28px 24px;
}

.jh-contacto-sidebar-block {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.jh-contacto-sidebar-block:last-child {
    margin-bottom: 0;
}

.jh-contacto-sidebar-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #ff0605;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 6, 5, 0.38);
}

.jh-contacto-sidebar h5 {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 5px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.jh-contacto-sidebar p {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.jh-contacto-sidebar a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}

.jh-contacto-sidebar a:hover {
    color: #ff0605;
}

/* Social links en el sidebar */
.jh-contacto-sidebar-social {
    display: flex;
    gap: 10px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.jh-contacto-sidebar-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.88rem;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
}

.jh-contacto-sidebar-social a:hover {
    background: #ff0605;
    border-color: #ff0605;
    color: #fff;
}

/* ---------- FORMULARIO WRAP ---------- */
.jh-contacto-form-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    height: 100%;
}

.jh-contacto-form-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: 8px;
    padding-left: 16px;
    border-left: 4px solid #ff0605;
    line-height: 1.25;
}

.jh-contacto-form-desc {
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.jh-contacto-form label {
    font-weight: 600;
    color: #0d1b2a;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    display: block;
}

.jh-contacto-form .form-control {
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #0d1b2a;
    font-size: 0.95rem;
    padding: 10px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.jh-contacto-form .form-control:focus {
    border-color: #ff0605;
    box-shadow: 0 0 0 3px rgba(255, 6, 5, 0.09);
    background: #fff;
    outline: none;
}

.jh-contacto-form textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

/* Botón enviar */
.jh-contacto-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff0605;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 13px 34px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(255, 6, 5, 0.32);
}

.jh-contacto-form-submit:hover {
    background: #cc0504;
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(255, 6, 5, 0.4);
    color: #fff;
}

.jh-contacto-form-submit:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(255, 6, 5, 0.3);
}

/* ---------- MAPA ---------- */
.jh-contacto-mapa {
    background: #f0f4f8;
}

.jh-contacto-mapa-header {
    text-align: center;
    margin-bottom: 24px;
    padding-top: 2rem;
}

.jh-contacto-mapa-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: 6px;
}

.jh-contacto-mapa-header p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.jh-contacto-mapa-wrap {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
    border-top: 4px solid #ff0605;
}

.jh-contacto-mapa-wrap iframe {
    display: block;
    width: 100%;
    min-height: 420px;
}

/* ---------- COLUMNAS ---------- */
.jh-contacto-columnas {
    background: #fff;
}

.jh-contacto-columna-item {
    background: #5cc9ff2e;
    border-radius: 12px;
    padding: 28px 24px;
    border-top: 3px solid #ff0605;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    transition: transform 0.22s, box-shadow 0.22s;
    height: 100%;
}

.jh-contacto-columna-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.11);
}

.jh-contacto-columna-num {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #0d1b2a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 14px;
}

.jh-contacto-columna-item h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.jh-contacto-columna-item p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ---------- SUSCRIPCIÓN ---------- */
.jh-contacto-suscribe {
    background: linear-gradient(135deg, #0d1b2a 0%, #162236 100%);
}

.jh-contacto-suscribe-box {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 32px;
    background: transparent;
    border-radius: 0;
    text-align: center;
    position: relative;
}

.jh-contacto-suscribe-box h3 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 14px;
    font-size: 1.65rem;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.jh-contacto-suscribe-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: #ff0605;
    border-radius: 2px;
}

.jh-contacto-suscribe-box > p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 22px;
    font-size: 0.95rem;
}

.jh-contacto-suscribe-box .stylish-input-group {
    max-width: 500px;
    margin: 0 auto;
    display: flex !important;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    overflow: hidden;
    padding: 4px 4px 4px 20px;
}

.jh-contacto-suscribe-box .stylish-input-group .form-control {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 0.95rem;
    padding: 8px 0;
    box-shadow: none !important;
    flex: 1;
}

.jh-contacto-suscribe-box .stylish-input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.jh-contacto-suscribe-box .stylish-input-group .form-control:focus {
    outline: none;
    box-shadow: none !important;
}

.jh-contacto-suscribe-box .stylish-input-group button {
    background: #ff0605;
    border: none;
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    font-size: 1rem;
    flex-shrink: 0;
}

.jh-contacto-suscribe-box .stylish-input-group button:hover {
    background: #cc0504;
    transform: scale(1.05);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    .jh-contacto-sidebar {
        margin-bottom: 28px;
    }

    .jh-contacto-form-wrap {
        padding: 28px 20px;
    }
}

/* =============================================
   NAV — Hover + Estado activo (página actual)
   ============================================= */

/* --- HOVER: color rojo + subrayado que crece desde el centro --- */
nav.navbar.validnavs ul.nav > li > a {
    transition: color 0.22s ease;
    position: relative;
}
/* Línea base invisible en todos los links */
nav.navbar.validnavs ul.nav > li:not(.jh-nav-active) > a::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #e63946;
    border-radius: 2px;
    display: block;
    transition: width 0.25s ease;
}
/* Al hacer hover: crece hasta 55% */
nav.navbar.validnavs ul.nav > li:not(.jh-nav-active) > a:hover {
    color: #e63946 !important;
}
nav.navbar.validnavs ul.nav > li:not(.jh-nav-active) > a:hover::after {
    width: 55%;
}

/* --- ACTIVO: texto rojo + línea roja debajo --- */
nav.navbar.validnavs ul.nav > li.jh-nav-active > a {
    color: #e63946 !important;
    position: relative;
    font-weight: 700;
}

/* Línea roja centrada debajo del label */
nav.navbar.validnavs ul.nav > li.jh-nav-active > a::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 2px;
    background: #e63946;
    border-radius: 2px;
    display: block;
}

/* Mobile: sin línea, solo rojo + negrita */
@media (max-width: 1023px) {
    nav.navbar.validnavs ul.nav > li.jh-nav-active > a {
        color: #e63946 !important;
        font-weight: 700;
    }
    nav.navbar.validnavs ul.nav > li.jh-nav-active > a::after {
        display: none;
    }
    nav.navbar.validnavs ul.nav > li > a:hover {
        color: #e63946 !important;
    }
    /* Sin línea hover en mobile */
    nav.navbar.validnavs ul.nav > li:not(.jh-nav-active) > a::after {
        display: none;
    }
}
