/* ——— Preloader minimalista ——— */
#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

#preloader .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--pink);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#preloader.loaded {
  opacity: 0;
  pointer-events: none;
}

/* ——— Reset & variables ——— */
@import url('https://fonts.googleapis.com/css2?family=Muli:wght@300;400;600;700&display=swap');
:root {
  --pink:  #C62758;
  --wine:  #66194f;
  --light: #f4b5bb;
  --black: #000;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Muli',sans-serif; background:#000; color:#fff; }

/* ——— Cursor personalizado ——— */
body, a, button { cursor: none; }
.custom-cursor {
  position: fixed; width: 16px; height: 16px;
  background: var(--wine); border-radius:50%;
  pointer-events: none; transform:translate(-50%,-50%);
  z-index:3000;
  mix-blend-mode: difference;
  transition: transform 0.15s ease, background 0.2s ease;
}
.custom-cursor.hovered {
  transform: translate(-50%, -50%) scale(2);
  background: var(--light);
}

/* ——— Splash logo ——— */
#splash {
  position: fixed; inset:0; background:#000;
  display:flex; align-items:center; justify-content:center;
  z-index:10000; animation:splash-fade 1.6s ease-out forwards;
} 
#splash.loaded {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
#splash-logo {
  width:200px; animation:logo-zoom 0.8s ease-out forwards;
}
@keyframes logo-zoom {
  0%{transform:scale(0.5);opacity:0;}
  50%{transform:scale(1.2);opacity:1;}
 100%{transform:scale(1);opacity:1;}
}
@keyframes splash-fade {
  0%,80%{opacity:1;} 100%{opacity:0;pointer-events:none;}
}

/* ——— Header y hamburguesa ——— */
.header {
  position:fixed; top:0; left:0; width:100%;
  display:flex; justify-content:space-between; align-items:center;
  padding:20px 40px; z-index:2000;
}
.header .logo img { height:48px; }

.hamburger {
  position:fixed; top:30px; right:30px;
  width:36px; height:28px; cursor:pointer; z-index:2001;
}
.hamburger div,
.hamburger div::before,
.hamburger div::after {
  position:absolute; width:100%; height:4px;
  background: var(--light); border-radius:2px;
  transition:transform .3s,opacity .3s;
}
.hamburger div { top:50%; transform:translateY(-50%); }
.hamburger div::before{ content:""; top:-10px; }
.hamburger div::after { content:""; top:10px; }
.hamburger.open div { background:transparent; }
.hamburger.open div::before { transform:translateY(10px) rotate(45deg); }
.hamburger.open div::after  { transform:translateY(-10px) rotate(-45deg); }

/* ——— Panel lateral del menú ——— */
#nav-menu {
  position: fixed;
  top: 20px;
  right: -360px;
  width: 320px;
  max-width: 90%;
  transform: scale(0.9);
  background: linear-gradient(135deg, rgba(198,39,88,0.15) 0%, rgba(102,25,79,0.15) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: right 0.4s ease, opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  z-index: 2000;
}
#nav-menu.show {
  right: 20px;
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}
#nav-menu .nav-close {
  position:absolute; top:16px; right:16px;
  background:none; border:none; color:#fff;
  font-size:2rem; cursor:pointer;
}
#nav-menu a {
  display: block;
  margin: 16px 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  text-decoration:none;
  transition: color 0.2s;
}
#nav-menu a:hover { color: var(--light); }

/* ——— Hero y parallax ——— */
#parallax-container {
  position: relative;
  overflow: hidden;
  height: 100vh;
}
.layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.layer[data-depth="0.1"] { z-index: 0; }
.layer[data-depth="0.4"] { z-index: 1; }
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 90%;
  text-align: center;
  pointer-events: auto;
}
.hero-content h1.hero-title {
  font-size: 4rem;
  margin-bottom: 0.5em;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5em;
}
.hero-content .boton {
  background: var(--pink);
  color: #fff;
  padding: 0.8em 1.6em;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.hero-content .boton:hover {
  background: var(--light);
  color: var(--wine);
}

.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0.8;
}
}
/* ——— Secciones ——— */
.somos, .portafolio, .cw-team, .clientes, .contacto {
  padding:80px 20px; text-align:center;
}
.somos h2, .portafolio h2, .cw-team h2, .clientes h2 {
  font-size:2.4rem; color:var(--pink); margin-bottom:20px;
}
.somos p, .contacto small {
  max-width:700px; margin:0 auto 30px;
  color:#ddd; font-size:1.05rem;
}

