/* ======= Reset básico ======= */

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background-color: #111;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ======= Header ======= */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: transparent;
  padding: 20px 0;
}

/* ======= Contenedor del header ======= */
.header-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-container a {
  text-decoration: none;
}

/* ======= Logo ======= */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 75px;
  height: auto;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #c20e04;
  font-family: 'Audiowide';
}

/* ======= Navegación ======= */
.navigation ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

.navigation a {
  text-decoration: none;
  color: #f5f5f5;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 4px;
}

.navigation a:hover,
.navigation a.active {
  color: #ff1e1e;
  border-bottom: 2px solid #ff1e1e;
}

/* ======= Hamburguesa ======= */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  height: 20px;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ======= Animación hamburguesa activa ======= */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ======= Responsivo ======= */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    z-index: 101;
  }

  /* Menú oculto inicialmente */
  .navigation {
    position: absolute;
    top: 100%;
    right: 5%;
    width: 90%;
    background: rgba(0, 0, 0, 0.6);
    border-radius:  0 0 12px 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
  }

  /* Cuando se activa, se despliega tipo tarjeta */
  .navigation.active {
    transform: scaleY(1);
  }

  .navigation ul {
    flex-direction: column;
    gap: 0;
    text-align: center;
    padding: 10px 0;
  }

  .navigation li {
    width: 100%;
  }

  .navigation a {
    display: block;
    width: 100%;
    padding: 15px 0;
    color: #ffffff;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navigation li:last-child a {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
  }

  .navigation a:hover {
    background: rgba(0, 0, 0, 0.05);
    border-bottom: none;
    color: #c20e04;
  }
}


/* ===== HERO SECTION ===== */
/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Fondo separado */
.background-image {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background: url('./assets/images/prueba.jpg') center center / cover no-repeat;
  z-index: 0;
  will-change: transform;
  transform: translate3d(0,0,0) scale(1.05);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1);
}

/* overlay sutil para contraste */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.30);
  z-index: 1;
}

/* Contenido */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  
}

.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.05rem;
  color: #ddd;
  margin-bottom: 26px;
}

.btn-cta {
  background: #ff1e1e;
  color: #fff;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-cta:hover {
  background: #fff;
  color: #111;
}

/* header scrolled (ya lo tenías) */
header {
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}
header.scrolled {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* linea scroll */
.scroll-line {
  position: fixed;
  top: 0;
  left: -100px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.scroll-line path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.1s linear;
  filter: drop-shadow(0 0 6px rgba(255, 30, 30, 0.6));
}

.scroll-line path {
  animation: glow 3s infinite alternate;
}

@keyframes glow {
  from { stroke: #A80C04; }
  to { stroke: #FB1909; }
}

/* Opcional: ocultar en móviles muy pequeños */
@media (max-width: 768px) {
  .scroll-line {
    display: none;
  }
}

/* ===== Carrusel vertical con trayectoria curva ===== */
.carousel-wrapper {
  position: relative;
  width: 500px;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: verticalLoop 12s cubic-bezier(0.6, 0.1, 0.4, 1) infinite;
}

/* Efecto de “trayectoria curva” */
.carousel-vertical img {
  width: 390px;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  margin: 16px 0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  transition: transform 1s ease;
}

.carousel-vertical img:nth-child(1) { transform: translateX(-20px) rotate(-2deg); }
.carousel-vertical img:nth-child(2) { transform: translateX(15px) rotate(3deg); }
.carousel-vertical img:nth-child(3) { transform: translateX(-10px) rotate(1deg); }
.carousel-vertical img:nth-child(4) { transform: translateX(10px) rotate(-1deg); }
.carousel-vertical img:nth-child(5) { transform: translateX(-5px) rotate(2deg); }

/* Animación vertical + curva */
@keyframes verticalLoop {
  0% {
    transform: translateY(0) rotate(4deg);
  }
  25% {
    transform: translateY(-150px) rotate(2deg);
  }
  50% {
    transform: translateY(-300px) rotate(0deg);
  }
  75% {
    transform: translateY(-150px) rotate(-2deg);
  }
  100% {
    transform: translateY(0) rotate(4deg);
  }
}

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 100px 20px;
  }

  .hero-content {
    max-width: 100%;
  }

  .carousel-wrapper {
    width: 100%;
    height: auto;
    margin-top: 40px;
  }

  /* Carrusel pasa a horizontal */
  .carousel-vertical {
    flex-direction: row;
    animation: horizontalLoop 12s cubic-bezier(0.6, 0.1, 0.4, 1) infinite;
  }

  .carousel-vertical img {
    width: 260px;
    height: 180px;
    margin: 0 10px;
  }

  /* Efecto mosaico adaptado */
  .carousel-vertical img:nth-child(1) { transform: translateY(-10px) rotate(-2deg); }
  .carousel-vertical img:nth-child(2) { transform: translateY(15px) rotate(3deg); }
  .carousel-vertical img:nth-child(3) { transform: translateY(-5px) rotate(1deg); }
  .carousel-vertical img:nth-child(4) { transform: translateY(10px) rotate(-1deg); }
  .carousel-vertical img:nth-child(5) { transform: translateY(-8px) rotate(2deg); }
}

/* Animación horizontal */
@keyframes horizontalLoop {
  0% { transform: translateX(0) rotate(3deg); }
  25% { transform: translateX(-150px) rotate(1deg); }
  50% { transform: translateX(-300px) rotate(-1deg); }
  75% { transform: translateX(-150px) rotate(1deg); }
  100% { transform: translateX(0) rotate(3deg); }
}



/* ======= ABOUT US ======= */

.objetivos {
  margin-top: 50px;
  padding: 80px 0;
  background: #111;
  text-align: center;
}

.objetivos .section-header h2 {
  
    font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.objetivos .section-header h6 {
  font-family: 'Audiowide';
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
  color: #c20e04;
}

.objetivos {
  background: #111111;
  color: #fff;
  padding: 100px 40px;
}




/* === Contenedor tipo mosaico === */
.mosaic-staggered {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 30px auto;
  position: relative;
}

/* === Card base === */
.mosaic-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #1b1b1b;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: all 0.4s ease;
}

.mosaic-card:hover img {
  filter: brightness(0.5);
  transform: scale(1.05);
}

/* === Título siempre visible === */
.card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1.1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  z-index: 2;
}

