/* ====== RESET ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0a0a1a;
  color: #fff;
  scroll-behavior: smooth;
  padding-top: 80px; /* espacio para navbar fijo */
}

/* ====== NAVBAR ====== */
.navbar {
  width: 100%;
  background: rgba(10,10,26,0.9);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 10px 40px;
  backdrop-filter: blur(8px);
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  width: 150px;
}

/* Links escritorio */
.nav-links {
  display: flex;
  gap: 30px;
  margin: 0;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ff00cc;
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* ====== HERO ====== */
.hero {
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
  text-align: left;
  color: #fff;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f0f0f0 20%,
    #bdbdbd 40%,
    #ffffff 60%,
    #9e9e9e 80%,
    #f8f8f8 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  text-shadow:
    0 0 10px rgba(255,255,255,.15),
    0 2px 8px rgba(0,0,0,.35);
}

.hero-content p {
  margin-top: 15px;
  color: #bbb;
  font-size: 1.2rem;
}

.hero-buttons {
  margin-top: 30px;
}

.hero-image {
  flex: 1;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(10,10,26,0.9), transparent),
    linear-gradient(to top, rgba(10,10,26,0.9), transparent),
    linear-gradient(to right bottom, rgba(10,10,26,0.9), transparent),
    url('img/fondo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
}

/* ====== SECCIONES ====== */
.section {
  padding: 100px 20px;
  text-align: center;
}

/* TÍTULOS DE SECCIÓN */
.section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
}

#trabajos {
  padding-top: 40px;
}

.section-title,
.section h2 {
    font-size: 2.5rem; /* o 3rem si los querés más grandes */
    font-weight: 700;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f0f0f0 20%,
        #bdbdbd 40%,
        #ffffff 60%,
        #9e9e9e 80%,
        #f8f8f8 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    text-shadow:
        0 0 10px rgba(255,255,255,0.15),
        0 2px 8px rgba(0,0,0,0.3);
}

/* ====== SERVICIOS ====== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 280px);
  justify-content: center;
  gap: 25px;
  margin-top: 50px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  width: 280px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  border-color: #ff00cc;
}

/* =====================================================
  NUESTROS TRABAJOS
===================================================== */

.trabajos-section {
  padding-top: 90px;
  padding-bottom: 100px;
  overflow: hidden;
}


/* =====================================================
  ENCABEZADO
===================================================== */

.trabajos-header {
  text-align: center;
  margin-bottom: 45px;
}

.trabajos-mini-title {
  display: block;

  color: #ff00cc;

  font-size: 0.8rem;
  font-weight: 500;

  letter-spacing: 8px;

  margin-bottom: 10px;
}

.trabajos-header h2 {
  margin: 0;

  font-size: 3rem;
  font-weight: 700;
}

.trabajos-header p {
  margin-top: 12px;

  color: #aeb4c7;

  font-size: 1rem;
}

.trabajos-section .trabajos-header h2 {
  margin-bottom: 25px;
}

.trabajos-section .trabajos-header p {
  margin-top: 0;
}

/* =====================================================
  CARRUSEL DE CATEGORÍAS
===================================================== */

.categorias-wrapper {
  position: relative;

  width: 100%;
  max-width: 1450px;

  margin: 0 auto;

  padding: 0 65px;
}


/* CARRUSEL */

.categorias-carrusel {

  display: flex;

  gap: 18px;

  overflow-x: auto;

  scroll-behavior: smooth;

  scrollbar-width: none;

  padding: 10px 5px 25px;
}

.categorias-carrusel::-webkit-scrollbar {
  display: none;
}


/* =====================================================
  TARJETA
===================================================== */

.categoria-card {

  position: relative;

  flex: 0 0 300px;

  height: 390px;

  border-radius: 14px;

  overflow: hidden;

  background-size: cover;
  background-position: center;

  cursor: pointer;

  border: 1px solid rgba(255,255,255,0.12);

  transition:
    transform 0.35s ease,
    border 0.35s ease,
    box-shadow 0.35s ease;

}


/* OVERLAY */

.categoria-overlay {

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(5,5,15,0.95) 0%,
      rgba(5,5,15,0.65) 45%,
      rgba(5,5,15,0.1) 100%
    );

  transition: 0.35s ease;
}


/* CONTENIDO */

