@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Six+Caps&display=swap');

*,
::after,
::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
  scroll-behavior: smooth; 
}
html, body {
  overflow-x: hidden;   /* elimina la barra horizontal */
  width: 100%; /* Asegura que ocupen todo el ancho */
}

body {
    font-family:"poppins", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #000000;

    /* -- DEFINIR ESCALA DE ESPACIADO -- */
    --space-xs: 10px;
    --space-s: 20px;
    --space-m: 60px;
    --space-l: 50px;
    --space-xl: 100px;
}

/* Scrollbar oscuro para Chrome */
body::-webkit-scrollbar {
  width: 12px; /* ancho del scroll */
}

body::-webkit-scrollbar-track {
  background: #000; /* fondo del track */
}

body::-webkit-scrollbar-thumb {
  background-color: #2e2e2e; /* color del scroll */
  border-radius: 6px;
  border: 3px solid #000; /* opcional: borde alrededor */

}

/* ───────── Home ───────── */
.hero {
  position: relative;
  display: flex; 
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(100px, 8vw, 58px) clamp(8px, 5vw, 20px) clamp(8px, 3vw, 16px) clamp(8px, 5vw, 20px);
  text-align: center;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.title-hero {
  font-size: clamp(3.5rem, 17vw, 15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #f1f1f1;
  opacity: 0.95;
  margin-bottom: 0;
  text-transform: uppercase;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
  font-family: 'Poppins', sans-serif;
  z-index: 1;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: clamp(180px, 55vw, 450px);
  margin-bottom: 0;
  filter: drop-shadow(0 4px 24px rgba(20, 20, 20, 0.5));
  padding: 12px;
  transition: transform 0.3s;
  margin-top: -350px;
  box-sizing: border-box;
  z-index: 2;
}

.cinta {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #0b0a0a ; /**/
  color: rgba(255,255,255,0.72);
  padding: 18px 0;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 400;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  margin-top: -28px;
}

.cinta-track {
  display: flex;
  width: max-content;
  animation: scroll-infinite 65s linear infinite;
  will-change: transform;
  cursor: crosshair
}

.cinta-track span {
  display: inline-block;
  white-space: nowrap;
  padding-right: 1rem; 
}

@keyframes scroll-infinite {
  0% { transform: translateX(0); }
  100% {transform: translateX(-50%);}
}

.cinta-track {
  display: flex;
  width: max-content;
  animation: scroll-infinite 65s linear infinite;
  will-change: transform;
  cursor: crosshair;
  transition: transform 0.3s;
}

.cinta:hover .cinta-track {
  animation-play-state: paused;
  transform: scale(1.07);
}


.dream-text {
  margin: 48px auto 0 auto;
  margin-top: clamp(10px, 6vw, 48px);
  max-width: 900px;
  padding: 24px 30px;
  font-family: 'Inter', 'Georgia', serif;
  font-size: clamp(0.31rem, 2.5vw, 1.6rem);
  font-weight: 200; 
  color: #eaeaea;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
  text-align: justify;
  letter-spacing: 0.01em;
  line-height: 1.6;

  /* Animación de revelado de sueño */
  will-change: opacity, filter, transform;
  opacity: 0; 
  filter: blur(8px); 
  transform: translateY(10px); 
  animation: dream-reveal 2.5s ease-out forwards;
  animation-delay: 0.6s; 
  }

  @keyframes dream-reveal {
    to {opacity: 0.97;  filter: blur(0);  transform: translateY(0);}
  }

/* Efecto suave para la frase "al cerrar los ojos, el mundo se reinventa" solo al pasar el puntero */
.efecto-suave-reinventa {
  display: inline-block;
  filter: blur(0.8px) brightness(0.98);
  opacity: 0.92;
  transition: filter 0.8s cubic-bezier(.4,0,.2,1), opacity 0.8s cubic-bezier(.4,0,.2,1), box-shadow 0.8s;
}

.efecto-suave-reinventa:hover, 
.efecto-suave-reinventa:focus {
  filter: blur(0px) brightness(1);
  opacity: 1;
}


/*contenedor present */
.present-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 5rem 0 3rem 0;
  padding: 0;
  gap: 3rem;
}

.present-text {
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.present-container img {
  display: block;
  border-radius: 4%;
  max-width: 340px;
  width: 100%;
  margin: 0 0 0 0;
}

/* Imagen a la derecha en escritorio, arriba en móvil */
.present-container--reverse {
  flex-direction: row-reverse;
}

@media (max-width: 800px) {
  .present-container--reverse { flex-direction: column;}
}

.present-title {
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 700;
  color: #eeeeee;
  text-align: left;
  margin-bottom: 0.5rem;
  display: block;
}

.resent-desc {
  font-size: clamp(0.90rem, 2vw, 1.1rem);
  color: #eeeeee;
  line-height: 1.6;
  text-align: left;
  max-width: 600px;
  margin: 0;
  padding-left: 10px;
  padding-right: 18px;
}


.present-btn {
  font-family: "poppins", sans-serif;
  margin-top: 25px;
  padding: 10px 28px;
  font-size: 1rem;
  background: linear-gradient(90deg, #181818 60%, #410141 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 
    background 0.22s, 
    box-shadow 0.22s, 
    transform 0.18s;
  align-self: flex-start;
  max-width: 100%;
  width: fit-content;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 0 0 0 transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.present-btn::before {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: left 0.4s cubic-bezier(.4,0,.2,1);
  z-index: 0;
  pointer-events: none;
}

.present-btn:hover,
.present-btn:focus-visible {
  background: linear-gradient(90deg, #410141 0%, #7b2ff2 100%);
  box-shadow: 0 4px 24px 0 #41014144;
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

.present-btn:hover::before,
.present-btn:focus-visible::before {
  left: 110%;
  transition: left 0.4s cubic-bezier(.4,0,.2,1);
}

.present-btn span {
  position: relative;
  z-index: 1;
}
@media (max-width: 800px) {
  .present-container { flex-direction: column; gap: 2rem;
    margin: 3rem 0 2rem 0; text-align: center;}
  .present-container img { margin: 0 auto 0 auto; max-width: 260px;}
  .present-title {text-align: center;} 
  .resent-desc { margin-left: 30px; margin-right: 30px;
    text-align: justify; padding-left: 0;padding-right: 0;}
  .present-btn { align-self: center; }
}
/*contenedor present */
/*network*/
.redes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 900px;
  margin: 60px auto 40px auto;
  padding: 32px 18px 28px 18px;
  border-radius: 22px;
  gap: 32px;
}

.redes h1 {
  color: #fff;
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 18px 0;
  text-align: left;
}

.redes-imgs {
  display: flex;
  gap: 20px;
}

.redes img {
  max-width: 300px;
  height: auto;
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-left: 32px;
}


.redes-btn {
  font-family: "poppins", sans-serif;
  margin-top: 25px;
  padding: 10px 28px;
  font-size: 1rem;
  background: linear-gradient(90deg, #181818 60%, #410141 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 
    background 0.22s, 
    box-shadow 0.22s, 
    transform 0.18s;
  align-self: flex-start;
  max-width: 100%;
  width: fit-content;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 0 0 0 transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.redes-btn::before {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: left 0.4s cubic-bezier(.4,0,.2,1);
  z-index: 0;
  pointer-events: none;
}

.redes-btn:hover,
.redes-btn:focus-visible {
  background: linear-gradient(90deg, #410141 0%, #7b2ff2 100%);
  box-shadow: 0 4px 24px 0 #41014144;
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

.redes-btn:hover::before,
.redes-btn:focus-visible::before {
  left: 110%;
  transition: left 0.4s cubic-bezier(.4,0,.2,1);
}

.redes-btn span {
  position: relative;
  z-index: 1;
}

@media (max-width: 800px) {
  .redes { flex-direction: column; align-items: center; justify-content: center;
    gap: 18px; padding: 18px 6vw 18px 6vw; border-radius: 14px; margin: 32px 0 24px 0;
    text-align: center;}

  .redes > div { width: 100%; display: flex; flex-direction: column;align-items: center;
    justify-content: center;}

  .redes-imgs { justify-content: center; width: 100%;}

  .redes h1 { font-size: 1.1rem; text-align: center; width: 100%;}

  .redes img { max-width: 100%; margin-left: 0; align-self: center; display: block;
    margin-right: auto; margin-left: auto;}

  .redes-btn { align-self: center; margin-top: -10px; font-size: 1.05rem; padding: 12px 24px;
    min-width: 140px;max-width: 90vw;}
}
/*network*/

/* Media Queries for Responsive Design */
/* Móviles pequeños (375px - 400px) */
@media (max-width: 400px) {
  .hero { padding: clamp(100px, 18vw, 100px); margin-top: 0; margin-bottom: 0; }
  .hero-image { margin-top: -120px; margin-bottom: 0; }
  .cinta { margin-top: -112px; padding: 6px 0; font-size: 0.6rem; }
  .resent-desc { margin-left: 25px; margin-right: 25px; text-align: justify; }
}
/* Móviles medianos (401px - 480px) */
@media (min-width: 401px) and (max-width: 480px) {
  .hero { padding: clamp(80px, 15vw, 80px); margin-top: 0; margin-bottom: 0; }
  .hero-image { margin-top: -130px; margin-bottom: 0; }
  .cinta { margin-top: -92px; padding: 9px 0; font-size: 0.9rem; }
  .redes img {display: block; margin-left: auto !important; 
    margin-right: auto !important; max-width: 90vw;}

}
/* Tablets pequeñas y móviles grandes (por ejemplo, 500px - 600px) */
@media (min-width: 500px) and (max-width: 600px) {
  .hero { padding: clamp(90px, 15vw, 80px); margin-top: 0; margin-bottom: 0; }
  .hero-image { margin-top: -150px; margin-bottom: 0; }
  .cinta { margin-top: -102px; padding: 10px 0; font-size: 0.9rem; }
  .redes img {display: block; margin-left: auto !important; 
    margin-right: auto !important; max-width: 90vw;}
}
/*Tablets medianas (601px - 750px) */
@media (min-width: 601px) and (max-width: 750px) {
  .hero { padding: clamp(50px, 15vw, 80px); margin-top: 0; margin-bottom: 0; } 
  .hero-image { margin-top: -190px; margin-bottom: 0; }
  .cinta { margin-top: -92px; padding: 12px 0; font-size: 1rem; }
  .redes img {display: block; margin-left: auto !important; 
    margin-right: auto !important; max-width: 90vw;}

}
/* Tablets grandes y pantallas pequeñas (751px - 900px) */
@media (min-width: 751px) and (max-width: 900px) {
 .hero { padding: clamp(50px, 15vw, 80px); margin-top: 0; margin-bottom: 0; }
 .hero-image { margin-top: -230px; margin-bottom: 0; }
 .cinta { margin-top: -92px; padding: 12px 0; font-size: 1rem; }
 .present-container {padding: 0 24px;}
 .redes img {display: block; margin-left: auto !important; 
    margin-right: auto !important; max-width: 90vw;}
}
/* Pantallas medianas (901px - 951px) */
@media (min-width: 901px) and (max-width: 951px) {
  .hero { padding: clamp(50px, 15vw, 80px); margin-top: 0; margin-bottom: 0; }
  .hero-image { margin-top: -230px; margin-bottom: 0; }
  .cinta { margin-top: -92px; padding: 13px 0; font-size: 1rem; }
  .present-container {padding: 0 24px;}
}
/* Pantallas medianas (975px - 1040px) */
@media (min-width: 975px) and (max-width: 1040px) {
 .hero { padding: clamp(50px, 15vw, 80px); margin-top: 0; margin-bottom: 0; }
 .hero-image { margin-top: -255px; margin-bottom: 0; }
 .cinta { margin-top: -92px; padding: 13px 0; font-size: 1rem; }
}

/* Pantallas medianas (1117px - 1120px) */
@media (min-width: 1117px) and (max-width: 1120px) {
  .hero { padding: clamp(60px, 15vw, 80px); margin-top: 0; margin-bottom: 0; }
  .hero-image { margin-top: -255px; margin-bottom: 0; }
  .cinta { margin-top: -92px; padding: 13px 0; font-size: 1rem; }
}
/* Pantallas medianas (1180px - 1280px) */
@media (min-width: 1180px) and (max-width: 1280px) {
 .hero { padding: clamp(60px, 15vw, 80px); margin-top: 0; margin-bottom: 0; }
 .hero-image { margin-top: -285px; margin-bottom: 0; }
 .cinta { margin-top: -92px; padding: 13px 0; font-size: 1.2rem; }
}
/* Pantallas medianas (1559px - 1643px) */
@media (min-width: 1559px) and (max-width: 1643px) {
  .hero { padding: clamp(60px, 15vw, 80px); margin-top: 0; margin-bottom: 0; }
  .hero-image { margin-top: -350px; margin-bottom: 0; }
  .cinta { margin-top: -92px; padding: 14px 0; font-size: 1.2rem; }
}
/* Pantallas grandes (1644px - 1728px) */
@media (min-width: 1644px) and (max-width: 1728px) {
  .hero { padding: clamp(60px, 15vw, 80px); margin-top: 0; margin-bottom: 0; }
  .hero-image { margin-top: -350px; margin-bottom: 0; }
  .cinta { margin-top: -92px; padding: 14px 0; font-size: 1.2rem; }
}
/* ───────── Home ───────── */

/* ─────────  Test Vault  ───────── */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: flex-start;
  margin: 2rem 0;
  padding: 0 1rem;
}

.vault-card {
  width: 100% !important;
  max-width: 300px !important;
  min-width: 280px !important;
  aspect-ratio: 5 / 4;
  height: 500px !important; /* Fijamos el alto */
  border-radius: 10px !important;
  box-shadow: none !important;
  margin: 0 auto !important;
  overflow: hidden;
  display: block;
}

.instagram-media {
  width: 100% !important;
  max-width: 350px !important;
  min-width: 280px !important;
  aspect-ratio: 5 / 4;
  height: 462px !important; /* Fijamos el alto */
  border-radius: 10px !important;
  box-shadow: none !important;
  margin: 0 auto !important;
  overflow: hidden;
  display: block;
}

@media (max-width: 480px) {
  .cards-container {grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem; padding: 0 6px; }
}
/* ─────────  Test Vault  ───────── */

/* ─────────  Sketch Memory  ───────── */
.previous-art-section {
  border-radius: 12px;
  padding: 32px 0 16px 0;
  margin: 40px auto 0 auto;
  width: 70%;
  text-align: center;
}

.previous-art-section h2 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
}



.custom-card-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.custom-card {
  background: #141414;
  padding: 1rem 1.1rem;
  margin: 2rem auto 0 auto; /* Solo margen superior, sin margen inferior */
  max-width: 300px;
  color: #f5f5f5;
}

.card-date {
  font-family: "inter", sans-serif;
  display: block;
  color: #6d6d6d;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.card-title {
  margin: 0 0 1rem 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: "inter", sans-serif;
}

.custom-card p {
  margin-bottom: 0.7rem;
  line-height: 1.6;
  font-family: "inter", sans-serif;
}

.custom-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.simple-btn {
  font-family: "inter", sans-serif;
  background: #353535;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7em 1.2em;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  max-width: 150px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.simple-btn:hover {
  background: #0f0f0f;
}


/* ─────────  Sketch Memory  ───────── */
/* ─────────  Blogs  ───────── */
.header-section {
  max-width: 800px;
  margin: var(--space-xl) auto 0; /* Cambiado: margen inferior a 0 */
  padding: 0 var(--space-s); /* Antes 25px */
  text-align: center;
  color: #f0f0f0;
}

.header-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-style: italic;
  color: #888;
   margin-bottom: var(--space-xs); /* Antes 10px */
}

.header-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--space-s); /* Antes 20px */
  line-height: 1.2;
}

.header-text {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  color: #c0c0c0;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.content-section {
  max-width: 800px;
  margin: var(--space-l) auto var(--space-xl); /* Antes 60px auto 100px */
  padding: 0 var(--space-s); /* Antes 25px */
  color: #c0c0c0;
}

.content-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.5rem, 5vw, 1.8rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--space-s); /* Antes 25px */
  margin-top: var(--space-l);
  line-height: 1.4;
}

.content-text {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  color: #d0d0d0;
}

.content-text p {
  margin-bottom: 1.5em;
  text-align: justify;
  hyphens: auto;
}

.content-text p:last-child {
  margin-bottom: 0;
}

.quote-highlight {
  border-left: 3px solid #4a4a4a;
  margin: var(--space-m) 0; /* Antes 40px */
  padding: var(--space-xs) var(--space-m); /* Antes 15px 30px, ahora 10px 40px */
  border-radius: 4px;
}

.quote-highlight p {
  font-style: italic;
  font-size: clamp(1.1rem, 2.8vw, 1.2rem);
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 10px;
}

.quote-highlight p:last-child {
  margin-bottom: 0;
}
/*───────── Archivo ─────────*/

.archive-outer {
  display: flex;
  justify-content: center;
  margin: 48px 0 32px 0;
}

.archive-inner {
  padding: 32px 28px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.archive-inner h1 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 2em;
  text-align: center;
  letter-spacing: 2px;
}

.archive-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(40, 40, 40, 0.8);
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 24px;
}

.archive-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #fff;
  background: #222;
  flex-shrink: 0;
}