/* === Descripción al hover === */
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.78);
  color: #fff;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px;
  transition: opacity 0.4s ease;
  z-index: 3;
}

.mosaic-card:hover .card-overlay {
  opacity: 1;
}

.card-overlay p {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 80%;
}

/* === Desplazamientos (mosaico tipo escalonado) === */
.mosaic-card:nth-child(1) {
  transform: translateY(0px) translateX(0px);
}
.mosaic-card:nth-child(2) {
  transform: translateY(30px);
}
.mosaic-card:nth-child(3) {
  transform: translateY(-20px) translateX(20px);
}
.mosaic-card:nth-child(4) {
  transform: translateY(40px) translateX(-20px);
}


/* === Efecto al hover sin mover el layout === */
.mosaic-card:hover {
  transform: scale(1.03);
}

/* === Responsive === */
@media (max-width: 768px) {
  .mosaic-staggered {
    grid-template-columns: 1fr;
  }

  .mosaic-card {
    transform: none !important;
  }
}



/* Sección de Servicios */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Encabezado de la sección */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h6 {
    color: #dc2626;
    font-size: 14px;
    font-weight: 600;
    font-family: "audiowide";
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h6::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dc2626, transparent);
}

.section-header h2 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-header p {
    color: #a1a1a1;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid de servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Tarjetas de servicio */
.service-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(220, 38, 38, 0.2);
}

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover img {
    filter: brightness(0) saturate(100%) invert(30%) sepia(96%) saturate(2547%) hue-rotate(349deg) brightness(91%) contrast(89%);
    transform: scale(1.1) rotateY(360deg);
}

.service-card h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #dc2626;
}

