/* Sección motivacional unificada — Comunidad Checkit (Home) */

.c-join-community {
  padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 56px);
  background: linear-gradient(180deg, #faf8f4 0%, #ffffff 42%);
}

.c-join-community__card {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: 16px;
  background: #ffffff;
  box-shadow:
    0 4px 24px rgba(10, 31, 48, 0.06),
    0 1px 0 rgba(218, 165, 32, 0.12);
  border: 1px solid rgba(218, 165, 32, 0.14);
  overflow: hidden;
}

.c-join-community__content {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 18px);
  min-width: 0;
}

.c-join-community__eyebrow {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #daa520;
}

.c-join-community__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.c-join-community__list li {
  position: relative;
  padding-left: 1rem;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  font-weight: 400;
  line-height: 1.45;
  color: #3d4f5c;
}

.c-join-community__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #daa520;
}

.c-join-community__pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 2px 0;
}

.c-join-community__pillar {
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdf8 0%, #faf7f0 100%);
  border: 1px solid rgba(218, 165, 32, 0.18);
}

.c-join-community__pillar h3 {
  margin: 0 0 6px;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  color: #0a1f30;
}

.c-join-community__pillar p {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.45;
  color: #3d4f5c;
}

.c-join-community__closing {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 700;
  line-height: 1.35;
  color: #daa520;
}

.c-join-community__divider {
  width: 48px;
  height: 2px;
  margin: 4px 0;
  border: 0;
  background: linear-gradient(90deg, #daa520, rgba(218, 165, 32, 0.15));
}

.c-join-community__title {
  margin: 0;
  font-family: "Syne", "Segoe UI", sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0a1f30;
}

.c-join-community__subtitle {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 600;
  line-height: 1.35;
  color: #daa520;
}

.c-join-community__text {
  margin: 0;
  max-width: 52ch;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: clamp(0.96rem, 1.15vw, 1.05rem);
  font-weight: 400;
  line-height: 1.65;
  color: #3d4f5c;
}

.c-join-community__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 4px;
  padding: 16px 28px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8b923 0%, #daa520 48%, #c8941a 100%);
  color: #0a1f30;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(218, 165, 32, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.c-join-community__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(218, 165, 32, 0.36);
  filter: brightness(1.03);
  color: #0a1f30;
}

.c-join-community__cta:focus-visible {
  outline: 3px solid rgba(10, 31, 48, 0.35);
  outline-offset: 3px;
}

.c-join-community__visual {
  position: relative;
  min-height: clamp(280px, 38vw, 420px);
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  align-self: stretch;
}

.c-join-community__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(218, 165, 32, 0.18) 0%, transparent 42%),
    linear-gradient(135deg, rgba(10, 31, 48, 0.08) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.c-join-community__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 2;
}

.c-join-community__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .c-join-community__card {
    grid-template-columns: 1fr;
  }

  .c-join-community__visual {
    order: -1;
    min-height: 220px;
  }

  .c-join-community__pillars {
    grid-template-columns: 1fr;
  }

  .c-join-community__cta {
    width: 100%;
    max-width: 100%;
  }
}