/* ——— Portafolio grid & modal ——— */
.portafolio-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:24px; margin-top:40px;
}
.portafolio-item {
  background: transparent;
  padding: 0;
}
.portafolio-item:hover { transform:translateY(-6px); }
.portafolio-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px; /* si quieres conservar el redondeado */
}
/* modal */
/* === Modal overlay === */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}
.modal.show { display: flex; }

/* === Modal content === */
.modal-content {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  max-width: 80vw;
  width: 100%;
  padding: 20px 24px;
  position: relative;
}

.modal-content h3,
.modal-content .modal-desc,
.modal-content p {
  display: block;
  color: #fff;
}
.modal-close {
  position:absolute; top:12px; right:12px;
  background:none; border:none; font-size:1.8rem;
  color:var(--wine); cursor:pointer;
}
.media-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:12px; margin-top:16px;
}
.media-grid img,
.media-grid video {
  width:100%; border-radius:12px;
}
/* títulos blancos dentro del modal */
.modal-content h3, .modal-content p,
.portafolio h2, .portafolio p, .portafolio-item h3 {
  color:#fff;
}

/* ——— Equipo ——— */
.team-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:20px; justify-items:center;
}
.team-member img.team-photo {
  width:200px; height:250px; object-fit:cover;
  border-radius:8px; margin-bottom:8px;
}
.team-member h3 { color:var(--pink); font-size:1rem; }
.team-member p { color:#ccc; font-size:0.9rem; }

/* ——— Clientes (cinta) ——— */
.cinta { overflow:hidden; white-space:nowrap; padding:20px 0; }
.logos {
  display:inline-flex; gap:40px;
  animation:scroll 15s linear infinite;
}
.logos img {
  height:80px; filter:brightness(0) invert(1);
}
@keyframes scroll {
  0%{transform:translateX(0);}
100%{transform:translateX(-50%);}
}

/* ——— CTA contacto sección ——— */
.contacto a {
  font-size:1.5rem; color:var(--pink);
  text-decoration:none;
}
.contacto a:hover { text-decoration:underline; }

/* ——— Scroll to top ——— */
.scroll-top {
  position:fixed; right:20px; bottom:20px;
  width:46px; height:46px;
  background:var(--pink); color:#fff;
  display:none; align-items:center;
  justify-content:center; cursor:pointer;
  border-radius:50%; font-size:1.5rem;
  z-index:2000;
}
.scroll-top:hover { background:var(--light); color:var(--wine); }
/* Más espacio arriba del formulario */
.contacto .cw-form {
  margin-top: 2rem;
}

/* Inputs más altos para mejor experiencia */
.contacto .cw-form input,
.contacto .cw-form textarea {
  min-height: 3rem;
}
/* ——— Diseño Pop-Art para el formulario de contacto ——— */
.contacto .cw-form {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  padding: 40px;
  max-width: 600px;
  margin: 2rem auto;
  border: 2px solid var(--pink);
  border-radius: 12px;
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.3),
    inset 0 0 0 2px rgba(255,255,255,0.1);
}

.contacto .cw-form input,
.contacto .cw-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.1);
  border: 2px solid transparent;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.contacto .cw-form input::placeholder,
.contacto .cw-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.contacto .cw-form input:focus,
.contacto .cw-form textarea:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--pink);
  outline: none;
}

.contacto .cw-form button {
  display: inline-block;
  font-size: 1.2rem;
  padding: 16px 32px;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: background 0.3s ease, transform 0.2s ease;
}

.contacto .cw-form button:hover {
  background: var(--light);
  color: var(--wine);
  transform: translateY(-2px);
}

.contacto .cw-form button:active {
  transform: translateY(0);
}

.contacto .cw-form {
  position: relative;
  overflow: hidden;
}

