/* ==========================================================================
   CNB Training For Mining - Custom Premium Slider Styles
   ========================================================================== */

:root {
    --site-topbar-h: 44px;
    --site-navbar-h: 98px;
    --site-header-h: calc(var(--site-topbar-h) + var(--site-navbar-h));
}

/* Compensa header fijo (topbar + navbar con logo alto) */
body {
    padding-top: var(--site-header-h) !important;
    transition: padding-top 0.4s ease;
}

body.topbar-collapsed {
    padding-top: var(--site-navbar-h) !important;
}

/* ── Slider: altura = imagen real (sin recorte arriba/abajo) ── */
.box-slider {
    overflow: hidden;
    position: relative;
    background: #0b0f1e;
}

.box-slider .carousel-inner,
.box-slider .carousel-item,
.box-slider .first-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

.box-slider .carousel-inner {
    overflow: hidden;
}

.box-slider .first-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0;
    display: block !important;
    background-color: #0b0f1e !important;
    z-index: 1;
}

/* La imagen define la altura del slide */
.first-section .slide-bg {
    position: relative;
    width: 100%;
    line-height: 0;
    z-index: 1;
    background-color: #0b0f1e;
}

.first-section .slide-bg-img {
    width: 100%;
    height: auto;
    max-height: none;
    display: block;
    vertical-align: top;
    object-fit: unset;
    object-position: unset;
}

.carousel-item.active .first-section .slide-bg-img {
    transform: none;
}

/* Contenido superpuesto sobre la imagen */
.box-slider .first-section .dtab {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex !important;
    align-items: center;
    width: 100%;
    padding: clamp(28px, 5vw, 52px) clamp(16px, 3vw, 36px) clamp(52px, 7vw, 72px);
    box-sizing: border-box;
    pointer-events: none;
}

.box-slider .first-section .dtab .container,
.box-slider .first-section .dtab a,
.box-slider .first-section .dtab button {
    pointer-events: auto;
}

/* Modern linear overlay to guarantee text readability without muddying the background image */
.first-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(11, 15, 30, 0.78) 0%,
        rgba(11, 15, 30, 0.48) 36%,
        rgba(26, 35, 64, 0.18) 62%,
        rgba(26, 35, 64, 0.05) 100%
    ) !important;
    z-index: 2;
    pointer-events: none;
}

/* 2. Text layout & dynamic entrance animations */
.first-section .big-tagline {
    padding: 0;
    max-width: min(900px, 100%);
    display: inline-block;
    width: 100%;
}

.text-center .big-tagline {
    margin: 0 auto;
    display: block;
}

.text-right .big-tagline {
    float: right;
}

.text-left .big-tagline {
    float: left;
}

.first-section .big-tagline h2 {
    font-size: 54px;
    line-height: 1.15 !important;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #ffffff;
    margin-bottom: 22px;
    padding-bottom: 0;
    text-transform: none; /* Respects exact original text casing */
    text-shadow: 0 4px 24px rgba(11, 15, 30, 0.6);
}

.first-section .big-tagline h2 strong {
    color: #fcc24c; /* Keep original gold/orange brand color */
    font-weight: 800;
}

.first-section .lead {
    font-size: 19px;
    line-height: 1.65;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 18px;
    padding-bottom: 0;
    text-shadow: 0 2px 12px rgba(11, 15, 30, 0.7);
}

.first-section .lead-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 12px;
}