.categoria-contenido {

  position: absolute;

  left: 25px;
  right: 25px;
  bottom: 25px;

  z-index: 2;

  text-align: left;
}

.categoria-contenido h3 {

  color: #fff;

  font-size: 1.45rem;

  line-height: 1.1;

  font-weight: 700;

  margin-bottom: 12px;

}

.categoria-contenido p {

  color: #c9cddd;

  font-size: 0.9rem;

  line-height: 1.4;

  max-width: 230px;

  margin-bottom: 18px;

}


/* LINEA ROSA */

.categoria-linea {

  display: block;

  width: 45px;

  height: 4px;

  border-radius: 5px;

  background: linear-gradient(
    90deg,
    #ff00cc,
    #00d2ff
  );

  box-shadow:
    0 0 12px rgba(255,0,204,0.7);
}


/* HOVER */

.categoria-card:hover {

  transform: translateY(-8px);

  border-color: rgba(255,0,204,0.6);

  box-shadow:
    0 15px 45px rgba(255,0,204,0.18);

}

.categoria-card:hover .categoria-overlay {

  background:
    linear-gradient(
      to top,
      rgba(5,5,15,0.98),
      rgba(255,0,204,0.12)
    );

}


/* ACTIVA */

.categoria-card.active {

  border: 2px solid #ff00cc;

  box-shadow:
    0 0 25px rgba(255,0,204,0.45),
    0 15px 50px rgba(255,0,204,0.15);

}


/* =====================================================
  FLECHAS
===================================================== */

.categoria-flecha {

  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  width: 48px;
  height: 48px;

  border-radius: 50%;

  border: 2px solid #ff00cc;

  background: rgba(10,10,26,0.85);

  color: #fff;

  font-size: 1.5rem;

  cursor: pointer;

  z-index: 10;

  transition: 0.3s ease;

}

.categoria-flecha:hover {

  background: #ff00cc;

  box-shadow:
    0 0 25px rgba(255,0,204,0.6);

}

.categoria-prev {
  left: 5px;
}

.categoria-next {
  right: 5px;
}


/* =====================================================
  GALERÍA
===================================================== */

.galeria-trabajos {

  max-width: 1450px;

  margin: 55px auto 0;

  padding: 0 20px;

  opacity: 0;

  transform: translateY(-20px);

  display: none;

  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}


.galeria-trabajos.visible {

  display: block;

  opacity: 1;

  transform: translateY(0);

}


/* =====================================================
  CABECERA GALERÍA
===================================================== */

.galeria-header {

  display: flex;

  justify-content: space-between;

  align-items: end;

  margin-bottom: 25px;

  border-bottom: 1px solid rgba(255,255,255,0.08);

  padding-bottom: 18px;

}

.galeria-mini {

  color: #9ca3b8;

  font-size: 0.7rem;

  letter-spacing: 5px;

}

.galeria-header h3 {

  margin-top: 5px;

  font-size: 2rem;

  color: #ff00cc;

}

.cantidad-proyectos {

  color: #aaa;

  font-size: 0.85rem;

}


/* =====================================================
  MOSAICO MASONRY
===================================================== */

.trabajos-carrusel {

  column-count: 4;
  column-gap: 18px;
  width: 100%;

}


/* CADA FOTO */

.trabajos-carrusel .trabajo-item {

    display: inline-block;
    width: 100%;
    margin-bottom: 18px !important;
    vertical-align: top;
    break-inside: avoid;

}

.mosaico-trabajos {
    column-count: 4;
    column-gap: 14px;

    column-fill: balance;
}


/* IMÁGENES */

.trabajo-item img,
.trabajo-item video {

  width: 100%;

  height: auto;

  min-height: 180px;

  object-fit: cover;

  display: block;

  border-radius: 12px;

  cursor: pointer;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


/* HOVER FOTO */

.trabajo-item img:hover,
.trabajo-item video:hover {

  transform: scale(1.02);

  box-shadow:
    0 0 25px rgba(255,0,204,0.35);

}


/* DESCRIPCIÓN */

.trabajo-item .desc {

  color: #bbb;

  font-size: 0.8rem;

  line-height: 1.4;

  margin-top: 7px;

  text-align: left;

}


/* ANIMACIÓN */

@keyframes aparecerTrabajo {

  from {

    opacity: 0;

    transform:
      translateY(20px)
      scale(0.97);

  }

  to {

    opacity: 1;

    transform:
      translateY(0)
      scale(1);

  }

}


/* =====================================================
   MODAL DE IMÁGENES Y VIDEOS
===================================================== */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 30px;
}

