/* ============================
   CURSOR PERSONALIZADO GLOBAL
   ============================ */
html, body {
  /* Asegurate de tener este archivo: assets/icons/cursor-brush.png */
  cursor: url("assets/icons/cursor-brush.png") 8 24, pointer;
}




/* ============================
   FUENTES LOCALES (WOFF2)
   ============================ */
@font-face {
  font-family: "Microgramma Extd D";
  src: url("assets/fonts/MicrogrammaExtdD-Medium.woff2") format("woff2");
  font-weight: 400;      /* Medium */
  font-style: normal;
  font-display: swap;
  font-synthesis: none;
}
@font-face {
  font-family: "Microgramma Extd D";
  src: url("assets/fonts/MicrogrammaExtdD-ExtraBold.woff2") format("woff2");
  font-weight: 900;      /* ExtraBold */
  font-style: normal;
  font-display: swap;
  font-synthesis: none;
}


.font-microgramma { font-family: "Microgramma Extd D", sans-serif; }

/* ============================
   FUENTE Y FONDO (MODIFICADO)
   ============================ */
body {
  font-family: "Microgramma Extd D", sans-serif;
  background-image: url('assets/fondo.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: #000;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== WRAPPER PARA ANIMACIÓN ===== */
/* Esto soluciona el 'position: fixed' del botón de WhatsApp */
#page-wrapper {
  animation: fadeZoomIn 2s ease-out forwards;
  opacity: 0;
  transform: scale(1.04);
}
/* ======================================= */


@keyframes fadeZoomIn {
  0% { opacity: 0; transform: scale(1.04); filter: brightness(0.6); }
  100% { opacity: 1; transform: scale(1); filter: brightness(1); }
}

@media (max-width: 1024px){
  body { background-attachment: scroll; }
}

/* ============================
   HEADER
   ============================ */
header nav a {
  color: #fff;
  letter-spacing: 0.15em;
  transition: opacity 0.3s ease;
}
header nav a:hover { opacity: 0.7; }

/* ============================
   HEADER TIPOGRAFÍA (Solución 3 - Más Específica)
   ============================ */

/* Estilos comunes de tipografía y la TRANSFORMACIÓN
  para todos los elementos del menú.
*/
header nav a,
header #menu-btn,
#mobile-menu a {
  font-family: "Microgramma Extd D", sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;

  /* Aplicamos la inclinación (skew) y usamos !important
     para ganar la "guerra de especificidad" contra Tailwind.
  */
  transform: skewX(-10deg) !important;
}

/* REGLA SEPARADA: Solo para los enlaces del NAV de ESCRITORIO.
  Los <a> por defecto son 'inline' y 'transform' no les afecta.
  Los forzamos a 'inline-block'. 
  No aplicamos esto al botón o al menú móvil 
  porque ya se comportan como bloques (y no queremos romperlos).
*/
header nav a {
  display: inline-block !important;
}


/* ============================
   HERO
   ============================ */
.hero-stage {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.hero-stage .container {
  position: relative;
  z-index: 20;
  max-width: 1000px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  transform: translateX(-4%);
}

/* Estrella del fondo */
.hero-star {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  width: min(100vmin, 1150px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.85;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,.35));
}

@media (max-width:1024px){
  .hero-star {
    width: 120vw;
    left: 50%;
    top: 50%;
    opacity: 0.85;
  }
}

/* SOMOS AVANT */
.hero-kicker {
  text-transform: uppercase;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.12em;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
  -webkit-text-stroke: 0;
  text-align: left;
}

/* INNOVACIÓN, CALIDAD Y AVANCE */
.hero-title {
  text-transform: uppercase;
  line-height: 1.05;
  font-size: clamp(2.4rem, 8vw, 7rem);
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
  font-weight: 900;
  text-align: left;
}

.volumetric {
  -webkit-text-stroke:1.2px rgba(255,255,255,.06);
  text-shadow:
    0 2px 2px rgba(255,255,255,.10),
    0 4px 4px rgba(255,255,255,.10),
    0 10px 16px rgba(0,0,0,.35),
    0 22px 38px rgba(0,0,0,.40);
}

/* ===== Efecto pintura (gooey) ===== */
.hero-stage .container { position: relative; }