.archive-card h2 {
  color: #fff;
  margin: 0 0 8px 0;
  font-size: 1.3em;
}

.archive-card p {
  color: #ccc;
  margin: 0;
  font-size: 1em;
}
/* ─────────  Blogs  ───────── */
/* ─────────  Bio  ───────── */
.bio-head {
  display: flex;
  align-items: center;
  gap: clamp(25px, 4vw, 60px); 
  max-width: 1200px; 
  margin: clamp(60px, 20vh, 100px) auto; 
  padding: 0 clamp(20px, 5vw, 50px); 
  color: #f0f0f0; 
}

.bio-head img {
  width: clamp(120px, 18vw, 200px);
  height: clamp(120px, 18vw, 200px);
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0; 
}

.bio-text {
  flex-grow: 1;
  max-width: 800px; 
  font-family: "Inter", sans-serif; 
  font-size: clamp(1rem, 1.8vw, 1.25rem); 
  line-height: 1.7; 
  font-weight: 400;
  text-align: justify;
  text-justify: justify;
  hyphens: auto;
}

/* Media query para tabletas y móviles */
@media (max-width: 768px) {
  .bio-head { flex-direction: column; text-align: center; gap: 30px;  margin: clamp(60px, 15vh, 100px) auto 40px;} 
  .bio-text {text-align: center; }
}

