/* Shadow Funeral Groceries - site stylesheet
   Palette (from flyer):
   --black:  #1a1a1a
   --gold:   #c9971f
   --orange: #d9670b
   --cream:  #faf6ef
   --gray:   #6f6f6f (plus plan accent)
*/

:root {
  --black: #1a1a1a;
  --gold: #c9971f;
  --orange: #d9670b;
  --cream: #faf6ef;
  --gray: #707070;
  --line: #e2dccd;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--cream);
  color: var(--black);
  line-height: 1.6;
}

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

a {
  color: var(--orange);
}

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

/* Header */
header {
  background: #ffffff;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 10px rgba(26,26,26,0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 62px;
  width: auto;
}

nav {
  display: flex;
  gap: 4px;
}

nav a {
  color: var(--black);
  text-decoration: none;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
  border-bottom: 3px solid var(--gold);
  color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--orange);
  border-radius: 10px;
  color: var(--orange);
  font-size: 1rem;
  padding: 6px 10px;
  cursor: pointer;
}

.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 12px !important;
  border-bottom: none !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: #b5540a !important;
  color: #fff !important;
}

/* Hero */
.hero {
  position: relative;
  color: var(--cream);
  text-align: center;
  padding: 90px 20px 90px;
  border-bottom: 4px solid var(--gold);
  overflow: hidden;
  isolation: isolate;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slides .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 18s infinite;
}

.hero-slides .slide:nth-child(1) { animation-delay: 0s; }
.hero-slides .slide:nth-child(2) { animation-delay: 6s; }
.hero-slides .slide:nth-child(3) { animation-delay: 12s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  30%  { opacity: 1; }
  36%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.82), rgba(10,10,10,0.72) 40%, rgba(10,10,10,0.9));
  z-index: -1;
}

.hero.compact {
  padding: 46px 20px 46px;
}

.hero .crest {
  height: 90px;
  margin: 0 auto 18px;
}

.hero h1 {
  color: var(--gold);
  margin: 0 0 6px;
  font-size: 2.1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero .subtitle {
  color: var(--orange);
  font-size: 1.05rem;
  margin: 0 0 20px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero p.lead {
  max-width: 640px;
  margin: 0 auto 22px;
  color: #f1ece0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  border: 1px solid var(--orange);
  border-radius: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.btn:hover {
  background: transparent;
  color: var(--orange);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--black);
}

.hero .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 46px 0;
}

section.alt {
  background: #f2ecdd;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2.section-title {
  color: var(--black);
  border-left: 5px solid var(--gold);
  padding-left: 14px;
  font-size: 1.5rem;
  margin-bottom: 22px;
}

/* Policy facts grid */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.fact {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 18px 14px;
  text-align: center;
}

.fact .label {
  text-transform: uppercase;
  color: var(--orange);
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.fact .value {
  font-size: 0.98rem;
  color: var(--black);
}

/* Policy at a Glance - modern icon strip */
.policy-glance {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(26,26,26,0.06);
}

.policy-item {
  flex: 1 1 0;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.policy-item:last-child {
  border-right: none;
}

.policy-icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.policy-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--black);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.policy-label {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--orange);
  font-weight: bold;
  margin-bottom: 4px;
}

.policy-value {
  font-size: 0.92rem;
  color: var(--black);
  font-weight: 600;
  line-height: 1.35;
}

/* Plans grid - modern cards */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}

.plan-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(26,26,26,0.08);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(26,26,26,0.16);
}

.plan-card.popular {
  border: 2px solid var(--gold);
}

