/* ==========================================
    1. RESETEO BÁSICO
   ================================---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #080808;
    color: #ffffff;
    overflow-x: hidden; /* Evita scroll horizontal no deseado */
}


/* ==========================================
    2. NAVBAR PRINCIPAL
   ================================---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    background-color: transparent; /* Transparente arriba de todo */
    transition: all 0.4s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    height: 70px;
}

.navbar-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.logo-icon {
    font-size: 28px;
    color: #e50914;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    letter-spacing: 2px;
}

.logo-text span {
    font-size: 1.1rem;
}

.logo-text small {
    font-size: 0.6rem;
    color: #e50914;
    letter-spacing: 3px;
}

/* Enlaces de navegación & Hover con subrayado */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-item {
    position: relative;
    text-decoration: none;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #e50914;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item:hover {
    color: #e50914;
}

.nav-item:hover::after {
    width: 100%;
}

/* Botón Contactanos Navbar */
.btn-contacto {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #e50914;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-contacto:hover {
    background-color: #b8060f;
    transform: translateY(-2px);
}

/* Menú hamburguesa (Oculto en desktop) */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}


/* ==========================================
    3. HERO SECTION
   ================================---------- */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 90px;
    padding-bottom: 50px;
    padding-left: 5%;
    padding-right: 5%;
    background-image: linear-gradient(to right, rgba(8, 8, 8, 0.95) 35%, rgba(8, 8, 8, 0.45) 100%), 
                      url('./16963442863466.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.imghero {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 800px;
    margin-top: 0;
}

.hero-subtitle {
    display: inline-block;
    color: #e50914;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title .text-teal {
    color: #e50914;
}

.hero-title .text-white {
    color: #ffffff;
}

.hero-description {
    color: #cbd5e1;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    max-width: 600px;
    margin-bottom: 35px;
    line-height: 1.4;
}

/* Características (Diagnóstico, Mantenimiento, Reparaciones) */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 42px;
    height: 42px;
    border: 1.5px solid #e50914;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e50914;
    font-size: 1rem;
    background: rgba(229, 9, 20, 0.1);
}

.feature-text {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    line-height: 1.2;
}

.feature-text strong {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.feature-text span {
    color: #94a3b8;
    letter-spacing: 0.5px;
}

/* Botones de acción inferiores del Hero */
.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #e50914;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.btn-whatsapp:hover {
    background-color: #b8060f;
    transform: translateY(-2px);
}

.btn-llamar {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-llamar:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}


/* ==========================================
    4. SECCIÓN MARCAS (CARRUSEL)
   ================================---------- */
.marcas-section {
    width: 100%;
    background-color: #050505;
    padding: 40px 0;
    overflow: hidden;
    border-top: 1px solid rgba(229, 9, 20, 0.2);
    border-bottom: 1px solid rgba(229, 9, 20, 0.2);
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    pointer-events: none;
}

.carousel-container::before,
.carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #050505, transparent);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #050505, transparent);
}

.carousel-track {
    display: flex;
    width: max-content;
    flex-wrap: nowrap;
    animation: scrollInfinite 25s linear infinite;
}

.carousel-item {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.carousel-item img {
    max-width: 100%;
    max-height: 45px;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); 
    }
}


/* ==========================================
    5. SECCIÓN SERVICIOS
   ================================---------- */
.servicios-section {
    background-color: #050505;
    padding: 100px 5%;
    color: #ffffff;
}

.servicios-container {
    max-width: 1400px;
    margin: 0 auto;
}

