:root {
  --bg-main: #2e2e2e;
  --bg-alt: #111111;
  --bg-card: #171717;
  --accent: #e1c48a;      /* rugged cream */
  --accent-soft: #e1c48a; /* lighter cream */
  --text-main: #D6D6D6;
  --text-muted: #D6D6D6;
  --border-soft: #2a2a2a;
  --danger: #e5533d;
  --max-width: 1100px;
  --header-height: 72px;
}


/* ---------- Reset / Base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
}


/* lock scroll when mobile nav is open */
body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo-text-main {
  font-family: "Soerip", sans-serif !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}


/* Shared animation (used by value cards + gallery items) */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ---------- Layout helpers ---------- */
.section {
  padding: 3rem 1rem;
}

.section-alt {
  background: var(--bg-alt);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 1.75rem;
  font-size: 0.98rem;
}


/* ---------- Header / Navigation ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #2e2e2e;
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(4px);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0rem;
  height: var(--header-height);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-wrap img {
  height: 70px;
  width: 70px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 1.2rem;
}

.nav-links a {
  color: var(--text-muted);
}

#nav-cta:hover {
  color: #2e2e2e;
  background-color: #D6D6D6;
}

.nav-links a:hover {
  color: var(--accent-soft);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.2rem;
}




/* CTA button for desktop + iPad Air + iPad Pro */
@media (min-width: 820px) {
  .nav-links .nav-cta-desktop {
    display: inline-block;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: var(--brand-yellow, #f5d68a);
    color: #000;
    font-weight: 600;
    border: none;
    margin-left: 1rem;
    margin-right: 1rem;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .nav-links .nav-cta-desktop:hover {
    background: #ffd980;
    transform: translateY(-1px);
  }
}


/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  color: var(--text-main);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  margin: 3px 0;
}


/* Mobile nav dropdown (base) */
.nav-mobile {
  display: none;
  border-top: 1px solid var(--border-soft);
  background: rgba(5, 5, 5, 0.98);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.93rem;
}

.nav-mobile-inner a {
  padding: 0.2rem 0;
  color: var(--text-muted);
}

.nav-mobile-inner a.nav-cta-mobile {
  margin-top: 0.4rem;
  display: inline-flex;
  align-self: flex-start;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-mobile-inner a.nav-cta-mobile:hover {
  background: var(--accent-soft);
}


/* ---------- Hero ---------- */
.hero {
  background:
  linear-gradient(to bottom, rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 1)),
  url("./img/Riley01.webp") center/cover no-repeat;
  color: var(--text-main);
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-attachment: scroll;
  background-size: cover;
  background-position: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: #e1c48a;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw + 1.4rem, 3rem);
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn-primary {
  background: var(--accent);
  color: #111;
  border-radius: 999px;
  padding: 0.95rem 1.7rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary:hover {
  background: var(--accent-soft);
}

.btn-outline {
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  font-size: 0.92rem;
}

.btn-outline:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}

.hero-meta {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-card {
  background: rgba(17, 17, 17, 0.9);
  border-radius: 16px;
  padding: 2.2rem 2rem;
  border: 1px solid var(--border-soft);
}

.hero-card-title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.hero-bullets {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-bullets li {
  margin-bottom: 0.35rem;
}


/* ---------- Emotional Story / Why Join ---------- */
.rg-story-section {
  background: #2e2e2e;
  color: #f5f5f5;
  padding: 4rem 1.5rem 3rem;
}

.rg-story-inner {
  max-width: 900px;
  margin: 0 auto;
}

.rg-story-inner p {
  max-width: 760px;
}

.rg-story-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.rg-story-lead,
.rg-story-body {
  font-size: 1.1rem;
  line-height: 1.7;
}

.rg-story-inner p + p {
  margin-top: 1.2rem;
}

.rg-story-body {
  opacity: 0.85;
}


/* ---------- Value Proposition ---------- */
#value {
  background: #050505;
}

#vpheading {
  color: #dddddd;
  margin-bottom: 1rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.3rem;
}

.value-card {
  background-color: #2e2e2e;
  border-radius: 14px;
  padding: 1.2rem 1.2rem 1.3rem;
  border: 1px solid var(--border-soft);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

.value-icon {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.value-title {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.value-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}


/* ---------- Memberships Section ---------- */
.rg-memberships-section {
  background-color: #2e2e2e;
  color: #f5f5f5;
  padding: 4.5rem 1.5rem 4.5rem;
}

.rg-memberships-inner {
  max-width: 1100px;
  margin: 0 auto;
}


/* Intro text */
.rg-memberships-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #d9d9d9;
  max-width: 750px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.rg-memberships-intro strong {
  display: block;
  color: #ffffff;
  margin-bottom: 0.2rem;
}


/* Grid layout */
.rg-memberships-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}


/* Cards */
.rg-membership-card {
  position: relative;
  background: #101010;
  border-radius: 1.25rem;
  padding: 1.9rem 1.8rem 2.1rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
}


/* Bronze / Silver / Gold subtle accents */
.rg-tier-bronze {
  border-color: rgba(181, 123, 60, 0.45);
}

.rg-tier-silver {
  border-color: rgba(210, 210, 210, 0.55);
}

.rg-tier-gold {
  border-color: rgba(230, 186, 96, 0.8);
}


/* Most popular badge */
.rg-tier-popular {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.rg-popular-tag {
  position: absolute;
  top: -0.9rem;
  right: 1.8rem;
  background: #f2c96b;
  color: #1a1205;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}


/* Titles and labels */
.rg-tier-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  opacity: 0.7;
  display: block;
  margin-bottom: 0.45rem;
}

.rg-tier-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.rg-membership-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f6ddb0;
  margin-bottom: 0.65rem;
}

.rg-tier-hook {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #dcdcdc;
  margin-bottom: 0.9rem;
}


/* Benefits list */
.rg-tier-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.rg-tier-benefits li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.45rem;
}

.rg-tier-benefits li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #f2c96b;
}


/* Buttons */
.rg-membership-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #f5f5f5;
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.rg-membership-button-primary {
  background: #f2c96b;
  color: #201300;
  border-color: #f2c96b;
}

.rg-membership-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.rg-membership-button-primary:hover {
  background: #ffd97a;
}


/* Footer note and help */
.rg-memberships-footer {
  margin-top: 2.4rem;
  text-align: center;
}

.rg-memberships-note {
  font-size: 0.93rem;
  color: #cccccc;
  margin-bottom: 0.8rem;
}

.rg-memberships-help {
  font-size: 0.95rem;
  color: #dddddd;
}

.rg-memberships-help-link {
  color: #f2c96b;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 201, 107, 0.55);
}

.rg-memberships-help-link:hover {
  border-bottom-color: rgba(242, 201, 107, 0.9);
}


/* ---------- Gallery Section ---------- */
.rg-gallery-section {
  background: #0D0D0D;
  color: #f5f5f5;
  padding: 4rem 1.5rem 4.5rem;
}

.rg-gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.rg-gallery-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.rg-gallery-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 500px;
  margin-bottom: 2.8rem;
}


