/* Coming-soon page and its carta page. */
/* Self-hosted (latin subset, SIL OFL) so no visit reaches a third party. */
@font-face {
  font-family: "Anton";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/anton.woff2") format("woff2");
}
@font-face {
  font-family: "Josefin Sans";
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/josefin-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Pacifico";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/pacifico.woff2") format("woff2");
}
:root {
  --crema: #fff5ec;
  --rosa: #e39e9e;
  --frida: #015afe;
  --terracota: #c8643b;
  --amarillo: #f2b33d;
  --verde: #3e8e5e;
  --rosamx: #e4007c;
  --tinta: #2a1a14;
  --azul: #0033dd;
  --azul3: #001f86;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html,
body {
  min-height: 100%;
}
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--azul);
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* papel picado, same as the site; stays on top while scrolling */
.picado {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  filter: drop-shadow(0 3px 4px #00103a40);
}
.picado span {
  flex: 1;
  height: 30px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.picado span:nth-child(5n + 1) {
  background: var(--rosamx);
}
.picado span:nth-child(5n + 2) {
  background: var(--amarillo);
}
.picado span:nth-child(5n + 3) {
  background: var(--frida);
}
.picado span:nth-child(5n + 4) {
  background: var(--verde);
}
.picado span:nth-child(5n + 5) {
  background: var(--terracota);
}

main {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 16px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.logo {
  width: min(240px, 62vw);
  height: auto;
  filter: drop-shadow(0 4px 14px #0004);
}

.banner {
  position: relative;
  width: 100%;
  margin-top: 28px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--azul3) url("/cover.jpg") center / cover no-repeat;
  box-shadow: 0 18px 50px #00103a66;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #001f86cc 0%, #001f86ee 100%);
}
.banner-inner {
  position: relative;
  padding: 40px 20px 34px;
}
.tag {
  display: inline-block;
  padding: 6px 14px 4px;
  border-radius: 999px;
  background: var(--amarillo);
  color: var(--tinta);
  font-family: "Anton", sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  margin-top: 16px;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 7.5vw, 68px);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
h1 em {
  display: block;
  margin-top: 6px;
  font-family: "Pacifico", cursive;
  font-style: normal;
  text-transform: none;
  color: var(--rosa);
  font-size: 0.72em;
  line-height: 1.3;
}
.lead {
  max-width: 34ch;
  margin: 14px auto 0;
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--crema);
}

.sedes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 28px auto 0;
}
@media (min-width: 640px) {
  .sedes {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .banner-inner {
    padding: 64px 40px 56px;
  }
}
.sede {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 14px 18px 12px 22px;
  border-radius: 18px;
  background: #fff;
  color: var(--azul);
  text-decoration: none;
  text-align: left;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  box-shadow: 0 6px 0 var(--rosamx);
}
.sede:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--rosamx);
}
.sede:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--rosamx);
}
.sede:focus-visible {
  outline: 3px solid var(--amarillo);
  outline-offset: 3px;
}
.sede small {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rosamx);
}
.sede strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.sede svg {
  flex: none;
}

.nota {
  margin-top: 22px;
  font-size: 15px;
  color: #ffffffb3;
}
footer {
  padding: 0 16px 24px;
  text-align: center;
  font-size: 14px;
  color: #ffffff99;
}

/* ES · EN · PT, same look as the site's switch */
.lang-switch {
  display: inline-flex;
  gap: 2px;
  margin-top: 16px;
  padding: 3px;
  border-radius: 999px;
  background: #00103a4d;
}
.lang-switch[hidden] {
  display: none;
}
.lang-switch button {
  min-width: 44px;
  min-height: 36px;
  padding: 6px 10px 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffffcc;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.lang-switch button:hover {
  color: #fff;
}
.lang-switch button.on {
  background: #fff;
  color: var(--azul);
}
.lang-switch button:focus-visible {
  outline: 3px solid var(--amarillo);
  outline-offset: 2px;
}

/* "Ver la carta" */
.ver-carta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 12px 22px 10px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}
.ver-carta:hover {
  background: #ffffff1f;
}
.ver-carta:focus-visible {
  outline: 3px solid var(--amarillo);
  outline-offset: 3px;
}
.ver-carta img {
  width: 28px;
  height: 28px;
  margin-top: -3px;
}

/* /carta: the printed salon carta, tap to enlarge, and its PDF */
.carta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.carta-top .lang-switch {
  margin-top: 0;
}
.volver {
  padding: 8px 4px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.volver::before {
  content: "← ";
}
.volver:hover {
  text-decoration: underline;
}
.carta-logo {
  width: min(150px, 40vw);
  height: auto;
  margin-top: 12px;
}
.carta-head h1 {
  margin-top: 12px;
  text-transform: uppercase;
}
.carta-head h1 em {
  display: inline;
  margin: 0;
}
.carta-head p {
  margin-top: 8px;
  color: #ffffffcc;
}
.carta-foto {
  display: block;
  width: 100%;
  max-width: 860px;
  margin: 22px auto 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 40px #00103a66;
}
.carta-foto img {
  display: block;
  width: 100%;
  height: auto;
}
.carta-hint {
  margin-top: 10px;
  font-size: 15px;
  color: #ffffffb3;
}
.carta-pdf {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--azul);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--rosamx);
}
.carta-pdf:focus-visible {
  outline: 3px solid var(--amarillo);
  outline-offset: 3px;
}
