/* ==========================================================================
   Scoped styles for Benefits page (Hero and Benefits sections only)
   ========================================================================== */

.benefits-page,
section.hero#rates,
section#benefits {
  /* Brand: deep purple #302454 + lime green #9CCC54 */
  --green-800: #4A7018;
  --green-700: #55801F;
  --green-600: #86BB3E;
  --green-500: #9CCC54;
  --green-100: #EEF5DE;
  --green-50: #F6FAEE;
  --navy: #302454;
  --navy-700: #4A3A75;
  --ink: #2A2340;
  --slate: #6A6580;
  --line: #E7E4EF;
  --amber: #9CCC54;
  --white: #ffffff;
  --bg: #F7F6FB;
  --shadow-sm: 0 1px 2px rgba(12, 42, 62, .06), 0 2px 8px rgba(12, 42, 62, .06);
  --shadow-md: 0 8px 30px rgba(12, 42, 62, .10);
  --radius: 16px;

  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Scoped box-sizing reset */
.benefits-page *,
section.hero#rates *,
section#benefits *,
.benefits-page *::before,
section.hero#rates *::before,
section#benefits *::before,
.benefits-page *::after,
section.hero#rates *::after,
section#benefits *::after {
  box-sizing: border-box;
}

/* Scoped typography reset */
.benefits-page h1, section.hero#rates h1, section#benefits h1,
.benefits-page h2, section.hero#rates h2, section#benefits h2,
.benefits-page h3, section.hero#rates h3, section#benefits h3,
.benefits-page h4, section.hero#rates h4, section#benefits h4 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -.01em;
  margin: 0;
  padding: 0;
}

.benefits-page p,
section.hero#rates p,
section#benefits p {
  margin: 0;
  padding: 0;
}

.benefits-page a,
section.hero#rates a,
section#benefits a {
  color: inherit;
  text-decoration: none;
}

/* Layout container */
.benefits-page .wrap,
section.hero#rates .wrap,
section#benefits .wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.benefits-page .btn,
section.hero#rates .btn,
section#benefits .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 999px;
  padding: 15px 28px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}

.benefits-page .btn-primary,
section.hero#rates .btn-primary,
section#benefits .btn-primary {
  background: var(--green-500);
  color: #2A1F49;
  box-shadow: 0 6px 18px rgba(156, 204, 84, .45);
}

.benefits-page .btn-primary:hover,
section.hero#rates .btn-primary:hover,
section#benefits .btn-primary:hover {
  background: var(--green-600);
  transform: translateY(-1px);
}

/* Eyebrow badge / label */
.benefits-page .eyebrow,
section.hero#rates .eyebrow,
section#benefits .eyebrow {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  display: inline-block;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.benefits-page .hero,
section.hero#rates {
  position: relative;
  background: linear-gradient(155deg, #2A1F49 0%, var(--navy) 52%, #3D2F66 100%);
  color: #fff;
  overflow: hidden;
  padding: 0;
}

.benefits-page .hero::after,
section.hero#rates::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(156, 204, 84, .30), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.benefits-page .hero-inner,
section.hero#rates .hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 84px;
}

.benefits-page .hero h1,
section.hero#rates h1 {
  color: #fff;
  font-size: 52px;
  font-weight: 800;
  margin-top: 10px;
}

.benefits-page .hero h1 span,
section.hero#rates h1 span {
  color: var(--green-500);
}

.benefits-page .hero p.lead,
section.hero#rates p.lead {
  font-size: 19px;
  color: #D8D2EA;
  margin-top: 18px;
  max-width: 520px;
  line-height: 1.6;
}

.benefits-page .hero-badges,
section.hero#rates .hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.benefits-page .hbadge,
section.hero#rates .hbadge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

.benefits-page .hbadge svg,
section.hero#rates .hbadge svg {
  width: 16px;
  height: 16px;
  color: var(--green-500);
  flex-shrink: 0;
}

/* Rate / Address Card */
.benefits-page .rate-card,
section.hero#rates .rate-card {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.benefits-page .rate-card h3,
section.hero#rates .rate-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}

.benefits-page .rate-card p.sub,
section.hero#rates .rate-card p.sub {
  color: var(--slate);
  font-size: 14.5px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.benefits-page .field,
section.hero#rates .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.benefits-page .field label,
section.hero#rates .field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.benefits-page .field input,
section.hero#rates .field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background-color: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.benefits-page .field input:focus,
section.hero#rates .field input:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px var(--green-100);
}

.benefits-page .rate-card .btn,
section.hero#rates .rate-card .btn {
  width: 100%;
  justify-content: center;
}

.benefits-page .rate-note,
section.hero#rates .rate-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--slate);
}

.benefits-page .rate-note svg,
section.hero#rates .rate-note svg {
  width: 15px;
  height: 15px;
  color: var(--green-600);
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .benefits-page .hero-inner,
  section.hero#rates .hero-inner {
    grid-template-columns: 1fr;
    padding: 52px 0 60px;
  }
  .benefits-page .hero h1,
  section.hero#rates h1 {
    font-size: 38px;
  }
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.benefits-page #benefits,
section#benefits {
  padding: 72px 0;
  background: var(--white);
}

.benefits-page .section-head,
section#benefits .section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 46px;
}

.benefits-page .section-head h2,
section#benefits .section-head h2 {
  font-size: 34px;
  font-weight: 700;
  margin-top: 12px;
  color: var(--navy);
}

.benefits-page .section-head p,
section#benefits .section-head p {
  color: var(--slate);
  font-size: 17px;
  margin-top: 12px;
  line-height: 1.6;
}

/* Benefits Grid */
.benefits-page .benefits,
section#benefits .benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefits-page .bcard,
section#benefits .bcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}

.benefits-page .bcard:hover,
section#benefits .bcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefits-page .bcard .ic,
section#benefits .bcard .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-100);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.benefits-page .bcard .ic svg,
section#benefits .bcard .ic svg {
  width: 26px;
  height: 26px;
  color: var(--green-700);
}

.benefits-page .bcard h3,
section#benefits .bcard h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.benefits-page .bcard .big,
section#benefits .bcard .big {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--green-700);
  display: block;
  margin-bottom: 4px;
}

.benefits-page .bcard p,
section#benefits .bcard p {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .benefits-page .benefits,
  section#benefits .benefits {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .benefits-page .benefits,
  section#benefits .benefits {
    grid-template-columns: 1fr;
  }
}

/* Disclaimer */
.benefits-page .disclaimer,
section#benefits .disclaimer {
  background: var(--green-50);
  border: 1px dashed var(--green-500);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--slate);
  max-width: 820px;
  margin: 34px auto 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
}

.benefits-page .disclaimer svg,
section#benefits .disclaimer svg {
  width: 18px;
  height: 18px;
  color: var(--green-700);
  flex-shrink: 0;
  margin-top: 2px;
}
