@charset "UTF-8";
/* CSS Document */

/* Tipografía */
@font-face {
  font-family: "Aribau Grotesk ExtraLight";
  src: url("../fonts/aribau-grotesk-extralight.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Colores */

:root{
  --plomo:#515a6b;
  --verde-oscuro:#718473;
  --verde-medio:#afbbaf;
  --verde-claro:#e3eae6;
  --arena-oscuro:#a39382;
  --arena-medio:#ccc7bf;
  --arena-claro:#e8e5de;
}

*{ box-sizing:border-box; }

body {
  margin: 0;
  font-family: "Aribau Grotesk ExtraLight", sans-serif;
  color: var(--plomo);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Preloader en el área del vídeo */
#preloader {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;        /* mismo fondo que la página */
  z-index: 2;              /* encima del iframe */
}
/* Contenedor del vídeo */
.video-background {
  position: relative;
  width: 100%;
  flex: 0 0 40vh;
 height: auto;           
  overflow: hidden;
}

/* Vídeo centrado */
.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;         /* 16:9 */
  min-height: 40vh;
  min-width: 88.88vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;              /* por debajo del preloader */
  border: 0;
}

/* Spinner */
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--arena-claro);
  border-top: 4px solid var(--arena-oscuro);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Contenido principal */
main {
  flex: 1 1 auto;          /* ocupa el resto de alto disponible */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;     
  gap: 1.2rem;
  text-align: center;
  min-height: 0;           

  min-height: 40vh;     
  box-sizing: border-box;
  margin-bottom: 80px;  /* evita solape con el footer fijo */
}

.coming-soon-text {
  font-size: 0.8rem;
  letter-spacing: 4px;
  margin: 0 0 0.6rem 0; /* espacio debajo */
  color: var(--plomo);
  text-transform: uppercase;
}

.logo {
  max-width: 80%;                
  width: auto;                   
  height: auto;
  max-height: clamp(120px, 22vh, 360px); 
}

/* Botón "Próximamente" */
.btn {
  display: inline-block;
  padding: 0.4rem 2.5rem;
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--plomo);
  border: 1px solid var(--verde-oscuro);
  border-radius: 100px;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .1s ease;
  will-change: transform;
}

.btn:hover {
  background-color: var(--verde-oscuro);
  color: #fff;
}

.btn:active { transform: scale(0.98); }

/* Iconos RRSS */

.social-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.social-icons img {
  width: 35px;
  height: 35px;
  transition: transform 0.2s ease;
	color: #718473;
}

.social-icons img:hover {
  transform: scale(1.15);
}
.social-icons a {
  color: #718473; /* verde oscuro */
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #afbbaf; /* verde claro al pasar el ratón */
	}


/* Footer */
footer {
  position: fixed;        /* siempre pegado abajo */
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;           /* altura fija */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.95rem;
  background-color: var(--verde-claro);
  border-top: 1px solid var(--verde-oscuro);
  z-index: 10;            /* por encima del resto */
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover { text-decoration: underline; }


/* ===== Responsive ===== */
@media (min-width: 1200px) {
  .logo { width: 80%; max-width: 740px; }  /* Aquí ajustas el logo en pantallas grandes/escritorio ancho */
}


/* Tablets */
@media (max-width: 1024px) {
  .video-background { height: 45vh; }   
  .logo { width: 70%; max-width: 560px; }  /*  Aquí cambias el logo en tablets */
  .btn  { font-size: 0.95rem; padding: 0.8rem 1.8rem; }
}

/* Móviles */
@media (max-width: 768px) {
  .video-background { height: 50vh; }

  .logo { 
    max-height: clamp(130px, 32vh, 240px); 
    width: auto; 
    height: auto; 
    max-width: 100%; 
  }
  /*  Aquí controlas el tamaño en móvil:
        - 130px = mínimo
        - 32vh = tamaño relativo a la pantalla (aumenta/reduce)
        - 340px = máximo */
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
  .video-background { height: 38vh; }
  .logo { width: 85%; max-width: 280px; }  /* Aquí puedes afinar el logo en móviles muy pequeños */
}


/* Accesibilidad: reduce animaciones si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; border-top-color: var(--arena-claro); }
  .btn { transition: none; }
	
}

