/* =========================================================
   QLS Panamá — estilos globales
   ========================================================= */

:root {
  --red: #fb1306;
  --black: #000;
  --text: #3a3a3a;
  --divider: rgba(22, 25, 34, 0.25);
  --font: "Barlow Semi Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

/* ---------- Portada (hero) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: url("../assets/img/41692-scaled.jpg") center / cover no-repeat;
}

/* Velo blanco sobre los glóbulos */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.93);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: 1122px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo {
  width: 400px;
  max-width: 80%;
  margin-bottom: 8px;
}

.hero__intro {
  max-width: 880px;
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

/* ---------- Títulos con línea ---------- */

.section-title {
  margin: 40px 0 0;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--red);
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  margin: 2px auto 0;
  border-top: 3px solid var(--divider);
}

/* ---------- Botones de eventos ---------- */

.events {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}

.btn {
  display: inline-block;
  padding: 11px 18px;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--black);
  border-radius: 20px;
  transition: background-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--red);
}

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

/* ---------- Contacto ---------- */

.contact {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.4;
}

.contact strong {
  font-weight: 700;
  color: #000;
}

.contact a {
  color: #000;
  text-decoration: none;
}

.contact a:hover {
  color: var(--red);
}

.social {
  display: inline-flex;
  margin-top: 16px;
  color: var(--red);
  transition: transform 0.25s ease;
}

.social:hover {
  transform: scale(1.1);
}

.social svg {
  width: 44px;
  height: 44px;
}

/* ---------- Tablet ---------- */

@media (max-width: 959px) {
  .hero__intro {
    font-size: 18px;
    padding: 0 20px;
  }
}

/* ---------- Móvil ---------- */

@media (max-width: 767px) {
  .hero {
    padding: 48px 16px;
    background-image: url("../assets/img/41692-1536x1536.jpg");
  }

  .hero__logo {
    width: 300px;
  }

  .hero__intro {
    font-size: 16px;
    line-height: 1.45;
    padding: 0;
  }

  .section-title {
    margin-top: 32px;
    font-size: 20px;
  }

  .events {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    gap: 12px;
  }

  .btn {
    padding: 13px 18px;
    text-align: center;
  }

  .contact {
    font-size: 16px;
  }

  /* Teléfonos en líneas separadas para que no se corten raro */
  .contact__nowrap {
    white-space: nowrap;
  }

  .social svg {
    width: 40px;
    height: 40px;
  }
}