.plan-card.popular::after {
  content: "Most Popular";
  position: absolute;
  top: 14px;
  right: -34px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 40px;
  transform: rotate(40deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.plan-card .plan-head {
  padding: 26px 22px 20px;
  color: #fff;
  text-align: center;
  position: relative;
}

.plan-card.essential .plan-head { background: linear-gradient(135deg, #6a6a6a, #4d4d4d); }
.plan-card.plus .plan-head { background: linear-gradient(135deg, #262626, #0f0f0f); }
.plan-card.premium .plan-head { background: linear-gradient(135deg, var(--orange), #b5540a); }

.plan-head .rank {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
}

.plan-head h3 {
  margin: 6px 0 14px;
  font-size: 1.25rem;
}

.plan-head .price {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--gold);
  line-height: 1;
}

.plan-head .price span {
  font-size: 0.85rem;
  font-weight: normal;
  color: #fff;
}

.plan-head .joining {
  font-size: 0.78rem;
  margin-top: 8px;
  opacity: 0.9;
}

.plan-body {
  padding: 22px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plan-value {
  text-align: center;
  font-weight: bold;
  color: var(--black);
  background: #f2ecdd;
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.plan-body h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--orange);
  margin: 14px 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.plan-body ul {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
  font-size: 0.9rem;
}

.plan-body ul li {
  margin-bottom: 6px;
  padding-left: 22px;
  position: relative;
}

.plan-body ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: bold;
}

.plan-included-note {
  font-size: 0.82rem;
  color: var(--gray);
  margin: -8px 0 4px;
  font-style: italic;
}

.plan-tagline {
  text-align: center;
  padding-top: 14px;
  font-style: italic;
  color: var(--gray);
  font-size: 0.86rem;
}

.plan-cta {
  margin-top: auto;
  padding-top: 18px;
}

.plan-cta a {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 0.3px;
}

.plan-card.essential .plan-cta a {
  background: #f2ecdd;
  color: var(--black);
  border: 1px solid var(--line);
}
.plan-card.essential .plan-cta a:hover { background: #e7dfc9; }

.plan-card.plus .plan-cta a {
  background: var(--black);
  color: var(--cream);
}
.plan-card.plus .plan-cta a:hover { background: #333; }

.plan-card.premium .plan-cta a {
  background: var(--orange);
  color: #fff;
}
.plan-card.premium .plan-cta a:hover { background: #b5540a; }

/* Image-based plan cards (photoshopped plan visuals) */
.plan-card.img-only {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.plan-card.img-only:hover {
  box-shadow: none;
}

.plan-card.img-only.popular {
  border: none;
}

.plan-card.img-only img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  filter: drop-shadow(0 10px 24px rgba(26,26,26,0.18));
}

.plan-card.img-only .plan-cta {
  padding: 18px 4px 0;
}

/* Manual slider wrapper for full plan images */
.plans-slider-wrap {
  position: relative;
}

.slider-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 12%;
  border: 1px solid var(--gold);
  background: #fff;
  color: var(--black);
  font-size: 1rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(26,26,26,0.18);
}

.slider-prev { left: -6px; }
.slider-next { right: -6px; }

.slider-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.slider-dots .dot.active {
  background: var(--orange);
}

/* Plan summary panel (index page "Three Affordable Plans") */
.plan-summary-panel {
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 22px;
  padding: 34px 26px 30px;
}

.plan-summary-banner {
  text-align: center;
  background: var(--black);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.plan-summary-banner span::before,
.plan-summary-banner span::after {
  content: "❦";
  color: var(--orange);
  margin: 0 12px;
  font-size: 0.8rem;
}

.plan-summary-grid {
  margin-top: 0;
}

.plan-summary-rank {
  position: absolute;
  top: -16px;
  left: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 0.95rem;
  border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(26,26,26,0.3);
  z-index: 2;
}

.plan-card.essential .plan-summary-rank { background: #6a6a6a; }
.plan-card.plus .plan-summary-rank { background: #1a1a1a; }
.plan-card.premium .plan-summary-rank { background: var(--orange); }

.plan-includes-pill {
  display: inline-block;
  background: #f2ecdd;
  color: var(--black);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
  margin: 6px 0 0;
}

.plan-card.premium .plan-includes-pill {
  background: var(--orange);
  color: #fff;
}

/* Bag image feature */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.side-box {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 18px;
  align-self: start;
}

.side-box h3 {
  margin-top: 0;
  color: var(--orange);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
}

form.contact-form label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--black);
}

form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
}

form.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

form.contact-form button {
  align-self: flex-start;
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange);
  padding: 11px 24px;
  font-size: 0.95rem;
  cursor: pointer;
}

form.contact-form button:hover {
  background: transparent;
  color: var(--orange);
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 4px;
}

.contact-info-box {
  background: var(--black);
  color: var(--cream);
  padding: 22px;
  border-top: 3px solid var(--gold);
}

.contact-info-box h3 {
  color: var(--gold);
  margin-top: 0;
}

.contact-info-box a {
  color: var(--orange);
}

.contact-info-box .row {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #3a3a3a;
}

.contact-info-box .row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  z-index: 999;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* Footer */
footer {
  background: var(--black);
  color: #cfc9ba;
  border-top: 3px solid var(--gold);
  font-size: 0.85rem;
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-top: 46px;
  padding-bottom: 30px;
  text-align: left;
}

.footer-brand .footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 14px;
  border-radius: 8px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #c9c4b3;
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  margin: 0 0 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #c9c4b3;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact p {
  font-size: 0.9rem;
  color: #c9c4b3;
  margin: 0 0 8px;
}

.footer-contact a {
  color: #c9c4b3;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #262626;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3a3a3a;
}

.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: var(--gold);
}

.footer-socials a:hover {
  background: var(--gold);
}

.footer-socials a:hover svg {
  fill: var(--black);
}

.footer-bottom {
  border-top: 1px solid #3a3a3a;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  text-align: left;
}

.footer-legal {
  font-size: 0.75rem;
  color: #8c8777;
  line-height: 1.7;
}

.footer-legal .foot-copyright {
  margin: 0 0 2px;
}

.footer-legal .foot-legal-links a {
  color: #8c8777;
  text-decoration: underline;
}

.footer-legal .foot-legal-links a:hover {
  color: var(--gold);
}

.footer-legal .foot-legal-links .sep {
  margin: 0 6px;
  color: #565248;
}

.footer-tagline {
  text-align: right;
}

footer .foot-tag {
  color: var(--orange);
  margin-bottom: 6px;
}

footer .foot-credit {
  color: #8c8777;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
}

footer .foot-credit a {
  color: #8c8777;
  text-decoration: underline;
}

footer .foot-credit a:hover {
  color: var(--gold);
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-tagline {
    text-align: center;
  }
}

/* Accordion (Why Choose Shadow Funeral Groceries) */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.accordion-item[open] {
  border-color: var(--gold);
}

.accordion-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--black);
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::marker {
  content: "";
}

.accordion-item summary .accordion-check {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f2ecdd;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.accordion-item summary .accordion-title {
  flex: 1;
}

.accordion-item summary .chevron {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.accordion-item[open] summary .chevron {
  transform: rotate(180deg);
}

.accordion-item .accordion-body {
  padding: 0 22px 20px 62px;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* About page: Company Overview */
.about-highlight {
  color: var(--orange);
  font-weight: bold;
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  margin: 18px 0 0;
}

/* Generic checklist */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f2ecdd;
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vision statement */
.vision-block {
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 28px 32px;
  text-align: center;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--black);
  margin-bottom: 30px;
}

/* Mission + Core Values */
.mvcv-columns {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.mvcv-columns h3 {
  font-size: 1.1rem;
  color: var(--black);
  border-left: 4px solid var(--gold);
  padding-left: 12px;
  margin: 0 0 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.value-item {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 16px;
}

.value-item .value-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.value-item .value-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--black);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-item h4 {
  margin: 0 0 6px;
  color: var(--black);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.value-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray);
}

/* How the Membership Works - vertical step timeline */
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 620px;
}

.steps-list::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}

.step-item {
  position: relative;
  padding-left: 58px;
  margin-bottom: 26px;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-item .step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  font-size: 1rem;
  z-index: 1;
}

.step-item h4 {
  margin: 4px 0 4px;
  font-size: 0.98rem;
  color: var(--black);
}

.step-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray);
}

/* Our Promise panel */
.promise-panel {
  background: var(--black);
  border-radius: 18px;
  padding: 36px 34px;
}

.promise-panel h2.section-title {
  color: #fff;
  border-left-color: var(--gold);
}

.promise-panel .promise-lead {
  color: #c9c4b3;
  font-size: 0.92rem;
  margin: 0 0 18px;
}

.promise-panel .check-list li {
  color: #e9e4d6;
}

.promise-panel .check-list li::before {
  background: var(--gold);
  color: var(--black);
}

/* Responsive */
@media (max-width: 860px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans:not(.plans-slider) {
    grid-template-columns: 1fr;
  }
  .feature-split {
    grid-template-columns: 1fr;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mvcv-columns {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Manual slide for the full plan-image cards, 3-across kept, one per swipe */
  .plans-slider {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 18px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .plans-slider::-webkit-scrollbar {
    display: none;
  }
  .plans-slider .plan-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }
  .slider-arrow {
    display: flex;
  }
  .slider-dots {
    display: flex;
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: inline-block;
  }
  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--line);
  }
  nav.open {
    display: flex;
  }
  .header-inner {
    position: relative;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 420px) {
  .facts {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .policy-item {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .plan-summary-panel {
    padding: 30px 18px 26px;
  }
}

@media (max-width: 480px) {
  .policy-item {
    flex: 1 1 100%;
  }
}

/* Scroll-in motion (slide up + fade on scroll into view) */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Legal pages (Terms & Conditions / Privacy Policy) */
.legal-content {
  max-width: 800px;
}

.legal-content h2.section-title {
  margin-top: 34px;
}

.legal-content h2.section-title:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 14px;
  color: #3a3a3a;
}

.legal-content ul {
  margin: 0 0 14px;
  padding-left: 22px;
  color: #3a3a3a;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-updated {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 30px;
}

/* ===== Sign Up Wizard ===== */
.signup-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.signup-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px 28px 34px;
}

.signup-intro h1 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.signup-intro p {
  margin: 0 0 28px;
  color: var(--gray);
}

/* Step indicator */
.step-indicator {
  display: flex;
  align-items: flex-start;
  margin-bottom: 34px;
  overflow-x: auto;
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  width: 110px;
  text-align: center;
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--line);
  color: var(--gray);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.step-label {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--gray);
  letter-spacing: 0.2px;
}

.step-label .req {
  color: var(--orange);
}

.step-line {
  flex: 1 1 auto;
  height: 2px;
  background: var(--line);
  margin-top: 17px;
  min-width: 16px;
  transition: background 0.25s ease;
}

.step-node.active .step-circle {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.step-node.active .step-label {
  color: var(--black);
  font-weight: bold;
}

.step-node.done .step-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.step-line.done {
  background: var(--gold);
}

/* Form fields */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--black);
}

.field label .req {
  color: var(--orange);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
}

.field textarea {
  resize: vertical;
  min-height: 80px;
}

.radio-row {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 10px 0 2px;
}

.radio-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.step-panel h2.section-title {
  margin-top: 0;
}

.step-panel-intro {
  color: var(--gray);
  margin-top: -6px;
  margin-bottom: 22px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 16px;
  margin-bottom: 24px;
}

.check-row input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.check-row label {
  font-size: 0.95rem;
  line-height: 1.5;
}

.check-row a {
  color: var(--orange);
  font-weight: bold;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.wizard-actions .spacer {
  flex: 1;
}

.btn-plain {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--black);
  padding: 11px 22px;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
}

.btn-plain:hover {
  border-color: var(--gray);
}

button.btn {
  border: 1px solid var(--orange);
  cursor: pointer;
  font-family: inherit;
}

button.btn:disabled {
  background: #e3ddce;
  border-color: #e3ddce;
  color: #9a927e;
  cursor: not-allowed;
}

button.btn:not(:disabled):hover {
  background: transparent;
  color: var(--orange);
}

/* Plan selection cards */
.plan-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 10px;
}

.plan-option {
  border: 2px solid var(--line);
  background: #fff;
  padding: 18px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan-option:hover {
  border-color: var(--gold);
}

.plan-option.selected {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
}

.plan-option .plan-name {
  font-weight: bold;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.plan-option .plan-price {
  color: var(--orange);
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.plan-option .plan-price span {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: normal;
}

.plan-option ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--gray);
}

.plan-option li {
  margin-bottom: 4px;
}

.plan-option .plan-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
}

.plan-option.selected .plan-check {
  border-color: var(--orange);
  background: var(--orange);
}

.plan-option.selected .plan-check::after {
  content: "";
  display: block;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin: 2px auto 0;
}

.joining-fee-note {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Beneficiaries */
.beneficiary-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.beneficiary-card {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.beneficiary-card .b-info strong {
  display: block;
  margin-bottom: 2px;
}

.beneficiary-card .b-info span {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
}

.beneficiary-remove {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--orange);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
}

.beneficiary-remove:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.beneficiary-form {
  border: 1px dashed var(--gold);
  background: #fffdf7;
  padding: 18px;
  margin-bottom: 18px;
}

.beneficiary-form .field-grid {
  margin-bottom: 14px;
}

.beneficiary-empty {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.no-beneficiaries-row {
  margin-bottom: 20px;
}

/* Confirmation summary */
.summary-section {
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.summary-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.summary-section-head h3 {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-edit {
  background: transparent;
  border: none;
  color: var(--orange);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}

.summary-body {
  padding: 14px 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row .s-label {
  color: var(--gray);
  flex: 0 0 40%;
}

.summary-row .s-value {
  text-align: right;
  font-weight: bold;
}

.summary-beneficiary {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.summary-beneficiary:last-child {
  border-bottom: none;
}

.summary-beneficiary strong {
  display: block;
}

.summary-beneficiary span {
  color: var(--gray);
  font-size: 0.85rem;
}

/* Success / payment screen */
.signup-success {
  text-align: center;
}

.signup-success .success-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.8rem;
}

.signup-success h1 {
  font-size: 1.7rem;
  margin: 0 0 10px;
}

.signup-success > .wrap-inner,
.signup-success .success-lead {
  max-width: 560px;
  margin: 0 auto 8px;
  color: var(--black);
}

.registration-ref {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--gold);
  padding: 10px 18px;
  margin: 14px 0 30px;
  font-size: 0.95rem;
}

.registration-ref strong {
  color: var(--orange);
}

.payment-box {
  background: var(--orange);
  color: #fff;
  padding: 40px 24px;
  margin: 0 auto 26px;
  max-width: 640px;
}

.payment-box h2 {
  margin: 0 0 22px;
  font-size: 1.4rem;
}

.payment-choice-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.payment-choice-btn {
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 14px 22px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  max-width: 260px;
}

.payment-choice-btn:hover {
  background: #b3841b;
}

.payment-detail {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: left;
}

.coming-soon-box {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 30px;
  text-align: center;
}

.coming-soon-box .tag {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 4px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.bank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.bank-card {
  padding: 20px;
  border-left: 3px solid var(--gold);
  border-right: 1px solid var(--line);
}

.bank-card:last-child {
  border-right: none;
}

.bank-card h3 {
  margin: 0 0 12px;
  color: var(--orange);
}

.bank-card ul {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 0.9rem;
}

.bank-card li {
  margin-bottom: 6px;
}

.bank-card .bank-note {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--gray);
}

.payment-ref-note {
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
  margin: 14px 0 0;
}

.success-links {
  margin-top: 10px;
}

.success-links a {
  color: var(--orange);
  font-weight: bold;
}

.success-actions {
  margin-top: 22px;
}

@media (max-width: 860px) {
  .field-grid,
  .plan-select-grid {
    grid-template-columns: 1fr;
  }
  .bank-grid {
    grid-template-columns: 1fr;
  }
  .bank-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .step-node {
    width: 82px;
  }
  .step-label {
    font-size: 0.7rem;
  }
  .signup-panel {
    padding: 22px 16px 26px;
  }
  .payment-box {
    padding: 28px 16px;
  }
}