.servicios-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.servicios-subtitle {
    display: inline-block;
    color: #e50914;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.servicios-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.servicios-intro {
    max-width: 420px;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.5;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.servicio-card {
    position: relative;
    background-color: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 30px 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.card-style-1 {
    background: linear-gradient(145deg, #0d0d0d 0%, #030303 100%);
}

.card-style-2 {
    background: linear-gradient(145deg, #100a0a 0%, #040303 100%);
}

.card-style-3 {
    background: linear-gradient(145deg, #0d0d0d 0%, #050505 100%);
    border-top: 3px solid rgba(229, 9, 20, 0.7);
}

.servicio-card.featured {
    border-color: rgba(229, 9, 20, 0.5);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

.card-numero {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(229, 9, 20, 0.12);
    border: 1px solid rgba(229, 9, 20, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e50914;
    font-size: 1.1rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.card-body h3 {
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #ffffff;
}

.card-body p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e50914;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, gap 0.3s ease;
}

.card-link i {
    transition: transform 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-6px);
    border-color: #e50914;
    box-shadow: 0 12px 30px rgba(229, 9, 20, 0.25);
}

.servicio-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: #e50914;
    color: #ffffff;
}

.servicio-card:hover .card-link {
    color: #ff3b30;
    gap: 12px;
}

.servicio-card:hover .card-link i {
    transform: translateX(4px);
}


/* ==========================================
    6. SECCIÓN: CÓMO TRABAJAMOS
   ================================---------- */
.como-trabajamos {
    background-color: #050505;
    padding: 100px 5%;
    color: #ffffff;
    position: relative;
    border-top: 1px solid rgba(229, 9, 20, 0.2);
}

.trabajamos-container {
    max-width: 1400px;
    margin: 0 auto;
}

.trabajamos-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 70px;
}

.trabajamos-subtitle {
    display: inline-block;
    color: #e50914;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.trabajamos-title {
    font-size: clamp(2rem, 3.5vw, 2.7rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    color: #ffffff;
}

.trabajamos-intro {
    max-width: 420px;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.5;
}

.pasos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.pasos-grid::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 1px;
    background-color: rgba(229, 9, 20, 0.4);
    z-index: 1;
}

.paso-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.paso-cuadrado {
    width: 60px;
    height: 60px;
    background-color: #0d0d0d;
    border: 2px solid #e50914;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #e50914;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.2);
    transition: all 0.3s ease;
}

.paso-card:hover .paso-cuadrado {
    background-color: #e50914;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.5);
}

.paso-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.paso-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}


/* ==========================================
    7. SECCIÓN: NUESTROS TRABAJOS (COLLAGE)
   ================================---------- */
.trabajos-section {
    background-color: #050505;
    padding: 100px 5%;
    color: #ffffff;
    border-top: 1px solid rgba(229, 9, 20, 0.2);
}

.trabajos-container {
    max-width: 1400px;
    margin: 0 auto;
}

.trabajos-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.trabajos-subtitle {
    display: inline-block;
    color: #e50914;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.trabajos-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.trabajos-intro {
    max-width: 420px;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.5;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #0b0b0b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.collage-item:hover {
    z-index: 5;
    border-color: #e50914;
    box-shadow: 0 12px 35px rgba(229, 9, 20, 0.35);
}

.collage-item:hover img {
    transform: scale(1.12);
}

.collage-item.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.collage-item.item-tall {
    grid-row: span 2;
}

.collage-item.item-wide {
    grid-column: span 2;
}


/* ==========================================
    8. SECCIÓN: FORMULARIO DE DIAGNÓSTICO
   ================================---------- */
.formulario-section {
    background-color: #050505;
    padding: 100px 5%;
    color: #ffffff;
    border-top: 1px solid rgba(229, 9, 20, 0.2);
}

.formulario-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

.form-subtitle {
    display: inline-block;
    color: #e50914;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.form-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.form-description {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

.form-media-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #0b0b0b;
    border: 1px solid rgba(229, 9, 20, 0.4);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
}

.media-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(229, 9, 20, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e50914;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.media-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}

.media-text p {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.4;
}

.form-note {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
}

.formulario-box {
    background-color: #0a0a0a;
    border: 1px solid rgba(229, 9, 20, 0.25);
    border-radius: 8px;
    padding: 35px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: #050505;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #e50914;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.2);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
}

.btn-enviar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: #e50914;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 14px 24px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.btn-enviar:hover {
    background-color: #b8060f;
    transform: translateY(-2px);
}


/* ==========================================
    9. LIGHTBOX MODAL (GALERÍA DELICADA)
   ================================---------- */
.lightbox-modal {
    display: none !important;
    position: fixed !important;
    z-index: 9999 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(5, 5, 5, 0.9) !important;
    backdrop-filter: blur(8px) !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.lightbox-modal.active {
    display: flex !important;
}

.lightbox-content {
    max-width: 550px !important;
    max-height: 60vh !important;
    width: auto !important;
    height: auto !important;
    border-radius: 8px !important;
    border: 2px solid #e50914 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9) !important;
    object-fit: contain !important;
    background-color: #0b0b0b !important;
}

.lightbox-close {
    position: fixed !important;
    top: 30px !important;
    right: 40px !important;
    color: #ffffff !important;
    font-size: 36px !important;
    font-weight: 300 !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(229, 9, 20, 0.5) !important;
    line-height: 1 !important;
    transition: all 0.3s ease !important;
}

.lightbox-close:hover {
    color: #e50914 !important;
    border-color: #e50914 !important;
    transform: scale(1.1) !important;
}


/* ==========================================
    10. RESPONSIVE MEDIA QUERIES
   ================================---------- */
@media (max-width: 1200px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: left 0.4s ease-in-out;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .cta-container {
        display: none;
    }

    .pasos-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }
    .pasos-grid::before {
        display: none;
    }

    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
    .collage-item.item-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 992px) {
    .formulario-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: left;
        padding-top: 100px;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-whatsapp, .btn-llamar {
        justify-content: center;
        width: 100%;
    }

    .servicios-section {
        padding: 60px 5%;
    }

    .servicios-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .carousel-item {
        flex: 0 0 150px;
        padding: 0 10px;
    }
    
    .carousel-item img {
        max-height: 32px;
    }
}

@media (max-width: 600px) {
    .pasos-grid {
        grid-template-columns: 1fr;
    }
    .trabajamos-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .collage-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .collage-item.item-large,
    .collage-item.item-tall,
    .collage-item.item-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .formulario-box {
        padding: 20px;
    }
}



/* Contenedor de Videos en formato vertical */
.trabajos-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 2 columnas lado a lado en laptop/desktop */
    gap: 20px;
    margin-top: 96px;
    max-width: 650px; /* Ajusta el ancho total para que no queden demasiado grandes */
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.video-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(229, 9, 20, 0.4);
    background-color: #0b0b0b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-item video {
    width: 100%;
    height: auto; /* Mantiene la proporción original de la historia */
    max-height: 520px; /* Controla qué tan altos se ven */
    object-fit: contain; /* Evita que el video se recorte */
    display: block;
    border-radius: 8px;
}

/* Responsive: 1 columna (uno debajo del otro) en dispositivos móviles */
@media (max-width: 768px) {
    .trabajos-videos-grid {
        grid-template-columns: 1fr; /* Una columna en celulares */
        max-width: 320px; /* Ancho cómodo para celular en formato vertical */
    }
}


/* ==========================================
    SECCIÓN: TIPOS DE EMBARCACIONES (ASIMÉTRICA)
   ================================---------- */
.embarcaciones-section {
    background-color: #050505;
    padding: 100px 5%;
    color: #ffffff;
    border-top: 1px solid rgba(229, 9, 20, 0.2);
}

.embarcaciones-container {
    max-width: 1400px;
    margin: 0 auto;
}

.embarcaciones-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.embarcaciones-subtitle {
    display: inline-block;
    color: #e50914;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.embarcaciones-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.embarcaciones-intro {
    max-width: 420px;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.5;
}

/* Grilla Asimétrica */
.embarcaciones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Tarjeta Base */
.emb-card {
    position: relative;
    background-color: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Tarjeta estándar (1x1) */
.emb-standard {
    min-height: 180px;
}

/* Tarjetas anchas (Yates y Barcos de gran porte ocupan 2 columnas) */
.emb-wide {
    grid-column: span 2;
    min-height: 200px;
}

/* Variaciones de diseño */
.emb-featured {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.15) 0%, #0b0b0b 100%);
    border: 1px solid rgba(229, 9, 20, 0.4);
}

.emb-highlight {
    background: linear-gradient(145deg, #120a0a 0%, #070707 100%);
    border-left: 4px solid #e50914;
}

.emb-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    background-color: rgba(229, 9, 20, 0.2);
    color: #e50914;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.emb-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.emb-body h3 {
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 8px;
}

.emb-body p {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Hover effects */
.emb-card:hover {
    transform: translateY(-5px);
    border-color: #e50914;
    box-shadow: 0 10px 25px rgba(229, 9, 20, 0.2);
}

.emb-card:hover .emb-num {
    color: #e50914;
}

/* Responsive */
@media (max-width: 1024px) {
    .embarcaciones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .emb-wide {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .embarcaciones-grid {
        grid-template-columns: 1fr;
    }
    .emb-wide {
        grid-column: span 1;
    }
}


.emb-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.emb-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
}

.emb-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(229, 9, 20, 0.12);
    border: 1px solid rgba(229, 9, 20, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e50914;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* Efecto hover en el icono cuando pasas el mouse por la tarjeta */
.emb-card:hover .emb-icon {
    background-color: #e50914;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.emb-card:hover .emb-num {
    color: #e50914;
}



/* ==========================================
    SECCIÓN: ZONA DE COBERTURA / OPERACIÓN
   ================================---------- */
.cobertura-section {
    position: relative;
    background-color: #050505; /* Fondo negro de tu sitio */
    background-image: radial-gradient(circle at 15% 50%, rgba(229, 9, 20, 0.08) 0%, transparent 60%);
    padding: 110px 5%;
    color: #ffffff;
    overflow: hidden;
    border-top: 1px solid rgba(229, 9, 20, 0.2);
    border-bottom: 1px solid rgba(229, 9, 20, 0.2);
}

.cobertura-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Caja del icono de ubicación con efecto de radar rojo */
.cobertura-icon-box {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.map-marker-circle {
    width: 90px;
    height: 90px;
    background-color: rgba(15, 15, 15, 0.9);
    border: 2px solid #e50914; /* Rojo institucional */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e50914;
    font-size: 2rem;
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.3);
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(229, 9, 20, 0.4);
    border-radius: 50%;
    animation: radarPulse 3s infinite linear;
    z-index: 1;
}

@keyframes radarPulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Textos de la sección */
.cobertura-content {
    max-width: 850px;
}

.cobertura-subtitle {
    display: inline-block;
    color: #e50914; /* Rojo institucional */
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 15px;
}

.cobertura-title {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #ffffff;
}

.cobertura-description {
    color: #cbd5e1;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cobertura-note {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive para celulares y tablets */
@media (max-width: 900px) {
    .cobertura-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    
    .cobertura-icon-box {
        width: 120px;
        height: 120px;
    }
}


/* ==========================================
    FOOTER DEL SITIO
   ================================---------- */
.footer-section {
    background-color: #030303;
    color: #ffffff;
    padding: 80px 5% 60px;
    border-top: 1px solid rgba(229, 9, 20, 0.25);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Marcador temporal para el logo */
.footer-logo-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(229, 9, 20, 0.1);
    border: 1px dashed rgba(229, 9, 20, 0.6);
    padding: 10px 16px;
    border-radius: 6px;
    color: #e50914;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    width: fit-content;
}

.footer-slogan {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-heading {
    color: #e50914; /* Rojo institucional */
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #e50914;
    transform: translateX(4px);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-list i {
    color: #e50914;
    font-size: 1rem;
    width: 20px;
}

.footer-text {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive para tablets y celulares */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


.footer-contact-list a {
    color: #cbd5e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-contact-list a:hover {
    color: #e50914;
    transform: translateX(4px);
}


.logomarca{
width: 70px;
}

.logomenu{
    width: 50px;
}


/* ==========================================
    BOTÓN FLOTANTE DE WHATSAPP
   ================================---------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #0d0d0d; /* Fondo oscuro acorde a tu web */
    color: #e50914; /* Rojo institucional */
    border: 2px solid #e50914;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.35);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Efecto hover (al pasar el mouse se invierten los colores para destacar) */
.whatsapp-float:hover {
    background-color: #e50914;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(229, 9, 20, 0.6);
}

/* Tooltip opcional ("¡Escribinos!") que aparece al lado del botón */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #121212;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(229, 9, 20, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px; /* Pequeño efecto de desplazamiento */
}

/* Ajustes para celulares (evita que tape elementos importantes y oculta el tooltip para ahorrar espacio) */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
    
    .whatsapp-tooltip {
        display: none; /* En celulares solo queda el botón flotante limpio */
    }
}