.mt-c {
    margin-top: 3rem;
}

.mt-c5 {
    margin-top: 1.5rem;
}

@media (min-width: 992px) {
    .mt-c {
        margin-top: 4rem;
    }

    .mt-c5 {
        margin-top: 5rem;
    }
}

.hero-main-title-universal {
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.9;
    color: #ffffff;

    /* Posicionamiento absoluto en la base */
    position: absolute;
    /* bottom: 5%;
    left: 5%; */
    margin: 0;

    /* Tamaños responsivos */
    font-size: 3rem;
}
/* --------------------------------------- */
/* --------------PUNTO PULSOS------------- */
/* --------------------------------------- */

.badge-connecting {
    padding: 0.375rem 0.75rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Tipografía */
    font-size: 10px;
    font-family: var(--bs-font-monospace), monospace;
    letter-spacing: 0.15em;
    color: #ff4a00;
}

.ping-dot {
    position: relative;
    width: 8px; /* w-2 */
    height: 8px; /* h-2 */
    background-color: #ff4a00;
    border-radius: 50%; /* rounded-full */
    display: inline-block;
}

.ping-dot::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ff4a00;
    border-radius: 50%;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%,
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* --------------------------------------- */
/* ---------------- TITULOS -------------- */
/* --------------------------------------- */

/* 1. Modificamos el contenedor para remover el centrado vertical automático */
.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 0 5%;
    box-sizing: border-box;

    /* Quitamos flex-direction: column y justify-content: center */
    display: block;
}

/* 2. Bajamos el título de la izquierda fijándolo desde el bottom */
.hero-main-title {
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.9;
    color: #ffffff;

    /* Posicionamiento absoluto en la base */
    position: absolute;
    bottom: 5%; /* Ajusta este porcentaje si quieres que baje aún más */
    left: 5%;
    margin: 0;

    /* Tamaños responsivos */
    font-size: 3rem;
}

@media (min-width: 576px) {
    .hero-main-title {
        font-size: 4.5rem;
    }
}
@media (min-width: 768px) {
    .hero-main-title {
        font-size: 6rem;
    }
}
@media (min-width: 992px) {
    .hero-main-title {
        font-size: 7.5rem;
    }
}

#txt2 {
    position: absolute;
    bottom: 6%;
    right: 15%;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-align: left;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-main-title {
        bottom: 25%;
    }
    #txt2 {
        bottom: 8%;
        right: 5%;
        font-size: 0.75rem;
    }
}

/* ------------------------------------------------------------------------------------- */

/* Título Principal con el estilo del Banner */
.about-main-title {
    font-weight: 900; /* font-black */
    letter-spacing: -0.05em; /* tracking-tighter */
    line-height: 0.9;
    color: #ffffff;
    margin-bottom: 2rem;

    /* Tamaños responsivos escalados */
    font-size: 3rem;
}

@media (min-width: 576px) {
    .about-main-title {
        font-size: 4rem;
    }
}
@media (min-width: 768px) {
    .about-main-title {
        font-size: 5.5rem;
    }
}
@media (min-width: 992px) {
    .about-main-title {
        font-size: 6.3rem;
    }
}

/* Estilos para mejorar los párrafos y textos descriptivos */
.about-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cccccc; /* Un gris claro para que no compita tanto con los títulos */
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #999999; /* Gris sutil para la segunda columna */
}

/* Los textos destacados de abajo (Insight... / ¿Perfectos?...) */
.about-highlight {
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
}

/* Ajuste responsivo extra para que los párrafos respiren en móviles */
@media (max-width: 768px) {
    .about-highlight {
        font-size: 1.35rem;
    }
}

/* ---------------- */
/* --- Estructura Base del Banner --- */
#banner {
    position: relative;
    width: 100%;
    min-height: 80vh; /* Asegura un buen alto en móviles */
    background-color: #000;
    overflow: hidden;
}