.contacto .cw-form::before {
 /* ——— Asegura que el formulario esté por encima del gradiente ——— */
  position: relative;
  z-index: 1;
}

/* ——— Haz que el pseudo-elemento no intercepte clics y quede detrás ——— */
.contacto .cw-form::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    var(--pink) 0%,
    var(--wine) 25%,
    var(--pink) 50%,
    var(--wine) 75%,
    var(--pink) 100%
  );
  animation: rotate-grad 6s linear infinite;
  opacity: 0.2;

  /* **Estas dos líneas nuevas** */
  z-index: 0;
  pointer-events: none;
}
@keyframes rotate-grad {
  0%   { transform: rotate(0deg) translate(0, 0); }
  50%  { transform: rotate(180deg) translate(0, 0); }
  100% { transform: rotate(360deg) translate(0, 0); }
}
/* —————————————————————————— */
/* Pantalla de “Gracias por escribirnos” */
/* —————————————————————————— */

.thankyou {
  /* Ocupa toda la ventana */
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #C62758 0%, #66194f 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  z-index: 10000; /* Por encima de todo */
}

.thankyou h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5em;
}

.thankyou p {
  font-size: 1.25rem;
  margin-bottom: 1.5em;
  max-width: 600px;
  line-height: 1.4;
}

.thankyou .btn-home {
  display: inline-block;
  background: #fff;
  color: #66194f;
  padding: 16px 32px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.thankyou .btn-home:hover {
  background: #f4b5bb;
  transform: scale(1.05);
}

/* —————————————————————————— */
/* Forzar cursor visible y un poco más grande */
/* —————————————————————————— */

.thankyou,
.thankyou * {
  cursor: auto !important;       /* Anula el cursor:none global */
}

.custom-cursor {
  width: 18px !important;
  height: 18px !important;
  background: #fff !important;
  mix-blend-mode: difference;
}
/* === PANTALLA “¡GRACIAS!” === */
.thankyou {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #C62758 0%, #66194f 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  z-index: 10000;
}
.thankyou h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5em;
}
.thankyou p {
  font-size: 1.25rem;
  margin-bottom: 1.5em;
  max-width: 600px;
  line-height: 1.4;
}
.thankyou .btn-home {
  display: inline-block;
  background: #fff;
  color: #66194f;
  padding: 16px 32px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.thankyou .btn-home:hover {
  background: #f4b5bb;
  transform: scale(1.05);
}

/* volver a mostrar cursor predeterminado en esta pantalla */
.thankyou, .thankyou * {
  cursor: auto !important;
}
/* si usas cursor personalizado, ajústalo */
.custom-cursor {
  width: 18px;
  height: 18px;
  background: #fff;
  mix-blend-mode: difference;
}
/* 1) Asegúrate de que la tarjeta esté en posición relativa */
.portafolio-item {
  position: relative;
  overflow: hidden;
}

/* 2) El overlay oscuro centrado, oculto por defecto */
.portafolio-item .overlay {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* 3) El título dentro del overlay, animado */
.portafolio-item .overlay h3 {
  color: #fff;
  font-size: 1.6rem;
  transform: translateY(20px) scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 4) Al pasar el mouse, mostramos overlay + animamos texto */
.portafolio-item:hover .overlay {
  opacity: 1;
}
.portafolio-item:hover .overlay h3 {
  transform: translateY(0) scale(1);
  opacity: 1;
}
/* ————————— Ajustes para que todo el texto se vea en el modal ————————— */

.modal-content {
  /* Un poco más de padding arriba para que no choque con el botón de cerrar */
  padding-top: 48px;
}/* ---- Anular recortes de texto en la descripción del modal ---- */
.modal-content p {
  display: block;            /* asegurar bloque */
  -webkit-line-clamp: unset; /* por si había clamped lines */
  -webkit-box-orient: unset; /* igual */
}

/* Espaciado extra entre párrafo y galería */
.modal-content p {
  margin-bottom: 24px;
  line-height: 1.6;
}
/* ==== Título flotante sobre tarjetas ==== */
/* === Overlay sobre cada tarjeta de portafolio === */
.portafolio-item {
  position: relative;
  overflow: hidden;
}

/* Por defecto el overlay está oculto */
.portafolio-item .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* El título dentro del overlay */
.portafolio-item .overlay h3 {
  color: #fff;
  font-size: 1.6rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-align: center;
}

/* Al hacer hover, mostramos overlay y animamos el texto */
.portafolio-item:hover .overlay {
  opacity: 1;
}

.portafolio-item:hover .overlay h3 {
  transform: translateY(0);
  opacity: 1;
}/* ==== Overlay animado sobre cada tarjeta de portafolio ==== */
.portafolio-item {
  position: relative;
  overflow: hidden;
}

.portafolio-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portafolio-item .overlay h3 {
  color: #fff;
  font-size: 1.6rem;
  transform: translateY(20px) scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-align: center;
}

.portafolio-item:hover .overlay {
  opacity: 1;
}

.portafolio-item:hover .overlay h3 {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-content p {
  margin-bottom: 24px !important;
  line-height: 1.6 !important;
}/* ——— Forzar párrafo 100% visible dentro del modal ——— */
.modal-content {
  /* quita límite de altura para el contenido interno */
  max-height: none !important;
  /* permite que todo el texto fluya y, si es muy largo, agregue scroll */
  overflow: visible !important;
}/* ——— Modal con límite de altura y scroll interno ——— */
.modal-content {
  max-height: 85vh !important;   /* Hasta el 85% de la ventana */
  overflow-y: auto !important;   /* Scroll si excede esa altura */
  padding-top: 48px;             /* Separación del botón cerrar */
}

.modal-content h3,
.modal-content .modal-desc,
.modal-content p {
  white-space: normal !important;  /* Permite que el texto salte líneas */
  overflow: visible !important;    /* No recortar contenido */
  text-overflow: clip !important;  /* Sin puntos suspensivos */
  word-break: break-word !important;
}/* — Hero full-screen */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Partículas */
#particles-js {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 40px 20px;
  background: transparent; /* o el fondo que tengas */
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* El párrafo de copyright */
.footer-inner > p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #ddd;
}

/* Contenedor de iconos */
.social-icons {
  display: inline-flex;
  gap: 16px;
}

/* Estilo de cada enlace-icono */
.social-icons a {
  color: var(--pink);
  transition: transform 0.2s, color 0.2s;
}

.social-icons a:hover {
  color: var(--light);
  transform: scale(1.1);
}

/* Ajusta tamaño de los SVG si lo deseas */
.social-icons svg {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}/* cursor por defecto en el resto de la página */
body, a, button { cursor: auto; }
/* ——— Sección “Somos” en columna y centrada ——— */
.somos {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 40px;
  text-align: center;
  position: relative;
}

.somos-title {
  font-size: 4rem;
  color: var(--pink);
  margin-bottom: 16px;
}

.somos-text {
  font-size: 1.25rem;
  max-width: 700px;
  margin-bottom: 32px;
  color: #ddd;
  line-height: 1.6;
}

/* Botón centrado debajo del texto */
.boton.empecemos {
display: inline-block;
  margin: 32px auto;
  background: var(--pink);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.boton.empecemos:hover {
  background: var(--light);
  color: var(--wine);
  transform: translateY(-2px);
}
.somos {
  display: flex;
  flex-direction: column;
  align-items: center;    /* esto centra todo su contenido */
  padding: 100px 20px;
}
/* Galería en fila centrada */
.somos-gallery {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.gallery-item {
  width: 260px;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Ajustes responsivos */
@media (max-width: 640px) {
  .somos-title { font-size: 3rem; }
  .somos-text { font-size: 1.1rem; }
  .gallery-item { width: 180px; height: 120px; }
}/* 1) Oculta por defecto fuera de pantalla, y define tamaño de “ventanita” */
/* Ventanita del menú — posición más arriba y fondo degradado */
#nav-menu {
  position: fixed;
  top: 20%;                  /* antes 50% lo bajaba al medio; subimos al 20% */
  right: -360px;
  width: 320px;
  max-width: 90%;
  transform: scale(0.9);
  background: linear-gradient(
    135deg,
    rgba(198,39,88,0.15) 0%,
    rgba(102,25,79,0.15) 100%
  );                         /* degradado suave */
  backdrop-filter: blur(12px); /* efecto glass */
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: right 0.4s ease, opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  z-index: 2000;
}

#nav-menu.show {
  right: 20px;
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}

/* 3) Lista de enlaces */
#nav-menu .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
#nav-menu .nav-list li {
  margin-bottom: 16px;
}
#nav-menu .nav-list li:last-child {
  margin-bottom: 24px;
}
#nav-menu .nav-list a {
  color: #111;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.2s;
}
#nav-menu .nav-list a:hover {
  color: var(--pink);
}
/* 1) Transform origin en la esquina superior derecha: */
#nav-menu {
  transform-origin: top right;
}