.contenido-modal {
  display: block;
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(255, 0, 204, 0.35);
}

.modal-desc {
  color: #fff;
  font-size: 1rem;
  text-align: center;
  margin-top: 15px;
  max-width: 800px;
  line-height: 1.4;
}

.modal-close {
    position: fixed;

    top: 20px;
    right: 25px;

    z-index: 100001;

    width: 45px;
    height: 45px;

    padding: 0;
    margin: 0;

    border: none;
    outline: none;

    background: transparent !important;

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: 300;

    line-height: 45px;
    text-align: center;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    box-shadow: none !important;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.modal-close:hover {
    background: transparent !important;

    color: #ff00cc;

    transform: scale(1.08);

    box-shadow: none !important;
}

.modal-close:hover {
  color: #ff00cc;
}

/* ====== ¿POR QUÉ ELEGIRNOS? ====== */
#porque-elegirnos {
  background: rgba(255, 255, 255, 0.03);
  padding: 80px 20px;
  text-align: center;
}

#porque-elegirnos h2 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #00d2ff, #ff00cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 60px;
}

.porque-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.porque-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 280px;
}

.porque-item .icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.porque-item p {
  color: #bbb;
  font-size: 1rem;
  line-height: 1.5;
}

.porque-item p strong {
  color: #fff;
  font-weight: 600;
}

/* ====== FOOTER ====== */
footer {
  background: #050510;
  text-align: center;
  padding: 60px 20px;
}

.whatsapp-link { color: #25D366; text-decoration: none; }
.mail-link { color: #00d2ff; text-decoration: none; }

.socials { margin-top: 20px; }
.socials a { margin: 0 10px; color: #bbb; text-decoration: none; transition: 0.3s; }
.socials a:hover { color: #ff00cc; }

.copy { margin-top: 30px; color: #7B2CFF; font-size: 0.9em; }

/* ====== BOTONES HERO ====== */
.btn {
  display: inline-block;
  padding: 12px 40px;
  background: linear-gradient(90deg, #00d2ff, #ff00cc);
  border-radius: 30px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  margin: 5px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 0, 204, 0.5);
}

/* ====== RESPONSIVE ====== */

@media (max-width: 768px) {
  body { padding-top: 60px; }
  .menu-toggle { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0,0,0,0.95);
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 20px;
    border-radius: 0 0 0 10px;
  }

  .nav-links a { text-align: right; padding: 10px 0; }
  .nav-links.active { display: flex; }

  .porque-lista {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .porque-item { max-width: 100%; }
}
.trabajo-video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}
.trabajo-video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.trabajo-video:hover {
  transform: scale(1.05);
}
.separador-rosa {
  width: 100px;                 /* ancho de la línea */
  height: 5px;                  /* grosor */
  margin: 40px auto;            /* centrado y espacio */
  border-radius: 3px;           /* puntas suaves */
  background: linear-gradient(90deg, #ff00cc, #00d2ff, #ff00cc);
  background-size: 200% 100%;   /* permite animación */
  animation: mover-gradiente 3s linear infinite;
  box-shadow: 0 0 15px #ff00cc55, 0 0 15px #00d2ff55; /* brillo suave */
}

/* Animación del degradado */
@keyframes mover-gradiente {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}
/* ====== FIX: Espaciado correcto en móviles ====== */
@media (max-width: 768px) {
  body {
    padding-top: 100px !important; /* más espacio para el header fijo */
  }

  .hero {
    padding-top: 20px; /* evita que el texto quede tapado */
  }
}
.whatsapp-dropdown {
  position: relative;
  display: inline-block;
}

.whatsapp-options {
  display: none;
  position: absolute;
  bottom: 40px;
  left: 0;
  background-color: #fff;
  border: 1px solid #f4a9d8;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  padding: 10px 0;
  z-index: 10;
}

.whatsapp-options a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: #ff69b4;
  font-weight: bold;
}

.whatsapp-options a:hover {
  background-color: #ffe6f3;
}

.whatsapp-dropdown.open .whatsapp-options {
  display: block;
}
/* --- WhatsApp desplegable --- */
.whatsapp-dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  bottom: 120%;
  left: 0;
  background-color: rgba(10, 10, 26, 0.95);
  border: 1px solid #ff00cc;
  border-radius: 10px;
  min-width: 190px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  z-index: 999;
  padding: 10px 0;
}

.dropdown-content a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 8px 16px;
  transition: background 0.3s, color 0.3s;
}

.dropdown-content a:hover {
  background-color: #ff00cc;
  color: #0a0a1a;
}

/* Mostrar el menú al pasar el cursor */
.whatsapp-dropdown:hover + .dropdown-content,
.dropdown-content:hover {
  display: block;
}

/* Alinear íconos sociales */
.socials {
  display: flex;
  justify-content: center;
  gap: 25px;
  align-items: center;
}

.social-link {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.social-link:hover {
  color: #ff00cc;
}
/* --- Menú WhatsApp --- */
.whatsapp-menu {
  position: relative;
  display: inline-block;
}

#whatsappButton {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

#whatsappButton:hover {
  color: #ff00cc;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(10, 10, 26, 0.95);
  border: 1px solid #ff00cc;
  border-radius: 6px;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 10;
  bottom: 130%;
  left: 0;
}

.dropdown-content a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 10px 16px;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #ff00cc;
  color: #0a0a1a;
}

/* Estructura general de redes */
.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.social-link {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #ff00cc;
}

/* Ocultar flechas del carrusel de categorías */
.categoria-prev,
.categoria-next,
.categoria-arrow {
    display: none !important;
}

/* =====================================================
  OCULTAR DESCRIPCIONES DEBAJO DE LAS FOTOS
   ===================================================== */

#trabajosGaleria .trabajo-item > .desc {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   SERVICIOS - DISEÑO NUEVO
========================================================= */

#servicios {
    padding: 110px 6% 120px;
    position: relative;
}