/* Media query para móviles muy pequeños */
@media (max-width: 480px) {
  .bio-head {padding: 0 20px; margin: 85px auto 30px; gap: 20px;}
  .bio-head img { width: 120px; height: 120px;}
  .bio-text { font-size: 0.95rem;}
}
/* ─────────  Bio  ───────── */
/* ─────────  Linear Footer  ───────── */
.linear-footer {
  padding: 15px 0;
  font-family: "Poppins", sans-serif;
  text-align: center;
  width: 100%; 
  margin-top: auto;
  position: relative;
  bottom: 0;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 30px;
  flex-wrap: wrap;
  gap: clamp(15px, 10vw, 40px); /* Use clamp for responsive gap */
}

.footer-links a, .footer-links p {
    color: rgb(170, 170, 170);
    text-decoration: none;
    margin: 0;
    font-size: 0.9rem;
    transition: color 0.3s ease; /* Added transition for smooth color change */
}

.footer-links a:hover {
    color: #fff;
}

.footer-credit {
  color: rgb(112, 112, 112);
  font-size: 0.8rem;
  margin-top: 10px;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}


/* Media query para tabletas y móviles */
@media (max-width: 768px) {
  .linear-footer {padding: 20px 0;}
  .footer-links {gap: 20px; padding: 0 20px;}

}
/* Media query para móviles muy pequeños */
@media (max-width: 480px) {
  .footer-links a, 
  .footer-links p {font-size: 0.8rem;}
  .footer-links {gap: 15px; }
}
/* ─────────  Linear Footer  ───────── */
/* ─────────  Nueva version V2  ───────── */


