/********** Template CSS **********/
:root {
    --primary: #df0e13;
    --light: #F6F7F8;
    --dark: #262626;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/* ============================================
   MODERN CAROUSEL - Hero Section
   ============================================ */

/* Carousel Container */
.modern-carousel {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Individual Slide */
.carousel-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

/* Background Image con Parallax */
.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 8s ease-out;
}

.carousel-slide:hover .carousel-image {
    transform: scale(1.05);
}

/* Overlay Moderno con Degradado */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(223, 14, 19, 0.8) 0%,
        rgba(38, 38, 38, 0.85) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 1;
}

/* Content Container */
.carousel-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    padding: 80px 0;
}

.content-wrapper {
    position: relative;
}

/* Slide Badge */
.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 25px;
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.slide-badge i {
    color: #df0e13;
    font-size: 1.2rem;
    background: white;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.slide-badge span {
    color: white;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Carousel Title */
.carousel-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel-title .highlight-text {
    color: #df0e13;
    position: relative;
    display: inline-block;
}

.carousel-title .highlight-text::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(223, 14, 19, 0.3);
    z-index: -1;
}

/* Carousel Description */
.carousel-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 600px;
    font-weight: 400;
}

/* Features List */
.carousel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(223, 14, 19, 0.2);
    border-color: #df0e13;
    transform: translateY(-3px);
}

.feature-item i {
    color: #df0e13;
    font-size: 1rem;
}

.feature-item span {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

/* Modern Buttons */
.carousel-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-modern span,
.btn-modern i {
    position: relative;
    z-index: 1;
}

/* Primary Button */
.btn-modern.primary {
    background: #df0e13;
    color: white;
    box-shadow: 0 10px 30px rgba(223, 14, 19, 0.4);
}

.btn-modern.primary:hover {
    background: #c41010;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(223, 14, 19, 0.6);
}

/* Secondary Button */
.btn-modern.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-modern.secondary:hover {
    background: white;
    color: #df0e13;
    transform: translateY(-3px);
}

/* Navigation Arrows */
.modern-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.modern-carousel .owl-nav button {
    position: absolute;
    width: 60px !important;
    height: 60px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    color: white !important;
    font-size: 24px !important;
    transition: all 0.4s ease !important;
    pointer-events: all !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modern-carousel .owl-nav button.owl-prev {
    left: 30px !important;
}

.modern-carousel .owl-nav button.owl-next {
    right: 30px !important;
}

.modern-carousel .owl-nav button:hover {
    background: #df0e13 !important;
    border-color: #df0e13 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 10px 30px rgba(223, 14, 19, 0.5) !important;
}

/* Modern Dots */
.modern-carousel .owl-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    gap: 12px;
    z-index: 10;
}

.modern-carousel .owl-dot {
    width: 50px !important;
    height: 6px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 10px !important;
    transition: all 0.4s ease !important;
    border: none !important;
    outline: none !important;
}

.modern-carousel .owl-dot.active {
    width: 80px !important;
    background: #df0e13 !important;
    box-shadow: 0 5px 15px rgba(223, 14, 19, 0.5) !important;
}

.modern-carousel .owl-dot:hover {
    background: rgba(255, 255, 255, 0.6) !important;
}

/* Animaciones de entrada */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE - TABLET */
@media (max-width: 991px) {
    .carousel-slide {
        height: 80vh;
        min-height: 600px;
    }
    
    .carousel-title {
        font-size: 3.5rem;
    }
    
    .carousel-description {
        font-size: 1.1rem;
    }
    
    .modern-carousel .owl-nav button {
        width: 50px !important;
        height: 50px !important;
    }
    
    .modern-carousel .owl-nav button.owl-prev {
        left: 20px !important;
    }
    
    .modern-carousel .owl-nav button.owl-next {
        right: 20px !important;
    }
}

/* RESPONSIVE - MÓVIL */
@media (max-width: 767px) {
    .carousel-slide {
        height: auto;
        min-height: 100vh;
    }
    
    .carousel-content {
        padding: 60px 0 100px;
    }
    
    .carousel-title {
        font-size: 2.5rem;
    }
    
    .carousel-title .highlight-text::after {
        height: 5px;
    }
    
    .carousel-description {
        font-size: 1rem;
    }
    
    .carousel-features {
        gap: 10px;
    }
    
    .feature-item {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .btn-modern {
        padding: 14px 28px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .modern-carousel .owl-nav {
        display: none !important;
    }
    
    .modern-carousel .owl-dots {
        bottom: 20px;
    }
    
    .modern-carousel .owl-dot {
        width: 40px !important;
    }
    
    .modern-carousel .owl-dot.active {
        width: 60px !important;
    }
}
/* ============================================
   HEADERS DE PÁGINAS - Imágenes específicas
   ============================================ */

/* Header por defecto (para todas las páginas sin clase específica) */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

/* Header de INVESTORS */
.page-header-investors {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/inversors.jpg) center center no-repeat !important;
    background-size: cover !important;
}

/* Header de ABOUT */
.page-header-about {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/aboutus.jpg) center center no-repeat !important;
    background-size: cover !important;
}

/* Header de SERVICE */
.page-header-service {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/services.jpg) center center no-repeat !important;
    background-size: cover !important;
}

/* Header de TESTIMONIAL - CLASE CORREGIDA */
.page-header-testimonial {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/TESTIMONIES.jpg) center center no-repeat !important;
    background-size: cover !important;
}
/* Header de CONTACT */
.page-header-contact {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/contact-hero.jpg) center center no-repeat !important;
    background-size: cover !important;
}

/* Header de our team - CLASE CORREGIDA */
.page-header-ourteam {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/outeam.webp) center center no-repeat !important;
    background-size: cover !important;
}

/* Header de BLOG */
.page-header-blog {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/blog.jpg) center center no-repeat !important;
    background-size: cover !important;
}
/* Header de catalog */
.page-header-catalog {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url("../img/catalogo.png") center center no-repeat !important;
    background-size: cover !important;
}
/* Header de projects */
.page-header-projects {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url("../img/projects.jpg") center center no-repeat !important;
    background-size: cover !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 100px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover .service-icon {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-img::before,
.portfolio-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    background: var(--dark);
    transition: .5s;
}

.portfolio-img::before {
    left: 50%;
}

.portfolio-img::after {
    right: 50%;
}

.portfolio-item:hover .portfolio-img::before {
    width: 51%;
    left: 0;
}

.portfolio-item:hover .portfolio-img::after {
    width: 51%;
    right: 0;
}

.portfolio-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    transition-delay: .3s;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    border-radius: 8px 60px 0 0;
}

.team-item .team-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #FFFFFF;
    transition: .5s;
}





/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    color: #9B9B9B;
    border: 1px solid #9B9B9B;
    border-radius: 38px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #9B9B9B;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/* ============================================
   NAVBAR PRINCIPAL (Logo + Búsqueda + Teléfono)
   ============================================ */
.navbar.bg-white {
    padding: 10px 0 !important;
    min-height: auto !important;
}

.navbar-brand {
    padding: 5px 0 !important;
    margin: 0 !important;
    height: auto !important;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 80px !important;  /* ← Tamaño del logo */
    width: auto;
    display: block;
    object-fit: contain;
}

/* ============================================
   MENU INFERIOR (HOME, ABOUT, etc.)
   ============================================ */
nav[style*="background: #df0e13"] {
    min-height: auto !important;
}

nav[style*="background: #df0e13"] .nav-link {
    padding: 10px 20px !important;  /* ← Altura del menú */
    font-weight: 500;
    transition: all 0.3s;
    font-size: 14px;
    line-height: 1.5;
}

nav[style*="background: #df0e13"] .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Search input */
.input-group .form-control:focus {
    border-color: #df0e13;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-logo {
        height: 50px !important;
    }
    
    .col-lg-7, .col-lg-3 {
        margin-top: 10px;
    }
}

/* ============================================
   POWER ENDS MAINTENANCE - Gráficas Animadas
   ============================================ */

/* Animación de las barras de progreso */
.progress-bar {
    animation: progressAnimation 2s ease-in-out;
}

@keyframes progressAnimation {
    0% { width: 0%; }
}

/* Círculos de progreso animados */
.progress-circle circle:last-child {
    animation: circleProgress 2s ease-in-out forwards;
}

@keyframes circleProgress {
    0% { stroke-dashoffset: 408; }
}

/* Hover effect en las tarjetas */
.bg-white.rounded.shadow-sm {
    transition: all 0.3s ease;
}

.bg-white.rounded.shadow-sm:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important;
}

/* Iconos animados */
.bg-white.rounded.shadow-sm i {
    transition: transform 0.3s ease;
}

.bg-white.rounded.shadow-sm:hover i {
    transform: scale(1.2);
}

/* ============================================
   LOGISTICS - Timeline con Camiones Animados
   ============================================ */