/* Desktop gallery: 2 rows × 3 columns */
.rg-gallery-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.rg-gallery-item {
  overflow: hidden;
  border-radius: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
  background: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.rg-gallery-item img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.rg-gallery-item:nth-child(2) { animation-delay: 0.1s; }
.rg-gallery-item:nth-child(3) { animation-delay: 0.2s; }
.rg-gallery-item:nth-child(4) { animation-delay: 0.3s; }
.rg-gallery-item:nth-child(5) { animation-delay: 0.4s; }
.rg-gallery-item:nth-child(6) { animation-delay: 0.5s; }


/* subtle hover zoom on desktop */
@media (hover: hover) {
  .rg-gallery-item:hover img {
    transform: scale(1.05);
  }
}


/* ---------- Support / Help Section ---------- */
.rg-support-section {
  background: #2e2e2e;
  color: #f5f5f5;
  padding: 4rem 1.5rem 4.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.rg-support-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.rg-support-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.rg-support-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 2.1rem;
}


/* Actions layout */
.rg-support-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.7rem;
}


/* WhatsApp primary button */
.rg-support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease,
              box-shadow 0.15s ease, transform 0.08s ease;
}

.rg-support-button-primary {
  background: #f2c96b;
  color: #1d1404;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.rg-support-button-primary:hover {
  background: #ffd97a;
  transform: translateY(-1px);
}


