/* TresTildes · home
   Reglas extraídas de la hoja de Webflow original (trestildes.webflow.shared.css),
   solo las que usa esta página. */

@font-face {
  font-family: Satoshi;
  src: url("../fonts/Satoshi-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Monumentextended;
  src: url("../fonts/MonumentExtended-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --amarillo: #f7d918;
  --fondo: #181918;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background-color: var(--fondo);
  color: var(--amarillo);
  font-family: Monumentextended, Impact, sans-serif;
  font-size: .875rem;
  font-weight: 500;
  line-height: 150%;
}
a {
  color: var(--amarillo);
  text-decoration: none;
  background-color: transparent;
}
img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
  border: 0;
}

/* logotipo */
.section-3 {
  height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* contacto */
.section-2 {
  height: 20%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
.div-block-77 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  grid-auto-columns: 1fr;
  gap: 16px;
  place-content: space-around;
  background-color: var(--fondo);
}
.text-block {
  height: 20%;
  text-align: center;
  background-color: var(--fondo);
}

/* acceso al área privada (único añadido respecto a la web original) */
.acceso {
  position: fixed;
  top: 18px;
  right: 22px;
  font-family: Satoshi, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 6px 14px;
  opacity: .8;
}
.acceso:hover,
.acceso:focus-visible { opacity: 1; }

/* aviso legal y privacidad (obligatorios por la LSSI y el RGPD) */
.legal {
  position: fixed;
  top: 24px;
  left: 22px;
  font-family: Satoshi, Arial, sans-serif;
  font-size: 12px;
  opacity: .6;
}
.legal a:hover,
.legal a:focus-visible { text-decoration: underline; }

@media screen and (max-width: 991px) {
  .section-3 { height: 60%; }
  .section-2 { height: 40%; }
  .div-block-77 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }
}
