/* ---------- Variables ---------- */
:root {
  --color-primary: #E2725B;
  --color-primary-dark: #C85A44;
  --color-secondary: #2F4858;
  --color-bg: #FFF8F1;
  --color-bg-alt: #FFFFFF;
  --color-bg-warm: #FBEBDF;
  --color-text: #33302E;
  --color-text-light: #6B6560;
  --color-border: #EFE1D3;
  --radius: 16px;
  --shadow: 0 6px 20px rgba(47, 72, 88, 0.08);
  --shadow-hover: 0 10px 28px rgba(47, 72, 88, 0.14);
  --max-width: 1120px;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 64px 0; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; color: var(--color-secondary); line-height: 1.25; }

h2, .section-intro h1 { font-size: 30px; margin-bottom: 14px; }
h3 { font-size: 22px; margin-bottom: 10px; }

p { margin-bottom: 14px; color: var(--color-text); }

.section-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-intro h2 { text-align: center; }
.section-intro p { color: var(--color-text-light); font-size: 19px; }

.eyebrow {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: #FFFFFF;
  color: var(--color-secondary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.btn-block { display: block; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 241, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--color-secondary);
}
.logo img { width: 36px; height: 36px; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--color-secondary);
}

.main-nav {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.main-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.main-nav a {
  padding: 12px 8px;
  font-weight: 600;
  border-radius: 10px;
  color: var(--color-secondary);
}
.main-nav a:hover { background: var(--color-bg-warm); }
.main-nav .btn { margin-top: 10px; color: #FFFFFF; }
.main-nav a.btn:hover, .main-nav a.btn:focus-visible {
  background: var(--color-primary-dark);
  color: #FFFFFF;
}

/* ---------- Hero ---------- */
.hero { padding: 0; }
.hero-media {
  position: relative;
  min-height: 460px;
  max-height: 640px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47, 72, 88, 0.55) 0%, rgba(47, 72, 88, 0.45) 45%, rgba(47, 72, 88, 0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero h1 {
  font-size: 30px;
  margin-bottom: 18px;
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.hero-subtitle {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin: 0 auto 26px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.trust-note {
  margin-top: 18px;
  font-size: 15px;
  color: var(--color-text-light);
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.hero-cta-group .btn { min-width: 160px; }

/* ---------- Why Choose Us ---------- */
.why-us { background: var(--color-bg-alt); }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  margin-bottom: 14px;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
}
.feature-card p { color: var(--color-text-light); margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact { padding-top: 56px; }
.contact-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 28px;
  text-align: center;
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--color-text-light); margin-bottom: 22px; }
.contact-faq-note {
  text-align: center;
  margin-top: 28px;
  color: var(--color-text-light);
}
.contact-faq-note a { color: var(--color-primary-dark); font-weight: 700; }
.contact-faq-note a:hover { text-decoration: underline; }

/* ---------- About ---------- */
.about-block { max-width: 760px; margin: 0 auto; }
.about-block h3 { margin-top: 28px; }
.about-block h3:first-of-type { margin-top: 0; }
.about-cta { text-align: center; margin-top: 20px; }

/* ---------- How It Works ---------- */
.how-it-works { background: var(--color-bg-alt); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.step-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 22px 26px;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.step-card p { color: var(--color-text-light); margin-bottom: 0; }

/* ---------- Members ---------- */
.member-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.member-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  padding-bottom: 22px;
}
.member-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.member-card h3 { margin: 16px 0 6px; font-size: 19px; }
.member-location { color: var(--color-primary-dark); font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.member-card p { color: var(--color-text-light); font-size: 16px; padding: 0 18px; margin-bottom: 0; }

/* ---------- Who Can Join ---------- */
.who-can-join { background: var(--color-bg-alt); }
.check-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto 24px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
}
.check-list .mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}
.closing-line {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-text-light);
  font-style: italic;
}

/* ---------- Success Stories ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.story-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
.story-quote {
  font-family: var(--font-heading);
  font-size: 21px;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
}
.story-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.story-author img { width: 48px; height: 48px; border-radius: 50%; }
.story-author span { font-weight: 700; color: var(--color-secondary); }
.story-card p { color: var(--color-text-light); }
.story-more {
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}
.story-more:hover { text-decoration: underline; }
.member-card .story-more { display: inline-block; margin-top: 6px; white-space: normal; }

/* ---------- Cities ---------- */
.cities { background: var(--color-bg-alt); }
.city-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.city-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.city-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.city-card-body { padding: 18px 20px 22px; }
.city-card h3 { font-size: 19px; margin-bottom: 8px; }
.city-card h3 a { color: var(--color-secondary); }
.city-card h3 a:hover { color: var(--color-primary-dark); text-decoration: underline; }
.city-card p { color: var(--color-text-light); margin-bottom: 0; font-size: 16px; }

/* ---------- Tips ---------- */
.tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.tip-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px;
}
.tip-card h3 { font-size: 19px; }
.tip-card p { color: var(--color-text-light); margin-bottom: 0; font-size: 16px; }

/* ---------- FAQ ---------- */
.faq { background: var(--color-bg-alt); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 6px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 0;
  color: var(--color-secondary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--color-text-light); padding-bottom: 18px; margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  text-align: center;
}
.final-cta h2, .final-cta p { color: #fff; }
.final-cta p { color: rgba(255,255,255,0.92); max-width: 560px; margin-left: auto; margin-right: auto; }
.final-cta .btn-primary { background: #fff; color: var(--color-primary-dark); }
.final-cta .btn-primary:hover { background: var(--color-bg); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-secondary);
  color: #E7EDEF;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 30px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-brand img { width: 32px; height: 32px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: #C7D2D6; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.affiliate-disclosure {
  max-width: 640px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: #9FB0B6;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #9FB0B6;
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .hero-media, .hero-content { min-height: 520px; }
  .hero h1 { font-size: 38px; }
  .hero-subtitle { font-size: 20px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  body { font-size: 18px; }
  h2, .section-intro h1 { font-size: 36px; }

  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    gap: 8px;
  }
  .main-nav a { padding: 8px 14px; }
  .main-nav .btn { margin-top: 0; margin-left: 8px; }

  .hero-media, .hero-content { min-height: 600px; }
  .hero h1 { font-size: 46px; }

  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .member-grid { grid-template-columns: repeat(4, 1fr); }
  .city-grid { grid-template-columns: repeat(4, 1fr); }
  .tips-grid { grid-template-columns: repeat(4, 1fr); }
}