/* Secondary email line */
.rg-support-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.95rem;
  color: #d8d8d8;
}

.rg-support-secondary-label {
  opacity: 0.9;
}

.rg-support-email {
  color: #f2c96b;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 201, 107, 0.55);
}

.rg-support-email:hover {
  border-bottom-color: rgba(242, 201, 107, 0.9);
}


/* Note under actions */
.rg-support-note {
  font-size: 0.88rem;
  color: #c7c7c7;
  opacity: 0.9;
}


/* ---------- Footer ---------- */
footer {
  padding: 1.7rem 1rem 2.3rem;
  background: #020202;
  border-top: 1px solid var(--border-soft);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  height: 28px;
  width: 28px;
}


/* Links row (email + terms + privacy) */
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links span {
  margin-right: auto;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  border-bottom-color: var(--accent-soft);
}


/* Social icons */
.social-icons {
  display: flex;
  gap: 0.65rem;
}

.social-icons a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.social-icons a img {
  display: block;
}

.social-icons a:hover {
  transform: translateY(-1px);
  filter: brightness(1.2);
}











/* =========================================================
   RESPONSIVE QUERIES
   ========================================================= */

/* Story text tweaks */
@media (max-width: 768px) {
  .rg-story-inner {
    text-align: left;
  }

  .rg-story-title {
    font-size: 1.9rem;
  }
}

@media (max-width: 600px) {
  .rg-story-inner {
    text-align: center;
  }
}