.paint {
  position:absolute;
  inset:auto 0 8vh 0;
  height: 35vh;
  filter: url(#goo);
  pointer-events:none;
}

.drop {
  position:absolute;
  left: var(--x);
  bottom: 100%;
  width: var(--s);
  height: var(--s);
  border-radius:50%;
  animation: drip var(--t) ease-in var(--d) infinite;
  background: radial-gradient(circle at 30% 30%,
    rgba(255,160,0,.95),
    rgba(255,80,0,.95) 60%,
    rgba(200,10,10,.98) 100%);
  box-shadow:
    0 0 0 calc(var(--s)*.35) rgba(255,80,0,.15),
    0 6px 18px rgba(0,0,0,.25);
}

@keyframes drip {
  0%   { transform: translateY(-12vh) scale(.7); opacity:0; }
  10%  { opacity:1; }
  70%  { transform: translateY(calc(var(--h,24)*1vh)) scale(1.05); }
  100% { transform: translateY(calc((var(--h,24)+8)*1vh)) scale(.95); opacity:0; }
}
/* ============================
   SECCIÓN "QUIÉNES SOMOS" (NUEVO)
   ============================ */

/* Anulamos el 'text-center' de Tailwind en este contenedor */
#about .container {
  text-align: left !important;
}

.quienes-titulo {
  /* Usa la fuente ExtraBold (900) */
  font-family: "Microgramma Extd D", sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3rem); /* 35px a 48px */
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: #fff;

  /* ===== MODIFICADO SEGÚN LA ÚLTIMA IMAGEN ===== */
  
  /* 1. Eliminamos el 'skew' (la inclinación) */
  transform: none; 
  /* 2. Eliminamos el 'inline-flex' y volvemos a 'block' (default de h2) */
  display: block;

  /* ============================================= */
  
  margin-bottom: 2rem;
  text-transform: uppercase;
}

/* ===== REGLA NUEVA PARA EL ÍCONO ===== */
.quienes-titulo-icono {
  /* 1. Tamaño fijo, ya no es relativo al texto */
  height: 60px; 
  width: 60px; /* Hacemos que sea un cuadrado */
  
  /* 2. Añadimos margen inferior para separarlo del título */
  margin-bottom: 1.5rem; /* 24px */
  
  /* 3. Nos aseguramos de que sea un bloque */
  display: block;
}
/* ============================================== */

.quienes-texto {
  /* Usa la fuente Medium (400) */
  font-family: "Microgramma Extd D", sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.25rem); /* 16px a 20px */
  line-height: 1.8;
  color: #e5e7eb; /* Un gris un poco más claro (Tailwind gray-200) */
  max-width: 900px; /* Ancho máximo del párrafo */
  
  /* Eliminamos el centrado de márgenes */
  margin-left: 0;
  margin-right: 0;
  /* Y aseguramos la alineación del texto */
  text-align: left;

  /* ===== MODIFICADO SEGÚN LA ÚLTIMA IMAGEN ===== */
  /* 1. Eliminamos las mayúsculas y la cursiva */
  font-style: normal;
  text-transform: none; 
  /* 2. Reducimos el espaciado para minúsculas */
  letter-spacing: 0.02em; 
}

.quienes-texto .highlight {
  /* Clase para las palabras clave */
  color: #fff;
  font-weight: 900; /* ExtraBold */
  
  /* ===== MODIFICADO SEGÚN LA ÚLTIMA IMAGEN ===== */
  /* 1. Eliminamos el 'skew' y la cursiva */
  font-style: normal;
  transform: none;
  /* 2. Eliminamos el 'uppercase' que tenían antes */
  text-transform: none;
  /* ============================================= */

  display: inline-block;
  letter-spacing: 0.05em;
  /* Damos un pequeño margen para que no se peguen */
  margin: 0 0.25em;
}

/* ============================
   CARRUSEL COVERFLOW (WIDE)
   ============================ */
:root {
  --gap: 28%;              /* menor separación lateral → más ancho visual */
  --scale-diff: .22;
  --tilt: 8deg;
  --depth: 160px;
  --shadow: 0 18px 40px rgba(0,0,0,.28);
  --radius: 24px;
  --speed: 420ms;
  --easing: cubic-bezier(.22,.8,.26,1);
}

/* contenedor principal */
#proyectos .wrap {
  display: grid;
  place-items: center;
  width: 100%;
}

#proyectos .carousel {
  position: relative;
  width: min(1600px, 100vw);  /* más ancho general */
  aspect-ratio: 2.8 / 1;      /* relación más panorámica */
  overflow: visible;
}

#proyectos .track {
  position: relative;
  height: 100%;
  overflow: visible;
  perspective: 1200px;
}