/* ...existing code... */
.maintenance-content {
    text-align: center;
    padding: 50px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
}

.maintenance-image {
  max-width: 150px;
  margin-bottom: 20px;
  animation: spin-intercalado 8s ease-in-out infinite;
}

@keyframes spin-intercalado {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(-15deg);
  }
  75% {
    transform: rotate(30deg);
  }
}


.maintenance-content h1 {
    color: #ff0000; 
    font-family: poppins, sans-serif;
    font-weight: 600;
    font-size: 2em;
    -webkit-animation: blink-alert 1.5s ease-in-out 8s infinite;
    animation: blink-alert 1.5s ease-in-out 8s infinite;
}

/* --- Keyframes --- */
@-webkit-keyframes blink-alert {
    50% { opacity: 0.4; }
}

@keyframes blink-alert {
    50% { opacity: 0.4; }
}

.fila1, .fila2, .fila3{
  color: #c0c0c0;
  max-width: 600px; 
  line-height: 1.6;
  font-family: poppins, sans-serif;
  font-size: 1.5em;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  width: 0;
}

@media (max-width: 768px) {
  .fila1, .fila2, .fila3 {
    font-size: 1.1em;
    max-width: 90%;
  }
}

.fila1 {
  -webkit-animation: typing 2.5s steps(40, end) forwards;
  animation: typing 2.5s steps(40, end) forwards;
}