/* Título */

#servicios h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 70px;

    background: linear-gradient(
        90deg,
        #ffffff 20%,
        #d9d9d9 50%,
        #ffffff 80%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-transform: uppercase;
    letter-spacing: -1px;
}


/* CONTENEDOR DE SERVICIOS */

.servicios-grid {
    max-width: 1150px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


/* TARJETAS */

.servicio-card {
    position: relative;

    min-height: 230px;
    padding: 34px 30px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(28, 27, 45, 0.95),
            rgba(12, 11, 25, 0.98)
        );

    border: 1px solid rgba(255,255,255,0.10);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


/* BRILLO DE FONDO */

.servicio-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -90px;
    right: -90px;

    background: radial-gradient(
        circle,
        rgba(255, 0, 204, 0.20),
        transparent 70%
    );

    transition: 0.4s ease;
}


/* LÍNEA DE COLOR */

.servicio-card::after {
    content: "";

    position: absolute;

    left: 30px;
    bottom: 0;

    width: 70px;
    height: 3px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #ff00cc,
        #00d9ff
    );

    transition: width 0.35s ease;
}


/* HOVER */

.servicio-card:hover {
    transform: translateY(-8px);

    border-color: rgba(255, 0, 204, 0.65);

    box-shadow:
        0 15px 45px rgba(0,0,0,0.45),
        0 0 30px rgba(255,0,204,0.12);
}


.servicio-card:hover::before {
    transform: scale(1.5);
}


.servicio-card:hover::after {
    width: 130px;
}


/* TÍTULO */

.servicio-card h3 {
    position: relative;
    z-index: 2;

    margin: 0 0 12px;

    font-size: 1.35rem;
    font-weight: 800;

    color: #ffffff;
}


/* DESCRIPCIÓN */

.servicio-card p {
    position: relative;
    z-index: 2;

    margin: 0;

    color: #bfc1d4;

    font-size: 1rem;
    line-height: 1.6;
}


/* =========================================================
  RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    #servicios {
        padding: 80px 5%;
    }

    #servicios h2 {
        margin-bottom: 45px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .servicio-card {
        min-height: 190px;
    }

}

/* ===== AJUSTE TÍTULO SERVICIOS ===== */
#servicios h2 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 30px !important;
}

#servicios .section-subtitle {
    position: relative;
    top: -20px;
    margin-bottom: 25px !important;
}

