/* ===== MODERNIZACIÓN HOME — HelpGroup ===== */

/* --- Tipografía --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background: #0d0d0d !important;
}

/* ===== NAVBAR MEJORADO ===== */

/* Base: negro sólido */
.navbar-inverse {
    background: #000 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 84, 0, 0.12) !important;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow 0.35s ease;
}

/* Scrolled: sigue negro, suma sombra */
.navbar-inverse.scrolled {
    background: #000 !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.7) !important;
}

/* Brand text: oculto en el nav — solo vive en el home hero */
.navbar-brand .brand-text {
    display: none;
}

/* Hamburger toggle */
.navbar-inverse .navbar-toggle {
    border-color: rgba(255, 255, 255, 0.18) !important;
    background: transparent !important;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background: rgba(255, 84, 0, 0.1) !important;
    border-color: rgba(255, 84, 0, 0.45) !important;
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: rgba(255, 255, 255, 0.75) !important;
    transition: background-color 0.2s ease;
}

.navbar-inverse .navbar-toggle:hover .icon-bar {
    background-color: #FF5400 !important;
}

/* Menú colapsado en mobile */
.navbar-inverse .navbar-collapse {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: #000 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

/* ── Links (aplica mobile y desktop) ── */
.navbar-inverse .navbar-nav > li > a {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.58) !important;
    transition: color 0.25s ease,
                box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
    background: transparent !important;
}

/* Hover / Focus / Active — sin fondo blanco de Bootstrap */
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-nav > li > a:active,
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
    color: #fff !important;
    background: transparent !important;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Activo */
.navbar-inverse .navbar-nav > li.active > a,
.navbar-inverse .navbar-nav > li.active > a:hover,
.navbar-inverse .navbar-nav > li.active > a:focus {
    color: #FF5400 !important;
    background: transparent !important;
}

/* ── Desktop: layout flex + underline animado + pill CTA ── */
@media (min-width: 768px) {

    /* Navbar y logo — altura fija e igual en todas las páginas */
    .navbar-inverse {
        height: 130px !important;
        min-height: 130px !important;
    }

    .navbar-inverse .navbar-brand {
        padding: 0 !important;
        height: 130px !important;
        display: flex;
        align-items: center;
    }

    .navbar-inverse .navbar-brand img.brand-logo {
        height: 130px !important;
        width: auto;
        display: block;
        object-fit: contain;
    }

    /* Container flex: logo izquierda, nav centrado */
    .navbar-inverse .container {
        display: flex !important;
        align-items: center;
        height: 130px;
    }

    .navbar-inverse .navbar-header {
        float: none !important;
        flex-shrink: 0;
        height: 130px;
        display: flex;
        align-items: center;
    }

    .navbar-inverse .navbar-collapse {
        flex: 1;
        display: flex !important;
        align-items: center;
        justify-content: center;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
        max-height: none !important;
        border: none !important;
    }

    /* Flex centering: alinea todos los links a la misma altura */
    .navbar-inverse .navbar-collapse .navbar-nav {
        display: flex !important;
        align-items: center;
        float: none !important;
        margin: 0;
        height: 130px;
    }

    .navbar-inverse .navbar-collapse .navbar-nav > li {
        float: none !important;
        display: flex;
        align-items: center;
        height: 130px;
    }

    /* Underline naranja inset al hover/activo */
    .navbar-inverse .navbar-nav > li > a {
        box-shadow: inset 0 -3px 0 transparent;
        padding-left: 14px !important;
        padding-right: 14px !important;
        line-height: 1.4 !important;
        outline: none !important;
    }

    .navbar-inverse .navbar-nav > li > a:hover,
    .navbar-inverse .navbar-nav > li > a:focus {
        box-shadow: inset 0 -3px 0 #FF5400;
        outline: none !important;
    }

    .navbar-inverse .navbar-nav > li.active > a,
    .navbar-inverse .navbar-nav > li.active > a:hover,
    .navbar-inverse .navbar-nav > li.active > a:focus {
        box-shadow: inset 0 -3px 0 #FF5400;
    }

    /* Contacto → pill CTA naranja — sin margin, alineado por flex */
    .navbar-inverse .navbar-nav > li:last-child > a,
    .navbar-inverse .navbar-nav > li:last-child > a:link,
    .navbar-inverse .navbar-nav > li:last-child > a:visited {
        color: #fff !important;
        background: #FF5400 !important;
        border-radius: 6px;
        margin-left: 10px;
        padding: 10px 18px !important;
        line-height: 1 !important;
        box-shadow: 0 4px 18px rgba(255, 84, 0, 0.35) !important;
        transition: background 0.25s ease,
                    box-shadow 0.25s ease,
                    transform 0.2s ease !important;
    }

    .navbar-inverse .navbar-nav > li:last-child > a:hover {
        background: #e04800 !important;
        color: #fff !important;
        transform: translateY(-1px);
        box-shadow: 0 6px 24px rgba(255, 84, 0, 0.5) !important;
    }

    /* Sin underline inset en el pill */
    .navbar-inverse .navbar-nav > li:last-child > a,
    .navbar-inverse .navbar-nav > li:last-child > a:hover {
        box-shadow: 0 4px 18px rgba(255, 84, 0, 0.35) !important;
    }

    .navbar-inverse .navbar-nav > li:last-child > a:hover {
        box-shadow: 0 6px 24px rgba(255, 84, 0, 0.5) !important;
    }
}