/* Transition values for entrance animations triggered on active slide */
.carousel-item .big-tagline h2 {
    opacity: 0;
    transform: translateY(40px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}

.carousel-item .big-tagline p {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, opacity 1.2s ease 0.25s;
}

/* Active slide transitions */
.carousel-item.active .big-tagline h2 {
    opacity: 1;
    transform: translateY(0);
}

.carousel-item.active .big-tagline p {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Slider controls (Arrows & Indicators) & Micro-interactions */
.box-slider .carousel-control-prev,
.box-slider .carousel-control-next {
    background: rgba(238, 164, 18, 0.12) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    width: 58px !important;
    height: 58px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    top: 50% !important;
    transform: translateY(-50%) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
    opacity: 1 !important;
    z-index: 15;
}

.box-slider .carousel-control-prev {
    left: 35px !important;
}

.box-slider .carousel-control-next {
    right: 35px !important;
}

/* Arrow hover interactions */
.box-slider .carousel-control-prev:hover {
    background: rgba(238, 164, 18, 0.95) !important;
    border-color: #fcc24c !important;
    transform: translateY(-50%) scale(1.08) translateX(-5px) !important;
    box-shadow: 0 12px 28px rgba(238, 164, 18, 0.45);
}

.box-slider .carousel-control-next:hover {
    background: rgba(238, 164, 18, 0.95) !important;
    border-color: #fcc24c !important;
    transform: translateY(-50%) scale(1.08) translateX(5px) !important;
    box-shadow: 0 12px 28px rgba(238, 164, 18, 0.45);
}

.box-slider .carousel-control-prev span,
.box-slider .carousel-control-next span {
    font-size: 24px !important;
    color: #ffffff !important;
    line-height: 1 !important;
    display: inline-block;
    transition: transform 0.3s ease;
}

.box-slider .carousel-control-prev:hover span {
    transform: scale(1.05);
}

.box-slider .carousel-control-next:hover span {
    transform: scale(1.05);
}

/* Pagination Indicators */
.box-slider .carousel-indicators {
    bottom: 14px !important;
    z-index: 15;
    gap: 12px;
}

.box-slider .carousel-indicators li {
    width: 26px !important;
    height: 6px !important;
    border: none !important;
    border-radius: 3px !important;
    background-color: rgba(255, 255, 255, 0.35) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer;
    margin: 0 !important;
}

/* Elastic stretch active slide indicator */
.box-slider .carousel-indicators li.active {
    width: 44px !important;
    background-color: #fcc24c !important;
    box-shadow: 0 0 14px rgba(238, 164, 18, 0.8) !important;
}

.box-slider .carousel-indicators li:hover {
    background-color: rgba(255, 255, 255, 0.75) !important;
}

/* 4. Responsive adaptation */
@media (max-width: 1199px) {
    .first-section .big-tagline h2 {
        font-size: 46px;
    }
}

@media (max-width: 991px) {
    .first-section .big-tagline h2 {
        font-size: 38px;
        margin-bottom: 18px;
    }
    .first-section .lead {
        font-size: 17px;
    }
    .box-slider .carousel-control-prev {
        left: 20px !important;
    }
    .box-slider .carousel-control-next {
        right: 20px !important;
    }
}

@media (max-width: 767px) {
    .box-slider .first-section .dtab {
        padding: 36px 16px 56px;
    }
    .first-section .big-tagline {
        padding: 0;
        float: none !important;
    }
    .text-right .big-tagline,
    .text-left .big-tagline {
        float: none;
    }
    .first-section .big-tagline h2 {
        font-size: 28px;
        margin-bottom: 14px;
    }
    .first-section .lead {
        font-size: 15px;
        line-height: 1.5;
    }
    .box-slider .carousel-control-prev,
    .box-slider .carousel-control-next {
        width: 46px !important;
        height: 46px !important;
    }
    .box-slider .carousel-control-prev span,
    .box-slider .carousel-control-next span {
        font-size: 18px !important;
    }
    .box-slider .carousel-indicators {
        bottom: 10px !important;
        gap: 8px;
    }
    .box-slider .carousel-indicators li {
        width: 20px !important;
        height: 5px !important;
    }
    .box-slider .carousel-indicators li.active {
        width: 32px !important;
    }
}

/* =====================================================
   5. PREMIUM STATISTICS SECTION (Corporate Tech / SaaS)
   ===================================================== */
.stat-premium-section {
    position: relative;
    background: radial-gradient(circle at 50% 50%, #171b30 0%, #0a0c16 100%) !important;
    padding: 100px 0 90px !important;
    overflow: hidden;
    z-index: 1;
}

/* Background grid details */
.stat-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

/* Glowing environmental orbs */
.glow-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238, 164, 18, 0.09) 0%, rgba(238, 164, 18, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
}
.glow-orb-1 {
    top: -80px;
    left: 15%;
    animation: floatGlow1 9s ease-in-out infinite;
}
.glow-orb-2 {
    bottom: -80px;
    right: 15%;
    animation: floatGlow2 9s ease-in-out infinite alternate;
}

@keyframes floatGlow1 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.08); }
}
@keyframes floatGlow2 {
    0%, 100% { transform: translateY(0) scale(1.08); }
    50% { transform: translateY(20px) scale(0.92); }
}

/* Cards Row */
.stat-cards-row {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
}

.stat-col {
    display: flex;
    margin-bottom: 30px;
}

/* Premium Glassmorphism Card (Default: Gold/Yellow) */
.stat-card-premium {
    position: relative;
    width: 100%;
    background: #fcc24c !important; /* Gold background by default */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 16px;
    padding: 26px 20px; /* Reduced padding (less thick) */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 32px rgba(5, 7, 15, 0.2);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    z-index: 2;
}

/* Subtle outer golden ambient ring hover indicator */
.stat-card-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
    transition: opacity 0.5s ease;
    z-index: 3;
    pointer-events: none;
}