/* Línea de timeline horizontal */
.timeline-line {
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(to right, #df0e13 0%, #df0e13 100%);
    z-index: 0;
    animation: lineGrow 2s ease-in-out;
}

@keyframes lineGrow {
    0% { width: 0; }
    100% { width: 80%; }
}

/* Puntos del timeline */
.timeline-dot {
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #df0e13;
    border: 4px solid white;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(223, 14, 19, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(223, 14, 19, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(223, 14, 19, 0.1); }
}

/* Container de camiones */
.truck-container {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animación de camiones moviéndose */
.truck-icon {
    animation: truckMove 3s ease-in-out infinite;
}

@keyframes truckMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* Puntos de carga animados */
.loading-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: #df0e13;
    border-radius: 50%;
    display: inline-block;
    animation: dotBounce 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Cards de logística */
.logistics-card {
    position: relative;
    padding-top: 80px;
}

.logistics-content {
    transition: all 0.3s ease;
    border-radius: 15px !important;
}

.logistics-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(223, 14, 19, 0.2) !important;
}

/* Barra de carga en las tarjetas */
.loading-bar {
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #df0e13, #ff6b6b);
    animation: loadBar 2s ease-in-out forwards;
}

@keyframes loadBar {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Delay para cada card */
.logistics-card:nth-child(1) .loading-bar::after { animation-delay: 0.1s; }
.logistics-card:nth-child(2) .loading-bar::after { animation-delay: 0.3s; }
.logistics-card:nth-child(3) .loading-bar::after { animation-delay: 0.5s; }
.logistics-card:nth-child(4) .loading-bar::after { animation-delay: 0.7s; }

/* Iconos de características */
.logistics-content .fas {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 991px) {
    .timeline-line {
        display: none;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .logistics-card {
        margin-bottom: 30px;
    }
}

/* ============================================
   INVESTOR SECTION - Compacto y Limpio
   ============================================ */

/* Investment Cards */
.investment-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.investment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.investment-card:hover::before {
    left: 100%;
}

.investment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Featured Card */
.investment-card.featured {
    border: 2px solid #FFD700;
    transform: scale(1.02);
}

.featured-tag {
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    padding: 4px 35px;
    font-size: 11px;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* Card Header - MÁS COMPACTO */
.investment-header {
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    padding: 20px 15px;
    text-align: center;
    position: relative;
}

.quick-growth .investment-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.major-stake .investment-header {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.strategic-partner .investment-header {
    background: linear-gradient(135deg, #df0e13, #c41010);
}

.investment-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.investment-label {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.investment-badge-ribbon {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: bold;
    backdrop-filter: blur(10px);
}

/* Card Body - MÁS COMPACTO */
.investment-body {
    padding: 20px 20px 25px;
}

.investment-amount {
    text-align: center;
    margin-bottom: 15px;
}

.investment-amount .currency {
    font-size: 1.5rem;
    color: #df0e13;
    font-weight: 700;
    vertical-align: super;
}

.investment-amount .amount {
    font-size: 2.2rem;
    color: #1e3c72;
    font-weight: 900;
    display: inline-block;
    animation: numberPop 1s ease-out;
}

@keyframes numberPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.investment-feature {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.investment-feature i {
    color: #df0e13;
    font-size: 1.1rem;
}

.investment-feature.highlighted {
    background: linear-gradient(135deg, #fff3cd, #ffd700);
    border: 2px solid #FFD700;
}

/* ROI Calculator - MÁS COMPACTO */
.roi-calculator {
    background: #f0f8ff;
    border-left: 3px solid #667eea;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
}

.roi-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
}

.roi-item:last-child {
    margin-bottom: 0;
}

.roi-label {
    color: #666;
}

.roi-value {
    font-weight: 700;
    color: #1e3c72;
}

/* Equity Circle - MÁS PEQUEÑO */
.equity-display {
    text-align: center;
    margin: 15px 0;
}

.equity-circle {
    width: 100px;
    height: 100px;
    position: relative;
    margin: 0 auto;
}

.equity-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.equity-progress {
    stroke-linecap: round;
    animation: drawCircle 2s ease-out forwards;
}

@keyframes drawCircle {
    from { stroke-dashoffset: 283; }
}

.equity-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
    font-weight: 900;
    color: #1e3c72;
}

/* Simple Perks - MÁS COMPACTO */
.simple-perks {
    margin-top: 15px;
}

.simple-perk {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13px;
    color: #333;
    border-left: 3px solid #FFD700;
    transition: all 0.3s;
}

.simple-perk:hover {
    transform: translateX(5px);
    background: #e9ecef;
}

/* Simple Benefits - MÁS COMPACTO */
.simple-benefits {
    margin-top: 15px;
}

.benefit-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.benefit-row span {
    flex: 1;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #df0e13;
    transition: all 0.3s;
}

.benefit-row span:hover {
    background: #df0e13;
    color: white;
    transform: scale(1.05);
}

/* Trust Indicators */
.trust-indicator {
    padding: 15px;
    transition: all 0.3s;
}

.trust-indicator:hover {
    transform: translateY(-5px);
}

.trust-indicator:hover i {
    animation: bounce 0.5s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Responsive */
@media (max-width: 991px) {
    .investment-card.featured {
        transform: scale(1);
    }
    
    .investment-amount .amount {
        font-size: 2rem;
    }
    
    .equity-circle {
        width: 90px;
        height: 90px;
    }
}

/* ============================================
   SERVICES SECTION - Silverback Brand Colors
   ============================================ */

/* Services Badge */
.services-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: rotateBadge 3s linear infinite;
}

@keyframes rotateBadge {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

/* Premium Service Cards */
.service-premium-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
}

.service-premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(223, 14, 19, 0.3);
}

.premium-header {
    background: linear-gradient(135deg, #df0e13, #c41010);
    padding: 25px;
    text-align: center;
    position: relative;
}

.maintenance-header {
    background: linear-gradient(135deg, #262626, #3d3d3d);
}

.premium-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.premium-header h2 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.premium-body {
    padding: 25px;
}

.premium-body p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}

.highlight-text {
    background: linear-gradient(135deg, #F6F7F8, #e9ecef);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #df0e13;
    font-weight: 600;
    color: #262626;
}

.highlight-text i {
    color: #df0e13;
    margin-right: 8px;
}

.benefit-badge {
    background: #F6F7F8;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #df0e13;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefit-badge i {
    color: #df0e13;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-badge span {
    color: #262626;
    font-weight: 600;
    font-size: 14px;
}

/* Animated Dots */
.animated-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.animated-dots span {
    width: 8px;
    height: 8px;
    background: #df0e13;
    border-radius: 50%;
    display: inline-block;
    animation: dotJump 1.4s infinite ease-in-out;
}

.animated-dots span:nth-child(1) { animation-delay: -0.32s; }
.animated-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes dotJump {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Pulse Animation */
.pulse-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: rgba(223, 14, 19, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulseExpand 2s infinite;
    pointer-events: none;
}

@keyframes pulseExpand {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* Flip Cards for Services */
.service-flip-card {
    perspective: 1000px;
    height: 200px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.service-flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.flip-card-front {
    background: linear-gradient(135deg, #F6F7F8, #e9ecef);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.flip-card-back {
    background: linear-gradient(135deg, #df0e13, #c41010);
    color: white;
    transform: rotateY(180deg);
}

.service-icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(223, 14, 19, 0.3);
}

.service-icon-box i {
    font-size: 2rem;
    color: white;
}

.flip-card-front h5 {
    font-weight: 700;
    color: #262626;
    margin: 0;
    text-align: center;
}

.flip-card-back p {
    font-size: 15px;
    text-align: center;
    margin: 0;
}

/* Benefit Cards */
.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(223, 14, 19, 0.2);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: iconPulse 2s infinite;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.benefit-card h5 {
    font-weight: 700;
    color: #df0e13;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.benefit-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.benefit-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #df0e13, #ff6b6b, #df0e13);
    background-size: 200% 100%;
    animation: waveMove 3s linear infinite;
}

@keyframes waveMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Facility Banner */
.facility-banner {
    background: linear-gradient(135deg, #262626, #3d3d3d);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(38, 38, 38, 0.3);
}

.facility-icon {
    width: 80px;
    height: 80px;
    background: rgba(223, 14, 19, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #df0e13;
    animation: buildingFloat 3s ease-in-out infinite;
    border: 3px solid rgba(223, 14, 19, 0.5);
}

@keyframes buildingFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.facility-banner h4 {
    font-weight: 700;
}

/* Título principal de servicios */
.services-section-title {
    color: #df0e13;
    font-weight: 900;
}

.services-subtitle {
    color: #262626;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 991px) {
    .premium-header h2 {
        font-size: 1.1rem;
    }
    
    .service-flip-card {
        height: 180px;
    }
    
    .facility-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* ============================================
   TESTIMONIALS - Modern Design with Verified Badge
   ============================================ */

/* Badge animado */
.testimonial-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    animation: testimonialBadgePulse 2s infinite;
}

@keyframes testimonialBadgePulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(223, 14, 19, 0.7); 
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 0 0 15px rgba(223, 14, 19, 0); 
    }
}

/* Card moderna de testimonial */
.testimonial-item-modern {
    padding: 15px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #df0e13, #ff6b6b);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(223, 14, 19, 0.15);
}

/* Quote icon */
.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F6F7F8, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #df0e13;
    font-size: 1.2rem;
    opacity: 0.3;
}

/* VERIFIED COMMENT BADGE - Estilo Amazon */
.verified-comment-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #262626, #6d6d6d);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(176, 177, 182, 0.3);
    animation: badgeShine 3s infinite;
    position: relative;
    overflow: hidden;
}

.verified-comment-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes badgeShine {
    0%, 100% { 
        box-shadow: 0 3px 10px rgba(176, 177, 182, 0.3); 
    }
    50% { 
        box-shadow: 0 5px 20px rgba(176, 177, 182, 0.5); 
    }
}

.verified-comment-badge i {
    font-size: 14px;
}

/* Header del testimonio */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.testimonial-img-wrapper {
    position: relative;
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #F6F7F8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: #df0e13;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.verified-badge i {
    color: white;
    font-size: 10px;
}

/* Info del cliente */
.testimonial-info {
    flex: 1;
    text-align: left;
}

.client-name {
    color: #262626;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.client-position {
    color: #666;
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
}

.rating-stars {
    display: flex;
    gap: 3px;
}

.rating-stars i {
    color: #FF9500;
    font-size: 14px;
}

/* Contenido del testimonio */
.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
    font-style: italic;
    margin: 0;
}

/* Footer del testimonio */
.testimonial-footer {
    padding-top: 15px;
    border-top: 1px solid #F6F7F8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.company-name {
    color: #df0e13;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.company-name i {
    font-size: 12px;
}

.review-date {
    color: #999;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Trust Stats */
.trust-stat {
    padding: 20px;
    transition: all 0.3s;
}

.trust-stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    color: #df0e13;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* RESPONSIVE - MÓVIL */
@media (max-width: 767px) {
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .verified-comment-badge {
        font-size: 11px;
        padding: 6px 14px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .testimonial-info {
        text-align: center;
    }
    
    .rating-stars {
        justify-content: center;
    }
    
    .testimonial-footer {
        flex-direction: column;
        text-align: center;
    }
}
.review-location-date {
    color: #666;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-location-date i {
    color: #999;
    font-size: 11px;
}
/* ============================================
   OWL CAROUSEL - Navegación Mejorada
   ============================================ */

/* Ocultar las flechas por defecto dentro de las cards */
/*.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    transform: translateY(-50%);
    margin: 0 !important;
    pointer-events: none;
}

.testimonial-carousel .owl-nav button {
    position: absolute;
    width: 50px !important;
    height: 50px !important;
    background: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #df0e13 !important;
    font-size: 20px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s !important;
    pointer-events: all;
    border: 2px solid #F6F7F8 !important;
}

.testimonial-carousel .owl-nav button.owl-prev {
    left: -25px;
}

.testimonial-carousel .owl-nav button.owl-next {
    right: -25px;
}

.testimonial-carousel .owl-nav button:hover {
    background: #df0e13 !important;
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(223, 14, 19, 0.3) !important;
}

.testimonial-carousel .owl-nav button span {
    font-size: 24px;
    line-height: 1;
}*/

/* Dots del carousel */
.testimonial-carousel .owl-dots {
    margin-top: 30px !important;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.testimonial-carousel .owl-dot {
    width: 12px !important;
    height: 12px !important;
    background: #ddd !important;
    border-radius: 50% !important;
    transition: all 0.3s !important;
    border: none !important;
}

.testimonial-carousel .owl-dot.active {
    background: #df0e13 !important;
    width: 35px !important;
    border-radius: 6px !important;
}

.testimonial-carousel .owl-dot:hover {
    background: #ff6b6b !important;
}

/* Responsive - Ocultar flechas en móvil */
@media (max-width: 767px) {
    .testimonial-carousel .owl-nav {
        display: none !important;
    }
    
    .testimonial-carousel .owl-dots {
        margin-top: 20px !important;
    }
}
/* ============================================
   VIDEO TESTIMONIALS - YouTube Shorts Style
   ============================================ */

/* Badge animado */
.video-testimonial-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: videoBadgePulse 2s infinite;
}

@keyframes videoBadgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(223, 14, 19, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(223, 14, 19, 0); }
}

/* Video Testimonial Item */
.video-testimonial-item {
    padding: 15px;
}

.video-testimonial-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.video-testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(223, 14, 19, 0.2);
}

/* Video Container - Formato Shorts (9:16) */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16; /* Formato vertical tipo shorts */
    background: #262626;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.testimonial-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Play Overlay */
/*.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-container video:not([poster]):not([src]) + .play-overlay,
.video-container video[playing] + .play-overlay {
    opacity: 0;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(223, 14, 19, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: playPulse 2s infinite; */
    padding-left: 8px; /* Centrar el icono de play 
}*/

/*@keyframes playPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(223, 14, 19, 0.7); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(223, 14, 19, 0); }
}*/

.play-button:hover {
    transform: scale(1.15);
    background: #df0e13;
}

/* Video Duration Badge */
.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Client Info Section */
.video-testimonial-info {
    padding: 25px;
    display: flex;
    gap: 15px;
}

.client-avatar {
    position: relative;
    flex-shrink: 0;
}

.client-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #F6F7F8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.verified-badge-video {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: #df0e13;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.verified-badge-video i {
    color: white;
    font-size: 11px;
}

/* Client Details */
.client-details {
    flex: 1;
}

.client-name-video {
    color: #262626;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.client-position-video {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
}

.client-company {
    color: #df0e13;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.client-company i {
    font-size: 11px;
}

/* Star Rating System - PERSONALIZABLE */
.star-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.stars-container {
    display: flex;
    gap: 3px;
}

.stars-container i {
    font-size: 16px;
    transition: all 0.3s ease;
}

/* COLORES DE LAS ESTRELLAS - EDITA AQUÍ */
.star-filled {
    color: #FFA500; /* Naranja/Dorado - Estrella llena */
}

.star-half {
    color: #FFA500; /* Naranja/Dorado - Media estrella */
}

.star-empty {
    color: #ddd; /* Gris claro - Estrella vacía */
}

/* Alternativa: Usar el color corporativo rojo */
.stars-container.red-stars .star-filled,
.stars-container.red-stars .star-half {
    color: #df0e13; /* Rojo corporativo */
}

/* Efecto hover en estrellas */
.stars-container i:hover {
    transform: scale(1.2);
}

.rating-text {
    color: #262626;
    font-size: 15px;
    font-weight: 700;
}

/* Video Quote */
.video-quote {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    padding: 12px;
    background: #F6F7F8;
    border-radius: 10px;
    border-left: 3px solid #df0e13;
}

.video-quote i {
    color: #df0e13;
    font-size: 11px;
    margin-right: 6px;
}

/* Owl Carousel Navigation for Video */
.video-testimonial-carousel {
    position: relative;
}

.video-testimonial-carousel .owl-nav {
    position: absolute !important;
    top: 40% !important;
    width: 100% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.video-testimonial-carousel .owl-nav button {
    position: absolute !important;
    width: 50px !important;
    height: 50px !important;
    background: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #df0e13 !important;
    font-size: 22px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
    pointer-events: all !important;
    border: 2px solid #F6F7F8 !important;
}

.video-testimonial-carousel .owl-nav button.owl-prev {
    left: -70px !important;
}

.video-testimonial-carousel .owl-nav button.owl-next {
    right: -70px !important;
}

.video-testimonial-carousel .owl-nav button:hover {
    background: #df0e13 !important;
    color: white !important;
    transform: scale(1.15) !important;
    box-shadow: 0 8px 25px rgba(223, 14, 19, 0.4) !important;
}

/* Dots */
.video-testimonial-carousel .owl-dots {
    margin-top: 35px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
}

.video-testimonial-carousel .owl-dot {
    width: 12px !important;
    height: 12px !important;
    background: #ddd !important;
    border-radius: 50% !important;
    transition: all 0.4s ease !important;
    border: none !important;
}

.video-testimonial-carousel .owl-dot.active {
    background: #df0e13 !important;
    width: 40px !important;
    border-radius: 6px !important;
}

.video-testimonial-carousel .owl-dot:hover {
    background: #ff6b6b !important;
    transform: scale(1.2) !important;
}

/* Trust Stats */
.video-trust-stat {
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.video-trust-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(223, 14, 19, 0.15);
}

.trust-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    font-size: 2rem;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.trust-number {
    color: #df0e13;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.trust-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* RESPONSIVE - TABLET */
@media (max-width: 991px) {
    .carousel-slide {
        height: 100vh;
        min-height: 650px;
    }
    
    .carousel-content {
        padding: 100px 0 80px;
    }
    
    .carousel-title {
        font-size: 3rem;
    }
    
    .carousel-description {
        font-size: 1rem;
    }
    
    .modern-carousel .owl-nav button {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
    
    .modern-carousel .owl-nav button.owl-prev {
        left: 20px !important;
    }
    
    .modern-carousel .owl-nav button.owl-next {
        right: 20px !important;
    }
}

/* RESPONSIVE - MÓVIL */
@media (max-width: 767px) {
    .carousel-slide {
        height: 100vh;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .carousel-content {
        padding: 120px 0 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .content-wrapper {
        text-align: left;
        padding: 0 15px;
    }
    
    /* Badge más pequeño */
    .slide-badge {
        padding: 8px 20px;
        margin-bottom: 20px;
    }
    
    .slide-badge i {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .slide-badge span {
        font-size: 12px;
    }
    
    /* Título responsive */
    .carousel-title {
        font-size: 2.2rem !important;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .carousel-title br {
        display: none;
    }
    
    .carousel-title .highlight-text::after {
        height: 4px;
        bottom: 5px;
    }
    
    /* Descripción más compacta */
    .carousel-description {
        font-size: 0.95rem !important;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    
    /* Features en columna en móvil */
    .carousel-features {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .feature-item {
        width: 100%;
        padding: 10px 18px;
        justify-content: flex-start;
    }
    
    .feature-item i {
        font-size: 0.9rem;
    }
    
    .feature-item span {
        font-size: 13px;
    }
    
    /* Botones verticales */
    .carousel-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-modern {
        padding: 14px 30px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    /* Ocultar flechas en móvil */
    .modern-carousel .owl-nav {
        display: none !important;
    }
    
    /* Dots más abajo */
    .modern-carousel .owl-dots {
        bottom: 30px;
        gap: 8px;
    }
    
    .modern-carousel .owl-dot {
        width: 30px !important;
        height: 5px !important;
    }
    
    .modern-carousel .owl-dot.active {
        width: 50px !important;
    }
}

/* MÓVIL PEQUEÑO (iPhone SE, etc) */
@media (max-width: 375px) {
    .carousel-content {
        padding: 100px 0 90px;
    }
    
    .carousel-title {
        font-size: 2rem !important;
    }
    
    .carousel-description {
        font-size: 0.9rem !important;
    }
    
    .btn-modern {
        padding: 12px 25px;
        font-size: 13px;
    }
}
/* Overlay más suave en móvil */
@media (max-width: 767px) {
    .carousel-overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(223, 14, 19, 0.7) 30%,
            rgba(38, 38, 38, 0.85) 70%,
            rgba(0, 0, 0, 0.9) 100%
        );
    }
}
/* ============================================
   INVESTOR FAQ - Modern Design
   ============================================ */

/* FAQ Badge */
.faq-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: faqBadgePulse 2s infinite;
}

@keyframes faqBadgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(223, 14, 19, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(223, 14, 19, 0); }
}

/* FAQ Card */
.faq-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    gap: 25px;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #df0e13, #ff6b6b);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.faq-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(223, 14, 19, 0.15);
}

.faq-card:hover::before {
    transform: scaleY(1);
}

/* Featured FAQ (más grande) */
.faq-card.featured-faq {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #df0e13;
}

.faq-card.featured-faq::before {
    width: 6px;
    transform: scaleY(1);
}

/* Icon Wrapper */
.faq-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.faq-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(223, 14, 19, 0.3);
    transition: all 0.3s ease;
}

.faq-icon.large {
    width: 90px;
    height: 90px;
    font-size: 2.2rem;
}

.faq-card:hover .faq-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(223, 14, 19, 0.4);
}

/* FAQ Number */
.faq-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 35px;
    height: 35px;
    background: #262626;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Content */
.faq-content {
    flex: 1;
}

.faq-question {
    color: #262626;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.faq-answer {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* FAQ Highlight */
.faq-highlight {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 10px 20px;
    border-radius: 50px;
    border-left: 3px solid #df0e13;
}

.faq-highlight i {
    color: #df0e13;
    font-size: 1rem;
}

.faq-highlight span {
    color: #262626;
    font-weight: 600;
    font-size: 13px;
}

/* Highlights Grid (para FAQ destacada) */
.faq-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid #F6F7F8;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: #df0e13;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(223, 14, 19, 0.1);
}

.highlight-item i {
    color: #df0e13;
    font-size: 1.5rem;
}

.highlight-item span {
    color: #262626;
    font-weight: 600;
    font-size: 14px;
}

/* CTA Section */
.faq-cta-section {
    background: linear-gradient(135deg, #262626, #3d3d3d);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.faq-cta-section h3 {
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
}

.faq-cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.btn-faq-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #df0e13;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(223, 14, 19, 0.3);
}

.btn-faq-contact:hover {
    background: #c41010;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(223, 14, 19, 0.5);
    color: white;
}

/* RESPONSIVE - TABLET */
@media (max-width: 991px) {
    .faq-card {
        padding: 30px;
    }
    
    .faq-question {
        font-size: 1.2rem;
    }
    
    .faq-highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* RESPONSIVE - MÓVIL */
@media (max-width: 767px) {
    .faq-card {
        flex-direction: column;
        padding: 25px;
        gap: 20px;
        text-align: center;
    }
    
    .faq-icon-wrapper {
        margin: 0 auto;
    }
    
    .faq-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .faq-icon.large {
        width: 75px;
        height: 75px;
        font-size: 2rem;
    }
    
    .faq-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .faq-question {
        font-size: 1.1rem;
    }
    
    .faq-answer {
        font-size: 14px;
    }
    
    .faq-highlight {
        width: 100%;
        justify-content: center;
    }
    
    .faq-highlights-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .highlight-item {
        justify-content: center;
        padding: 12px 18px;
    }
    
    .faq-cta-section {
        padding: 30px 20px;
        text-align: center;
    }
    
    .faq-cta-section h3 {
        font-size: 1.5rem;
    }
    
    .btn-faq-contact {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
}
/* ============================================
   OUR TEAM - Equipment Style Design
   ============================================ */

/* Team Badge */
.team-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: teamBadgePulse 2s infinite;
}

@keyframes teamBadgePulse {
    0%, 100% { transform: scale(1) rotate(0deg); box-shadow: 0 0 0 0 rgba(223, 14, 19, 0.7); }
    50% { transform: scale(1.05) rotate(10deg); box-shadow: 0 0 0 20px rgba(223, 14, 19, 0); }
}

/* Team Card Container */
.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #df0e13, #ff6b6b, #df0e13);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(223, 14, 19, 0.2);
}

/* Image Container */
.team-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-image {
    transform: scale(1.1);
}

/* Overlay with Tools */
.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(223, 14, 19, 0.9) 0%,
        rgba(38, 38, 38, 0.85) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-tools {
    display: flex;
    gap: 30px;
}

.team-tools i {
    color: white;
    font-size: 3rem;
    animation: toolFloat 2s ease-in-out infinite;
}

.team-tools i:nth-child(1) {
    animation-delay: 0s;
}

.team-tools i:nth-child(2) {
    animation-delay: 0.2s;
}

.team-tools i:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes toolFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

/* Experience Badge */
.experience-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #df0e13;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(223, 14, 19, 0.5);
    border: 4px solid white;
    z-index: 2;
}

.exp-number {
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.exp-text {
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team Content */
.team-content {
    padding: 30px;
}

.team-header {
    margin-bottom: 15px;
}

.team-name {
    color: #262626;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.team-position {
    color: #df0e13;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Specialty Badges */
.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.specialty-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #F6F7F8, #e9ecef);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #262626;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.specialty-badge:hover {
    background: #df0e13;
    color: white;
    border-color: #df0e13;
    transform: translateY(-2px);
}

.specialty-badge i {
    font-size: 11px;
}

/* Team Description */
.team-description {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Team Stats */
.team-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-item {
    background: #F6F7F8;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 3px solid #df0e13;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: #df0e13;
    transform: translateX(5px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    color: #df0e13;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-icon i {
    color: white;
}

.stat-item:hover .stat-icon {
    background: #262626;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    color: #262626;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
    color: white;
}

.stat-label {
    color: #666;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Team CTA */
.team-cta {
    background: linear-gradient(135deg, #262626, #3d3d3d);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.team-cta h3 {
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
}

.team-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.btn-team-join {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #df0e13;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(223, 14, 19, 0.3);
}

.btn-team-join:hover {
    background: #c41010;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(223, 14, 19, 0.5);
    color: white;
}

/* RESPONSIVE - TABLET */
@media (max-width: 991px) {
    .team-image-container {
        height: 280px;
    }
    
    .team-content {
        padding: 25px;
    }
    
    .team-tools {
        gap: 20px;
    }
    
    .team-tools i {
        font-size: 2.5rem;
    }
}

/* RESPONSIVE - MÓVIL */
@media (max-width: 767px) {
    .team-image-container {
        height: 250px;
    }
    
    .team-content {
        padding: 20px;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
    }
    
    .team-tools {
        gap: 15px;
    }
    
    .team-tools i {
        font-size: 2rem;
    }
    
    .experience-badge {
        width: 60px;
        height: 60px;
        top: 15px;
        right: 15px;
    }
    
    .exp-number {
        font-size: 1.2rem;
    }
    
    .team-cta {
        padding: 30px 20px;
        text-align: center;
    }
    
    .team-cta h3 {
        font-size: 1.5rem;
    }
    
    .btn-team-join {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
}
/* ============================================
   CONTACT PAGE - Professional Design
   ============================================ */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #262626 0%, #3d3d3d 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(223,14,19,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero-badge {
    width: 70px;
    height: 70px;
    background: #df0e13;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: heroBadgePulse 2s infinite;
}

@keyframes heroBadgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(223, 14, 19, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(223, 14, 19, 0); }
}

/* Quick Stats */
.contact-quick-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.quick-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-stat-item i {
    font-size: 2.5rem;
    color: #df0e13;
}

.quick-stat-item h4 {
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

.quick-stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin: 0;
}

/* Hero Image */
.contact-image-wrapper {
    position: relative;
}

.contact-image-wrapper img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: #df0e13;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(223, 14, 19, 0.5);
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-badge i {
    font-size: 1.2rem;
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(223, 14, 19, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-details h5 {
    color: #262626;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-link {
    display: block;
    color: #666;
    text-decoration: none;
    margin-bottom: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #df0e13;
    padding-left: 5px;
}

.contact-address {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.contact-note {
    display: inline-block;
    background: #F6F7F8;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    font-weight: 600;
    margin-top: 10px;
}

/* Emergency Card */
.contact-info-card.emergency {
    background: linear-gradient(135deg, #df0e13, #c41010);
    border: none;
    flex-direction: column;
    text-align: center;
}

.emergency-content i {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
    animation: warningPulse 1.5s infinite;
}

@keyframes warningPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.emergency-content h5 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.emergency-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.btn-emergency {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #df0e13;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-emergency:hover {
    background: #262626;
    color: white;
    transform: scale(1.05);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    color: #262626;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #262626;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-group label i {
    color: #df0e13;
    font-size: 13px;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #df0e13;
    outline: none;
    box-shadow: 0 0 0 4px rgba(223, 14, 19, 0.1);
}

.form-control.is-valid {
    border-color: #28a745;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-feedback {
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.form-control.is-valid ~ .form-feedback {
    color: #28a745;
    display: block;
}

.form-control.is-invalid ~ .form-feedback {
    color: #dc3545;
    display: block;
}

.character-count {
    display: block;
    text-align: right;
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

/* Custom Checkbox */
.form-check-custom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check-custom input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-check-custom label {
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

.form-check-custom label a {
    color: #df0e13;
    font-weight: 600;
}

/* Submit Button */
.btn-submit-form {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #df0e13, #c41010);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-form::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit-form:hover::before {
    width: 400px;
    height: 400px;
}

.btn-submit-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(223, 14, 19, 0.4);
}

.btn-text, .btn-icon, .btn-loading {
    position: relative;
    z-index: 1;
}

/* Map Container */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Quick FAQ Items */
.faq-quick-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.faq-quick-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(223, 14, 19, 0.15);
}

.faq-quick-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-quick-content h5 {
    color: #262626;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.faq-quick-content p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 14px;
}

/* RESPONSIVE - TABLET */
@media (max-width: 991px) {
    .contact-hero {
        padding: 80px 0 60px;
    }
    
    .contact-quick-stats {
        gap: 15px;
    }
    
    .quick-stat-item {
        flex: 1;
        min-width: 50px;
    }
    
    .contact-form-wrapper {
        padding: 30px;
        margin-top: 30px;
    }
}

/* RESPONSIVE - MÓVIL */
@media (max-width: 767px) {
    .contact-hero {
        padding: 60px 0 40px;
    }
    
    .contact-hero .display-4 {
        font-size: 2rem;
    }
    
    .contact-quick-stats {
        flex-direction: column;
    }
    
    .quick-stat-item {
        width: 100%;
    }
    
    .contact-info-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .faq-quick-item {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .faq-quick-icon {
        margin: 0 auto;
    }
    
    .floating-badge {
        bottom: 20px;
        left: 20px;
        font-size: 13px;
        padding: 12px 20px;
    }
}
/* ============================================
   BLOG PAGE - Modern Design
   ============================================ */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #262626 0%, #3d3d3d 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(223,14,19,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

.blog-hero-badge {
    width: 70px;
    height: 70px;
    background: #df0e13;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: blogBadgePulse 2s infinite;
}

@keyframes blogBadgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(223, 14, 19, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(223, 14, 19, 0); }
}

/* Search Bar */
.blog-search-bar {
    display: flex;
    max-width: 600px;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-input {
    flex: 1;
    padding: 18px 30px;
    border: none;
    font-size: 15px;
    outline: none;
}

.search-btn {
    padding: 18px 35px;
    background: #df0e13;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #c41010;
}

/* Hero Stats */
.blog-hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.hero-stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.hero-stat-item:hover {
    background: rgba(223, 14, 19, 0.2);
    border-color: #df0e13;
    transform: translateX(10px);
}

.hero-stat-item i {
    font-size: 2.5rem;
    color: #df0e13;
}

.hero-stat-item h3 {
    color: white;
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

.hero-stat-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 14px;
}

/* Featured Post */
.featured-post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #df0e13;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(223, 14, 19, 0.4);
}

.featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-post:hover .featured-image img {
    transform: scale(1.1);
}

.featured-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
}

.post-category {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-category.tech {
    background: #667eea;
    color: white;
}

.post-category.maintenance {
    background: #FFA500;
    color: white;
}

.post-category.industry {
    background: #28a745;
    color: white;
}

.post-category.safety {
    background: #dc3545;
    color: white;
}

.featured-content {
    padding: 40px;
}

.post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.meta-item {
    color: #666;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: #df0e13;
}

.featured-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-title a {
    color: #262626;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: #df0e13;
}

.featured-excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #df0e13;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background: #c41010;
    transform: translateX(5px);
    color: white;
}

/* Category Filter */
.category-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 20px;
    background: #F6F7F8;
    border-radius: 15px;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    color: #262626;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn i {
    font-size: 13px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #df0e13;
    color: white;
    border-color: #df0e13;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(223, 14, 19, 0.15);
}

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.reading-time {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-date {
    color: #999;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-title a {
    color: #262626;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #df0e13;
}

.blog-card-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #F6F7F8;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-info img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info span {
    font-weight: 600;
    font-size: 13px;
    color: #666;
}

.read-link {
    color: #df0e13;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-link:hover {
    gap: 10px;
}

/* ============================================
   BLOG PAGE - Modern Design
   ============================================ */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #262626 0%, #3d3d3d 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(223,14,19,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

.blog-hero-badge {
    width: 70px;
    height: 70px;
    background: #df0e13;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: blogBadgePulse 2s infinite;
}

@keyframes blogBadgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(223, 14, 19, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(223, 14, 19, 0); }
}

/* Search Bar */
.blog-search-bar {
    display: flex;
    max-width: 600px;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-input {
    flex: 1;
    padding: 18px 30px;
    border: none;
    font-size: 15px;
    outline: none;
}

.search-btn {
    padding: 18px 35px;
    background: #df0e13;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #c41010;
}

/* Hero Stats */
.blog-hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.hero-stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.hero-stat-item:hover {
    background: rgba(223, 14, 19, 0.2);
    border-color: #df0e13;
    transform: translateX(10px);
}

.hero-stat-item i {
    font-size: 2.5rem;
    color: #df0e13;
}

.hero-stat-item h3 {
    color: white;
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

.hero-stat-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 14px;
}

/* Featured Post */
.featured-post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #df0e13;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(223, 14, 19, 0.4);
}

.featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-post:hover .featured-image img {
    transform: scale(1.1);
}

.featured-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
}

.post-category {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-category.tech {
    background: #667eea;
    color: white;
}

.post-category.maintenance {
    background: #FFA500;
    color: white;
}

.post-category.industry {
    background: #28a745;
    color: white;
}

.post-category.safety {
    background: #dc3545;
    color: white;
}

.featured-content {
    padding: 40px;
}

.post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.meta-item {
    color: #666;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: #df0e13;
}

.featured-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-title a {
    color: #262626;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: #df0e13;
}

.featured-excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #df0e13;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background: #c41010;
    transform: translateX(5px);
    color: white;
}

/* Category Filter */
.category-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 20px;
    background: #F6F7F8;
    border-radius: 15px;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    color: #262626;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn i {
    font-size: 13px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #df0e13;
    color: white;
    border-color: #df0e13;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(223, 14, 19, 0.15);
}

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.reading-time {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-date {
    color: #999;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-title a {
    color: #262626;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #df0e13;
}

.blog-card-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #F6F7F8;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-info img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info span {
    font-weight: 600;
    font-size: 13px;
    color: #666;
}

.read-link {
    color: #df0e13;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-link:hover {
    gap: 10px;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding: 30px;
    background: #F6F7F8;
    border-radius: 15px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: white;
    color: #262626;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pagination-btn:hover:not(.disabled) {
    background: #df0e13;
    color: white;
    border-color: #df0e13;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #262626;
    text-decoration: none;
    border-radius: 50%;
    font-weight: 700;
    transition: all 0.3s ease;
}

.page-number:hover,
.page-number.active {
    background: #df0e13;
    color: white;
}

.page-dots {
    color: #999;
    font-weight: 700;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.widget-title {
    color: #262626;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    color: #df0e13;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #df0e13, #c41010);
    color: white;
    text-align: center;
}

.widget-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.newsletter-widget h4 {
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    outline: none;
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: #262626;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: white;
    color: #df0e13;
    transform: scale(1.1);
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-post-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F6F7F8;
    transition: all 0.3s ease;
}

.popular-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post-item:hover {
    transform: translateX(5px);
}

.popular-post-image {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-number {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 25px;
    height: 25px;
    background: #df0e13;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
}

.popular-post-content {
    flex: 1;
}

.popular-post-title {
    color: #262626;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.popular-post-title:hover {
    color: #df0e13;
}

.popular-post-meta span {
    color: #999;
    font-size: 12px;
    font-weight: 600;
}

/* Categories */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list li:last-child {
    margin-bottom: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #F6F7F8;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: #df0e13;
    transform: translateX(5px);
}

.category-name {
    color: #262626;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.category-list a:hover .category-name {
    color: white;
}

.category-name i {
    color: #df0e13;
    font-size: 13px;
    transition: color 0.3s ease;
}

.category-list a:hover .category-name i {
    color: white;
}

.category-count {
    background: white;
    color: #262626;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    display: inline-block;
    padding: 8px 18px;
    background: #F6F7F8;
    color: #262626;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tag-item:hover {
    background: #df0e13;
    color: white;
    border-color: #df0e13;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, #262626, #3d3d3d);
    text-align: center;
}

.cta-content i {
    font-size: 3rem;
    color: #df0e13;
    margin-bottom: 15px;
}

.cta-content h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.btn-cta-widget {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #df0e13;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-cta-widget:hover {
    background: white;
    color: #df0e13;
    transform: translateY(-3px);
}

/* RESPONSIVE - TABLET */
@media (max-width: 991px) {
    .blog-hero {
        padding: 80px 0 60px;
    }
    
    .blog-hero .display-3 {
        font-size: 2.5rem;
    }
    
    .blog-hero-stats {
        margin-top: 30px;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .featured-content {
        padding: 30px;
    }
    
    .featured-title {
        font-size: 1.6rem;
    }
}

/* RESPONSIVE - MÓVIL */
@media (max-width: 767px) {
    .blog-hero {
        padding: 60px 0 40px;
    }
    
    .blog-hero .display-3 {
        font-size: 2rem;
    }
    
    .blog-search-bar {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .search-input,
    .search-btn {
        border-radius: 0;
    }
    
    .search-input {
        border-radius: 15px 15px 0 0;
    }
    
    .search-btn {
        border-radius: 0 0 15px 15px;
    }
    
    .hero-stat-item {
        padding: 20px;
    }
    
    .category-filter {
        padding: 15px;
    }
    
    .filter-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .featured-content {
        padding: 25px 20px;
    }
    
    .featured-title {
        font-size: 1.4rem;
    }
    
    .blog-card-image {
        height: 200px;
    }
    
    .blog-pagination {
        flex-direction: column;
        gap: 20px;
    }
    
    .pagination-numbers {
        order: -1;
    }
    
    .sidebar-widget {
        padding: 25px 20px;
    }
}

/* ============================================
   AI CHAT WIDGET - Professional Design (Fix)
   ============================================ */

/* ---------- Chat Toggle Button (botón rojo) ---------- */
.chat-toggle-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #df0e13, #c41010);
  border: none;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(223, 14, 19, 0.4);
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s ease;
  overflow: hidden;
}

.chat-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(223, 14, 19, 0.6);
}

/* Contenedores del icono y del "close" centrados en el botón */
.chat-icon,
.chat-close-icon {
  position: absolute;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chat-close-icon {
  opacity: 0;
  transform: rotate(90deg);
}

/* Estado cuando el chat está activo: oculta el icono de chat y muestra la X */
.chat-toggle-btn.active .chat-icon {
  opacity: 0;
  transform: rotate(-90deg);
}

.chat-toggle-btn.active .chat-close-icon {
  opacity: 1;
  transform: rotate(0deg);
}

/* Tamaño del SVG dentro del botón (ajusta 60–80% a tu gusto) */
.chat-svg-icon {
  width: 70%;
  height: 70%;
  display: block;
  pointer-events: none;       /* el clic entra al botón, no al <img> */
  transition: transform 0.3s ease;
}

.chat-toggle-btn:hover .chat-svg-icon {
  transform: scale(1.06);
}

/* Si tu SVG del gorila ya tiene color, no lo filtres */
.gorilla-icon {
  filter: none;                /* IMPORTANTE si el SVG trae color propio */
}

/* ---------- Notification Badge ---------- */
.chat-notification {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  background: #FFD700;
  color: #262626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  animation: notificationPulse 2s infinite;
}

@keyframes notificationPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.chat-toggle-btn.active .chat-notification {
  display: none;
}

/* ---------- Ventana del Chat ---------- */
.chat-window {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 380px;
  height: 600px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
  z-index: 9998;
  overflow: hidden;
}

.chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* ---------- Header del Chat ---------- */
.chat-header {
  background: linear-gradient(135deg, #df0e13, #c41010);
  padding: 20px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px 20px 0 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  position: relative;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #28a745;
  border: 2px solid white;
  border-radius: 50%;
}

.chat-header-text h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.chat-status {
  margin: 0;
  font-size: 12px;
  opacity: 0.9;
}

.chat-minimize {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chat-minimize:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ---------- Mensajes ---------- */
.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #F6F7F8;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 10px;
}

.message {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.message-avatar {
  width: 35px;
  height: 35px;
  background: #df0e13;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.message-content { flex: 1; }

.message-bubble {
  background: white;
  padding: 12px 16px;
  border-radius: 15px 15px 15px 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.message-bubble p {
  margin: 0 0 8px 0;
  color: #262626;
  font-size: 14px;
  line-height: 1.5;
}
.message-bubble p:last-child { margin-bottom: 0; }

.message-time {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: #999;
}

/* Mensaje del usuario */
.user-message { flex-direction: row-reverse; }
.user-message .message-avatar { background: #262626; }
.user-message .message-bubble {
  background: #df0e13;
  border-radius: 15px 15px 5px 15px;
}
.user-message .message-bubble p { color: white; }
.user-message .message-time { text-align: right; }

/* ---------- Acciones Rápidas ---------- */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

.quick-action-btn {
  padding: 12px 15px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #262626;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.quick-action-btn i { font-size: 18px; color: #df0e13; }

.quick-action-btn:hover {
  background: #df0e13;
  border-color: #df0e13;
  color: white;
  transform: translateY(-2px);
}
.quick-action-btn:hover i { color: white; }

/* ---------- Indicador de escritura ---------- */
.chat-typing-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: white;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #666;
}
.chat-typing-indicator span {
  width: 8px;
  height: 8px;
  background: #df0e13;
  border-radius: 50%;
  animation: typingDot 1.4s infinite;
}
.chat-typing-indicator span:nth-child(1) { animation-delay: 0s; }
.chat-typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-10px); }
}

/* ---------- Input ---------- */
.chat-input-wrapper {
  background: white;
  padding: 15px;
  border-top: 1px solid #e0e0e0;
}

.chat-input-form { display: flex; gap: 10px; }

.chat-input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}
.chat-input:focus { border-color: #df0e13; }

.chat-send-btn {
  width: 45px;
  height: 45px;
  background: #df0e13;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.chat-send-btn:hover {
  background: #c41010;
  transform: scale(1.1);
}

.chat-footer-text {
  text-align: center;
  margin-top: 10px;
  font-size: 11px;
  color: #999;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .chat-window {
    width: calc(100% - 40px);
    height: calc(100vh - 130px);
    bottom: 100px;
    right: 20px;
  }
}

/* ============================================
   BLOG MODAL - Clean & Professional Design
   ============================================ */

/* Modal Overlay */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.blog-modal.is-open {
    display: block;
}

.blog-modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Dialog */
.blog-modal__dialog {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    z-index: 10001;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Button */
.blog-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-modal__close:hover {
    background: #df0e13;
    color: white;
    border-color: #df0e13;
    transform: rotate(90deg);
}

/* Modal Header */
.blog-modal__header {
    padding: 40px 60px 30px;
    border-bottom: 1px solid #f0f0f0;
}

.blog-badge {
    display: inline-block;
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.blog-title {
    color: #262626;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.blog-meta span {
    color: #666;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta i {
    color: #df0e13;
}

/* Hero Image */
.blog-hero {
    margin: 0;
    overflow: hidden;
    max-height: 450px;
}

.blog-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content */
.blog-content {
    padding: 40px 60px;
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content h3 {
    color: #262626;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #df0e13;
    display: inline-block;
}

.blog-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.blog-content ul li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.blog-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #df0e13;
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
    position: relative;
}

.blog-content blockquote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 3rem;
    color: rgba(223, 14, 19, 0.2);
    font-family: Georgia, serif;
}

/* ============================================
   COMMENTS SECTION - Compact & Clean
   ============================================ */

/* Comments Section */
.blog-comments {
    padding: 30px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.blog-comments h3 {
    color: #262626;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #df0e13;
}

/* Comment List */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 18px;
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.comment-item:hover {
    box-shadow: 0 4px 15px rgba(223, 14, 19, 0.1);
    transform: translateY(-2px);
}

.comment-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-head strong {
    color: #262626;
    font-size: 14px;
    font-weight: 700;
}

.comment-date {
    color: #999;
    font-size: 12px;
    font-weight: 600;
}

.comment-body p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
    word-wrap: break-word;
}

/* Comment Form */
.comment-form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #df0e13;
    box-shadow: 0 0 0 3px rgba(223, 14, 19, 0.1);
}

.comment-form textarea {
    resize: vertical;
    min-height: 100px;
}

.comment-submit {
    width: 100%;
    padding: 12px 25px;
    background: linear-gradient(135deg, #df0e13, #c41010);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.comment-submit:hover {
    background: linear-gradient(135deg, #c41010, #df0e13);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(223, 14, 19, 0.3);
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .blog-comments {
        padding: 20px 15px;
    }
    
    .comment-item {
        padding: 15px;
        flex-direction: row;
        gap: 12px;
    }
    
    .comment-avatar {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }
    
    .comment-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .comment-form {
        padding: 20px 15px;
    }
}

/* Scroll suave dentro del modal */
.blog-modal {
    scroll-behavior: smooth;
}

/* Evitar scroll del body cuando modal está abierto */
body.modal-open {
    overflow: hidden;
}

/* ============================================
   MISSION & VISION - Clean Design
   ============================================ */

/* Mission Vision Clean Card */
.mission-vision-clean-card {
    background: white;
    padding: 45px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

.mission-vision-clean-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(223, 14, 19, 0.15);
}

/* Icon Badge */
.card-icon-badge {
    width: 70px;
    height: 70px;
    background: #df0e13;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.card-icon-badge i {
    font-size: 2rem;
    color: white;
}

.mission-vision-clean-card:hover .card-icon-badge {
    transform: scale(1.1) rotate(360deg);
}

/* Card Label */
.card-label {
    display: inline-block;
    color: #df0e13;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Card Title */
.card-title {
    color: #262626;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* Card Description */
.card-description {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Card Features */
.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    color: #666;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-features i {
    color: #df0e13;
    font-size: 16px;
    flex-shrink: 0;
}

/* RESPONSIVE - TABLET */
@media (max-width: 991px) {
    .mission-vision-clean-card {
        padding: 35px 30px;
        margin-bottom: 30px;
    }
    
    .card-title {
        font-size: 1.4rem;
    }
}

/* RESPONSIVE - MÓVIL */
@media (max-width: 767px) {
    .mission-vision-clean-card {
        padding: 30px 25px;
    }
    
    .card-icon-badge {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .card-icon-badge i {
        font-size: 1.6rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .card-description {
        font-size: 14px;
    }
    
    .card-features li {
        font-size: 13px;
    }
}
/* ============================================
   TIMELINE JOURNEY - Clean Design
   ============================================ */

/* Section Header */
.section-label {
    display: inline-block;
    color: #df0e13;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.section-title {
    color: #262626;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

/* Timeline Container */
.timeline-journey {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 80px;
}

/* Vertical Line */
.timeline-journey::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #df0e13 0%, #ff6b6b 100%);
}

/* Timeline Item */
.timeline-item-clean {
    position: relative;
    padding-bottom: 50px;
    display: flex;
    gap: 30px;
}

.timeline-item-clean:last-child {
    padding-bottom: 0;
}

/* Timeline Year */
.timeline-year {
    position: absolute;
    left: -80px;
    top: 0;
    width: 70px;
    height: 70px;
    background: white;
    border: 3px solid #df0e13;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    color: #df0e13;
    box-shadow: 0 5px 20px rgba(223, 14, 19, 0.2);
    z-index: 2;
}

/* Current Year Special Style */
.timeline-item-clean.current .timeline-year {
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    color: white;
    border-color: #df0e13;
    animation: pulseYear 2s infinite;
}

@keyframes pulseYear {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(223, 14, 19, 0.3);
    }
    50% {
        box-shadow: 0 5px 30px rgba(223, 14, 19, 0.6);
        transform: scale(1.05);
    }
}

/* Timeline Content */
.timeline-content-clean {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content-clean::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

.timeline-item-clean:hover .timeline-content-clean {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(223, 14, 19, 0.15);
}

/* Timeline Icon */
.timeline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #df0e13;
    font-size: 1.3rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.timeline-item-clean:hover .timeline-icon {
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    color: white;
    transform: scale(1.1) rotate(360deg);
}

/* Timeline Title */
.timeline-content-clean h4 {
    color: #262626;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Timeline Description */
.timeline-content-clean p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* RESPONSIVE - TABLET */
@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-journey {
        padding-left: 70px;
    }
    
    .timeline-year {
        left: -70px;
        width: 60px;
        height: 60px;
        font-size: 14px;
    }
    
    .timeline-journey::before {
        left: 30px;
    }
    
    .timeline-content-clean {
        padding: 25px;
    }
}

/* RESPONSIVE - MÓVIL */
@media (max-width: 767px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .timeline-journey {
        padding-left: 50px;
    }
    
    .timeline-year {
        left: -50px;
        width: 50px;
        height: 50px;
        font-size: 12px;
    }
    
    .timeline-journey::before {
        left: 25px;
        width: 2px;
    }
    
    .timeline-content-clean {
        padding: 20px;
    }
    
    .timeline-content-clean::before {
        left: -8px;
        border-right-width: 8px;
        border-top-width: 8px;
        border-bottom-width: 8px;
    }
    
    .timeline-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .timeline-content-clean h4 {
        font-size: 1.1rem;
    }
    
    .timeline-content-clean p {
        font-size: 13px;
    }
    
    .timeline-item-clean {
        padding-bottom: 35px;
    }
}

/* Extra Small Devices */
@media (max-width: 575px) {
    .timeline-journey {
        padding-left: 40px;
    }
    
    .timeline-year {
        left: -40px;
        width: 45px;
        height: 45px;
        font-size: 11px;
    }
    
    .timeline-journey::before {
        left: 22px;
    }
}

/* Feature Items Clickable Style */
.feature-item.blog-modal-trigger {
    transition: all 0.3s ease;
}

.feature-item.blog-modal-trigger:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.feature-item.blog-modal-trigger:hover i {
    transform: scale(1.2);
}

.feature-item.blog-modal-trigger:hover span {
    color: white;
}
/* ============================================
   INDUSTRIAL PRODUCT CATALOG
   ============================================ */

:root {
    --primary-red: #df0e13;
    --dark-gray: #262626;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
}

.container-xxl {
    padding: 60px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Header */
.section-label {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    color: var(--dark-gray);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(223, 14, 19, 0.15);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge-viewers,
.badge-stock {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.badge-viewers {
    color: var(--dark-gray);
}

.badge-viewers i {
    color: var(--primary-red);
    font-size: 14px;
}

.badge-stock {
    color: #28a745;
}

.stock-dot {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Product Image */
.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(223, 14, 19, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-details-btn {
    background: white;
    color: var(--primary-red);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Product Info */
.product-info {
    padding: 20px;
}

.product-category {
    color: var(--primary-red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    color: var(--dark-gray);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}

.product-code {
    color: #999;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    color: var(--primary-red);
    font-size: 20px;
    font-weight: 800;
}

.quick-view-icon {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 18px;
    transition: all 0.3s ease;
}

.product-card:hover .quick-view-icon {
    background: var(--primary-red);
    color: white;
    transform: rotate(360deg);
}

/* ============================================
   PRODUCT MODAL
   ============================================ */

.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    overflow-y: auto;
}

.product-modal.is-open {
    display: block;
}

.product-modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.product-modal__dialog {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal__close:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: rotate(90deg);
}

.product-modal__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.modal-image-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-main-image {
    width: 100%;
    height: 400px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-info-section h2 {
    color: var(--dark-gray);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.modal-category {
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.modal-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.specs-title {
    color: var(--dark-gray);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
}

.specs-list {
    list-style: none;
}

.specs-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.spec-label {
    font-weight: 600;
    color: #555;
}

.spec-value {
    color: var(--dark-gray);
    font-weight: 600;
}

/* ============================================
   POPUP NOTIFICATIONS - HOME PAGE
   ============================================ */

.popup-notifications {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
}

.popup-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 15px;
    display: flex;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideInLeft 0.5s ease;
    border-left: 4px solid #df0e13;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-400px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.popup-card:hover {
    transform: translateX(5px);
    box-shadow: 0 15px 50px rgba(223, 14, 19, 0.2);
}

.popup-card.closing {
    animation: slideOutLeft 0.3s ease forwards;
}

@keyframes slideOutLeft {
    to {
        opacity: 0;
        transform: translateX(-400px);
    }
}

.popup-image {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.popup-content {
    flex: 1;
}

.popup-category {
    color: #df0e13;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.popup-name {
    color: #262626;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.3;
}

.popup-viewers {
    color: #666;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.popup-viewers i {
    color: #df0e13;
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .popup-notifications {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
}
/* ============================================
   SIDEBAR FILTERS
   ============================================ */

.filter-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.widget-header i {
    color: var(--primary-red);
    font-size: 1.3rem;
}

.widget-header h4 {
    color: var(--dark-gray);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

/* Category Filter List */
.category-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.category-filter-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.category-filter-item.active {
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b);
    color: white;
}

.category-filter-item i {
    width: 20px;
    color: var(--primary-red);
    font-size: 14px;
}

.category-filter-item.active i {
    color: white;
}

.category-filter-item span:first-of-type {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
}

.category-filter-item .count {
    background: white;
    color: var(--dark-gray);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.category-filter-item.active .count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: #f8f9fa;
    border: 2px solid transparent;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: white;
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.tag-item.active {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

/* Price Range */
.price-range-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-range-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.price-range-item:hover {
    background: #f8f9fa;
}

.price-range-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-red);
    cursor: pointer;
}

.price-range-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
}

/* Results Bar */
.results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.results-info {
    font-size: 14px;
    color: #666;
}

.results-info strong {
    color: var(--primary-red);
    font-weight: 700;
}

.sort-select {
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
}

.no-results i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results h3 {
    color: var(--dark-gray);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.no-results p {
    color: #999;
    margin-bottom: 25px;
}

.btn-reset-filters {
    background: var(--primary-red);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-filters:hover {
    background: #c41010;
    transform: translateY(-2px);
}
/* ============================================
   TERMS & CONDITIONS PAGE
   ============================================ */

/* Sidebar */
.terms-sidebar {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.sidebar-header i {
    color: #df0e13;
    font-size: 1.3rem;
}

.sidebar-header h5 {
    color: #262626;
    font-weight: 800;
    margin: 0;
    font-size: 1.1rem;
}

.terms-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-nav li {
    margin-bottom: 5px;
}

.terms-nav a {
    display: block;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.terms-nav a:hover {
    background: #f8f9fa;
    color: #df0e13;
    transform: translateX(5px);
}

.terms-nav a.active {
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    color: white;
}

.terms-updated {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.terms-updated i {
    color: #df0e13;
    font-size: 1.5rem;
}

.terms-updated small {
    display: block;
    color: #999;
    font-size: 11px;
    margin-bottom: 3px;
}

.terms-updated strong {
    color: #262626;
    font-size: 13px;
}

/* Main Content */
.terms-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.terms-intro {
    margin-bottom: 50px;
}

.terms-intro h2 {
    color: #262626;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.terms-intro p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

/* Alert Boxes */
.alert-box,
.warning-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.alert-box {
    background: #e8f4fd;
    border-left: 4px solid #0288d1;
}

.warning-box {
    background: #fff3e0;
    border-left: 4px solid #f57c00;
}

.alert-box i,
.warning-box i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-box i {
    color: #0288d1;
}

.warning-box i {
    color: #f57c00;
}

.alert-box strong,
.warning-box strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.alert-box p,
.warning-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Sections */
.terms-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    scroll-margin-top: 100px;
}

.terms-section:last-of-type {
    border-bottom: none;
}

.section-number {
    position: absolute;
    top: -10px;
    left: -15px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(223, 14, 19, 0.3);
}

.section-title {
    color: #262626;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 10px 0 20px 55px;
}

.terms-section p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 20px;
}

.terms-list {
    padding-left: 20px;
}

.terms-list li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 15px;
}

.terms-list li strong {
    color: #262626;
}

/* Highlight Box */
.highlight-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #df0e13;
    margin: 25px 0;
}

.highlight-box h5 {
    color: #262626;
    font-weight: 700;
    margin-bottom: 15px;
}

.highlight-box ul {
    list-style: none;
    padding-left: 0;
}

.highlight-box li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: #666;
}

.highlight-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #df0e13;
    font-weight: 900;
    font-size: 18px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.info-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(223, 14, 19, 0.1);
    transform: translateY(-5px);
}

.info-card i {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #df0e13;
    font-size: 1.5rem;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.info-card h5 {
    color: #262626;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1rem;
}

.info-card p {
    color: #666;
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.contact-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.contact-card i {
    width: 50px;
    height: 50px;
    background: #df0e13;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.contact-card h5 {
    color: #262626;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact-card p {
    color: #666;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

/* Acceptance Section */
.terms-acceptance {
    background: linear-gradient(135deg, #df0e13, #ff6b6b);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 50px;
}

.terms-acceptance h4 {
    color: white;
    font-weight: 800;
    margin-bottom: 15px;
}

.terms-acceptance p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.btn-accept {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #df0e13;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-accept:hover {
    background: #262626;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .sticky-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .terms-content {
        padding: 30px 25px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .terms-content {
        padding: 25px 20px;
    }
    
    .section-number {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .section-title {
        margin-left: 0;
        font-size: 1.3rem;
    }
    
    .info-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   VIDEO MODAL
   ============================================ */

.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.video-modal-content {
    position: relative;
    background: #262626;
    border-radius: 15px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    padding: 20px;
    animation: slideUp 0.4s ease;
    
    /* TAMAÑO PARA ESCRITORIO - AJUSTA AQUÍ */
    max-width: 900px;  /* Ancho máximo */
    width: 90%;        /* Ancho responsivo */
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.video-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 45px;
    height: 45px;
    background: #df0e13;
    border: 3px solid white;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(223, 14, 19, 0.5);
}

.video-modal-close:hover {
    background: white;
    color: #df0e13;
    transform: rotate(90deg) scale(1.1);
}

.video-container {
    position: relative;
    width: 100%;
    /* ALTURA PARA ESCRITORIO - AJUSTA AQUÍ */
    height: 500px;  /* Altura fija en escritorio */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* Mantiene proporción sin cortar */
    border-radius: 10px;
}

.video-title {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.video-title h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

/* RESPONSIVE - MÓVIL */
@media (max-width: 768px) {
    .video-modal-content {
        /* TAMAÑO PARA MÓVIL - AJUSTA AQUÍ */
        max-width: 95%;     /* Ancho en móvil */
        width: 95%;
        padding: 15px;
        margin: 10px;
    }
    
    .video-container {
        /* ALTURA PARA MÓVIL - AJUSTA AQUÍ */
        height: 250px;      /* Altura en móvil */
    }
    
    .video-modal-close {
        width: 40px;
        height: 40px;
        top: -10px;
        right: -10px;
        font-size: 1.1rem;
    }
    
    .video-title h3 {
        font-size: 0.95rem;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .video-modal-content {
        max-width: 700px;
        width: 85%;
    }
    
    .video-container {
        height: 400px;
    }
}

/* Desktop Grande */
@media (min-width: 1400px) {
    .video-modal-content {
        max-width: 1000px;
    }
    
    .video-container {
        height: 550px;
    }
}

/* Icono de video en topbar - más grande y atractivo */
#openVideoModal {
    font-size: 1.5rem !important;
    color: #df0e13 !important;
    transition: all 0.3s ease;
}

#openVideoModal:hover {
    color: white !important;
    background: #df0e13 !important;
    transform: scale(1.1);
}	