/* ── Mobile: navbar y logo ── */
@media (max-width: 767px) {
    body header,
    .navbar-inverse {
        min-height: 80px !important;
        height: 80px !important;
    }

    .navbar-inverse .navbar-brand {
        height: 80px !important;
        padding: 0 10px !important;
    }

    .navbar-inverse .navbar-brand img.brand-logo {
        height: 72px !important;
    }
}

/* ── Mobile: links en lista vertical ── */
@media (max-width: 767px) {

    .navbar-inverse .navbar-nav > li > a {
        padding: 13px 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
        letter-spacing: 1.2px !important;
    }

    .navbar-inverse .navbar-nav > li > a:hover {
        background: rgba(255, 84, 0, 0.07) !important;
        color: #fff !important;
    }

    .navbar-inverse .navbar-nav > li:last-child > a {
        color: #FF5400 !important;
        background: transparent !important;
        font-weight: 700 !important;
    }
}

/* --- Hero carousel: overlay degradado y texto más impactante --- */
#myCarousel .fill {
    background-size: cover;
    background-position: center;
}

#myCarousel .item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.25) 60%,
        rgba(255, 84, 0, 0.15) 100%
    );
    z-index: 1;
    pointer-events: none;
}

body #myCarousel .carousel-caption {
    z-index: 2;
    bottom: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    text-align: left;
    left: 8%;
    right: 30%;
    padding: 0;
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    body #myCarousel .carousel-caption {
        left: 5% !important;
        right: 5% !important;
        text-align: center !important;
        top: 50% !important;
    }

    #myCarousel .carousel-control {
        display: none !important;
    }
}

#myCarousel .carousel-caption h1.banner_heading {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

#myCarousel .carousel-caption p.banner_txt {
    font-weight: 400;
    opacity: 0.92;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* Botones CTA en slides */
.slide-cta {
    display: inline-block;
    margin-top: 28px;
    padding: 13px 36px;
    background: #FF5400;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 4px;
    border: 2px solid #FF5400;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(255, 84, 0, 0.4);
}

.slide-cta:hover,
.slide-cta:focus {
    background: transparent;
    color: #fff !important;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* Animación de entrada del caption */
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

#myCarousel .item.active .carousel-caption {
    animation: none;
}

/* Quita la animación slide-up del banner principal */
body #myCarousel .slide-up {
    animation: none !important;
}

/* --- Barra de stats (entre hero y features) --- */
#stats-bar {
    background: #0d0d0d;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats-bar-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 28px 20px;
    flex: 1;
    min-width: 140px;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: rgba(255, 84, 0, 0.08);
}

.stat-number {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #FF5400;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .stat-item {
        flex: 0 0 50%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
}

/* --- Features section: dark + glassmorphism --- */
body #features {
    background: #0d0d0d !important;
    padding: 90px 0 100px;
    position: relative;
    overflow: hidden;
}

/* fondo decorativo con gradiente sutil */
#features::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 84, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Header */
.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FF5400;
    margin-bottom: 14px;
}

.features-title {
    font-family: 'Inter', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #fff !important;
    margin: 0 0 16px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.features-title span {
    color: #FF5400;
}

.features-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* Grid de cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
    .features-title {
        font-size: 32px;
    }
}

/* Cards */
.feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #FF5400;
    border-radius: 14px;
    padding: 44px 36px 40px;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease,
                background 0.35s ease;
    cursor: default;
    will-change: transform;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 84, 0, 0.5);
    box-shadow:
        0 0 0 1px rgba(255, 84, 0, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 84, 0, 0.08);
}