.stat-card-premium:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(238, 164, 18, 0.5), transparent 60%);
}

/* Hover/Press effects (Change to Dark Blue/Navy) */
.stat-card-premium:hover {
    transform: translateY(-6px);
    border-color: rgba(238, 164, 18, 0.3) !important;
    box-shadow: 0 16px 40px rgba(26, 35, 64, 0.3);
    background: #1a2340 !important; /* Changes to dark blue */
}

/* Ambient glow hover element */
.stat-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}
.stat-card-premium:hover .stat-card-glow {
    opacity: 1;
    background: radial-gradient(circle, rgba(238, 164, 18, 0.14) 0%, rgba(238, 164, 18, 0) 50%);
}

/* Icons styling */
.stat-icon-wrap {
    position: relative;
    width: 62px; /* Reduced from 76px (less thick) */
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px; /* Reduced from 26px */
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.stat-icon-wrap i {
    font-size: 24px; /* Reduced from 28px */
    color: #ffffff; /* White by default on gold */
    transition: all 0.45s ease;
}

.stat-card-premium:hover .stat-icon-wrap {
    background: rgba(238, 164, 18, 0.1);
    border-color: #fcc24c;
    transform: scale(1.08) rotate(6deg);
    box-shadow: 0 0 20px rgba(238, 164, 18, 0.3);
}
.stat-card-premium:hover .stat-icon-wrap i {
    color: #fcc24c; /* Gold on dark blue hover */
}

/* Numbers and texts */
.stat-info {
    position: relative;
    z-index: 2;
    width: 100%;
}

.stat-number-wrap {
    font-size: 42px; /* Reduced from 52px (less thick) */
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
}

.stat-number-wrap .stat_count {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-plus {
    color: #ffffff; /* White by default */
    margin-left: 3px;
    font-weight: 700;
    font-size: 30px;
    transition: color 0.3s ease;
}
.stat-card-premium:hover .stat-plus {
    color: #fcc24c; /* Gold on hover */
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}
.stat-card-premium:hover .stat-label {
    color: #a4b1cd; /* Muted corporate blue on hover */
}

/* Connection line under desktop (visual flow) */
@media (min-width: 992px) {
    .stat-col:not(:last-child) .stat-card-premium::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -15px;
        width: 30px;
        height: 2px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
        z-index: 3;
        pointer-events: none;
    }
}

@media (max-width: 991px) {
    .stat-premium-section {
        padding: 70px 0 40px !important;
    }
    .stat-card-premium {
        padding: 24px 18px;
    }
    .stat-number-wrap {
        font-size: 36px;
    }
    .stat-plus {
        font-size: 26px;
    }
}

/* =====================================================
   6. LOGO LOADER — CNB Training For Mining
   ===================================================== */

.intro-logo {
    position: fixed;
    inset: 0;
    background: #111827;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: all;
}

.intro-logo.oculto {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-circle {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Anillo exterior — gira normal */
.loader-circle::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 5px solid rgba(238,164,18,.15);
    border-top-color: #eea412;
    animation: cnbGirar 4s linear infinite;
}

/* Anillo medio — gira en reversa */
.loader-circle::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: #d4920e;
    animation: cnbGirarReversa 3s linear infinite;
}

/* Anillo interior */
.ring-3 {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-left-color: #f5c842;
    animation: cnbGirar 2s linear infinite;
}

/* Logo central */
.logo-cnb {
    width: 150px;
    height: auto;
    position: relative;
    z-index: 10;
    animation: cnbAparecer 1.5s ease, cnbFlotar 3s ease-in-out infinite;
    filter:
        drop-shadow(0 0 12px rgba(238,164,18,.5))
        drop-shadow(0 0 28px rgba(238,164,18,.2));
}

/* Animaciones del loader */
@keyframes cnbGirar {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes cnbGirarReversa {
    from { transform: rotate(360deg); }
    to   { transform: rotate(0deg); }
}
@keyframes cnbAparecer {
    from { opacity: 0; transform: scale(.5); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes cnbFlotar {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* =====================================================
   7. PREMIUM OVERVIEWS SECTION — Corporate Modern 2025
   ===================================================== */

/* ── Section wrapper ── */
.ov-premium-section {
    position: relative;
    background: #ffffff;
    padding: 100px 0 80px;
    overflow: hidden;
}

/* Subtle diagonal background accents */
.ov-bg-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.ov-bg-shape-1 {
    top: -120px;
    right: -180px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238,164,18,0.07) 0%, transparent 70%);
}
.ov-bg-shape-2 {
    bottom: -100px;
    left: -140px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238,164,18,0.05) 0%, transparent 70%);
}

/* ── Section header ── */
.ov-section-header {
    text-align: center;
    margin-bottom: 72px;
    position: relative;
    z-index: 1;
}

.ov-tag-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #000000;
    margin-bottom: 18px;
    padding: 6px 20px;
    border: none;
    border-radius: 999px;
    background: #F5A623;
}

