/* MestizArte — página de convocatoria
   Guarda este archivo junto a index.html y las imágenes indicadas en README.txt. */

:root {
  --ink: #004b50;
  --blue: #0877df;
  --orange: #ff8b19;
  --cream: #fff5df;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
  background-color: var(--cream);
  background-image: url("FondoEscritorio.png");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.landing {
  width: min(100% - 9vw, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 68px) 0 34px;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-heading {
  margin: 0;
  font-size: clamp(18px, 1.65vw, 27px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.7px;
}

.promoter {
  display: block;
  flex: 0 0 190px;
  text-align: right;
}

.promoter img {
  display: block;
  width: 100%;
  max-height: 72px;
  object-fit: contain;
  object-position: right center;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(26px, 4vw, 52px) 0 12px;
}

.festival-logo {
  display: block;
  width: min(66%, 610px);
  height: auto;
  object-fit: contain;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: min(100%, 650px);
  margin: 8px auto 0;
}

.social-button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 68px;
  padding: 10px 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: white;
  text-decoration: none;
  border-radius: 14px;
  box-shadow: 0 5px 10px rgb(75 47 20 / 20%);
  transition: transform .2s ease, filter .2s ease;
}

.social-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.facebook { background: linear-gradient(110deg, #0753b9, #0785ee); }
.instagram { background: linear-gradient(110deg, #e90076, #ff8d18); }

.social-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
}

.facebook-icon {
  font-family: Arial, sans-serif;
  font-size: 53px;
  font-weight: 800;
  line-height: 1;
  align-items: end;
}

.instagram-icon svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}
.instagram-icon .dot { fill: currentColor; stroke: none; }

.social-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.social-copy strong { font-size: 15px; font-weight: 800; }
.social-copy small { font-size: 10px; white-space: nowrap; }
.arrow { margin-left: auto; font-size: 32px; font-weight: 300; line-height: 1; }

.partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: auto auto 0;
  padding-top: 35px;
}

.partner {
  min-width: 0;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 22px;
  border-right: 1px solid rgb(0 75 80 / 55%);
}
.partner:last-child { border-right: 0; }
.partner-label { font-size: 11px; font-weight: 800; }
.partner img {
  display: block;
  width: auto;
  max-width: 150px;
  height: 43px;
  object-fit: contain;
}

@media (min-width: 1400px) {
  .landing { width: min(100% - 12vw, 1280px); }
  .festival-logo { width: min(68%, 700px); }
  .social-links { width: 700px; }
}

@media (max-width: 700px) {
  body {
    background-image: url("FondoMovil.png");
    background-position: center top;
    background-size: 100% auto;
    background-attachment: scroll;
  }

  .landing {
    width: min(100% - 36px, 480px);
    min-height: 100svh;
    padding: 32px 0 24px;
  }

  .site-header {
    align-items: center;
    gap: 12px;
    padding: 0 2px;
  }

  .site-heading {
    max-width: 58%;
    font-size: clamp(15px, 4vw, 19px);
    line-height: 1.18;
    letter-spacing: -.45px;
  }

  .promoter { flex-basis: 38%; }
  .promoter img { max-height: 54px; }

  .hero { padding: 35px 0 22px; }
  .festival-logo { width: 100%; max-width: 430px; }

  .social-links {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    margin-top: 5px;
  }

  .social-button {
    width: 100%;
    min-height: 62px;
    padding: 8px 15px;
    border-radius: 12px;
    gap: 12px;
  }

  .social-icon { flex-basis: 38px; width: 38px; height: 38px; }
  .facebook-icon { font-size: 48px; }
  .instagram-icon svg { width: 36px; height: 36px; }
  .social-copy strong { font-size: 14px; }
  .social-copy small { font-size: 10px; }

  .partners {
    width: 100%;
    gap: 0;
    padding-top: 30px;
    margin-top: auto;
  }

  .partner {
    flex: 1 1 0;
    padding: 0 8px;
    min-height: 58px;
  }
  .partner-label { font-size: 9px; }
  .partner img { max-width: 100%; height: 34px; }
}

@media (max-width: 360px) {
  .landing { width: calc(100% - 26px); }
  .site-heading { font-size: 14px; }
  .social-copy small { font-size: 9px; }
  .partner { padding-inline: 5px; }
}
