/* ── Hero ── */
.roam-hero {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}
.roam-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.roam-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(48,12,100,0.85) 0%, rgba(96,52,197,0.68) 50%, rgba(224,37,150,0.45) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
  gap: 18px;
}
.roam-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.roam-hero-subtitle {
  font-size: 1rem;
  color: #e8d5f3;
  max-width: 640px;
  line-height: 1.65;
}

/* ── Roaming diagram ── */
.roam-diagram-wrap {
  background: #f3eeff;
  padding: 40px 40px;
  display: flex;
  justify-content: center;
}
.roam-diagram {
  max-width: 1024px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(90,26,138,0.1);
}

/* ── Alternating sections ── */
.roam-section {
  padding: 72px 0;
}
.roam-section--alt {
  background: #f3eeff;
}

.roam-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.roam-section--alt .roam-section-inner {
  direction: rtl;
}
.roam-section--alt .roam-section-text,
.roam-section--alt .roam-section-visual {
  direction: ltr;
}

/* Visual side */
.roam-section-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.roam-section-icon {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: linear-gradient(135deg, #6034c5, #e02596);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  box-shadow: 0 8px 32px rgba(96,52,197,0.25);
}
.roam-section-tag {
  display: inline-block;
  background: linear-gradient(135deg, #6034c5, #e02596);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
}

/* Text side */
.roam-section-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.roam-section-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #5a1a8a;
  line-height: 1.2;
  margin: 0;
}
.roam-section-text p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* ── Bottom banner ── */
.roam-banner-wrap {
  background: #f3eeff;
  padding: 48px 0;
}
.roam-banner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.roam-banner-inner {
  background: #fff;
  border: 1px solid #e0d4f5;
  border-left: 5px solid #e02596;
  border-radius: 10px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.roam-banner-inner i {
  font-size: 2.2rem;
  color: #6034c5;
  flex-shrink: 0;
}
.roam-banner-inner p {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
  margin: 0;
}
.roam-banner-inner strong { color: #5a1a8a; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .roam-section-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .roam-section--alt .roam-section-inner {
    direction: ltr;
  }
  .roam-section-visual {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
  }
  .roam-section-icon {
    width: 72px;
    height: 72px;
    font-size: 2rem;
    border-radius: 18px;
    flex-shrink: 0;
  }
  .roam-section {
    padding: 48px 0;
  }
}

@media (max-width: 600px) {
  .roam-hero {
    height: 280px;
  }
  .roam-hero-title {
    font-size: 1.6rem;
  }
  .roam-hero-subtitle {
    font-size: 0.88rem;
  }
  .roam-section-inner {
    padding: 0 20px;
  }
  .roam-section-text h2 {
    font-size: 1.25rem;
  }
  .roam-section-text p {
    font-size: 0.88rem;
  }
  .roam-section-visual {
    flex-direction: column;
    align-items: flex-start;
  }
  .roam-banner-wrap {
    padding: 32px 0;
  }
  .roam-banner {
    padding: 0 20px;
  }
  .roam-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}
