/* ─────────────────────────────────────────────
   La Llar de l'Art — landing "web en construcción"
   Tokens: teal #1c6b78 · fondo #8fc3c8 · rojo #c8443c
           marco #d9635c · crema #fdf0b8 · blanco #fff
   ───────────────────────────────────────────── */

:root {
  --teal:   #1c6b78;
  --sky:    #8fc3c8;
  --red:    #c8443c;
  --frame:  #d9635c;
  --cream:  #fdf0b8;
  --white:  #ffffff;
}

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

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--sky);
}

body {
  min-height: 100vh;
  font-family: Nunito, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--teal);
  /* rayas verticales: 26px raya / 36px hueco */
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.16) 0 26px,
    rgba(255, 255, 255, 0) 26px 62px
  );
  -webkit-text-size-adjust: 100%;
}

.stage {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── Desktop: ilustración a pantalla completa ───────────────── */

.art {
  position: relative;
  width: min(100vw, 177.8vh);
  aspect-ratio: 16 / 9;
}

.art__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Zonas clicables sobre el cuadro (porcentajes del propio marco) */
.hotspot {
  position: absolute;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0);
  transition: box-shadow .18s ease, background-color .18s ease;
}

.hotspot--ig  { left: 39.6%; top: 49.8%; width: 18.2%; height: 6.2%; border-radius: 14px; }
.hotspot--pre { left: 39.4%; top: 60.8%; width: 17.4%; height: 5.8%; border-radius: 12px; }

.hotspot--ig:hover,
.hotspot--ig:focus-visible {
  background-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 3px var(--teal);
  outline: none;
}

.hotspot--pre:hover,
.hotspot--pre:focus-visible {
  background-color: rgba(255, 240, 184, 0.45);
  box-shadow: 0 0 0 3px var(--red);
  outline: none;
}

/* ── Móvil: logo + tarjeta ──────────────────────────────────── */

.mobile {
  width: 100%;
  max-width: 480px;
  padding: 18px 18px 44px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.mobile__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mobile__logo {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
}

.mobile__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}

.card {
  border: 9px solid var(--frame);
  border-radius: 6px;
  background: var(--white);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 10px 26px rgba(28, 107, 120, 0.2);
}

.card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  color: var(--red);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  text-decoration: none;
  transition: background-color .15s ease;
}

.btn--ig {
  gap: 12px;
  border: 2px solid var(--teal);
  border-radius: 999px;
  color: var(--teal);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.btn--ig:hover, .btn--ig:active, .btn--ig:focus-visible { background: #e6f1f2; }

.btn--pre {
  min-height: 58px;
  background: var(--cream);
  border: 2px solid var(--red);
  border-radius: 10px;
  color: var(--red);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.btn--pre:hover, .btn--pre:active, .btn--pre:focus-visible { background: #f8e79b; }

.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Marca de Instagram dibujada en CSS (sin dependencias) */
.btn__icon {
  flex: none;
  width: 26px; height: 26px;
  border: 2.5px solid var(--teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn__icon > span {
  width: 11px; height: 11px;
  border: 2.5px solid var(--teal);
  border-radius: 50%;
}

.card__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--teal);
}
.card__contact a { color: var(--teal); text-decoration: none; }
.card__contact a:hover { color: var(--red); text-decoration: underline; }

/* ── Conmutador de vistas ───────────────────────────────────── */

@media (max-width: 759.98px) { .art    { display: none; } }
@media (min-width: 760px)    { .mobile { display: none; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