/* cada slide */
#proyectos .slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 1400px);   /* se extiende más */
  aspect-ratio: 2.8 / 1;      /* acompaña el nuevo formato */
  transform:
    translate3d(calc((var(--offset)*var(--gap)) - 50%), 0, calc(var(--z)*var(--depth)))
    scale(calc(1 - min(1, var(--abs))*var(--scale-diff)))
    rotateY(calc(clamp(-1, var(--offset), 1)*var(--tilt)));
  transition:
    transform var(--speed) var(--easing),
    filter var(--speed) var(--easing);
  z-index: calc(100 - var(--abs)*10);
  filter: brightness(calc(1 - min(.28, var(--abs)*.18)));
  will-change: transform;
  cursor: pointer;
}

#proyectos .slide.is-active {
  z-index: 999;
  filter: brightness(1);
}

/* contenido de la slide */
#proyectos .media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
}

#proyectos .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* asegura cobertura total */
  object-position: center;
  transform: translate3d(calc(var(--offset)*-4%), 0, 0);
  transition: transform var(--speed) var(--easing);
  image-rendering: -webkit-optimize-contrast;
}

#proyectos .tag {
  position: absolute;
  inset: auto auto 16px 16px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
}

/* sin flechas ni puntos */
#proyectos .nav,
#proyectos .dots {
  display: none !important;
}

/* responsive */
/* ===== Carrusel: mobile, mostrar imágenes completas ===== */
@media (max-width: 560px) {
  /* Ajustes de proporción y espacio */
  :root {
    --gap: 32%;
    --scale-diff: .14;
    --depth: 70px;
    --tilt: 5deg;
  }

  #proyectos .carousel {
    width: 100vw;
    aspect-ratio: 16 / 10; /* más alto para ver la imagen completa */
    overflow: hidden;
  }

  #proyectos .slide {
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  #proyectos .slide img {
    object-fit: contain;           /* 🔹 ahora muestra la imagen completa */
    background-color: transparent;
    transform: none;               /* sin desplazamiento lateral */
  }
}


/* ============================
   SECCIÓN ICONOS CATEGORÍAS
   ============================ */
.categoria-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer; 
}

.categoria-circulo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
  transition: all 0.3s ease-in-out;
  background: transparent;
  border: none;
}

.categoria-item img {
  width: 160px;  
  height: 160px; 
  object-fit: contain;
  transition: filter 0.3s ease-in-out, opacity 0.3s ease;
  filter: brightness(0.75) contrast(1.05) saturate(0.95); /* 👈 menos blanco, más natural */
  opacity: 0.9; /* 👈 leve suavizado */
}

/* Hover: brillo fuerte, igual que antes */
.categoria-item:hover .categoria-circulo {
  transform: scale(1.08);
}

.categoria-item:hover img {
  filter:
    brightness(1.2)
    drop-shadow(0 0 7px rgba(255,160,0,1)) 
    drop-shadow(0 0 15px rgba(255,80,0,0.8))
    drop-shadow(0 0 25px rgba(200,10,10,0.7));
  opacity: 1; /* vuelve más intensa al hover */
}

/* Texto debajo del ícono */
.categoria-texto {
  font-family: "Microgramma Extd D", sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 0.1rem;
}

/* ============================
   BOTÓN FLOTANTE DE WHATSAPP (Ajustado)
   ============================ */
.whatsapp-float {
  position: fixed;
  top: 15%;        /* referencia de altura */
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 0;
  box-shadow: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

@media (min-width: 768px) {
  .whatsapp-float {
    top: 12%;
    right: 30px;
  }
  .whatsapp-float img {
    width: 48px;
    height: 48px;
  }
}

@media (min-width: 1200px) {
  .whatsapp-float {
    top: 10%;
    right: 50px;
  }
}

/* ============================
   FIX PARA ANIMACIÓN BODY / WRAPPER
   ============================ */
body {
  font-family: "Microgramma Extd D", sans-serif;
  background-image: url('assets/fondo.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mover la animación al wrapper */
#page-wrapper {
  animation: fadeZoomIn 2s ease-out forwards;
  opacity: 0;
  transform: scale(1.04);
  will-change: transform, opacity;
}

/* ============================
   BARRA LATERAL - SEGUINOS (fija, blanca, sin fondo)
   ============================ */
.social-sidebar {
  position: fixed !important; /* mantiene posición en scroll */
  top: 15%;                   /* misma altura que el WhatsApp */
  left: 24px;                 /* margen desde el borde izquierdo */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2000;              /* por encima del contenido */
  background: none;
  pointer-events: auto;
}

/* Texto vertical “Seguinos” */
.social-sidebar .vertical-text {
  font-family: "Microgramma Extd D", sans-serif;
  font-weight: 900;
  color: #ffffff;
  font-size: 0.95rem;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

/* Íconos blancos sin fondo */
.social-sidebar .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border-radius: 50%;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.social-sidebar .social-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(100%);
}

/* Hover: sutil brillo */
.social-sidebar .social-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.8));
}

