/*--------------------------------------------------------------
# Scorpion – join-sima-nawe-scorpion-funeral-plan
# Sima Nawe Scorpion Funeral Plan: campaign page + Thank-you page
# Breakpoints: mobile < 768px | tablet 768–991px | desktop ≥ 992px
--------------------------------------------------------------*/

:root {
  --red: #CF1F2C;
  --red-dark: #A8141F;
  --red-bar: #D2191A;       /* step-card left bar */
  --gold: #B68D42;          /* pills, card borders, CTA band, thank-you heading */
  --gold-dark: #A36507;     /* eyebrows, step numbers */
  --gold-light: #E6C66E;
  --gold-bar: linear-gradient(90deg, #B48B41 0%, #C29F53 30%, #D4B76A 45%, #E5D087 62%, #DABE71 75%, #E3C25F 100%);
  --beige: #E9D8B9;         /* hero form panel, desktop CTA button */
  --cream: #F8F0E2;         /* "how to join" + desktop cover amounts */
  --cream-mobi: #EEE8DA;    /* mobile cover amounts */
  --hero-img-bg: #F7EFE3;   /* matches the illustration background */
  --ink: #000000;
  --body: #111111;
  --muted: #666666;
  --line: #BDBDBD;
  --white: #FFFFFF;
  --black: #000000;
  --radius: 6px;
  --gutter: 20px;
  --font: "Poppins", "Open Sans", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, dl, dd { margin: 0; }

a { color: var(--red); }
a:hover { color: var(--red-dark); }

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

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

/* "Sima Nawe" inside bold uppercase headings: italic, regular weight (as per design) */
.hero-title em,
.section-heading em { font-style: italic; font-weight: 400; letter-spacing: .02em; }

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-red,
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-red:hover,
.btn-red:focus { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }

.btn-block { display: flex; width: 100%; }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--red);
  padding: 10px 0;
}
.site-header .header-inner { width: 100%; padding: 0 18px; }
.site-header .logo { display: inline-block; }
.site-header .logo img { width: 104px; height: auto; } /* horizontal logo on mobile */

/*--------------------------------------------------------------
# Hero + form
# Mobile: inset beige card with the illustration directly below it
--------------------------------------------------------------*/
.hero { padding: 24px var(--gutter) 0; }

.hero-inner {
  display: flex;
  flex-direction: column;
}

.hero-form-col {
  background: var(--beige);
  padding: 24px 20px 26px;
  scroll-margin-top: 12px;
}

.hero-title {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}

.form-box { padding: 0; }
.form-box-error { box-shadow: inset 0 0 0 2px var(--red); padding: 16px !important; border-radius: 4px; }

.form-intro { font-size: 14px; margin-bottom: 18px; color: var(--ink); }

.form-label-lp {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  margin: 14px 0 6px;
}

.lp-input,
.form-box .form-control {
  width: 100%;
  height: 46px;
  border: 1px solid #A8A8A8;
  border-radius: var(--radius);
  background: var(--white);
  padding: 8px 12px;
  font-family: var(--font);
  font-size: 16px; /* 16px stops iOS zooming into the field */
  color: var(--ink);
  box-shadow: none;
}
.lp-input:focus,
.form-box .form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(207, 31, 44, .18);
}

.form-box .btn-red { margin-top: 18px; font-size: 14px; min-height: 46px; }

.disclaimer-text {
  font-size: 11px;
  line-height: 1.45;
  color: #3A3A3A;
  text-align: center;
  margin-top: 14px;
}
.disclaimer-text a { color: inherit; text-decoration: underline; }

.error_header span,
.success_header span { display: block; font-weight: 700; color: var(--red); margin: 6px 0; }
.error_message span { display: block; color: var(--red); font-size: 14px; margin-top: 10px; }
.success_message span { display: block; font-size: 14px; }

.hero-img-col { background: var(--hero-img-bg); }
.hero-img-col picture { display: block; }
.hero-img { width: 100%; height: auto; }

/*--------------------------------------------------------------
# Generic sections
--------------------------------------------------------------*/
.section { padding: 36px 0; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }

.section-heading {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-intro { font-size: 14px; color: var(--ink); }
.section-intro strong { font-weight: 700; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 4px;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--gold-dark);
  flex: none;
}

/*--------------------------------------------------------------
# Why choose (benefits)
--------------------------------------------------------------*/
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 26px;
}

.benefit-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.benefit-icon { width: 24px; height: 24px; flex: none; }
.benefit h3 { font-size: 15px; font-weight: 600; color: var(--ink); }
.benefit p { font-size: 14px; color: var(--ink); padding-left: 36px; }

/*--------------------------------------------------------------
# How to join (steps)
--------------------------------------------------------------*/
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }

.step {
  background: var(--white);
  border-left: 6px solid var(--red-bar);
  border-radius: 6px;
  padding: 22px 18px 22px 20px;
}
.step h3 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; display: flex; gap: 10px; }
.step-num { color: var(--red); min-width: 10px; }
.step p { font-size: 14px; color: var(--ink); padding-left: 20px; }

/*--------------------------------------------------------------
# Membership plans
--------------------------------------------------------------*/
/* Main member card – mobile: details, divider, then price | cover */
.main-member {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 28px;
  margin-top: 24px;
  padding: 22px 20px 24px;
  border: 1.5px solid var(--gold);
  border-radius: 3px;
}
.mm-who {
  grid-column: 1 / -1;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.mm-pill {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  padding: 9px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.mm-name { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.mm-sub { font-size: 14px; color: var(--ink); margin-top: 4px; }
.mm-label { display: block; font-size: 14px; color: var(--ink); }
.mm-value { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.25; margin-top: 2px; }
.mm-value span { font-size: 14px; font-weight: 400; }

.add-family {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  margin: 32px 0 22px;
}

/* Family cards – gold top bar */
.family-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.family-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #E4D3B0;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .10);
  padding: 34px 20px 26px;
  overflow: hidden;
}
.family-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 7px;
  background: var(--gold-bar);
}

.fc-name { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.fc-sub { font-size: 14px; color: var(--ink); margin-top: 6px; }

.fc-price { margin-top: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.fc-from { display: block; font-size: 14px; color: var(--ink); }
.fc-price p { font-size: 32px; font-weight: 800; color: var(--red); line-height: 1.1; }
.fc-plus { color: var(--ink); font-weight: 600; margin-right: 2px; }
.fc-pm { font-size: 14px; font-weight: 400; color: var(--ink); }

.fc-cover { padding-top: 20px; font-size: 14px; color: var(--ink); line-height: 1.4; }
.fc-cover strong { font-weight: 700; }
.fc-ages { margin-top: 16px; }
.fc-ages div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.fc-ages dd { font-weight: 700; }

.plans-note {
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
  margin-top: 22px;
}
.br-desktop { display: none; }

.cover-amounts {
  margin-top: 32px;
  background: var(--cream-mobi);
  border-radius: 3px;
  padding: 24px 22px;
}
.cover-amounts h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.cover-amounts p { font-size: 14px; color: var(--ink); }
.cover-amounts p + p { margin-top: 14px; }

/*--------------------------------------------------------------
# Closing CTA
# Mobile: inset gold card, left aligned, red button, light-gold base bar
--------------------------------------------------------------*/
.cta { padding: 0 var(--gutter) 40px; background: var(--white); }

.cta-inner {
  background: var(--gold);
  border-bottom: 7px solid var(--gold-light);
  padding: 26px 20px 30px;
}
.cta-heading {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  color: #2C2006;
  margin-bottom: 10px;
}
.cta p { font-size: 14px; color: #2C2006; }
.cta .btn-cta {
  display: flex;
  width: 100%;
  margin-top: 22px;
  min-height: 46px;
  background: var(--red);
  border: 2px solid var(--red);
  color: var(--white);
  font-size: 14px;
  text-transform: none;
}
.cta .btn-cta:hover,
.cta .btn-cta:focus { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer { background: var(--black); color: var(--white); padding: 24px 0 28px; }

.footer-top-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid #FFFFFF;
}
.footer-logo img { width: 130px; height: auto; } /* horizontal logo on mobile */

#footer .footer-top .social-links { display: flex; flex-wrap: wrap; gap: 10px; }

#footer .footer-top .social-links a {
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000000;
  line-height: 1;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #ffffffc0;
  color: #000000;
}

/* No underlines on footer/header icon and logo links (overrides site-wide link styles) */
#footer .social-links a,
#footer .social-links a:hover,
#footer .social-links a:focus,
#footer .social-links a i,
.footer-logo,
.site-header .logo {
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none;
}

#footer .social-links a.livechat,
#footer .social-links a.livechat:hover {
  background-image: url(../img/scorpi-chat.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#footer .social-links a.livechat .bxl-messenger:before,
#footer .social-links a.livechat .bxs-message-detail:before {
  opacity: 0;
}

.copyright { font-size: 11px; line-height: 1.5; text-align: center; margin-top: 22px; color: #FFFFFF; }

/*--------------------------------------------------------------
# Thank-you page
--------------------------------------------------------------*/
.thanks { padding: 44px 0 48px; text-align: center; background: var(--white); }

.thanks-title {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 26px;
}
.thanks-title span { display: block; margin-top: 22px; }

.thanks-lead,
.thanks-more { font-size: 16px; color: var(--ink); line-height: 1.4; }
.thanks-more { margin-top: 22px; }
.thanks a { font-weight: 700; color: var(--red); }
.thanks-more a,
.thanks-links span { text-decoration: underline; text-underline-offset: 2px; }
.thanks-more a em { font-weight: 400; }

.thanks-links {
  list-style: none;
  padding: 0;
  margin: 46px auto 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: fit-content;
  text-align: left;
}
.thanks-links a { display: flex; align-items: center; gap: 30px; color: var(--red); text-decoration: none; font-size: 16px; }
.thanks-links img { width: 70px; height: 55px; object-fit: cover; border-radius: 4px; flex: none; }

.thanks-error .thanks-title { color: var(--red); }
.thanks-error .thanks_box_icon { width: 70px; margin: 0 auto 16px; }
.thanks-error .btn-cta { margin-top: 22px; min-width: 200px; }

/*==============================================================
# Tablet ≥ 768px
==============================================================*/
@media (min-width: 768px) {
  :root { --gutter: 40px; }

  .site-header { padding: 14px 0; }
  .site-header .header-inner { padding: 0 28px; }
  .site-header .logo img { width: 62px; }

  /* Hero: full-bleed split – illustration left, beige form right */
  .hero { padding: 34px 0 0; }
  .hero-inner { flex-direction: row; align-items: stretch; }
  .hero-img-col {
    order: 1;
    flex: 0 0 44.75%;
    display: flex;
    align-items: flex-end;
    border-radius: 0 8px 8px 0;
    overflow: hidden;
  }
  .hero-img-col picture { width: 100%; }
  .hero-form-col {
    order: 2;
    flex: 1 1 55.25%;
    padding: 40px var(--gutter) 34px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-title { font-size: 26px; }

  .section { padding: 48px 0; }
  .section-heading { font-size: 26px; }

  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 30px 40px; }

  .main-member { grid-template-columns: 1.6fr 1fr 1.2fr; align-items: center; gap: 0; padding: 26px 30px; }
  .mm-who { grid-column: auto; padding: 0; margin: 0; border: 0; }
  .mm-price,
  .mm-cover { padding-left: 30px; border-left: 1px solid var(--line); }

  .family-grid { grid-template-columns: 1fr 1fr; gap: 18px; }

  .plans-note { text-align: center; font-size: 14px; font-style: normal; }

  .cover-amounts { background: var(--cream); padding: 28px 30px; }
  .cover-amounts h3 { font-size: 22px; font-weight: 800; text-transform: uppercase; }

  /* CTA: full-width gold band, centred */
  .cta { padding: 0; background: var(--gold); text-align: center; }
  .cta-inner { border-bottom: 0; padding: 54px var(--gutter) 58px; max-width: 1320px; margin: 0 auto; }
  .cta-heading { font-size: 26px; color: var(--white); text-transform: uppercase; }
  .cta p { color: var(--white); }
  .cta .btn-cta {
    width: fit-content;
    min-width: 300px;
    margin: 26px auto 0;
    background: var(--beige);
    border-color: var(--beige);
    color: var(--ink);
    text-transform: uppercase;
    font-size: 13px;
  }
  .cta .btn-cta:hover,
  .cta .btn-cta:focus { background: var(--white); border-color: var(--white); color: var(--ink); }

  .footer-top-row { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-logo img { width: 72px; }
  #footer .footer-top .social-links { gap: 18px; }
  #footer .footer-top .social-links a { font-size: 34px; width: 54px; height: 54px; }
  .copyright { font-size: 12px; }

  .thanks { padding: 80px 0 70px; }
  .thanks-title { font-size: 32px; max-width: 760px; }
  .thanks-title span { margin-top: 0; }
  .thanks-links { flex-direction: row; justify-content: center; gap: 40px; width: auto; }
  .thanks-links a { gap: 22px; }
}

/*==============================================================
# Desktop ≥ 992px
==============================================================*/
@media (min-width: 992px) {
  :root { --gutter: 62px; }

  .site-header { padding: 20px 0; }
  .site-header .header-inner { padding: 0 36px; }
  .site-header .logo img { width: 72px; }

  .hero { padding-top: 44px; }
  .hero-form-col { padding: 60px 48px 40px; align-items: center; }
  .hero-form-col form { width: 100%; max-width: 780px; margin: 0 auto; }
  .hero-title { font-size: 30px; margin-bottom: 26px; }
  .form-intro { font-size: 15px; margin-bottom: 40px; }
  .form-label-lp { margin-top: 12px; }
  .form-box .btn-red { margin-top: 14px; }

  .section { padding: 64px 0; }
  .section-heading { font-size: 29px; }
  .section-intro { font-size: 15px; }

  #why .section-heading { margin-bottom: 16px; }
  .benefits-grid { grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 54px; }
  .benefit p { font-size: 15px; line-height: 1.3; }

  #how-it-works .section-heading { margin-bottom: 30px; }
  .step { padding: 24px 28px; }
  .step-num { color: var(--gold-dark); }
  .step p { font-size: 15px; }

  .main-member { margin-top: 56px; padding: 28px 30px 32px; }
  .mm-name { font-size: 24px; }
  .mm-value { font-size: 22px; }
  .mm-value span { font-size: 16px; }
  .mm-price { padding-left: 38px; }
  .mm-cover { padding-left: 44px; }

  .add-family { font-size: 17px; margin: 52px 0 40px; }

  .family-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .family-card { border-color: var(--gold); box-shadow: none; padding: 36px 26px 28px 28px; min-height: 452px; }
  .fc-name { font-size: 24px; }
  .fc-sub { font-size: 15px; }
  .fc-price { margin-top: auto; padding-top: 30px; }
  .fc-from { padding-left: 38px; }
  .fc-price p { font-size: 40px; }
  .fc-cover { font-size: 15px; min-height: 172px; }

  .plans-note { font-size: 15px; margin-top: 26px; }
  .br-desktop { display: inline; }

  .cover-amounts { margin-top: 56px; padding: 30px 30px 34px; }
  .cover-amounts h3 { font-size: 24px; margin-bottom: 22px; }
  .cover-amounts p { font-size: 15px; }

  .cta-inner { padding: 70px var(--gutter) 60px; }
  .cta-heading { font-size: 30px; }
  .cta p { font-size: 16px; }

  .site-footer { padding: 32px 0 44px; }

  /* Thank-you page */
  .thanks { padding: 110px 0 90px; }
  .thanks-title { font-size: 36px; max-width: 1100px; margin-bottom: 52px; }
  .thanks-title span { display: block; }
  .thanks-lead, .thanks-more { font-size: 16px; max-width: 1040px; margin-left: auto; margin-right: auto; }
  .thanks-more { margin-top: 18px; }
  .thanks-links { gap: 0; margin-top: 56px; justify-content: space-between; max-width: 950px; }
  .thanks-links a { gap: 30px; font-size: 16px; }
}

/* Large desktop: keep the hero title on one line, scaling it down slightly
   on narrower desktop screens so it always fits the form column */
@media (min-width: 1200px) {
  .hero-title {
    white-space: nowrap;
    font-size: min(30px, calc((55.25vw - 100px) / 23.6));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