.fila2 {
  -webkit-animation: typing 2.5s steps(40, end) 2.5s forwards;
  animation: typing 2.5s steps(40, end) 2.5s forwards;
}

.fila3 {
  -webkit-animation: typing 2.5s steps(40, end) 5s forwards;
  animation: typing 2.5s steps(40, end) 5s forwards;
}

/* Keyframes para la animación de escritura */
@-webkit-keyframes typing {
  from { width: 0 }
  to { width: max-content }
}

@keyframes typing {
  from { width: 0 }
  to { width: max-content }
}

/* ...existing code... */

/* ─────────  forms ───────── */
.black-box {
  background-color: black;
  min-height: 100vh;
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  color: #ddd;
  text-align: center;
}

.black-box .logo {
  max-width: 200px;
  margin: 80px 0 25px;
  display: block;
}

.black-box .welcome-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  line-height: 1.5;
  max-width: 800px;
}

form {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  padding: 0;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #ccc;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 18px;
  border: 2px solid #333;
  border-radius: 8px;
  background-color: #222;
  color: #eee;
  font-size: 1rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  font-family: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #999;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #410141;
  background-color: #1a1a1a;
  outline: none;
  box-shadow: 0 0 8px #1c0033aa;
}

select:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 8px #4a90e2aa;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

