/* WildSummit · portada provisional
   Colores, letra y logo tomados de su web actual de enlaces. */

:root {
  --fondo: #f4f1e9;      /* crema de su web */
  --tinta: #172b22;      /* verde casi negro: logo y textos */
  --verde: #213f2e;      /* botón principal */
  --verde-hondo: #172b22;
  --suave: #5c6259;      /* texto secundario (su gris, oscurecido para que se lea bien) */
  --boton: #e9ece2;      /* botones de redes, como en su web */
  --boton-activo: #dfe5d7;
  --oro: #a37833;        /* marca de foco del teclado, como en su web */

  --fuente: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--fondo);
}

body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- Página: una sola columna centrada ---------- */

.pagina {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding:
    max(3rem, env(safe-area-inset-top))
    max(1.5rem, env(safe-area-inset-right))
    max(1.5rem, env(safe-area-inset-bottom))
    max(1.5rem, env(safe-area-inset-left));
}

.contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Logo ---------- */

.logo {
  width: min(100%, 17.5rem);
  margin: 0;
  color: var(--tinta);
}

.logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.logo__nieve {
  fill: var(--fondo);
}

.lema {
  margin: 1rem 0 0;
  font-size: 1rem;
  color: var(--suave);
  text-wrap: balance;
}

/* ---------- Aviso ---------- */

.aviso {
  margin: 3rem 0 0;
  font-size: 1.125rem;
  line-height: 1.5;
  text-wrap: balance;
}

/* ---------- Redes ---------- */

.redes {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1.5rem;
}

.redes__lista {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.boton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  background: var(--boton);
  color: var(--tinta);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.boton:hover {
  background: var(--boton-activo);
}

.boton__icono {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}

.boton--principal {
  min-height: 3.25rem;
  background: var(--verde);
  color: var(--fondo);
  font-size: 1rem;
}

.boton--principal:hover {
  background: var(--verde-hondo);
}

.boton--principal .boton__icono {
  width: 1.375rem;
  height: 1.375rem;
}

.tiendas {
  margin: 2rem 0 0;
  font-size: 0.9375rem;
  color: var(--suave);
  text-wrap: balance;
}

.tiendas a {
  white-space: nowrap;
  color: var(--tinta);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.tiendas a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--oro);
  outline-offset: 3px;
  border-radius: 0.375rem;
}

/* ---------- Pie ---------- */

.pie {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 1.5rem;
  padding-top: 3rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--suave);
}

.pie p {
  margin: 0;
}

/* Firma de Connectalia: enlace discreto, con altura suficiente para tocarlo con el dedo */
.pie__firma a {
  display: inline-block;
  padding-block: 0.25rem;
  color: var(--tinta);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.pie__firma a:hover {
  text-decoration-thickness: 2px;
}

/* ---------- Pantallas medianas y grandes ---------- */

@media (min-width: 40rem) {
  .logo {
    width: 22rem;
  }

  .lema {
    font-size: 1.0625rem;
  }
}

/* Móviles: las tres redes caben en una fila con el icono encima del nombre */
@media (max-width: 29.99rem) {
  .redes__lista .boton {
    flex-direction: column;
    gap: 0.375rem;
    min-height: 4rem;
    padding: 0.625rem 0.25rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 64rem) and (min-height: 40rem) {
  .logo {
    width: 26rem;
  }
}

/* Móvil apaisado: menos aire vertical */
@media (max-height: 30rem) and (orientation: landscape) {
  .pagina {
    padding-top: 1.5rem;
  }

  .aviso {
    margin-top: 1.5rem;
  }

  .pie {
    padding-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boton {
    transition: none;
  }
}

@media (forced-colors: active) {
  .boton {
    border: 1px solid ButtonText;
  }
}