/* Línea inferior animada */
.card-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #FF5400, transparent);
    border-radius: 0 0 14px 14px;
    transition: width 0.4s ease;
}

.feature-card:hover .card-line {
    width: 100%;
}

/* Icono */
.feature-card-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
}

.feature-card-icon .fa {
    font-size: 30px;
    color: #FF5400 !important;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-card-icon .fa {
    transform: scale(1.15);
}

/* Ring pulsante */
.icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 84, 0, 0.25);
    background: rgba(255, 84, 0, 0.08);
    animation: ringPulse 2.5s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.1); opacity: 0.5; }
}

.feature-card:hover .icon-ring {
    border-color: rgba(255, 84, 0, 0.6);
    background: rgba(255, 84, 0, 0.14);
    animation: none;
    transform: scale(1.08);
}

/* Texto */
.feature-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff !important;
    margin: 0 0 14px;
}

.feature-card p {
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* --- Scroll-reveal --- */
.reveal-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    transition-delay: var(--card-delay, 0ms);
}

.reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- News section: dark theme --- */
#news {
    padding: 80px 0 90px;
    background: #111;
}

#news .section-heading h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

#news .section-heading p.subheading {
    color: rgba(255, 255, 255, 0.45);
}

#news .section-heading span {
    color: #FF5400;
}

.news-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s ease, border-color 0.3s ease;
    background: rgba(255,255,255,0.04);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    border-color: rgba(255, 84, 0, 0.35);
}

.news-card img {
    transition: transform 0.5s ease;
    width: 100%;
    object-fit: cover;
    height: 180px;
    display: block;
}

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

.news-card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    padding: 0 16px;
    margin-top: 14px;
}

.news-card p {
    color: rgba(255,255,255,0.5);
    font-size: 13.5px;
    line-height: 1.65;
    padding: 0 16px 20px;
}

/* ===== FOOTER MODERNO ===== */

#top-header {
    background: #0f0f0f;
    border-top: 3px solid #FF5400;
    padding: 48px 0;
    position: relative;
}

#top-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,84,0,0.4), transparent);
}

/* Fila del footer: alinear verticalmente */
#top-header .row {
    display: flex !important;
    align-items: center;
}

/* Links de contacto */
#top-header .contact_links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

#top-header .contact_links li {
    display: flex;
    align-items: center;
    gap: 10px;
}

#top-header .contact_links li .fa {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 84, 0, 0.1);
    border: 1px solid rgba(255, 84, 0, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #FF5400 !important;
    flex-shrink: 0;
    transition: background 0.25s ease, border-color 0.25s ease;
}

#top-header .contact_links li:hover .fa {
    background: rgba(255, 84, 0, 0.2);
    border-color: rgba(255, 84, 0, 0.5);
}

#top-header .contact_links li a,
#top-header .contact_links li a:link,
#top-header .contact_links li a:visited {
    font-family: 'Inter', sans-serif !important;
    font-size: 13.5px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

#top-header .contact_links li a:hover {
    color: #FF5400 !important;
}

/* Redes sociales */
#top-header .social_links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

#top-header .social_links li a,
#top-header .social_links li a:link,
#top-header .social_links li a:visited {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 20px;
    text-decoration: none !important;
    transition: background 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease,
                transform 0.2s ease;
}

#top-header .social_links li a:hover {
    background: rgba(255, 84, 0, 0.15) !important;
    border-color: rgba(255, 84, 0, 0.5) !important;
    color: #FF5400 !important;
    transform: translateY(-3px);
}

/* Barra inferior */
#bottom-footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px 0;
}

#bottom-footer .row {
    display: flex !important;
    align-items: center;
}

#bottom-footer .copyright {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.3px;
}

#bottom-footer .copyright span {
    color: #FF5400;
    font-weight: 600;
}

#bottom-footer .text-right img {
    height: 32px !important;
    opacity: 0.6;
    transition: opacity 0.25s ease;
    display: inline-block;
}

#bottom-footer .text-right img:hover {
    opacity: 1;
}

@media (max-width: 767px) {
    #top-header { padding: 36px 0; }
    #top-header .contact_links { gap: 14px; }
    #top-header .social_links { justify-content: flex-start; margin-top: 20px; }
    #bottom-footer .copyright { text-align: center; margin-bottom: 10px; }
    #bottom-footer .text-right { text-align: center !important; }
}

/* --- Home brand hero (solo index.html) --- */
#home-brand-hero {
    position: relative;
    background: #0d0d0d;
    overflow: hidden;
    padding: 80px 0 70px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 84, 0, 0.1);
}