.ov-section-title {
    font-size: 46px;
    font-weight: 700;
    color: #11110c;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.ov-section-lead {
    font-size: 16px;
    color: #5a5f68;
    line-height: 1.75;
    max-width: 500px;
    margin: 0 auto 28px;
}

.ov-title-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #fcc24c;
}
.ov-title-line span {
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fcc24c);
}
.ov-title-line span:last-child {
    background: linear-gradient(90deg, #fcc24c, transparent);
}
.ov-title-line i {
    font-size: 14px;
    animation: spinSlow 12s linear infinite;
}
@keyframes spinSlow {
    to { transform: rotate(360deg); }
}

/* ── Content blocks ── */
.ov-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 110px;
    position: relative;
    z-index: 1;
}
.ov-block:last-child {
    margin-bottom: 0;
}
/* Block 2: image-col ya viene primero en el DOM → queda a la izquierda naturalmente */
.ov-block--reverse {
    direction: ltr;
}

/* ── Scroll reveal ── */
.ov-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1), transform 0.85s cubic-bezier(0.16,1,0.3,1);
}
.ov-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Content column ── */
.ov-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fcc24c;
    margin-bottom: 18px;
}
.ov-eyebrow-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fcc24c;
    flex-shrink: 0;
}

.ov-block-title {
    font-size: 34px;
    font-weight: 800;
    color: #11110c;
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin: 0 0 22px;
}
.ov-block-title span {
    color: #fcc24c;
}

.ov-body-text {
    font-size: 15.5px;
    color: #4b5563;
    line-height: 1.78;
    margin-bottom: 14px;
}

/* Feature list */
.ov-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}
.ov-features li {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 9px;
}
.ov-features li i {
    color: #fcc24c;
    font-size: 15px;
    flex-shrink: 0;
}

/* ── Premium CTA button ── */
.ov-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 34px;
    background: #11110c;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid #11110c;
    border-radius: 4px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 4px 20px rgba(17,24,39,0.15);
}
.ov-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #fcc24c;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
    z-index: 0;
}
.ov-cta-btn span,
.ov-cta-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}
.ov-cta-btn i {
    font-size: 16px;
    transform: translateX(0);
}
.ov-cta-btn:hover {
    color: #11110c;
    border-color: #fcc24c;
    box-shadow: 0 8px 28px rgba(238,164,18,0.35);
}
.ov-cta-btn:hover::before {
    transform: scaleX(1);
}
.ov-cta-btn:hover i {
    transform: translateX(5px);
}

/* ── Image column ── */
.ov-image-col {
    position: relative;
}

/* ══════════════════════════════════════════════
   DUAL-IMAGE COMPOSITION
   Primary (large) + Secondary (small, overlapping)
   ══════════════════════════════════════════════ */
.ov-duo {
    position: relative;
    /* Total height driven by primary image */
    height: 520px;
    /* Extra padding-bottom so secondary card doesn't clip */
    padding-bottom: 70px;
    padding-left: 40px;
}

/* ── PRIMARY image: top-right, large ── */
.ov-duo__primary {
    position: absolute;
    top: 0;
    right: 0;
    width: 82%;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(17,24,39,0.22), 0 2px 8px rgba(17,24,39,0.1);
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), box-shadow 0.7s ease;
    z-index: 2;
}
.ov-duo__primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.ov-duo:hover .ov-duo__primary img {
    transform: scale(1.04);
}

/* ── SECONDARY image: bottom-left, smaller, overlapping ── */
.ov-duo__secondary {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 52%;
    height: 230px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: -8px 16px 50px rgba(17,24,39,0.28), 0 2px 8px rgba(17,24,39,0.12);
    border: 4px solid #ffffff;
    z-index: 3;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), box-shadow 0.7s ease;
}
.ov-duo__secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.ov-duo:hover .ov-duo__secondary {
    transform: translate(-4px, 4px);
    box-shadow: -12px 22px 60px rgba(17,24,39,0.32);
}
.ov-duo:hover .ov-duo__secondary img {
    transform: scale(1.05);
}