/* =====================================================
   AJUSTE FINAL — ESPACIADO SERVICIOS Y TRABAJOS
===================================================== */


/* =========================
   SERVICIOS
========================= */

#servicios {
    padding: 75px 6% 55px;
}


/* CONTENEDOR DEL TÍTULO */

.servicios-header {
    text-align: center;
    margin: 0 auto 32px;
}


/* TÍTULO PRINCIPAL */

.servicios-header h2 {
    margin: 0 0 12px !important;

    font-size: 2.2rem !important;
    line-height: 1.2 !important;
}


/* SUBTÍTULO */

.servicios-header p {
    position: static !important;

    margin: 0 !important;

    font-size: 1rem;
    line-height: 1.5;

    color: #ffffff;

    text-align: center;
}


/* TARJETAS */

.servicios-grid {
    margin-top: 0 !important;

    gap: 24px;
}


/* =========================
   SEPARADOR
========================= */

#servicios + .separador-rosa {
    margin: 38px auto 35px;
}


/* =========================
   TRABAJOS
========================= */

.trabajos-section {
    padding-top: 35px;
    padding-bottom: 90px;
}


/* ENCABEZADO */

.trabajos-header {
    text-align: center;

    margin: 0 auto 30px;
}


/* TÍTULO TRABAJOS */

.trabajos-header h2 {
    margin: 0 0 12px !important;

    font-size: 2.2rem !important;
    line-height: 1.2;
}


/* SUBTÍTULO TRABAJOS */

.trabajos-header p {
    margin: 0 !important;

    font-size: 1rem;

    line-height: 1.5;

    color: #ffffff;
}


/* CARRUSEL / TARJETAS */

.trabajos-header + .categorias-wrapper {
    margin-top: 0;
}

/* ==========================================
   TRABAJOS — ESPACIADO MÁS ARMONIOSO
========================================== */

.trabajos-header {
    margin: 0 auto 22px !important;
    text-align: center;
}

.trabajos-header h2 {
    margin: 0 0 10px !important;
    line-height: 1.15 !important;
}

.trabajos-header p {
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Acerca las tarjetas al subtítulo */
.trabajos-section .categorias-wrapper {
    margin-top: 0 !important;
}

/* =====================================================
   TRABAJOS — ESPACIADO ARMONIOSO
===================================================== */

#trabajos {
    padding-top: 35px !important;
    padding-bottom: 90px !important;
}

/* TÍTULO */

#trabajos > h2 {
    margin: 0 0 12px !important;
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
}

/* SUBTÍTULO */

#trabajos > .trabajos-subtitulo {
    margin: 0 0 28px !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    text-align: center;
}

/* TARJETAS */

#trabajos > .categorias-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* =====================================================
   QUIÉNES SOMOS — ESTILO MANIFIESTO
===================================================== */

#nosotros.about {
    position: relative;
    padding: 100px 8% 85px !important;
    text-align: center;
    overflow: hidden;
}

/* BRILLO DE FONDO */

#nosotros.about::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(
        circle,
        rgba(255, 0, 204, 0.14),
        rgba(0, 210, 255, 0.05) 40%,
        transparent 70%
    );
    pointer-events: none;
}

/* TÍTULO */

#nosotros.about h2 {
    position: relative;
    margin: 0 0 55px !important;
    font-size: 2.3rem !important;
    line-height: 1.2;
}

/* CONTENEDOR */

#nosotros.about > div {
    position: relative;
    max-width: 1150px;
    margin: 0 auto;
}

/* SACAMOS LOS BR */

#nosotros.about br {
    display: none;
}

/* =====================================================
   FRASE PRINCIPAL
===================================================== */

#nosotros.about p:first-of-type {
    margin: 0 auto 65px !important;
    max-width: 850px;

    font-size: 1.55rem !important;
    line-height: 1.5;
    font-weight: 600;

    background: linear-gradient(
        90deg,
        #ffffff,
        #d8d8e5,
        #ffffff
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =====================================================
   HISTORIA / PRESENTE
===================================================== */

#nosotros.about p:not(:first-of-type) {
    position: relative;

    display: inline-block;
    vertical-align: top;

    width: 42%;
    margin: 0 3% !important;

    padding: 0 10px 0 28px;

    border-left: 2px solid transparent;

    border-image: linear-gradient(
        to bottom,
        #ff00cc,
        #00d9ff
    ) 1;

    background: none;
    border-radius: 0;

    box-shadow: none;

    color: #c8c8d5;

    font-size: 1rem !important;
    line-height: 1.75;

    text-align: left;
}