/* ---------- Value Proposition Responsive ---------- */
/* Tablet tweak for value grid */
@media (max-width: 960px) {
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Phones – stack value cards in 1 column */
@media (max-width: 599px) {
  .value-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .value-card {
    max-width: 100%;
  }
}


/* Memberships responsive */
@media (max-width: 1024px) {
  .rg-memberships-grid {
    grid-template-columns: 1fr;
  }

  .rg-membership-card {
    max-width: 480px;
    margin: 0 auto;
  }

  .rg-popular-tag {
    right: 1.4rem;
  }
}

@media (max-width: 600px) {
  .rg-memberships-section {
    padding: 3.5rem 1rem 4rem;
  }

  .rg-memberships-intro {
    font-size: 1rem;
  }

  .rg-tier-title {
    font-size: 1.25rem;
  }

  .rg-membership-button {
    font-size: 0.92rem;
  }
}


/* Gallery responsive */
@media (max-width: 1100px) {
  .rg-gallery-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Mobile: horizontal scroll strip – phones only */
@media (max-width: 600px) {
  .rg-gallery-section {
    padding: 3.5rem 1rem 4rem;
  }

  .rg-gallery-inner {
    max-width: 100%;
  }

  .rg-gallery-subtitle {
    max-width: 100%;
  }

  .rg-gallery-track {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }

  .rg-gallery-track::-webkit-scrollbar {
    display: none;
  }

  .rg-gallery-item {
    flex: 0 0 75%;
    max-width: 75%;
    scroll-snap-align: center;
  }

  .rg-gallery-item img {
    height: 230px;
  }
}


/* Support responsive */
@media (max-width: 600px) {
  .rg-support-section {
    padding: 3.2rem 1.2rem 3.6rem;
  }

  .rg-support-title {
    font-size: 1.7rem;
  }

  .rg-support-text {
    font-size: 0.98rem;
  }

  .rg-support-button {
    width: 100%;
  }

  .rg-support-secondary {
    justify-content: center;
  }
}


/* Mobile – phones & small tablets (nav + hero) */
@media (max-width: 800px) {
  /* HEADER / NAV */
  header {
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .nav-inner {
    padding: 0.4rem 0.9rem;
    height: auto;
    position: relative;
    z-index: 1001;
  }

  .logo-wrap img {
    height: 52px;
    width: 52px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 999px;
    padding: 0.3rem 0.55rem;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 2px 0;
  }

  .nav-mobile {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(5, 5, 5, 0.98);
    border-top: 1px solid var(--border-soft);
    display: none;
    overflow-y: auto;
    backdrop-filter: blur(6px);
  }

  .nav-mobile.open {
    display: block;
  }

  .nav-mobile-inner {
    padding: 0.75rem 1.1rem 1.2rem;
    gap: 0.7rem;
    font-size: 0.96rem;
  }

  .nav-mobile-inner a {
    padding: 0.25rem 0;
  }

  .nav-mobile-inner a.nav-cta-mobile {
    align-self: flex-start;
    margin-top: 0.7rem;
  }
}
  

/* TABLETS: iPad Mini / Air / Pro / Surface Pro 7  
   768px – 912px → text left, card right, compact header */
@media (min-width: 768px) and (max-width: 1180px) {
  .hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding-inline: 2rem;
  }


  /* Text block (the first div inside .hero-inner) */
  .hero-inner > div {
    flex: 1 1 55%;
    max-width: 620px;
  }

  .hero-title {
    font-size: 2.4rem;
    line-height: 1.1;
    /* lets the title break and feel tighter */
  }

  .hero-subtitle {
    max-width: 36rem;
  }

  .hero-card {
    flex: 1 1 45%;
    max-width: 420px;
    /* if it was absolutely positioned on desktop, 
       this pulls it into normal flow on tablets */
    position: static;
    transform: none;
    margin-top: 0;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    max-width: 260px;
    width: auto;
  }
}


/* MOBILE: stacked layout (what you like now) */
@media (max-width: 767px) {
  .hero-inner {
    display: block;
    padding-inline: 1.25rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.15;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-card {
    margin-top: 1.75rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    text-align: center;
  }
}


/* Mobile phones – fix button centering & width */
@media (max-width: 599px) {

  /* BUTTONS */
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;         /* keeps everything centered */
    gap: 0.75rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    max-width: 320px;            /* prevents the “too wide” look */
    text-align: center;          /* centers the text perfectly */
    padding-inline: 1.25rem;     /* slightly tighter padding */
  }

  /* Optional: tighten hero text for better flow */
  .hero-subtitle,
  .hero-meta {
    max-width: 35ch;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Large phones / skinny tablets (fix wide elements + readable text) */
@media (min-width: 600px) and (max-width: 767px) {

  /* HERO AREA */
  .hero-inner {
    padding-inline: 1.5rem;
    text-align: left;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.1;
    max-width: 23ch;     /* clean break, readable */
  }

  .hero-subtitle {
    max-width: 48ch;     /* prevents long lines */
    margin-top: 0.75rem;
    margin-inline: 0;
  }

  .hero-meta {
    max-width: 52ch;     /* same control as subtitle */
    margin-top: 0.75rem;
    margin-inline: 0;
  }


  /* BUTTONS */
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.6rem;
    margin-top: 1rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: auto;
    max-width: 320px;
    padding-inline: 1.5rem;
    margin-inline: 0;
  }


  /* CARD */
  .hero-card {
    max-width: 420px;
    margin: 1.75rem auto 0;
  }


  /* MEMBERSHIP AREA */
  .rg-memberships-inner {
    padding-inline: 1.5rem;
  }

  .rg-membership-card {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .rg-membership-button {
    width: auto;
    max-width: 320px;
    margin-inline: 0;
  }
}

