@font-face {
  font-family: 'ManropeLight';
  src: url('assets/Manrope-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Manrope';
  src: url('assets/Manrope-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Erode';
  src: url('assets/Erode-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

/* Cursor personalizado tipo bolita cute */
.custom-cursor {
  width: 20px;
  height: 20px;
  background-color: rgba(61, 15, 19, 0.8); /* bolita blanca con transparencia */
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;

  transition: transform 0.15s ease-out;
}
p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
}

.subtitulo, .frase {
  font-family: 'Erode', serif;
  font-weight: 300;
}

 body {
  margin: 0;
    font-family: 'Manrope', sans-serif;
  font-weight: 300;
  background-color: #e6e4e1;
  cursor: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header {
  background-image: url(assets/bg.png);
  text-align: center;
  height: 100%;
  padding: 1rem;
}

.header h1 {
  font-size: 3rem;
  color: #6a3b3b;
  letter-spacing: 0.2rem;
}

.nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  z-index: 1;
}

.nav a {
  position: relative;
  text-decoration: none;
  font-size: 1.1rem;
  color: #f0f0ea;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #f0f0ea;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  max-width: 90%; /* o 90% si prefieres fluido */
  margin: 0 auto;
  padding: 2rem 1rem; /* espacio arriba y a los lados */
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* si quieres bordes suaves */
}

.hero-text {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.columns {
  display: flex;
  flex-wrap: wrap;
  padding: 2rem;
  gap: 2rem;
}

.left-column {
  flex: 1.2; /* Imagen más ancha */
  min-width: 300px;
}

.right-column {
  flex: 1; /* Texto más angosto */
  min-width: 250px;
}


.right-column img {
  width: 100%;
  border-radius: 8px;
}

.galeria {
  padding: 2rem;
}

.galeria h2 {
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.grid img {
  width: 100%;
  border-radius: 8px;
}

.logo {
  width: 90%;
  max-width: 90%;
  height: auto;
  position: absolute;
  top: 2rem; /* casi pegado al techo */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}


.anagrama {
  width: 300px !important;
  height: auto !important;
  display: block;
  margin: 0 ;
  align-content: left;
  text-align: left;
}


.columns-wrapper {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  padding: 3rem 2rem;
}

.columns.with-divider {
  display: flex;
  align-items: stretch;
  flex: 1;
  gap: 2rem;
  padding: 3rem 2rem;
}

.divider {
  width: 1px;
  background-color: #aaa;
  height: auto;
  align-self: stretch;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.text-column {
  flex: 1;
  min-width: 250px;
}

.image-column {
  flex: 2;
  min-width: 300px;
}


.anagrama {
  width: 200px;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}


#loader {
  position: fixed;
  inset: 0;
  background-color: #e6e4e1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#loader img {
  width: 120px;
  animation: pulse 1.2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.footer {
  padding: 3rem 2rem;
  text-align: center;
  background-color: #f0f0ea;
  color: #6a3b3b;
  border-top: 1px solid #d3d0cb;
}

.footer-logo {
  width: 200px;
  max-width: 80%;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer .privacy-link {
  font-size: 0.9rem;
  color: #6a3b3b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .privacy-link:hover {
  color: #9b5a5a;
  text-decoration: underline;
}

.inicio {
  background-image: url(assets/BannerTopENC.png);
  background-size: cover;
  background-position: center;
  height: 100vh;
  width: 100%;
  position: relative;
}


.inicio-contenido {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  width: 100%;
  padding: 0 1rem;
  height: 100%;
}

.nora-arias {
  display: flex;
  height: 100vh;
  width: 100%;
}

.nora-columna {
  flex: 1;
}

.nora-columna.izquierda {
  flex: 3;
  background-image: url(assets/BannerNora.png);
  background-size: cover;
  background-position: center;
}

.nora-columna.derecha {
  flex: 2;
  background-color: #6a282c;
  color: #f0f0ea;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  position: relative;
  overflow: hidden; /* para que lo que sobresalga del anagrama no se vea */
}

.anagrama {
  width: 200px;
  height: auto;
}

.marca-anagrama {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 5px;
  width: 112%; /* más grande que la columna */
  opacity: 0.8;
  pointer-events: none; /* para que no estorbe si alguien le da clic */
  z-index: 0;
}

.anagrama,
.frase,
.descripcion {
  position: relative;
  z-index: 1;
}

.frase {
  font-style: italic;
  font-size: 1.8rem;

}

.descripcion {
  text-align: left;
  font-size: 1rem;
  color: #393835;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nora-arias {
    flex-direction: column;
  }

  .nora-columna.derecha {
    padding: 2rem;
  }

  .descripcion {
    max-width: 100%;
  }
}

.carrusel-piezas {
   background-color: #f0f0ea;
  padding: 4rem 0 0 0; /* sin padding bottom */
  margin: 0;
}

.carrusel-titulo {
  text-align: left;
   font-size: 2rem;
  margin-bottom: 1rem;
  color: #6a3b3b;
}

.carrusel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
   width: 100%;
}

.swiper{
   width: 100%;
}

.carrusel-texto {
  max-width: 720px; /* reducido de 800 */
  margin: 0 auto 2rem auto;
  padding: 0 2rem 0 1rem; /* más aire derecho, menos izquierdo */
  text-align: left;
}

.carrusel-contenido {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carrusel-contenido::-webkit-scrollbar {
  display: none; /* Chrome */
}

.item-carrusel {
  flex: 0 0 auto;
  width: 18vw; /* ← más ancho en desktop */
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.item-carrusel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flecha {
  background: none;
  border: none;
  font-size: 2rem;
  color: #6a3b3b;
  cursor: pointer;
  padding: 1rem;
  z-index: 2;
  transition: color 0.2s ease;
}

.flecha:hover {
  color: #9b5a5a;
}

.flecha-izq {
  position: absolute;
  left: 0;
}

.flecha-der {
  position: absolute;
  right: 0;
}

.hover-text {
  position: absolute;
  bottom: 10px;
  right: 15px;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #f0f0ea;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  font-family: 'Manrope', sans-serif;
  pointer-events: none;
}

.item-carrusel img {
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.item-carrusel:hover .hover-text {
  opacity: 1;
  transform: translateY(0);
}

.item-carrusel img:hover {
  filter: grayscale(0%);
}

.flecha {
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  z-index: 2;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flecha-img {
  width: 30px; /* o el tamaño que quieras */
  height: auto;
  filter: brightness(0) saturate(100%) invert(23%) sepia(16%) saturate(600%) hue-rotate(330deg) brightness(95%) contrast(90%);
}

.flecha-invertida {
  transform: scaleX(-1); /* Voltea la imagen horizontalmente */
}

.flecha-izq {
  position: absolute;
  left: 0;
}

.flecha-der {
  position: absolute;
  right: 0;
}

.contacto {
  display: flex;
  min-height: 100vh;
  width: 100%;
    margin: 0;
  padding-top: 0;
}

.contacto-wrapper {
  max-width: 600px;
  width: 100%;
  padding: 2rem 0; /* ← Añade esto si quieres darle aire arriba y abajo */
}

.contacto-titulo {
  font-size: 2rem;
  color: #6a3b3b;
  text-align: left;
  margin-bottom: 1rem;
  font-family: 'Manrope';
}

.contacto-descripcion {
  font-size: 0.95rem;
  text-align: left;
  margin-bottom: 2.5rem;
  color: #5a4a4a;
  line-height: 1.6;
  font-family: 'Erode';
}

.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.campo {
  display: flex;
  flex-direction: column;
}

.campo label {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: #6a3b3b;
  font-family: 'Manrope';
}

.formulario-contacto input,
.formulario-contacto textarea,
.formulario-contacto select {
  background: transparent;
  border: none;
  border-bottom: 1px solid #bca9a9;
  font-size: 1rem;
  font-family: 'Manrope';
  padding: 0.5rem 0;
  color: #3c3c3c;
  transition: border-color 0.3s ease;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus,
.formulario-contacto select:focus {
  outline: none;
  border-bottom: 1.5px solid #6a3b3b;
}

.formulario-contacto select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg%20fill='none'%20stroke='%236a3b3b'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M19%209l-7%207-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
}

.formulario-contacto button {
  margin-top: 2rem;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 999px;
  background-color: #6a3b3b;
  color: #fffaf2;
  font-size: 1rem;
  font-family: 'Manrope';
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
  background-color: #9b5a5a;
}

.contacto-columna {
  flex: 1;
}

.contacto-columna.izquierda {
  flex: 3;
  background-image: url(assets/BannerContacto.png);
  background-size: cover;
  background-position: center;
}

.contacto-columna.derecha {
  flex: 2;
  background-color: #f0f0ea;
  color: #6a282c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  position: relative;
  overflow: hidden; /* para que lo que sobresalga del anagrama no se vea */
}

.flecha-arriba {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #6a3b3b;
  color: #f0f0ea;
  font-size: 1.8rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.3s ease;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.flecha-arriba:hover {
  transform: scale(1.1);
  background-color: #9b5a5a;
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #6a3b3b;
  color: #fffaf2;
  font-size: 1.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10000;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background-color: #9b5a5a;
}

.swiper,
.swiper-wrapper,
.carrusel-contenido,
.carrusel-wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  height: auto !important;
  overflow: hidden;
}


.swiper,
.swiper-wrapper,
.carrusel-contenido,
.carrusel-wrapper {
  height: auto !important;
  overflow: visible;
}

.logos-section {
    background-color: #f0f0ea;
    padding: 4rem 2rem;
    text-align: center;
  }

  .logos-texto {
    max-width: 1000px;
    margin: 0 auto;
  }

  .logos-intro,
  .logos-presentado {
    font-family: 'Manrope';
    color: #6a3b3b;
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .logos-grid,
  .logos-4s {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .logos-grid img,
  .logos-4s img {
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%) contrast(90%) brightness(95%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
  }

  .logos-grid img:hover,
  .logos-4s img:hover {
    opacity: 1;
  }


@media (max-width: 768px) {
  /* COLUMNAS: una arriba de la otra */
  .nora-arias,
  .contacto {
    flex-direction: column;
    height: auto;
  }

  .nora-columna.izquierda,
  .contacto-columna.izquierda {
    height: 50vh;
    flex: none;
  }


  .nora-columna.derecha,
  .contacto-columna.derecha {
    flex: none;
    padding: 2rem 1.5rem;
    text-align: left;
    align-items: flex-start;
  }


  .nora-columna.izquierda {
  height: 60vh; /* antes estaba en 50vh */
}

.nora-columna.derecha > div {
  padding-top: 1rem !important; /* ← quitamos el padding-top: 230px en mobile */
}

  .descripcion,
  .contacto-descripcion {
    text-align: left;
    padding: 0;
  }

  .contacto-wrapper {
    padding: 2rem 2rem;
  }

  /* ANAGRAMA en móvil */
  .anagrama {
    width: 80%;
    max-width: 250px;
    margin-bottom: 1rem;
  }

  .marca-anagrama {
    width: 100%;
    left: 0;
  }

  /* TEXTO CARRUSEL mejor alineado */
  .carrusel-texto {
    padding: 0 1.2rem;
    text-align: left;
  }

  /* CARRUSEL en móvil: grande y cómodo */
  .item-carrusel {
    width: 80vw !important;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
  }

  .item-carrusel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Evitamos márgenes innecesarios */
  .swiper,
  .swiper-wrapper,
  .carrusel-contenido,
  .carrusel-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
  }
  .contacto-wrapper {
  padding: 2rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.contacto-columna.derecha {
  padding: 2rem 0; /* reduce el padding horizontal para que el wrapper lo controle */
  align-items: flex-start;
}

.formulario-contacto input,
.formulario-contacto textarea,
.formulario-contacto select {
  width: 100%;
  box-sizing: border-box;
}

.logos-section {
      padding: 3rem 1rem;
    }

    .logos-grid img,
    .logos-4s img {
      height: 60px;
    }

}


.swiper-wrapper {
  transition-timing-function: ease-in-out !important;
}

.swiper-slide {
  scroll-snap-align: start;
}
