/* =========================================================
   JMAK LIFE – FINAL CSS
   - Strict alternation: WHITE ↔ DARK GRAY
   - No black anywhere
   - JMAK traveler with motion
========================================================= */

/* ================= ROOT ================= */
:root {
  --white: #ffffff;
  --dark-gray: #3a3a3a;     /* light charcoal */
  --panel-dark: #444444;   /* inner panels on dark sections */

  --text-dark: #1f1f1f;
  --text-light: #f5f5f5;

  --muted-dark: #6b6b6b;
  --muted-light: #d1d1d1;

  --border-light: #e0e0e0;

  --radius: 14px;
}

/* ================= RESET ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.65;
}

/* ================= GLOBAL ================= */
.container {
  width: min(1200px, 90%);
  margin-inline: auto;
}

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

a:hover { opacity: 0.85; }

/* ================= HEADER ================= */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo img {
  height: 34px;
  width: auto;
}

/* NAV */
nav {
  display: flex;
  gap: 1.4rem;
}

nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted-dark);
}

/* SOCIALS */
.socials {
  display: flex;
  gap: 0.5rem;
}

.socials a {
  font-size: 0.75rem;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  color: var(--muted-dark);
}

#menuToggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-dark);
}

/* ================= SECTION BASE ================= */
section {
  padding: 5rem 0;
}

/* STRICT ALTERNATION */
section:nth-of-type(odd) {
  background: var(--white);
  color: var(--text-dark);
}

section:nth-of-type(even) {
  background: var(--dark-gray);
  color: var(--text-light);
}

section:nth-of-type(even) p,
section:nth-of-type(even) .section-intro {
  color: var(--muted-light);
}

/* ================= HERO ================= */
#hero {
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.96) 0%,
      rgba(255,255,255,0.86) 50%,
      rgba(255,255,255,0.70) 100%
    ),
    url("/images/hero-image-banner.png");
  background-size: cover;
  background-position: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text {
  background: rgba(255,255,255,0.88);
  padding: 2rem;
  border-radius: var(--radius);
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--muted-dark);
}

/* ================= HEADINGS ================= */
h2 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

/* ================= ABOUT ================= */
.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
}

/* ================= PLANS ================= */
.plans-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  text-align: center;
}

section:nth-of-type(even) .plan-card {
  background: var(--panel-dark);
}

.plan-image {
  max-width: 260px;
  margin: 0 auto 1.4rem;
  display: block;
}

/* ================= WHY JMAK – PROCESS TRACK ================= */
.process-track {
  position: relative;
  margin-top: 2.75rem;
}

/* dotted path */
.track-line {
  position: absolute;
  left: 2%;
  right: 2%;
  top: 22px;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(255,255,255,0.6) 0 6px,
    rgba(255,255,255,0.0) 6px 14px
  );
}

/* JMAK traveler */
.track-traveler {
  position: absolute;
  top: 4px;
  left: 2%;
  width: 48px;
  height: 48px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.55);

  box-shadow:
    0 10px 22px rgba(255,255,255,0.18),
    0 6px 18px rgba(0,0,0,0.12);

  color: #3a3a3a;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  opacity: 0;
  transform: translateX(0);
  transition:
    opacity 180ms ease,
    transform 60ms linear;

  pointer-events: none;
}

.track-traveler::before {
  content: "JMAK";
}

/* stepper */
#why .stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2.5rem;
}

.stepper-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stepper-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 700;
  position: relative;
}

/* burst effect */
.stepper-icon.burst::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  animation: burstRing 520ms ease-out forwards;
}

@keyframes burstRing {
  0% { transform: scale(0.6); opacity: 0; }
  30% { opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 0; }
}

/* ================= TESTIMONIALS ================= */
.testimonials-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.testimonial-stars {
  letter-spacing: 0.12em;
}

/* ================= CONTACT ================= */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.4rem;
}

section:nth-of-type(even) .contact-form {
  background: var(--panel-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem;
  border-radius: 12px;
  border: none;
  background: #f4f4f4;
}

/* ================= FOOTER ================= */
footer {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 2rem 0;
}

.footer-inner {
  font-size: 0.82rem;
  color: var(--muted-dark);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .plans-grid,
  .stepper,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .track-line { display: none; }

  nav { display: none; }
  #menuToggle { display: block; }
}
/* =========================================================
   HERO REDESIGN – CLEAN, DESIGNED, NOT CLUNKY
   (No black; grayscale only)
========================================================= */

#hero{
  padding: 6.25rem 0;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.94) 0%,
      rgba(255,255,255,0.84) 45%,
      rgba(255,255,255,0.70) 100%
    ),
    url("/images/hero-image-banner.png");
  background-size: cover;
  background-position: center;
}

.hero-shell{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.25rem;
  align-items: center;
}

.hero-kicker{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(160,160,160,0.45);
  background: rgba(255,255,255,0.62);
  color: #5f5f5f;
  font-size: .82rem;
  letter-spacing: .02em;
  margin-bottom: 1.25rem;
}