select {
  appearance: none;
}

button {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  background-color: #3b3b3b;
  color: white;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

button:hover {
  background-color: #2c2c2c;
}

/* Indicadores visuales para campos obligatorios */
input:required:invalid,
textarea:required:invalid,
select:required:invalid {
  border-color: #79000a;
  box-shadow: 0 0 6px #000000aa;
}

input:required:valid,
textarea:required:valid,
select:required:valid {
  border-color: #2ecc71;
  box-shadow: 0 0 6px #2ecc71aa;
}

label[for]:after {
  content: " *";
  color: #e63946;
}

#wordCount {
  margin: -10px 0 18px;
  color: #999;
}

/* Media Queries */
@media (max-width: 850px) {
  .black-box .welcome-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .black-box {
    padding: 25px 15px;
  }

  .black-box .logo {
    max-width: 150px;
    margin-top: 60px;
  }

  .black-box .welcome-text {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  button {
    font-size: 0.95rem;
    padding: 10px;
  }

  input,
  textarea,
  select {
    font-size: 0.95rem;
    padding: 10px 12px;
  }
}
/* ─────────  forms ───────── */
/* ─────────  Menu  ───────── */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background-color: #000;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo img {
  height: 55px;
}

/* ===== Menú principal ===== */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

/* === Ítems de primer nivel === */
.nav-links li {
  position: relative;
  margin-left: 25px;
}