/* Ocultar en móviles */
@media (max-width: 480px) {
  .social-sidebar {
    display: none;
  }
}

/* ============================
   SECCIÓN: CATÁLOGO (Banner)
   ============================ */
#cta-catalogo {
  position: relative;
}

#cta-catalogo .catalogo-banner {
  display: block;
  cursor: inherit;
  transition: transform .28s ease, filter .28s ease;
  outline: none;
}

#cta-catalogo .catalogo-banner:hover {
  transform: translateY(-2px) scale(1.01);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.28));
}

#cta-catalogo .catalogo-banner:focus-visible {
  box-shadow: 0 0 0 3px rgba(255,255,255,.85),
              0 0 0 6px rgba(255,128,0,.75);
  border-radius: 14px;
}

/* Ajustes responsivos opcionales */
@media (min-width: 1024px) {
  #cta-catalogo .catalogo-banner:hover {
    transform: translateY(-3px) scale(1.015);
  }
}

/* ===== Contactános ===== */
.contact-section{
  padding: 4rem 0 4.5rem;
  background: transparent;        /* ← sin fondo, usa el de la página */
}

.contact-title-wrap{
  display:flex; align-items:center; gap:18px;
  margin: 0 auto 2.2rem; max-width: 1200px;
}

.contact-title{
  font-family:"Microgramma Extd D", sans-serif;
  font-weight: 900;
  color:#fff;
  letter-spacing:.05em;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: none;           /* Solo mayúscula inicial */
  line-height: 1;
}

.contact-line{
  flex:1; height:2px; background:rgba(255,255,255,.9);
  display:block; filter: drop-shadow(0 1px 0 rgba(0,0,0,.25));
}
.contact-line-bottom{
  display:block; margin-top:2.2rem;
  width:100%; height:2px; background:rgba(255,255,255,.9);
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.25));
}

/* Grilla */
.contact-grid{
  display:grid; gap:30px;
  grid-template-columns: 1fr;
  max-width:1200px; margin:0 auto;
  align-items:start;              /* alinea los 3 bloques por arriba */
}
@media (min-width: 900px){
  .contact-grid{ grid-template-columns: 1fr 1fr 1fr; }
}

.contact-item{ display:flex; flex-direction:column; gap:14px; }

/* Redes: misma separación vertical entre filas */
.contact-item--social { gap: 10px; }

.contact-row{
  display:flex; align-items:center; gap:14px;
}

.contact-icon{
  width:28px; height:28px; object-fit:contain;
  filter: brightness(100%);
  flex:0 0 28px;                  /* ancho fijo para alinear textos */
}

.contact-text{
  font-family:"Microgramma Extd D", sans-serif;
  color:#fff; letter-spacing:.02em;
  font-weight:400; line-height:1.5;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  margin:0;
}

.contact-link{
  color:#fff; text-decoration:none; position:relative;
  transition: opacity .2s ease;
}
.contact-link:hover{ opacity:.85; }

/* ============================
   CRÉDITOS / PARTNERS (logos) - AJUSTE DE ESPACIO
   ============================ */
#creditos {
  background: transparent;
  padding-top: 4rem;   /* antes 6rem */
  padding-bottom: 2rem; /* 🔽 reducido para menos espacio al final */
}

#creditos .credits-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 6vw, 80px);
  min-height: clamp(100px, 18vw, 200px); /* 🔽 altura un poco menor */
}


#creditos .credit img{
  /* ⬆️ Mucho más grandes */
  height: clamp(72px, 12vw, 160px);
  width: auto;
  opacity: 0;                 /* inicio invisible para que se note la entrada */
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.35));
  transition: transform .28s ease, opacity .28s ease, filter .28s ease;
  will-change: transform, opacity;
}

#creditos .credit:hover img{
  transform: scale(1.06);
  opacity: 1;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,.45));
}

#creditos .credits-divider{
  width: clamp(40px, 8vw, 120px);  /* ⬆️ separador más largo */
  height: 2px;
  background: #fff;
  opacity: .8;
  display:inline-block;
  transform: translateY(0);
  will-change: opacity;
}

/* Estados iniciales para la animación (antes de entrar en viewport) */
#creditos .logo-tony img   { transform: translateX(-40vw); }
#creditos .logo-enter img  { transform: translateX(40vw);  }

/* Cuando el contenedor recibe la clase .in-view, disparamos las animaciones */
#creditos.in-view .logo-tony img{
  animation: slideInLeft .9s cubic-bezier(.22,.8,.26,1) .05s both;
}
#creditos.in-view .logo-enter img{
  animation: slideInRight .9s cubic-bezier(.22,.8,.26,1) .05s both;
  animation-delay: .12s; /* leve desfase para que lleguen “a encontrarse” */
}
#creditos.in-view .credits-divider{
  animation: fadeIn .7s ease .25s both;
}