/* PEQUEÑO TÍTULO VISUAL */

#nosotros.about p:nth-of-type(2)::before {
    content: "NUESTRA HISTORIA";
}

#nosotros.about p:nth-of-type(3)::before {
    content: "HOY";
}

#nosotros.about p:not(:first-of-type)::before {
    display: block;

    margin-bottom: 12px;

    color: #ffffff;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
}

/* SEPARADOR CENTRAL */

#nosotros.about p:nth-of-type(2)::after {
    content: "";
    position: absolute;

    width: 6px;
    height: 6px;

    right: -7%;
    top: 8px;

    border-radius: 50%;

    background: #ff00cc;

    box-shadow:
        0 0 12px #ff00cc,
        0 0 25px rgba(255,0,204,0.5);
}

/* =====================================================
   TÍTULOS PRINCIPALES DE SECCIÓN
===================================================== */

.titulo-seccion {
    position: relative;

    display: inline-block;

    margin: 0 auto 55px !important;

    font-size: clamp(2rem, 3vw, 3rem) !important;
    line-height: 1.1;

    font-weight: 800 !important;
    letter-spacing: 0.5px;

    text-align: center;

    /* Degradado del texto */
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #d9d9e4 45%,
        #ffffff 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* Glow sutil */
    filter:
        drop-shadow(0 0 8px rgba(255,255,255,0.12));

    z-index: 2;
}


/* ✦ DETALLE ARRIBA DEL TÍTULO */

.titulo-seccion::before {
    content: "✦";

    position: absolute;

    left: 50%;
    top: -30px;

    transform: translateX(-50%);

    font-size: 0.65rem;

    background: linear-gradient(
        90deg,
        #ff00cc,
        #8b5cf6,
        #00d9ff
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(0 0 6px rgba(255,0,204,0.5))
        drop-shadow(0 0 6px rgba(0,217,255,0.4));
}


/* ───── LÍNEA DEBAJO ───── */

.titulo-seccion::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -22px;

    transform: translateX(-50%);

    width: 55px;
    height: 3px;

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        #ff00cc,
        #8b5cf6,
        #00d9ff
    );

    box-shadow:
        0 0 8px rgba(255,0,204,0.45),
        0 0 14px rgba(0,217,255,0.35);
}


/* =====================================================
   AJUSTE DE ESPACIADO DE LOS TÍTULOS
===================================================== */

/* Quiénes somos */
#nosotros .titulo-seccion {
    margin-bottom: 60px !important;
}

/* Servicios */
#servicios .titulo-seccion {
    margin-bottom: 52px !important;
}

/* Trabajos */
#trabajos .titulo-seccion {
    margin-bottom: 52px !important;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .titulo-seccion {
        font-size: 2rem !important;
    }

    .titulo-seccion::before {
        top: -25px;
    }

    .titulo-seccion::after {
        bottom: -18px;
        width: 45px;
    }
}

/* Quitar las barritas de colores debajo de los títulos */
.titulo-seccion::after {
    display: none !important;
}

/* =====================================================
   📱 AJUSTE MOBILE - JOLION
===================================================== */

@media (max-width: 768px) {

  /* -------------------------
     NAVBAR
  ------------------------- */

  body {
    padding-top: 65px !important;
    overflow-x: hidden;
  }

  .navbar {
    padding: 8px 18px;
  }

  .nav-container {
    height: 50px;
  }

  .nav-logo {
    width: 105px;
  }

  .menu-toggle {
    display: block !important;
    font-size: 1.8rem;
    color: #fff;
  }

  .nav-links {
    display: none !important;
  }

  .nav-links.active {
    display: flex !important;
  }


  /* -------------------------
     HERO
  ------------------------- */

  .hero {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: center;

    padding: 55px 20px 0 !important;

    position: relative;
    overflow: hidden;
  }


  /* TEXTO DEL HERO */

  .hero-content {
    width: 100%;
    max-width: 100%;

    text-align: center;

    margin: 0 !important;
    padding: 0;

    position: relative;
    z-index: 5;
  }

  .hero-content h1 {
    font-size: 2.2rem !important;
    line-height: 1.1;
    margin: 0;
  }

  .hero-content p {
    font-size: 0.95rem !important;
    line-height: 1.5;

    margin: 15px auto 0;

    max-width: 330px;
  }

  .hero-buttons {
    margin-top: 22px;
  }

  .hero-buttons .btn {
    padding: 11px 28px;
    font-size: 0.9rem;
  }


  /* -------------------------
     IMAGEN DEL HERO
  ------------------------- */

  .hero-image {
    width: 100% !important;

    /*
       Antes estaba ocupando demasiado.
       Ahora será solamente una zona visual.
    */
    height: 300px !important;

    flex: none !important;

    margin-top: 25px;

    background-size: cover;
    background-position: center top;

    border-radius: 0;

    opacity: 0.75;
  }

}