/* === Links === */
.nav-links a {
  color: #aaa;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 5px;
  display: inline-block;
  transition: color 0.3s ease;
  cursor: pointer;
  position: relative;      
}

.nav-links a:hover {
  color: #fff;
}

/* ===== Submenús (escritorio) ===== */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #000;
  padding: 5px 0;
  list-style: none;
  z-index: 1100;
  font-family: "Poppins", sans-serif;
}

.dropdown-content li { margin: 0; }

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #ccc;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background: #000;
  color: #fff;
}

/* Mostrar submenú al hacer hover en pantallas con ratón */
@media (hover: hover) {
  .dropdown:hover > .dropdown-content { display: block; }
}

/* ===== Pseudo‑líneas animadas en hover (desktop & mobile) ===== */
.nav-links a::before,
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

/* ===== Botón hamburguesa oculto por defecto ===== */
.mobile-menu {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 768px) {

  /* Menú principal en columna y centrado */
  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;       /* CENTRA los ítems */
    display: none;             /* se habilita con .active vía JS */
    background: #000;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    z-index: 1050;
  }
  .nav-links.active { display: flex; }

  /* Ítems de primer nivel centrados */
  .nav-links li {
    width: auto;
    margin: 12px 0;
    text-align: center;
  }

  .nav-links li > a {
    width: auto;
    padding: 10px 20px;
    text-align: center;
  }

  /* Link padre del dropdown centrado */
  .dropdown > a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
  }

  /* Submenú en acordeón y centrado */
  .dropdown-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;      
    gap: 10px;
    padding: 0;
    list-style: none;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .dropdown.open > .dropdown-content {
    max-height: 400px;
  }

  }
  /* Tamaño y estilo del botón */
  .mobile-menu {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;                /* separa las líneas */
  width: 20px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  }

  /* Las tres líneas */
  .mobile-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;     
  transition: transform 0.35s ease, opacity 0.35s ease;
  }

  /* —— Estado abierto —— */
  .mobile-menu.open span:nth-child(1) {      /* línea superior */
  transform: translateY(9px) rotate(45deg);
  }
  .mobile-menu.open span:nth-child(2) {      
  opacity: 0;                              
  }

  .mobile-menu.open span:nth-child(3) {      
  transform: translateY(-9px) rotate(-45deg);
  }

  @media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }

}
/* ─────────  Menu  ───────── */


/* ─────────  Index ───────── */
.hero-index {
 position: relative;
  display: grid;
  place-items: center;
  background-color: #000;
  color: #f0f0f0;
  height: 100vh;
  padding: clamp(60px, 8vh, 100px) 1rem clamp(40px, 6vh, 80px);
  min-height: 100svh;
  min-height: 100vh;
  overflow-y: auto;
  overflow: hidden; /* Para que el pseudo-elemento no sobresalga */
}