/* ── Corner accent brackets ── */
.ov-acc {
    position: absolute;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 5;
}
.ov-acc--tl { top: -6px; left: -6px; border-top: 3px solid #fcc24c; border-left: 3px solid #fcc24c; border-radius: 4px 0 0 0; }
.ov-acc--tr { top: -6px; right: -6px; border-top: 3px solid #fcc24c; border-right: 3px solid #fcc24c; border-radius: 0 4px 0 0; }
.ov-acc--bl { bottom: -6px; left: -6px; border-bottom: 3px solid #fcc24c; border-left: 3px solid #fcc24c; border-radius: 0 0 0 4px; }
.ov-acc--br { bottom: -6px; right: -6px; border-bottom: 3px solid #fcc24c; border-right: 3px solid #fcc24c; border-radius: 0 0 4px 0; }

/* ── Decorative dot-grid ── */
.ov-duo__dots {
    position: absolute;
    bottom: 30px;
    right: -10px;
    width: 90px;
    height: 90px;
    background-image: radial-gradient(circle, #fcc24c 1.2px, transparent 1.2px);
    background-size: 14px 14px;
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
}
.ov-duo__dots--alt {
    bottom: 30px;
    right: auto;
    left: -10px;
}

/* ── Thin gold vertical accent bar ── */
.ov-duo__bar {
    position: absolute;
    top: 30px;
    left: 8px;
    width: 3px;
    height: 120px;
    background: linear-gradient(to bottom, #fcc24c, transparent);
    border-radius: 2px;
    z-index: 1;
    pointer-events: none;
}
.ov-duo__bar--alt {
    left: auto;
    right: 8px;
    background: linear-gradient(to bottom, #fcc24c, transparent);
}

/* ── ALT composition: primary top-LEFT, secondary bottom-RIGHT ── */
.ov-duo--alt {
    padding-left: 0;
    padding-right: 40px;
}
.ov-duo--alt .ov-duo__primary {
    right: auto;
    left: 0;
    box-shadow: -20px 20px 60px rgba(17,24,39,0.22), 0 2px 8px rgba(17,24,39,0.1);
}
.ov-duo--alt .ov-duo__secondary {
    left: auto;
    right: 0;
    box-shadow: 8px 16px 50px rgba(17,24,39,0.28), 0 2px 8px rgba(17,24,39,0.12);
}
.ov-duo--alt:hover .ov-duo__secondary {
    transform: translate(4px, 4px);
}

/* ── Responsive ── */
@media (max-width: 1199px) {
    .ov-block {
        gap: 60px;
    }
    .ov-block-title {
        font-size: 30px;
    }
    .ov-duo {
        height: 460px;
        padding-bottom: 60px;
        padding-left: 30px;
    }
    .ov-duo--alt {
        padding-left: 0;
        padding-right: 30px;
    }
    .ov-duo__primary {
        height: 330px;
    }
    .ov-duo__secondary {
        width: 50%;
        height: 200px;
    }
}

@media (max-width: 991px) {
    .ov-premium-section {
        padding: 70px 0 60px;
    }
    .ov-block {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-bottom: 70px;
    }
    .ov-block--reverse {
        direction: ltr;
    }
    .ov-block--reverse .ov-image-col {
        order: -1;
    }
    .ov-section-title {
        font-size: 30px;
    }
    .ov-block-title {
        font-size: 28px;
    }
    .ov-duo {
        height: 400px;
        padding-bottom: 55px;
        padding-left: 20px;
    }
    .ov-duo--alt {
        padding-left: 0;
        padding-right: 20px;
    }
    .ov-duo__primary {
        height: 290px;
        width: 78%;
    }
    .ov-duo__secondary {
        width: 50%;
        height: 185px;
    }
}

@media (max-width: 767px) {
    .ov-premium-section {
        padding: 50px 0 40px;
    }
    .ov-section-title {
        font-size: 26px;
    }
    .ov-block-title {
        font-size: 24px;
    }
    .ov-block {
        gap: 36px;
        margin-bottom: 55px;
    }
    .ov-features {
        grid-template-columns: 1fr;
    }
    .ov-duo {
        height: 320px;
        padding-bottom: 48px;
        padding-left: 12px;
    }
    .ov-duo--alt {
        padding-left: 0;
        padding-right: 12px;
    }
    .ov-duo__primary {
        width: 80%;
        height: 220px;
    }
    .ov-duo__secondary {
        width: 52%;
        height: 150px;
    }
    .ov-cta-btn {
        padding: 14px 26px;
    }
}

/* =====================================================
   8. FOOTER CTA STRIP — Cinta superior del footer
   ===================================================== */

/* ══ FOOTER CTA — banda dinámica profesional ═════════════════════════════ */
.footer-cta {
    position: relative;
    background: linear-gradient(135deg, #1a2340 0%, #0d1428 40%, #1e2c55 70%, #0a1020 100%);
    padding: 0;
    overflow: hidden;
    z-index: 1;
}

/* Imagen de fondo con overlay */
.footer-cta-bg-img {
    position: absolute;
    inset: 0;
    background: url('../images/slider-02.jpg') center / cover no-repeat;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

/* Rayas diagonales decorativas */
.footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 28px,
        rgba(238,164,18,0.04) 28px,
        rgba(238,164,18,0.04) 30px
    );
    z-index: 0;
    pointer-events: none;
}

/* Resplandor izquierdo dorado */
.footer-cta::after {
    content: '';
    position: absolute;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(238,164,18,0.18) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
    animation: ctaGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes ctaGlowPulse {
    from { opacity: 0.6; transform: translateY(-50%) scale(1); }
    to   { opacity: 1;   transform: translateY(-50%) scale(1.15); }
}

.footer-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 56px 0;
}

.footer-cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fcc24c;
    margin-bottom: 14px;
}

.footer-cta-tag i {
    color: #fcc24c;
}

.footer-cta-title {
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.01em;
}

.footer-cta-title strong {
    font-weight: 900;
    color: #fcc24c;
    text-shadow: 0 0 24px rgba(238,164,18,0.4);
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 38px;
    background: linear-gradient(135deg, #fcc24c, #f5bc30);
    color: #0d1428;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 24px rgba(238,164,18,0.35), 0 2px 8px rgba(0,0,0,0.3);
}

.footer-cta-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
}

.footer-cta-btn:hover::before { left: 160%; }

.footer-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(238,164,18,0.5), 0 4px 16px rgba(0,0,0,0.4);
    text-decoration: none;
    color: #0d1428;
}

.footer-cta-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.footer-cta-btn:hover i {
    transform: translateX(4px);
}

/* Copyright integrado dentro del footer */
.footer-copyright-inline {
    margin-top: 60px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    position: relative;
}

.footer-copyright-inline::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, #fcc24c, transparent);
    border-radius: 2px;
}

.footer-copyright-inline p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.04em;
}

/* ── Footer blanco ── */
.footer {
    background: #ffffff !important;
    border-top: none !important;
    border-bottom: none !important;
    padding: 70px 0 0 !important;
    color: #555;
    background-image: none !important;
    position: relative;
    overflow: hidden;
}
.footer::before,
.footer::after {
    display: none !important;
}
.footer .container {
    position: relative;
    z-index: 1;
}
.footer p {
    color: #555;
}
.fnew-desc {
    color: #555;
}
.fnew-title {
    color: #222;
}
.fnew-title::after {
    background: linear-gradient(to right, #fcc24c, #ffd166);
    box-shadow: 0 0 8px rgba(238,164,18,0.4);
}
.fnew-links li {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.fnew-links a {
    color: #555;
}
.fnew-links a:hover {
    color: #fcc24c;
}
.fnew-contact li {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: #555;
}
.fnew-contact a {
    color: #555;
}
.fnew-contact a:hover {
    color: #fcc24c;
}
.fnew-social a {
    border: 1px solid rgba(0,0,0,0.12);
    background: rgba(0,0,0,0.03);
    color: #555;
}
.fnew-social a:hover {
    background: #1a2340;
    border-color: #1a2340;
    color: #fff;
}
.fnew-social a .fnew-social-svg {
    width: 15px;
    height: 15px;
    display: block;
}
.fnew-copyright {
    text-align: center;
    padding: 16px 0;
    margin-top: 40px;
    background: #000000;
    border-top: 3px solid #fcc24c;
}
.fnew-copyright p {
    color: #ffffff;
    font-size: 13px;
    margin: 0;
}
.copyrights {
    background: #f8f8f8 !important;
    border-top: 1px solid rgba(0,0,0,0.06) !important;
    margin-top: 50px;
    padding: 15px 0 !important;
}
.copyrights p {
    color: #888 !important;
}
.footer-copyright-inline {
    border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-copyright-inline p {
    color: #888 !important;
}

/* ── Misión Visión Valores ── */
.about-mvv-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 80px;
}
.about-mvv-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 28px 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1.5px solid #dce0e5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(238,164,18,0.12);
    border-color: #fcc24c;
}
.about-mvv-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fcc24c, #d4880a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(238,164,18,0.25);
    transition: transform 0.3s ease;
}
.about-mvv-card:hover .about-mvv-icon-wrap {
    transform: scale(1.1);
}
.about-mvv-icon {
    display: none;
}
.about-mvv-card--accent {
    border-top-color: transparent !important;
    background: transparent !important;
}
.about-mvv-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0d1a2e;
    margin-bottom: 10px;
}
.about-mvv-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
    max-width: 280px;
}
/* ── Badge/pill uniforme (secciones con fondo claro) ── */
.ov-tag-label,
.cap-eyebrow,
.faq-eyebrow,
.clientes-tag {
    display: inline-block;
    background: #F5A623 !important;
    color: #000000 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    padding: 6px 20px !important;
    border: none !important;
    border-radius: 999px !important;
    margin-bottom: 18px !important;
}
.ov-tag-label i,
.cap-eyebrow i,
.faq-eyebrow i {
    color: #000000 !important;
}

/* ── Título principal uniforme (secciones con fondo claro) ── */
.ov-section-title,
.cap-header .cap-title,
.faq-title,
.clientes-title {
    font-size: 46px !important;
    font-weight: 700 !important;
    color: #11110c !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 16px !important;
}
.ov-section-title span,
.cap-header .cap-title span,
.faq-title span,
.clientes-title span {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    color: inherit !important;
}

/* ── Subtítulo/párrafo uniforme (secciones con fondo claro) ── */
.ov-section-lead,
.cap-subtitle,
.faq-subtitle,
.clientes-sub {
    font-size: 16px !important;
    color: #5a5f68 !important;
    line-height: 1.75 !important;
    max-width: 500px !important;
    margin: 0 auto 28px !important;
}

@media (max-width: 768px) {
    .about-mvv-row { grid-template-columns: 1fr; }
    .ov-section-title,
    .cap-header .cap-title,
    .faq-title,
    .clientes-title { font-size: 32px !important; }
}

/* ── FAQ ── */
.faq-item {
    border-radius: 14px;
    overflow: hidden;
}
.faq-q {
    border-radius: 14px;
    padding: 18px 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.25s;
}
button.faq-q,
.faq-q:focus,
.faq-q:focus-visible,
.faq-q:active,
.faq-q:hover {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    -webkit-tap-highlight-color: transparent !important;
}
.faq-q span {
    font-size: 14.5px;
    font-weight: 600;
    color: #0d1a2e;
    line-height: 1.45;
    transition: color 0.25s;
}
.faq-item.open .faq-q {
    border-radius: 14px 14px 0 0;
}
.faq-a {
    border-radius: 0 0 14px 14px;
    background: #fefcf7;
}
.faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 20px 18px;
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s ease;
}
.faq-a p {
    border-top: 2px solid #fcc24c;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding-top: 14px;
    margin: 0;
}
.faq-a p strong { color: #0d1a2e; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 0;
        gap: 28px;
    }
    .footer-cta-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .footer-cta-title {
        font-size: 24px;
    }
    .footer-cta-btn {
        padding: 14px 26px;
        width: 100%;
        justify-content: center;
    }
    .footer-copyright-inline {
        margin-top: 32px;
        padding-top: 18px;
    }
}