/* 2) Posición inicial justo pegada al icono: */
#nav-menu {
  top: 20px;       /* sube más hacia el tope */
  right: -340px;   /* justo fuera del viewport: ancho panel + padding */
}

/* 3) Al estar .show, pasa a right: 20px */
#nav-menu.show {
  right: 20px;     /* igual a la distancia que tiene el icono hamburguesa */
}

/* 4) Evita que la sombra invade la ventana: */
#nav-menu {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* 4) Botón cerrar (X) */

/* 5) Botón de acción abajo */
#nav-menu .start-project {
  display: block;
  text-align: center;
  margin-top: 16px;
  background: var(--pink);
  color: #fff;
  padding: 12px 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
#nav-menu .start-project:hover {
  background: var(--wine);
}

/* 6) Ajusta el icono hamburguesa para que esté más a la derecha */
.hamburger {
  right: 24px;
}
/* Glassmorphism + liquid amber */
#nav-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 260px;               /* menú más estrecho */
  padding: 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 999;
}

/* Cuando esté activo (.show) */
#nav-menu.show {
  opacity: 1;
  transform: translateX(0);
}

/* Links dentro del panel */
#nav-menu a {
  display: block;
  margin: 16px 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;                /* color que contraste con el fondo */
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  transition: color 0.2s;
}
#nav-menu a:hover {
  color: var(--light);       /* tu rosa claro para hover */
}