.hero-title{
  font-size: clamp(2.6rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  color: #1f1f1f;
}

.hero-title span{
  color: #4a4a4a; /* accent gray, not black */
  font-weight: 800;
}

.hero-lede{
  color: #5f5f5f;
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 62ch;
  margin-bottom: 1.75rem;
}

.hero-cta{
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* subtle ghost button */
.hero-ghost{
  background: rgba(255,255,255,0.55);
}

/* metrics row */
.hero-metrics{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}

.metric{
  padding: 1rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(190,190,190,0.45);
}

.metric-num{
  font-weight: 800;
  letter-spacing: .01em;
  color: #2f2f2f;
  margin-bottom: .15rem;
}

.metric-label{
  color: #6b6b6b;
  font-size: .85rem;
  line-height: 1.35;
}

/* RIGHT SIDE CARD */
.hero-right{
  display: flex;
  justify-content: flex-end;
}

.hero-card{
  width: min(440px, 100%);
  border-radius: 18px;
  padding: 1.6rem 1.6rem 1.35rem;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(180,180,180,0.45);
  backdrop-filter: blur(10px);
  box-shadow:
    0 28px 60px rgba(140,140,140,0.22);
  transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
  transform-origin: left center;
}

.hero-card-top{
  margin-bottom: 1.15rem;
}

.hero-card-title{
  font-weight: 800;
  letter-spacing: .02em;
  color: #1f1f1f;
}

.hero-card-sub{
  margin-top: .25rem;
  color: #6b6b6b;
  font-size: .9rem;
}

/* list with gray “icon bullets” */
.hero-list{
  list-style: none;
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
}

.hero-list li{
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: .7rem;
  align-items: start;
  color: #4f4f4f;
  line-height: 1.55;
}

.bullet{
  width: 10px;
  height: 10px;
  margin-top: .35rem;
  border-radius: 999px;
  background: rgba(140,140,140,0.90); /* gray icon */
}

.hero-card-foot{
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(170,170,170,0.45);
  display: grid;
  gap: .7rem;
}

.hero-note{
  color: #6b6b6b;
  font-size: .92rem;
  line-height: 1.6;
}

.hero-mini-link{
  color: #2f2f2f;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.9;
}

/* responsive */
@media (max-width: 980px){
  .hero-shell{
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero-right{
    justify-content: flex-start;
  }
  .hero-card{
    transform: none;
  }
  .hero-metrics{
    grid-template-columns: 1fr;
  }
}
/* ================= ABOUT (REFINED COPY + FORMATTING) ================= */

.about-grid{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img{
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
}

.about-content h2{
  margin-bottom: 0.75rem;
}

/* one-line value statement */
.about-lede{
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.9rem;
  line-height: 1.35;
}

/* paragraphs breathe */
.about-content p{
  margin-bottom: 0.9rem;
}

/* phone line */
.about-phone{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
  margin-bottom: 0;
  font-weight: 700;
}

.about-icon{
  color: rgba(140,140,140,0.95); /* gray icon */
}

/* phone link subtle emphasis */
.about-phone a{
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.95;
}

/* Dark section contrast when About lands on a dark background */
section:nth-of-type(even) .about-lede{
  color: var(--text-light);
}

section:nth-of-type(even) .about-phone a{
  color: var(--text-light);
}

@media (max-width: 900px){
  .about-grid{
    grid-template-columns: 1fr;
  }
  .about-image img{
    width: 200px;
    height: 200px;
  }
}
/* ================= ABOUT: PHONE + SOCIALS ROW ================= */

.about-contact-row{
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

/* phone stays prominent */
.about-phone{
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}

.about-icon{
  color: rgba(140,140,140,0.95);
}

/* socials are subtle, secondary */
.about-socials{
  display: flex;
  gap: 0.45rem;
}

.about-socials a{
  font-size: 0.7rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(170,170,170,0.6);
  color: rgba(120,120,120,0.95);
  letter-spacing: 0.03em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.about-socials a:hover{
  opacity: 0.85;
  transform: translateY(-1px);
}

/* dark section contrast */
section:nth-of-type(even) .about-socials a{
  border-color: rgba(220,220,220,0.5);
  color: rgba(230,230,230,0.9);
}
/* ================= ABOUT – MODERN, ELEGANT ================= */

.about-content h2 {
  margin-bottom: 1rem;
}

.about-paragraph {
  max-width: 60ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #5f5f5f;
  margin-bottom: 1.4rem;
}

/* dark section contrast safety */
section:nth-of-type(even) .about-paragraph {
  color: rgba(230,230,230,0.9);
}
/* =========================================================
   IMAGE FIXES – NO STRETCHING / CONSISTENT SIZING
========================================================= */

/* Make all images behave */
img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* Plan images: consistent card header image area */
.plan-image{
  width: 100%;
  max-width: 320px;       /* tune to taste */
  aspect-ratio: 4 / 3;    /* consistent shape */
  object-fit: contain;    /* no cropping; no stretching */
  margin: 0 auto 1.25rem;
}

/* About avatar: always perfect circle */
.about-image img{
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
}

/* Logo: prevents it from blowing up */
.logo img{
  height: 34px;
  width: auto;
  object-fit: contain;
}
/* =========================================================
   HIDE "CLEAR, GUIDED PROCESS" ON MOBILE
========================================================= */

@media (max-width: 768px){
  #why{
    display: none;
  }
}