/* =====================================================
   📱 MOBILE - HERO
===================================================== */

@media (max-width: 768px) {

  body {
    padding-top: 60px !important;
    overflow-x: hidden;
  }

  /* NAVBAR */

  .navbar {
    padding: 8px 18px;
  }

  .nav-logo {
    width: 105px;
  }

  .menu-toggle {
    display: block;
    font-size: 1.8rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;

    position: absolute;
    top: 100%;
    right: 0;

    width: 190px;

    padding: 15px;

    background: rgba(10, 10, 26, 0.97);

    border-radius: 0 0 0 12px;
  }

  .nav-links.active {
    display: flex;
  }


  /* =========================
     HERO
  ========================= */

  .hero {
    height: auto !important;
    min-height: 0 !important;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: center;

    padding: 45px 20px 0 !important;

    overflow: hidden;
  }


  /* TEXTO */

  .hero-content {
    width: 100%;
    max-width: 360px;

    text-align: center;

    margin: 0 !important;
    padding: 0;

    z-index: 2;
  }

  .hero-content h1 {
    font-size: 2.2rem !important;
    line-height: 1.1;

    margin: 0;
  }

  .hero-content p {
    font-size: 0.95rem !important;
    line-height: 1.5;

    margin-top: 14px;

    color: #bbb;
  }

  .hero-buttons {
    margin-top: 20px;
  }

  .hero-buttons .btn {
    padding: 11px 25px;
    font-size: 0.9rem;
  }


  /* =========================
     FONDO / IMAGEN
  ========================= */

  .hero-image {
    width: 100% !important;

    height: 280px !important;

    flex: none !important;

    margin-top: 25px;

    background-size: cover;
    background-position: center;

    border-radius: 0;
  }
}

/* ==============================
   REDES SOCIALES
============================== */

.socials {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 55px;
  margin-top: 20px;
}


/* ==============================
   WHATSAPP
============================== */

.whatsapp-menu {
  position: relative;
  display: flex;
  align-items: flex-start;
  height: 42px;
}

#whatsappButton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: auto;
  height: 20px;

  padding: 0;
  margin: 0;

  background: transparent;
  border: none;

  color: rgb(9, 173, 20);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 20px;

  cursor: pointer;
}


/* ==============================
   INSTAGRAM
============================== */

.instagram-link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;

  width: auto;
  height: 42px;

  margin: 0 !important;
  padding: 0 !important;

  color: #e832f5 !important;
  text-decoration: none !important;

  line-height: 1 !important;
}

.instagram-main {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 20px;

  gap: 8px;

  font-size: 1rem;
  font-weight: 500;
  line-height: 20px;
}


/* ==============================
   LOGOS
============================== */

.social-icon {
  width: 20px;
  height: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.social-icon svg {
  width: 20px;
  height: 20px;

  display: block;
  fill: currentColor;
}


/* Instagram sin relleno */

.instagram-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-icon svg circle:last-child {
  fill: currentColor;
  stroke: none;
}


/* ==============================
   USUARIO INSTAGRAM
============================== */

.instagram-user {
  display: block;
  width: 100%;
  margin-top: 7px;
  text-align: center;
  color: #e832f5;
  font-size: 0.90rem;
  font-weight: 400;
  line-height: 1;
}


/* ==============================
   HOVER
============================== */

#whatsappButton:hover,
.instagram-link:hover {
  color: #ff00cc !important;
}

.instagram-link:hover .instagram-user {
  color: #aaa;
}