/* =====================================================
   RESPONSIVE MOBILE — Slider + Header + Navbar
   ===================================================== */

/* ── Variables móvil ── */
@media (max-width: 767px) {
    :root {
        --site-topbar-h: 0px;   /* topbar se oculta en mobile */
        --site-navbar-h: 64px;
        --site-header-h: 64px;
    }

    /* ── Topbar: oculto en móvil para ahorrar espacio ── */
    .site-topbar {
        display: none !important;
    }

    /* ── Navbar móvil: compacta y limpia ── */
    .top-navbar {
        top: 0 !important;
    }

    .top-navbar .navbar {
        padding: 0 12px !important;
        min-height: 64px !important;
    }

    .top-navbar .navbar-brand {
        padding: 6px 0 !important;
    }

    .top-navbar .navbar-brand img {
        height: 48px !important;
        width: auto !important;
    }

    /* Hamburger limpio (estilo Nutrannia) */
    .navbar-toggler {
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .navbar-toggler-icon {
        background-image: none !important;
        font-size: 28px !important;
        color: #1a2340 !important;
        width: auto !important;
        height: auto !important;
        padding-right: 8px !important;
    }

    .navbar-toggler-icon .icon-menu-close {
        display: none !important;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon .icon-menu-open {
        display: none !important;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon .icon-menu-close {
        display: inline-block !important;
        color: #fcc24c !important;
    }

    .navbar-toggler:hover .navbar-toggler-icon,
    .navbar-toggler:focus .navbar-toggler-icon {
        color: #fcc24c !important;
    }

    /* Menú desplegado en móvil */
    .top-navbar .navbar-collapse {
        background: #0d1117 !important;
        border-top: 2px solid #fcc24c !important;
        /* border-radius: 0 0 12px 12px !important; */
        padding: 12px 0 16px !important;
        box-shadow: 0 12px 32px rgba(0,0,0,0.45) !important;
        margin: 0 -12px !important;
    }

    .top-navbar .navbar-light .navbar-nav .nav-item .nav-link {
        color: #e2e8f0 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        padding: 12px 24px !important;
        border-bottom: 1px solid rgba(255,255,255,0.06) !important;
        letter-spacing: 0.03em !important;
    }

    .top-navbar .navbar-light .navbar-nav .nav-item .nav-link:hover,
    .top-navbar .navbar-light .navbar-nav .nav-item.active .nav-link {
        color: #fcc24c !important;
        background: rgba(252,194,76,0.08) !important;
    }

    .top-navbar .navbar-light .navbar-nav .nav-item .nav-link::before,
    .top-navbar .navbar-light .navbar-nav .nav-item .nav-link::after,
    .top-navbar .navbar-light .navbar-nav .nav-item::after {
        display: none !important;
    }

    /* CTA "Contáctenos" en móvil */
    .top-navbar .navbar-right {
        margin: 12px 24px 4px !important;
    }

    .top-navbar .navbar-right li a,
    .top-navbar .navbar-right li a.hover-btn-new {
        display: block !important;
        text-align: center !important;
        padding: 14px 20px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        width: 100% !important;
    }
}

/* ── SLIDER MÓVIL: eliminar el vacío negro ── */
@media (max-width: 767px) {
    /*
     * En móvil, el .box-slider y su carousel-inner quedan con height:100%
     * heredado, o Bootstrap reserva altura extra. Forzamos una altura fija
     * controlada en el contenedor raíz y usamos object-fit:cover en la imagen.
     */

    /* 1. Contenedor carousel: altura fija = 75vw mínimo, 85vw máximo */
    .box-slider,
    .box-slider .carousel-inner {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: hidden !important;
    }

    .box-slider .carousel-item,
    .box-slider .carousel-item.active {
        height: auto !important;
    }

    /* 2. El .first-section define la altura usando padding-bottom como aspect ratio */
    .box-slider .first-section {
        position: relative !important;
        height: 0 !important;
        padding-bottom: 75vw !important; /* 4:3 portrait — buen balance en móvil */
        overflow: hidden !important;
        min-height: 30rem !important;
        max-height: none !important;
    }

    /* 3. Imagen de fondo cubre todo el espacio */
    .box-slider .first-section .slide-bg {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        line-height: 0 !important;
    }

    .box-slider .first-section .slide-bg-img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: right top !important;
    }

    /* 4. Overlay de texto: cubre todo */
    .box-slider .first-section .dtab {
        position: absolute !important;
        inset: 0 !important;
        display: flex !important;
        align-items: flex-end !important;
        padding: 16px 16px 52px !important;
        z-index: 3 !important;
    }

    /* Gradiente más fuerte en móvil para legibilidad */
    .box-slider .first-section::before {
        background: linear-gradient(
            to top,
            rgba(11,15,30,0.92) 0%,
            rgba(11,15,30,0.55) 40%,
            rgba(11,15,30,0.15) 100%
        ) !important;
    }

    /* Texto más compacto */
    .first-section .big-tagline {
        float: none !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .first-section .big-tagline h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }

    .first-section .lead {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .first-section .lead-label {
        font-size: 10px !important;
        margin-bottom: 6px !important;
    }

    /* Botón CTA */
    .first-section .hover-btn-new {
        font-size: 12px !important;
        padding: 10px 18px !important;
    }

    /* Controles */
    .box-slider .carousel-control-prev,
    .box-slider .carousel-control-next {
        width: 36px !important;
        height: 36px !important;
        top: 42% !important;
    }

    .box-slider .carousel-control-prev { left: 8px !important; }
    .box-slider .carousel-control-next { right: 8px !important; }

    .box-slider .carousel-control-prev span,
    .box-slider .carousel-control-next span {
        font-size: 15px !important;
    }

    /* Indicadores */
    .box-slider .carousel-indicators {
        bottom: 8px !important;
        gap: 5px !important;
    }
    .box-slider .carousel-indicators li {
        width: 14px !important;
        height: 4px !important;
    }
    .box-slider .carousel-indicators li.active {
        width: 22px !important;
    }

    /* ISO badge compacto */
    .iso-badge-overlay {
        bottom: 42px !important;
        left: 8px !important;
        right: 8px !important;
    }
    .iso-badge-card {
        padding: 7px 10px !important;
        gap: 7px !important;
    }
    .iso-badge-texto {
        font-size: 9px !important;
    }
    .iso-badge-img {
        width: 34px !important;
        height: 34px !important;
    }
}

/* ── Padding del body en móvil (solo navbar, sin topbar) ── */
@media (max-width: 767px) {
    body {
        padding-top: 64px !important;
    }

    body.topbar-collapsed {
        padding-top: 64px !important;
    }
}