#fondo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Evita que la imagen se deforme */
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 0 6%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Empuja el contenido hacia abajo de forma natural */
    padding-bottom: 8%;
}

.hero-main-title {
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.9;
    color: #ffffff;
    margin: 0 0 1rem 0;
    font-size: 2.8rem; /* Tamaño optimizado para el Galaxy en vertical */
}

#txt2 {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.4;
    margin: 0;
}

/* --- Ajustes específicos para Desktop (Pantallas grandes) --- */
@media (min-width: 992px) {
    .banner-content {
        display: block; /* Volvemos al esquema absoluto coordinado */
        padding-bottom: 0;
    }

    .hero-main-title {
        position: absolute;
        bottom: 12%;
        left: 5%;
        font-size: 7.5rem;
        margin: 0;
    }

    #txt2 {
        position: absolute;
        bottom: 12%;
        right: 15%;
        font-size: 0.9rem;
    }
}

/* --- Sección General de Contacto --- */
#contact-desktop {
    background-color: #000000;
    overflow: hidden;
}

/* Título estilo Eleven (masivo y brutal) */
.contact-title {
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.9;
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

/* Frase destacada */
.contact-sentence {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
}

/* Lista de preguntas */
.contact-questions {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #cccccc;
    margin: 0;
}

.text-muted-custom {
    color: #777777;
    font-style: italic;
}

/* Botón/Link 'Trabaja con Eleven' */
.btn-eleven-work {
    display: inline-block;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.btn-eleven-work:hover {
    color: #24f5f5; /* El color cian de acento del proyecto */
    border-color: #24f5f5;
}

/* Contenedor del formulario Livewire */
.form-container {
    padding: 1rem;
    background-color: rgba(
        255,
        255,
        255,
        0.03
    ); /* Fondo sutil para enmarcar el form */
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Media Queries Responsivas --- */

/* Tablets / Laptops medianas (MD) */
@media (min-width: 768px) {
    .contact-title {
        font-size: 4.5rem;
    }
    .contact-sentence {
        font-size: 1.5rem;
    }
}

/* Pantallas de Escritorio (LG) */
@media (min-width: 992px) {
    .contact-title {
        font-size: 5.5rem;
    }
    .form-container {
        padding: 1.5rem;
    }
}

/* --- Nuevos estilos Footer Móvil  --- */

#footer-movil {
    background-color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#footer-movil {
    background-color: #000000;
}

.footer-logo {
    width: 120px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-slogan {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 0 auto;
}

.footer-section-title {
    font-weight: 900;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: #777777;
}

.footer-nav-links a {
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-nav-links a:hover {
    color: #ff4a00;
}

.footer-legal-links a {
    color: #aaaaaa;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.03em;
}

.footer-phone {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
}

.footer-socials img {
    width: 26px !important;
    height: 26px !important;
    object-fit: contain;
    filter: brightness(1);
    transition: transform 0.2s ease;
}

.footer-socials a:hover img {
    transform: scale(1.15);
}

.footer-address {
    font-size: 0.75rem;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}

.footer-accent-strip {
    background-color: #ff4a00;
    height: 8px;
    width: 100%;
}

/* --------------------------- */
.hero-subtitle {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: #cccccc;
    min-height: 2.8em;
}

.typing-cursor {
    display: inline-block;
    color: #ff4a00;
    font-weight: 900;
    margin-left: 2px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@media (min-width: 992px) {
    .parrafo {
        position: absolute;
        bottom: 6%;
        right: 15%;
        font-size: 0.9rem;
    }
}

/* ----------------------------------- */
.section-main-title {
    font-size: 2.8rem; /* Más grande e impactante */
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.5px #ffffff;
}

.text-solid {
    color: #ffffff;
}

.section-tag {
    font-weight: 800;
    font-size: 0.75rem;
    color: #ff4a00; /* Naranja Eleven */
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

/* ---------------------------------------------- */
.hero-team-title {
    font-weight: 900;
    font-size: 3.8rem;
    line-height: 0.9;
    letter-spacing: -0.03em;
}

.team-manifesto {
    border-left: 3px solid #ff4a00;
    padding-left: 1rem;
    color: #cccccc;
    font-size: 0.95rem;
    font-style: italic;
}

/* ------------------------SERVICIOS ENCABEZADO------------------------- */

.services-tag {
    color: #ff4a00;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.services-main-title {
    font-size: 3.5rem; /* Tamaño de alto impacto en Desktop */
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

/* Texto transparente con contorno blanco */
.services-main-title .text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.8px #ffffff;
}

/* Texto sólido */
.services-main-title .text-solid {
    color: #ffffff;
}

/* Ajuste sutil para pantallas móviles */
@media (max-width: 768px) {
    .services-main-title {
        font-size: 2.2rem;
    }
    .services-main-title .text-stroke {
        -webkit-text-stroke: 1.2px #ffffff;
    }
}

/* --------------------SERVICIOS TABLE------------------------- */
/* Marco contenedor principal de los bloques */
.services-block-border {
    border: 1.5px solid #ffffff;
    border-radius: 4px;
    overflow: hidden;
    background-color: #000000;
}

/* Ítem individual de servicio */
.service-accordion-item {
    border-bottom: 1.5px solid #ffffff;
    padding: 1.5rem;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.35s cubic-bezier(0.25, 1, 0.5, 1),
        padding 0.35s ease;
}

/* Eliminamos el borde inferior al último elemento dentro de cada contenedor */
.services-block-border .service-accordion-item:last-child {
    border-bottom: none;
}

/* Efecto Hover (sútil indicación antes de dar clic) */
.service-accordion-item:hover:not(.active) {
    background-color: rgba(255, 74, 0, 0.15); /* Ligero destello naranja */
}

/* ESTADO ACTIVO (Naranja Eleven) */
.service-accordion-item.active {
    background-color: #ff4a00;
    color: #ffffff;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    padding-right: 1rem;
}

/* Animación de la Flecha */
.service-arrow {
    font-size: 1.4rem;
    font-weight: 400;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.service-accordion-item.active .service-arrow {
    transform: rotate(45deg); /* Gira suavemente a diagonal */
}

/* Animación del contenido desplegable */
.service-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease,
        margin-top 0.3s ease;
}

.service-accordion-item.active .service-content {
    max-height: 200px; /* Permite desplegar el texto sin saltos bruscos */
    opacity: 1;
    margin-top: 0.85rem;
}

.service-content p {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
    color: #ffffff;
}

.services-manifesto .manifesto-sub {
    font-size: 0.82rem;
    color: #aaaaaa;
    margin-bottom: 0.4rem;
}

.services-manifesto .manifesto-main {
    font-size: 1.25rem;
    color: #ffffff;
    line-height: 1.2;
}

.service-accordion-item.active:hover {
    background-color: #e04100; /* Naranja un poco más oscuro al pasar el mouse */
}

.service-accordion-item.active {
    background-color: #ff4a00;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(255, 74, 0, 0.35); /* Glow sutil */
    position: relative;
    z-index: 2; /* Para que la sombra quede por encima del borde */
}

/* ----------- SLIDER BANNER BLOG ---------------------------- */

.text-orange {
    color: #ff4a00 !important;
}
.border-orange {
    border-color: #ff4a00 !important;
}
.text-gray {
    color: #aaaaaa !important;
}
.max-w-7xl {
    max-width: 1320px;
}

/* TÍTULO PRINCIPAL */
.blog-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
}

/* CONTENEDOR VISOR DERECHO */
/* .blog-image-viewport {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 24px;
    overflow: hidden;
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.08);
} */

/* Contenedor del Visor */
.blog-image-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: transparent; /* Permite integrarse al fondo negro */
}

.blog-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.blog-slide-item.active {
    opacity: 1;
    visibility: visible;
}

.blog-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* BARRA DE PROGRESO DE CONTROL */
.blog-progress-bar {
    width: 140px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    border-radius: 2px;
}

.blog-progress-fill {
    height: 100%;
    background-color: #ff4a00;
    transition: width 0.4s ease;
}

/* EFECTO 1: Máscara CSS para desvanecer el borde izquierdo */
.blog-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Difumina el borde izquierdo de 0% a 30% hacia el negro absoluto */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
    mask-image: linear-gradient(to right, transparent 0%, black 35%);
}

/* EFECTO 2 (Opcional): Overlay de gradiente en lugar de máscara */
.blog-image-viewport::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40%; /* Cubre el lado izquierdo de la imagen */
    height: 100%;
    background: linear-gradient(to right, #000000 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* ------------------------------------------------------------------------------------------------------ */
/* Tipografía Masiva Alineada */
.blog-tag {
    color: #ff4a00;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.blog-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.text-orange {
    color: #ff4a00;
}

.blog-manifesto {
    font-size: 1rem;
    line-height: 1.6;
    color: #cccccc;
    max-width: 480px;
    border-left: 2px solid #ff4a00;
    padding-left: 1rem;
}

/* Tarjeta Inclinada a la Derecha */
.blog-card-slider {
    width: 380px;
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    transform: rotate(5deg); /* Inclinación elegante a la derecha */
    box-shadow: -15px 20px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.blog-card-slider:hover {
    transform: rotate(2deg) scale(1.02);
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-title {
        font-size: 2.8rem;
    }
    .blog-card-slider {
        width: 300px;
        height: 380px;
        transform: rotate(3deg);
    }
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Pestañas de Categorías estilo Minimal */
.blog-nav-tabs .blog-tab-btn {
    background: none;
    border: none;
    color: #888888;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    padding-bottom: 0.75rem;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.blog-nav-tabs .blog-tab-btn:hover,
.blog-nav-tabs .blog-tab-btn.active {
    color: #ffffff;
}

.blog-nav-tabs .blog-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff4a00;
}

/* Ítems de la Lista Izquierda */
.blog-list-item {
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-list-item:hover {
    background-color: rgba(255, 74, 0, 0.08);
    border-left-color: rgba(255, 74, 0, 0.5);
}

.blog-list-item.active {
    border-left-color: #ff4a00;
    background-color: rgba(255, 74, 0, 0.15);
}

.blog-item-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

/* Tarjeta Destacada Derecha */
.bg-dark-card {
    background-color: #0d0d0d;
}

.bg-orange {
    background-color: #ff4a00;
}

.text-orange {
    color: #ff4a00;
}

.featured-title {
    font-size: 2.2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.featured-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-eleven-link {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: gap 0.3s ease;
}

.btn-eleven-link:hover {
    gap: 0.75rem !important;
}

/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-..-.-.-.-.-.-.-. ESTILOS CASOS EXITO-.-.-.-.-.-..-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. */
.cases-hero-section {
    min-height: 90vh; /* O 100vh según prefieras */
    width: 100%;
    background: url("../images/casos/backcasos.png") center center / cover
        no-repeat;
    background-color: #000000; /* Fallback */
}

/* TIPOGRAFÍA SUPERIOR */
.hero-category-tag {
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* TÍTULO PRINCIPAL */
.main-hero-title {
    font-size: clamp(2.8rem, 7.5vw, 6.5rem);
    line-height: 0.88;
    letter-spacing: -0.03em;
    font-weight: 900;
}

/* EFECTO MOTION BLUR PARA "DON'T DO" */
.blurred-text {
    position: relative;
    /* Blur horizontal emulando movimiento en velocidad */
    filter: blur(4px);
    opacity: 0.9;
    transform: scaleX(1.03); /* Ligero estiramiento horizontal */
    transition: filter 0.5s ease;
}

/* Si quieres que al pasar el mouse sobre la frase se des-borre levemente */
.main-hero-title:hover .blurred-text {
    filter: blur(1px);
}

/* TEXTOS SECUNDARIOS LATERALES */
.side-caption {
    font-size: clamp(0.65rem, 0.8vw, 0.75rem);
    line-height: 1.4;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

/* MEDIA QUERIES PARA MOBILE */
@media (max-width: 767.98px) {
    .main-hero-title {
        margin-bottom: 1.5rem !important;
    }
    .side-caption {
        font-size: 0.7rem;
    }
}

/* .max-w-7xl {
    max-width: 1200px;
}
.max-w-xl {
    max-width: 580px;
}

.casos-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.02em;
    color: #ffffff;
}

.casos-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #aaaaaa;
} */

/* .-.-.-.-.--.-.-.-.-.-.-.-.. */
.brand-card {
    background-color: #ffffff;
    border-radius: 20px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.brand-logo {
    max-width: 85%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;

    filter: grayscale(100%) opacity(0.85);
    transition: filter 0.35s ease, transform 0.35s ease;
}

.brand-card:hover .brand-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05); /* Efecto sutil de zoom */
}

.arrow-icon {
    font-size: 1.2rem;
    line-height: 1;
    color: #ffffff;
    font-weight: 700;
}

.service-title {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.service-list {
    list-style: none;
    padding-left: 1.5rem;
    margin: 0;
}

.service-list li {
    font-size: 0.68rem;
    color: #888888;
    margin-bottom: 0.35rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.--------.---.-. */
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-..-.-.-.-.-.-.-. ESTILOS NOTA-.-.-.-.-.-..-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. */
/* Título Principal Tipografía Brutalista */
.magazine-title {
    font-size: clamp(2.2rem, 3.5vw, 3.8rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.magazine-lead {
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Imagen de Portada con Marco Estilizado */
.magazine-cover-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px;
    background: #0a0a0a;
}

.magazine-cover-img {
    height: 380px;
    object-fit: cover;
    filter: grayscale(20%) contrast(110%);
}

/* Cuerpo de Texto HTML (Procesado de la BD) */
.magazine-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 2rem;
}

.magazine-body h2 {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.magazine-body h2::before {
    content: "//";
    color: #ff4a00;
    font-family: monospace;
}

.magazine-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.magazine-body ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #e0e0e0;
}

.magazine-body ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ff4a00;
    font-family: monospace;
}

/* Índice Flotante Lateral */
.article-index li {
    margin-bottom: 0.8rem;
}

.article-index a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-index li.active a,
.article-index a:hover {
    color: #ff4a00;
}

/* Caja CTA de Cierre */
.magazine-cta-box {
    background: #0c0c0c;
    border: 1px solid #ff4a00;
    position: relative;
}

/* Botones */
.btn-orange {
    background-color: #ff4a00;
    color: #000;
    font-weight: 800;
    border-radius: 0;
    padding: 0.75rem 1.5rem;
}

.btn-outline-orange {
    border: 1px solid #ff4a00;
    color: #ff4a00;
    background: transparent;
    border-radius: 0;
}

.btn-outline-orange:hover {
    background: #ff4a00;
    color: #000;
}

.img-caption {
    font-size: 0.7rem;
    color: #777;
    margin-top: 8px;
    display: block;
}

/* .--.-.-.-.-.-.-.-.-.-.-.-.-.-.-.--.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. */
/* .max-w-7xl {
    max-width: 1200px;
}
.text-orange {
    color: #ff4a00 !important;
}
.text-gray {
    color: #aaaaaa !important;
}
.extra-small {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.case-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1;
}

.case-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #ffffff;
}

.case-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

.case-media-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.case-media-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-discover {
    transition: opacity 0.3s ease;
}

.discover-icon {
    width: 44px;
    height: 44px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-discover:hover .discover-icon {
    background-color: #ffffff;
    color: #000000;
    transform: translateX(5px);
}

.btn-discover:hover .discover-text {
    color: #ffffff !important;
}

@media (max-width: 767.98px) {
    .discover-action-wrap {
        margin-bottom: 2rem;
    }
}

 */

/* Estilos Base y Utilidades */
.max-w-7xl {
    max-width: 1200px;
}
.text-orange {
    color: #ff4a00 !important;
}
.text-gray {
    color: #aaaaaa !important;
}
.extra-small {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* Tipografía */
.case-title {
    font-weight: 650;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1;
}

.case-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #ffffff;
}

.case-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contenedores de Media (Imagen / Video) */
.case-media-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    /* background-color: #d9d9d9;  */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.case-media-content {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-fit: fill !important;
    display: block;
}

/* Placeholder temporal gris */
.case-media-placeholder {
    width: 100%;
    height: 100%;
    background-color: #d0d0d0;
    color: #333333;
    padding: 2rem;
    text-align: center;
}

/* Botón Descubrir Proyecto */
.btn-discover {
    transition: opacity 0.3s ease;
}

.discover-icon {
    width: 44px;
    height: 44px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-discover:hover .discover-icon {
    background-color: #ffffff;
    color: #000000;
    transform: translateX(5px);
}

.btn-discover:hover .discover-text {
    color: #ffffff !important;
}

/* Ajuste Responsivo Móvil */
@media (max-width: 767.98px) {
    .discover-action-wrap {
        margin-bottom: 2rem;
    }
}

/* -------------------------------------------------------------- */
/* --------------------DETALLE DE CASOS DE EXITO -----------------*/
/* Utilidades de Tamaño y Color */
.max-w-7xl {
    max-width: 1240px;
}
.text-orange {
    color: #ff4a00 !important;
}
.text-gray {
    color: #aaaaaa !important;
}
.extra-small {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

/* NAV SUPERIOR */
.case-detail-nav {
    position: relative;
    z-index: 10;
}

/* 1. HERO DE IMAGEN PRINCIPAL (BANNER SUPERIOR) */
.case-hero-image-wrapper {
    width: 100%;
    aspect-ratio: 21 / 9; /* Proporción panorámica estilo cine */
    max-height: 1020px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.case-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px; /* Ligera curvatura o 0px según preferencia */
}

/* 2. BADGE CON BORDE (TAG PILL) */
.tag-pill {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid #ff4a00;
    border-radius: 50px; /* Forma de píldora redondeada */
    background-color: transparent;
}

/* 3. TIPOGRAFÍAS DE TEXTO */
.case-detail-title {
    font-size: clamp(3rem, 6vw, 4.8rem);
    letter-spacing: -0.03em;
    line-height: 0.9;
    color: #ffffff;
    font-weight: 950;
}

.case-detail-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: #ffffff;
}

.case-text-short,
.case-text-long {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #b0b0b0;
}

/* 4. TARJETÓN DE VIDEO (BORDES MUY REDONDEADOS COMO FIGMA) */
.case-video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 32px; /* Esquinas muy suaves como la maqueta */
    overflow: hidden;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.case-video-content {
    width: 100%;
    height: 100%;
    /* object-fit: fill; */
    object-fit: cover;
    display: block;
}

/* AJUSTES RESPONSIVOS */
@media (max-width: 767.98px) {
    .case-hero-image-wrapper {
        aspect-ratio: 16 / 9;
    }
    .case-video-wrapper {
        border-radius: 18px; /* Menos curvatura en celulares */
    }
}

/* --------------------------------------------------------- */
/* ---------- BANNER DETALLE CASOS DE EXITO ---------------- */
.extra-small {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.hero-hud-wrapper {
    height: 75vh;
    min-height: 480px;
    background-color: #050505;
}

.hero-hud-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-hud-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
}

.z-2 {
    z-index: 2;
}

.hero-hud-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.88;
    letter-spacing: -0.02em;
    font-weight: 900;
}

.space-tittle {
    margin-top: 1rem;
}

/* --------------------------------------------------------- */