@keyframes slideInLeft {
  from { transform: translateX(-40vw); opacity: 0; }
  to   { transform: translateX(0);      opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(40vw); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes fadeIn { from{opacity:0} to{opacity:.8} }

/* Accesibilidad: si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce){
  #creditos .credit img,
  #creditos .credits-divider{
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
/* ============================
   POPUP DE WHATSAPP (minimalista)
   ============================ */
.whatsapp-popup-min {
  position: fixed;
  top: 10%;               /* misma altura que el botón */
  right: 115px;           /* 🔹 antes era 85px → ahora más a la izquierda */
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  animation: fadeIn .25s ease forwards;
}

.whatsapp-popup-min.hidden {
  display: none;
}

.whatsapp-popup-min .popup-number {
  font-family: "Microgramma Extd D", sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-popup-min .popup-number:hover {
  opacity: 0.8;
  transform: translateX(-3px);
}

/* Animación suave de entrada */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ===== Fix overflow horizontal en mobile ===== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

#page-wrapper {
  overflow-x: hidden;
}

/* Asegura que nada se “salga” del viewport */
img, video, svg, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* El carrusel puede forzar overflow; lo recortamos en mobile */
@media (max-width: 768px){
  #proyectos .carousel,
  #proyectos .track {
    overflow: hidden;
  }
  /* En mobile, el hero no empuje hacia la izquierda */
  .hero-stage .container {
    transform: none !important;
    margin-left: auto;
    margin-right: auto;
    padding-inline: 20px;
  }
}

/* ============================
   MENÚ MÓVIL - FONDO IGUAL AL SITIO
   ============================ */
#mobile-menu {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), /* leve velo oscuro */
    url("assets/fondo.webp");  /* mismo fondo del sitio */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  transition: opacity 0.4s ease-in-out;
}
/* ==== FIX barras negras en mobile (carrusel) ==== */
@media (max-width: 560px) {
  /* quita el fondo oscuro y la sombra del marco del slide */
  #proyectos .media {
    background: transparent !important;
    box-shadow: none !important;
  }

  /* asegúrate de que la imagen no deje espacios “de línea” */
  #proyectos .slide img {
    display: block !important;
    object-fit: cover !important;
    height: 100% !important;
    width: 100% !important;
  }

  /* evita padding/márgenes que puedan verse como franjas */
  #proyectos .carousel {
    padding: 0 !important;
    background: transparent !important;
  }
  #proyectos {
    padding-top: 0.75rem;   /* opcional: ajusta si querés */
    padding-bottom: 0.75rem;/* opcional: ajusta si querés */
    background: transparent !important;
  }
}
/* ============================
   SLIDES - versión móvil con imágenes VERTICALES (con espacios en el nombre)
   ============================ */
@media (max-width: 560px) {
  #proyectos .slide:nth-child(1) img  { content: url("assets/slide/AVANT_BANNER%20SLIDE_CELULAR-01.webp"); }
  #proyectos .slide:nth-child(2) img  { content: url("assets/slide/AVANT_BANNER%20SLIDE_CELULAR-02.webp"); }
  #proyectos .slide:nth-child(3) img  { content: url("assets/slide/AVANT_BANNER%20SLIDE_CELULAR-03.webp"); }
  #proyectos .slide:nth-child(4) img  { content: url("assets/slide/AVANT_BANNER%20SLIDE_CELULAR-04.webp"); }
  #proyectos .slide:nth-child(5) img  { content: url("assets/slide/AVANT_BANNER%20SLIDE_CELULAR-05.webp"); }
  #proyectos .slide:nth-child(6) img  { content: url("assets/slide/AVANT_BANNER%20SLIDE_CELULAR-06.webp"); }
  #proyectos .slide:nth-child(7) img  { content: url("assets/slide/AVANT_BANNER%20SLIDE_CELULAR-07.webp"); }
  #proyectos .slide:nth-child(8) img  { content: url("assets/slide/AVANT_BANNER%20SLIDE_CELULAR-08.webp"); }
  #proyectos .slide:nth-child(9) img  { content: url("assets/slide/AVANT_BANNER%20SLIDE_CELULAR-09.webp"); }

  /* Proporción vertical + cobertura completa */
  #proyectos .carousel { aspect-ratio: 0.75 / 1 !important; }
  #proyectos .slide    { aspect-ratio: 0.75 / 1 !important; }

  #proyectos .slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}


