.hero-image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 4vw, 32px);
  max-width: min(90vw, 1000px);
  padding: 0 1rem;
  margin: 0 auto;
  text-align: center;

}

.subtitulo-index {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.35;
  color: #fff;
  text-align: center;
  margin-bottom: clamp(1rem, 2.5vw, 2rem);
}

.titulo-index {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.5rem, 8vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  transform: translateX(-4%); 
  white-space: nowrap;
}

.texto-index {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 2.8vw, 1.4rem);
  line-height: 1.6;
  max-width: 80ch;
  color: #d0d0d0;
  margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  padding: 0 1rem;
}

.icono-index {
   position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(200px, 30vw, 400px);
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.boton {
  display: inline-flex;
  justify-content: center;  
  align-items: center; 
  padding: clamp(10px, 2.5vw, 16px) clamp(20px, 6vw, 40px);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  user-select: none;

  /* tipografía */
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  margin-top: -24PX;

 /* colores */
 background: #000000;
  color: #ffffff;
  position: relative;
  z-index: 1;
  overflow: hidden;

  /* animaciones */
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.boton::before {
content: "";
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.233) 0%, transparent 80%);
  animation: pulse 2.5s infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

.boton:hover,
.boton:focus-visible {
  transform: translateY(-4px) scale(1.05);
  background: #111111;
  outline: none;
}

.boton:active {
  transform: translateY(0) scale(0.97);

}

.boton span {
  position: relative;
  z-index: 1;
}

.boton,
.boton::before {
  box-sizing: border-box;
}
/* ─────────  Index  ───────── */

/* ─────────  elemnetos  ───────── */
.conceptual-button-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 80px;
  margin-bottom: 8px;
  width: 100%;

}
@media (max-width: 1024px) {
  .conceptual-button-wrapper {
    margin-top: 60px;
    justify-content: center; /* centrar botones */
  }
}

/* Pantallas pequeñas (móviles) */
@media (max-width: 768px) {
  .conceptual-button-wrapper {
    flex-direction: column; /* apilar botones verticalmente */
    align-items: center;
    margin-top: 60px;
  }
}

/* Móviles muy pequeños */
@media (max-width: 480px) {
  .conceptual-button-wrapper {
    margin-top: 30px;
    margin-bottom: 5px;
  }
}


.boton-home {
  display: inline-flex;
  justify-content: center;  
  align-items: center; 
  padding: clamp(10px, 2.5vw, 16px) clamp(20px, 6vw, 40px);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  user-select: none;

  /* tipografía */
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  margin-top: -24PX;

 /* colores */
 background: #000000;
  color: #ffffff;
  position: relative;
  z-index: 1;
  overflow: hidden;

  /* animaciones */
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.boton-home::before {
content: "";
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.233) 0%, transparent 80%);
  animation: pulse 2.5s infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

.boton-home:hover,
.boton-home:focus-visible {
  transform: translateY(-4px) scale(1.00);
  background: #111111;
  outline: none;
}

.boton-home:active {
  transform: translateY(0) scale(0.97);

}

.boton-home span {
  position: relative;
  z-index: 1;
}

.boton-home,
.boton-home::before {
  box-sizing: border-box;
}

.view-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #181818;
  color: #b0b0b0;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-top: 8px;
  user-select: none;
}

.view-icon {
  font-size: 1.2em;
  margin-right: 2px;
}

.view-number {
  font-weight: 500;
  letter-spacing: 0.5px;
}
/* ─────────  elemnetos  ───────── */
.instagram-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px; /* Espacio entre publicaciones */
  margin: 40px auto;
  max-width: 600px;
  width: 100%;
}

.instagram-container .instagram-media {
  width: 100%;
  max-width: 540px;
}