/* Botón de cierre */
#nav-menu .nav-close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
}#nav-menu {
  /* Fija la posición tal como antes */
  top: 20px;
  right: 20px;

  /* Limita la altura y permite scroll si hay más contenido */
  max-height: 300px;      /* ajusta este valor según quieras */
  overflow-y: auto;

  /* Opcional: quita padding vertical extra */
  padding-top: 16px;
  padding-bottom: 16px;
}

/* También asegúrate de que no esté usando un height: 100vh o similar */
.logo {
  display: inline-block;    /* o como lo necesites en tu layout */
  cursor: pointer;
}
.logo img {
  height: 48px;             /* tu tamaño original */
  /* cualquier otro estilo que ya estés usando */
}
/* ——— Microinteracciones: Hover states ——— */
/* Botones */
.boton {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.boton:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Tarjetas de portafolio */
.portafolio-item {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portafolio-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

/* Ripple effect en botones (opcional) */
.boton {
  position: relative;
  overflow: hidden;
}
.boton::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width 0.4s ease, height 0.4s ease;
}
.boton:active::after /* Cursor base */
.custom-cursor {
  width: 16px; height: 16px;
  background: var(--wine);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.15s ease, background 0.2s ease;
  mix-blend-mode: difference;
  z-index: 3000;
}
/* Estado hover */
.custom-cursor.hovered {
  transform: translate(-50%, -50%) scale(2);
  background: var(--light);
}
/* ——— Parallax Layers ——— */
#parallax-container {
  position: relative;
  overflow: hidden;
  height: 100vh; /* ocupa toda la altura del hero */
}
.layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; /* para que no bloquee clicks en el contenido */
}
.layer[data-depth="0.1"] { z-index: 0; }
.layer[data-depth="0.4"] { z-index: 1; }
.hero-content {
  pointer-events: auto; /* permite clicks en botones/texto */
}
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px;
  background: var(--pink); width: 0%; z-index: 3000;
  transition: width 0.2s ease;
}