/* ==========================================================
   Seku Studio · Página "Próximamente"
   Tipografía autoalojada (sin CDN externos → CSP estricta)
   ========================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-variable.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f0e7;          /* crema de la pared */
  --ink: #1a1a1a;         /* texto principal */
  --accent: #e47f38;      /* cobre: divisor y valores */
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg);
  background-image: url("../img/fondo.jpg");
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Velo suave para asegurar contraste del texto sobre la foto */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
    background:
    linear-gradient(to top, #e6d9c6 0%, rgba(246, 240, 231, 0.10) 30%),
    rgba(246, 240, 231, 0.15);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem) 1.25rem;
  text-align: center;
}

.hero__logo {
  margin: 0;
  line-height: 0;
}

.hero__logo img {
  display: block;
  width: clamp(17rem, 52vw, 34rem);
  height: auto;
}

.hero__divider {
  display: block;
  width: clamp(3rem, 7vw, 4.5rem);
  height: 2px;
  margin: clamp(1.75rem, 5vw, 3.25rem) 0;
  background: var(--accent);
}

.hero__soon {
  margin: 0;
  font-size: clamp(1.4rem, 4.2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-indent: 0.3em;      /* compensa el espaciado final para centrar */
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(246, 240, 231, 0.9);
}

.hero__tagline {
  margin: 0.75rem 0 0;
  max-width: 34ch;
  font-size: clamp(1.3rem, 2.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-wrap: balance;      /* reparte las líneas de forma pareja */
  text-shadow: 0 0 14px rgba(246, 240, 231, 0.9);
}

.hero__footer {
  margin-top: clamp(2.25rem, 7vw, 4.5rem);
}

.hero__location,
.hero__values {
  margin: 0;
  font-size: clamp(1rem, 1vw, 0.5 rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0;
  margin-top: 0.75rem;
  padding: 0;
  list-style: none;
  color: var(--accent);
}

.hero__values li + li::before {
  content: "\00b7";        /* punto medio */
  margin: 0 0.9em;
}

/* Pantallas muy angostas */
@media (max-width: 22.5em) {
  .hero__soon {
    letter-spacing: 0.2em;
    text-indent: 0.2em;
  }


}

/* Alto contraste / preferencias del usuario */
@media (prefers-contrast: more) {
  body::before {
    background: rgba(246, 240, 231, 0.7);
  }
}

@media (max-width: 48em) {
  body {
    background-position: center;
  }
}

/* ---------- Animación de entrada ---------- */

/* 1. Degradado inicial que se desvanece y deja ver la foto */
html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 10;
  background: linear-gradient(160deg, #f6f0e7 0%, #e9d3bc 100%);
  pointer-events: none;
  animation: intro-fade 1.4s ease-out 0.2s both;
}

@keyframes intro-fade {
  to { opacity: 0; visibility: hidden; }
}

/* 2. Texto: aparece con un ligero movimiento hacia arriba */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@keyframes grow {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}

.hero__logo,
.hero__soon,
.hero__tagline,
.hero__footer {
  animation: rise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero__divider {
  animation: grow 0.7s ease-out 1.3s both;
}

/* Secuencia escalonada */
.hero__logo    { animation-delay: 0.9s; }
.hero__soon    { animation-delay: 1.5s; }
.hero__tagline { animation-delay: 1.7s; }
.hero__footer  { animation-delay: 1.9s; }



/* 3. Accesibilidad: sin animación si el usuario lo pide */
@media (prefers-reduced-motion: reduce) {
  html::after { display: none; }

  .hero__logo,
  .hero__divider,
  .hero__soon,
  .hero__tagline,
  .hero__footer {
    animation: none;
  }
}

@media (max-width: 48em) {
  :root { --accent-text: #9a5528; }

  /* Halo crema detrás del texto + desvanecido inferior */
  body::before {
    background:
      radial-gradient(ellipse 90% 40% at 50% 50%,
        rgba(246, 240, 231, 0.88) 0%,
        rgba(246, 240, 231, 0.55) 55%,
        rgba(246, 240, 231, 0) 100%),
      linear-gradient(to top, #f6f0e7 0%, rgba(246, 240, 231, 0) 30%);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero__logo img { width: min(78vw, 22rem); }

  .hero__soon {
    font-weight: 600;
    text-shadow: 0 0 16px rgba(246, 240, 231, 0.9);
  }

  .hero__tagline {
    font-weight: 400;
    max-width: 28ch;
    text-wrap: balance;      /* reparte las líneas de forma pareja */
    text-shadow: 0 0 14px rgba(246, 240, 231, 0.9);
  }

  .hero__location,
  .hero__values {
    font-weight: 500;
    letter-spacing: 0.16em;
  }

  .hero__location { text-indent: 0.16em; }   /* centra la ciudad */

  .hero__values { color: var(--accent-text); }

  /* El separador va al final de cada palabra, no al inicio */
  .hero__values li + li::before { content: none; }
  .hero__values li:not(:last-child)::after {
    content: "\00b7";
    margin: 0 0.7em;
  }
}