.service-card p {
    color: #a1a1a1;
    font-size: 15px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 28px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
}

        /* Sección Proceso de Trabajo */
        .work-process {
            padding: 100px 0;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
            position: relative;
            overflow: hidden;
        }

        .work-process::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            background: 
                /* Luces difusas rojas */
                radial-gradient(circle at 30% 20%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(220, 38, 38, 0.06) 0%, transparent 50%),
                /* Fade superior sutil tipo humo */
                linear-gradient(to bottom, #0a0a0a 0%, rgba(10,10,10,0.6) 30%, rgba(10,10,10,0) 60%),
                /* Fade inferior opcional para suavizar el cierre */
                linear-gradient(to top, #1a1a1a 0%, rgba(26,26,26,0.6) 30%, rgba(26,26,26,0) 60%);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 1;
        }

        /* Encabezado */
        .section-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .section-header h6 {
            color: #dc2626;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .section-header h6::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 2px;
            background: linear-gradient(90deg, transparent, #dc2626, transparent);
        }

        .section-header h2 {
            color: #ffffff;
            font-size: 42px;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .section-header p {
            color: #a1a1a1;
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Timeline Container */
        .timeline {
            position: relative;
            padding: 40px 0;
        }

        /* Línea vertical central */
        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(180deg, 
                transparent 0%,
                rgba(220, 38, 38, 0.3) 10%,
                rgba(220, 38, 38, 0.5) 50%,
                rgba(220, 38, 38, 0.3) 90%,
                transparent 100%
            );
            transform: translateX(-50%);
        }

        /* Línea de progreso animada */
        .timeline-progress {
            position: absolute;
            left: 50%;
            top: 0;
            width: 2px;
            height: 0;
            background: linear-gradient(180deg, #dc2626, #991b1b);
            transform: translateX(-50%);
            transition: height 0.3s ease;
            box-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
        }

        /* Paso individual */
        .process-step {
            display: flex;
            align-items: center;
            margin-bottom: 80px;
            position: relative;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .process-step.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .process-step:last-child {
            margin-bottom: 0;
        }

        /* Alternar izquierda-derecha */
        .process-step:nth-child(odd) {
            flex-direction: row-reverse;
        }

        .process-step:nth-child(odd) .step-content {
            text-align: right;
            padding-right: 60px;
            padding-left: 0;
        }

        .process-step:nth-child(even) .step-content {
            text-align: left;
            padding-left: 60px;
            padding-right: 0;
        }

        /* Contenido del paso */
        .step-content {
            flex: 1;
            max-width: 45%;
        }

        .step-number {
            display: inline-block;
            color: #dc2626;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 2px;
            margin-bottom: 15px;
            padding: 8px 20px;
            border: 2px solid rgba(220, 38, 38, 0.3);
            border-radius: 30px;
            background: rgba(220, 38, 38, 0.05);
        }

        .step-title {
            color: #ffffff;
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .step-description {
            color: #a1a1a1;
            font-size: 16px;
            line-height: 1.7;
        }

        /* Icono central */
        .step-icon-wrapper {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
        }

        .step-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
            border: 3px solid #dc2626;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            color: #dc2626;
            box-shadow: 
                0 0 30px rgba(220, 38, 38, 0.4),
                inset 0 0 20px rgba(220, 38, 38, 0.1);
            transition: all 0.4s ease;
            position: relative;
        }

        .step-icon::before {
            content: '';
            position: absolute;
            inset: -5px;
            border-radius: 50%;
            background: linear-gradient(135deg, #dc2626, #991b1b);
            opacity: 0;
            filter: blur(10px);
            transition: opacity 0.4s ease;
            z-index: -1;
        }

        .process-step.visible .step-icon {
            transform: rotate(360deg) scale(1.1);
        }

        .process-step.visible .step-icon::before {
            opacity: 0.6;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .work-process {
                padding: 60px 0;
            }

            .section-header {
                margin-bottom: 60px;
            }

            .section-header h2 {
                font-size: 32px;
            }

            .section-header p {
                font-size: 16px;
            }

            .timeline::before {
                left: 40px;
            }

            .timeline-progress {
                left: 40px;
            }

            .process-step {
                flex-direction: column !important;
                align-items: flex-start;
                padding-left: 100px;
                margin-bottom: 60px;
            }

            .process-step:nth-child(odd) .step-content,
            .process-step:nth-child(even) .step-content {
                text-align: left;
                padding: 0;
                max-width: 100%;
            }

            .step-icon-wrapper {
                left: 40px;
            }

            .step-icon {
                width: 60px;
                height: 60px;
                font-size: 24px;
            }

            .step-title {
                font-size: 24px;
            }
        }

        @media (max-width: 480px) {
            .section-header h2 {
                font-size: 28px;
            }

            .step-title {
                font-size: 20px;
            }

            .step-description {
                font-size: 15px;
            }
        }

/* ======= ABOUT US SECTION ======= */
.about-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h6 {
    color: #dc2626;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-family: 'Audiowide', sans-serif;
}

.about-text h2 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text p {
    color: #a1a1a1;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    color: #dc2626;
    font-size: 36px;
    font-weight: 700;
    font-family: 'Audiowide', sans-serif;
}

.stat-label {
    color: #a1a1a1;
    font-size: 14px;
    font-weight: 500;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* ======= PROJECTS SECTION ======= */
.projects {
    padding: 100px 0;
    background: #111;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.project-card {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.project-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
    filter: brightness(0.6);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 30px;
    border: 2px solid #dc2626;
    border-radius: 30px;
    background: #dc2626;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: transparent;
    color: #dc2626;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.project-card:hover .project-info h3 {
    color: #dc2626;
}

.project-info p {
    color: #a1a1a1;
    font-size: 15px;
    line-height: 1.6;
}

/* ======= CONTACT SECTION ======= */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(220, 38, 38, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.btn-submit {
    padding: 16px 40px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    background: #991b1b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.info-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.info-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.info-card h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.info-card p {
    color: #a1a1a1;
    font-size: 15px;
}

/* ======= WHATSAPP FLOAT BUTTON ======= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* ======= FOOTER ======= */
.footer {
    background: #0a0a0a;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: auto;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c20e04;
    font-family: 'Audiowide', sans-serif;
}

.footer-tagline {
    color: #a1a1a1;
    font-size: 15px;
    line-height: 1.6;
    max-width: 350px;
}

.footer-links h4,
.footer-social h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a1a1a1;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a1a1a1;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
    transform: translateY(-3px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-us,
    .projects,
    .contact {
        padding: 60px 0;
    }

    .about-text h2 {
        font-size: 32px;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-number {
        font-size: 30px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .about-text h2 {
        font-size: 28px;
    }

    .about-text p {
        font-size: 15px;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 13px;
    }

    .project-info h3 {
        font-size: 20px;
    }

    .btn-submit {
        width: 100%;
    }

    .footer-logo h3 {
        font-size: 1.3rem;
    }
}

.imagencortaseccion {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

.imagencortaseccion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%); /* oscurece sin perder detalle */
}

.overlay-texto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  padding: 1rem 2rem;
  width: 90%;
  max-width: 800px;
  z-index: 2;
}

.overlay-texto h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Responsivo */
@media (max-width: 768px) {
  .overlay-texto h2 {
    font-size: 1.4rem;
  }
}

