/* Guardianes de la Montaña — landing temporal */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --verde-oscuro: #124134;
  --verde-pradera: #46815c;
  --verde-roca: #738665;
  --cielo: #a5d8f5;
  --rio: #3d8380;
  --sol: #d3a12f;
}

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

html, body { margin: 0; height: 100%; }

body {
  position: relative;
  min-height: 100svh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--verde-oscuro);
  background: #b9d7e6;
}

/* Fotografía de fondo */
.fondo {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: 50% 50%;
}
.fondo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}
/* Velo claro detrás del logo y oscurecido abajo para el pie */
.fondo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 52% at 50% 40%, rgb(255 255 255 / .55) 0%, rgb(255 255 255 / .25) 55%, transparent 100%),
    linear-gradient(180deg, transparent 72%, rgb(10 40 30 / .55) 100%);
}

/* Contenido central */
.contenido {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4svh, 26px);
  padding: clamp(20px, 4svh, 48px) 20px clamp(100px, 20svh, 220px);
  text-align: center;
}

.logo { margin: 0; line-height: 0; }
.logo img {
  width: auto;
  height: clamp(200px, 38svh, 400px);
  max-width: 78vw;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgb(255 255 255 / .85)) drop-shadow(0 0 6px rgb(255 255 255 / .9));
}

.lema {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .4em .9em;
  font-weight: 700;
  font-size: clamp(.8rem, 2.1vw, 1.15rem);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px rgb(0 0 0 / .55), 0 0 16px rgb(10 40 30 / .6);
}
.lema span { margin-right: -.26em; } /* compensa el tracking final */
.lema i {
  width: .45em;
  height: .45em;
  border-radius: 50%;
  background: var(--sol);
  box-shadow: 0 0 6px rgb(0 0 0 / .4);
}

.slogan {
  margin: clamp(2px, 1svh, 10px) 0 0;
  font-weight: 700;
  font-size: clamp(1.3rem, 3.2vw, 2rem);
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 3px rgb(0 0 0 / .5), 0 0 22px rgb(10 40 30 / .65);
}

.aviso {
  margin: 0;
  font-weight: 500;
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: #fff;
  text-shadow: 0 1px 2px rgb(0 0 0 / .55), 0 0 14px rgb(10 40 30 / .6);
}

.pie {
  position: fixed;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgb(255 255 255 / .9);
  text-shadow: 0 1px 4px rgb(0 0 0 / .5);
}

@media (max-width: 480px) {
  .lema { font-size: .72rem; letter-spacing: .16em; gap: .4em .6em; }
  .lema span { margin-right: -.16em; }
}

/* Pantallas bajas en horizontal (celular girado) */
@media (max-height: 520px) and (orientation: landscape) {
  .contenido { gap: 8px; padding-top: 16px; padding-bottom: 48px; }
  .logo img { height: 50svh; }
}

.contacto {
  margin: 0;
  font-weight: 500;
  font-size: clamp(.9rem, 1.8vw, 1rem);
  color: #fff;
  text-shadow: 0 1px 2px rgb(0 0 0 / .6), 0 0 12px rgb(10 40 30 / .6);
}
.contacto a {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / .6);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.contacto a:hover,
.contacto a:focus-visible { color: #ffe7a8; }
.contacto a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }

/* Celular vertical: encuadre hacia el valle y velo más amplio */
@media (orientation: portrait) {
  .fondo img { object-position: 54% 50%; }
  .fondo::after {
    background:
      radial-gradient(ellipse 90% 45% at 50% 38%, rgb(255 255 255 / .6) 0%, rgb(255 255 255 / .25) 60%, transparent 100%),
      linear-gradient(180deg, transparent 70%, rgb(10 40 30 / .6) 100%);
  }
}