#home-brand-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 110%, rgba(255, 84, 0, 0.14) 0%, transparent 65%);
    pointer-events: none;
}

.home-brand-inner {
    position: relative;
    z-index: 2;
}

/* --- Keyframes banner home --- */
@keyframes brandEyebrowIn {
    from { opacity: 0; transform: translateY(-18px); letter-spacing: 10px; }
    to   { opacity: 0.9; transform: translateY(0);   letter-spacing: 4px;  }
}

@keyframes brandTitleIn {
    from { opacity: 0; transform: translateY(44px) scale(0.94); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

@keyframes brandSubIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0);    }
}

@keyframes brandGroupGlow {
    0%   { text-shadow: none; }
    40%  { text-shadow: 0 0 50px rgba(255,84,0,0.9), 0 0 100px rgba(255,84,0,0.5); }
    100% { text-shadow: 0 0 18px rgba(255,84,0,0.18); }
}

.home-brand-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FF5400;
    margin-bottom: 18px;
    opacity: 0;
    animation: brandEyebrowIn 0.75s cubic-bezier(0.23, 1, 0.32, 1) 0.1s forwards;
}

.home-brand-title {
    font-family: 'Inter', sans-serif;
    font-size: 96px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -4px;
    line-height: 1;
    margin: 0 0 22px;
    opacity: 0;
    animation: brandTitleIn 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.32s forwards;
}

.home-brand-title span {
    color: #FF5400;
    animation: brandGroupGlow 1.6s ease 0.95s forwards;
}

.home-brand-sub {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.45);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0;
    animation: brandSubIn 0.7s ease 0.62s forwards;
}

@media (max-width: 991px) {
    .home-brand-title { font-size: 68px; letter-spacing: -2px; }
    #home-brand-hero { padding: 60px 20px 50px; }
}

@media (max-width: 600px) {
    .home-brand-title { font-size: 48px; letter-spacing: -1.5px; }
    #home-brand-hero { padding: 48px 20px 40px; }
    .home-brand-sub { font-size: 15px; }
}

/* --- Partners strip home --- */
#home-partners {
    background: #0d0d0d;
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

#home-partners .carousel,
#home-partners .carousel .item,
#home-partners .carousel .item.active {
    background: transparent !important;
    box-shadow: none !important;
}

.home-partner-slide {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 0 48px;
}

.home-partner-logo {
    display: block;
    height: 44px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-partner-logo--lg {
    height: 56px;
    max-width: 170px;
    padding: 6px 14px;
}

.home-partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border-color: rgba(255,84,0,0.4);
}

.home-partner-ctrl {
    background: none !important;
    color: rgba(255,255,255,0.4) !important;
    text-shadow: none !important;
    opacity: 1 !important;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: color 0.2s ease;
}

.home-partner-ctrl:hover {
    color: #FF5400 !important;
}

.home-partner-ctrl.left { left: 0; }
.home-partner-ctrl.right { right: 0; }

@media (max-width: 767px) {
    .home-partner-slide {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        padding: 0 30px;
    }
    .home-partner-logo {
        flex: 0 1 40%;
        height: 36px;
        max-width: 120px;
    }
}

/* --- CTA home (antes del footer) --- */
#home-cta {
    background: #0d0d0d;
    padding: 70px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.home-cta-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 56px 52px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.home-cta-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(255,84,0,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.home-cta-text {
    flex: 1;
    min-width: 260px;
    position: relative;
    z-index: 1;
}

.home-cta-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
}

.home-cta-text p {
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}

.home-cta-action {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.btn-home-cta,
.btn-home-cta:link,
.btn-home-cta:visited {
    display: inline-block;
    padding: 16px 44px;
    background: #FF5400;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 8px;
    border: 2px solid #FF5400;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 24px rgba(255,84,0,0.4);
}

.btn-home-cta:hover {
    background: transparent;
    color: #FF5400 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255,84,0,0.2);
}

@media (max-width: 767px) {
    .home-cta-card {
        padding: 36px 24px;
        flex-direction: column;
        align-items: flex-start;
    }
    .home-cta-text h2 { font-size: 22px; }
    .home-cta-action { width: 100%; }
    .btn-home-cta {
        width: 100%;
        text-align: center;
        display: block;
        box-sizing: border-box;
    }
}

/* --- Scroll smooth global --- */
html {
    scroll-behavior: smooth;
}

/* --- Accesibilidad: focus visible --- */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #FF5400;
    outline-offset: 3px;
}
