/* ================================================
   ROOTED SYSTEMS HEALTH
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Jost:wght@200;300;400&display=swap');

/* --- Color Tokens --- */
:root {

  --dirt:        #2C1F14;
  --eggplant:    #3D1F35;
  --plum:        #6B2D5E;
  --magenta:     #C4387F;
  --carrot:      #D4622A;
  --light-gold:  #E5C687;
  --turmeric:    #C8922A;
  --ginger:      #B56E3A;
  --dirt-light:  #6B4A2A;


  /* Page tones — lighter than before */
  --bg:            #F5EFE6;
  --bg-alt:        #EDE4D8;
  --bg-deep:       #E2D5C3;
  --bg-dark:       #2C1F14;

  --surface:       #FFFFFF;
  --surface-tinted: rgba(181, 110, 58, 0.06);
  --border:        rgba(107, 74, 42, 0.14);

  --text:          #2C1F14;
  --text-light:    #fff4ec;
  --text-mid:      #5a3e28;
  --muted:         #8a6a50;

  --accent:        var(--ginger);
  --accent-dark:   var(--dirt);

  --nav-bg:        rgba(245, 239, 230, 0.88);
  --nav-border:    rgba(107, 74, 42, 0.1);

  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     1rem;

  --font-display:  'Cormorant Garamond', serif;
  --font-body:     'Jost', sans-serif;
  --weight-display: 300;

  --transition-bg: background-color 0.8s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { 
  scroll-behavior: smooth;
  font-size: 120%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  transition: var(--transition-bg);
}

/* --- Shared typography --- */
.label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ginger);
  margin-bottom: 16px;
  display: block;
}

.section__title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.section__title em { font-style: italic; color: var(--ginger); }

.section__body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-mid);
  max-width: 520px;
  margin-bottom: 16px;
}

/* --- NAV --- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 60px;
  border-bottom: 1px solid var(--nav-border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav__brand {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 20px;
  color: var(--dirt);
  letter-spacing: 0.02em;
}
.nav__links {
  list-style: none;
  display: flex;
  gap: 36px;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--ginger); }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}
.nav__toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--muted);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Buttons --- */
.btn {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  display: inline-block;
}
.btn--primary {
  background: var(--dirt);
  border: 1px solid var(--dirt);
  color: #F5EFE6;
}
.btn--primary:hover { background: var(--ginger); border-color: var(--ginger); }
.btn--secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}
.btn--secondary:hover { border-color: var(--ginger); color: var(--ginger); }

/* --- HERO --- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* gap: 60px; */
  align-items: center;
  padding: 50px 60px 80px;
  background: var(--bg);
  transition: var(--transition-bg);
}
.hero__title {
  display: flex;
  gap: .3rem;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  line-height: 1.03;
  color: var(--text);
  margin-bottom: 24px;
}
.hero__title em { font-style: italic; color: var(--ginger); }
.hero__body {
  font-size: 1.5em;
  line-height: 1.9;
  color: var(--text-mid);
  max-width: 600;
  margin-bottom: 36px;
}
.hero__actions { 
  display: flex; 
  gap: 14px; 
  flex-direction: column;
}
.hero__actions button{
  width: 200 px;
}
.hero__visual { display: flex; justify-content: center; align-items: center; }
.hero__visual img {
  max-width: 100%;
}
.hero__graphic { width: 100%; max-width: 380px; }


/* --- STATS BAR --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--dirt);
  padding: 40px 60px;
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stats__item:last-child { border-right: none; }
.stats__number {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 2.8rem;
  color: var(--turmeric);
  line-height: 1;
  margin-bottom: 8px;
}
.stats__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.5);
}

/* --- Struggling ---*/
.struggling {
  padding: 100px 60px;

}
.struggling h3 {
  padding: .25rem 0;
  color: var(--ginger);
}
.struggling li {
  font-style: italic;
  list-style-type: none;
  margin-left: 1rem;
  padding: .5rem;
}
#the_reality p{
  padding: .5rem 0px;
}
#the_reality strong {
  color: var(--ginger);
}
.fa-solid {
  width: 20px;
}
.apply_btn {
  width: 270px;
  padding: 12px;
  margin: 1rem 0;
  background-color: var(--turmeric);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}
.apply_btn a {
  text-decoration: none;
  color: inherit;
}

/* --- ABOUT --- */
.about {
  display: flex;
  flex-direction: column;
  /* grid-template-columns: 1fr 1fr; */
  gap: 40px;
  align-items: center;
  padding: 100px 60px;
  background: var(--bg);
  transition: var(--transition-bg);
}
.about__header {
  align-self: flex-start;

}
.about__text .btn { margin-top: 2rem; }
.about__text div {
  display: flex;
  padding: 1rem;
  margin: 1rem;
  background-color: color-mix(in srgb, var(--turmeric), transparent 90%);
}

.about__text div h1 {
  white-space: nowrap;
  padding-right: 1rem;
}
.about__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about__visual-inner {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

/* --- PILLARS --- */
.pillars {
  padding: 100px 60px;
  background: var(--bg-alt);
  transition: var(--transition-bg);
}
.pillars__header {
  margin-bottom: 48px;
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.card {
  background: var(--bg-dark);
  color: var(--text-light);
  border: 1px solid var(--border);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-xl);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(44,31,20,0.08);
  transform: translateY(-2px);
}
.card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  min-height: 70px;
}
.card__icon {
  font-size: 20px;
  color: var(--ginger);
  flex-shrink: 0;
}
.card__title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.7rem;
  color: var(--turmeric);
  line-height: 1.2;
}
.card__body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
}

/* --- APPROACH --- */
.return {
  padding: 100px 60px;
  background: var(--bg-alt);
  transition: var(--transition-bg);
}
.return_header { margin-bottom: 60px; }

.subtext {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--carrot);
  margin-bottom: 16px;
  display: block;
}
.return h3 {
  font-family: var(--font-body);
  font-weight: var(--weight-display);
  font-size: 1.2rem;
  margin: 1em 0.5rem;
  line-height: 1.2;
}

.return_cards {
  display: flex;
}
.return_card {
  list-style: none;
  padding: 0.5rem 0.5rem  1.5rem 0.5rem;
  margin: 0 0.5rem;
  background-color: color-mix(in srgb, var(--turmeric), transparent 80%);
  /* border: 1px solid var(--border); */
  border-radius: var(--radius-xl);
}
.return_card h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.7rem;
  margin-bottom: 14px;
  min-height: 70px;
  line-height: 1.2;
}

.return_card p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
}

.approach__steps {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  gap: 24px;
}
.approach__step {
  padding: 32px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.approach__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: var(--weight-display);
  color: var(--turmeric);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 16px;
}
.approach__title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 20px;
  color: var(--text);
  margin-bottom: 10px;
}
.approach__body {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: 100px 60px;
  background: var(--bg-deep);
  transition: var(--transition-bg);
}
.testimonials .section__title { margin-bottom: 48px; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testimonial__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--weight-display);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 20px;
}
.testimonial__author {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--ginger);
  font-style: normal;
}

/* --- CONNECT / CTA --- */
.connect {
  padding: 120px 60px;
  background: var(--dirt);
  text-align: center;
  transition: var(--transition-bg);
}
.connect__inner { max-width: 560px; margin: 0 auto; }
.connect .label { color: var(--turmeric); }
.connect .section__title { color: #F5EFE6; }
.connect .section__title em { color: var(--turmeric); }
.connect .section__body { color: rgba(245,239,230,0.6); margin: 0 auto 36px; }
.connect__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.connect .btn--primary {
  background: var(--turmeric);
  border-color: var(--turmeric);
  color: var(--dirt);
}
.connect .btn--primary:hover { background: var(--carrot); border-color: var(--carrot); }
.connect .btn--secondary {
  border-color: rgba(245,239,230,0.2);
  color: rgba(245,239,230,0.6);
}
.connect .btn--secondary:hover { border-color: var(--turmeric); color: var(--turmeric); }

/* --- FOOTER --- */
.footer {
  padding: 48px 60px 32px;
  background: var(--dirt);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__brand {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 20px;
  color: var(--turmeric);
}
.footer__links {
  display: flex;
  gap: 28px;
}
.footer__links a {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--turmeric); }
.footer__copy {
  font-size: 11px;
  color: rgba(245,239,230,0.25);
  letter-spacing: 0.06em;
}
.footer__text {
    font-size: 12px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.footer__text a{
    text-decoration: none;
    color:#7b5270;
}
form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  background: #dfd8cf;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

/* Form heading */
form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  font-weight: 500;
}

/* Form row: label + input */
.form-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

/* Labels */
form label {
  width: 100px; /* fixed width for left alignment */
  margin-right: 10px;
  color: #555;
  font-size: 14px;
  text-align: right; /* right-align labels */
}

/* Inputs */
form input[type="text"],
form input[type="email"],
form input[type="tel"] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

/* Submit button */
form button {
  width: 100%;
  padding: 12px;
  background-color: var(--turmeric);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* Hover effect on button */
form button:hover {
  background-color: var(--carrot);
}
/* ================================================
   RESPONSIVE
   ================================================ */

/* Tablet*/
@media (max-width: 1200px) {
  .nav           { padding: 20px 40px; }
  .hero          { padding: 70px 40px 60px; gap: 40px; }
  .stats         { padding: 36px 40px; }
  .about         { padding: 80px 40px; gap: 48px; }
  .pillars       { padding: 80px 40px; }
  .approach      { padding: 80px 40px; }
  .testimonials  { padding: 80px 40px; }
  .connect       { padding: 80px 40px; }
  .footer        { padding: 40px 40px 28px; }

  .approach__steps { grid-template-columns: repeat(2, 1fr); }

  .card__icon {display: none;}
}

@media (max-width: 770px) {
  html {
    font-size: 1rem;
  }
  .hero__title {
    flex-direction: row;
    gap: .8rem;
  }
  .card__icon {display:block;}
  .nav {
    padding: 18px 28px;
    flex-wrap: wrap;
  }
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 12px 0 6px;
    border-top: 1px solid var(--nav-border);
    margin-top: 12px;
    gap: 0;
  }
  .nav__links--open { display: flex; }
  .nav__links li { border-bottom: 1px solid var(--nav-border); }
  .nav__links a { display: block; padding: 13px 4px; font-size: 11px; }

  .hero {
    /* grid-template-columns: 1fr; */
    display: flex;
    flex-direction: column;
    padding: 60px 28px 48px;
    gap: 40px;
  }
  .hero__content { order: 2; }
  .hero__visual  { order: 1; }
  .hero__graphic { max-width: 260px; margin: 0 auto; }
  .hero__title {
    font-size: 2.4rem;
  }
  .hero__body {
    font-size: large;
    max-width: 100%;
    margin: 0;
    line-height: 100%;
  }
  
  .apply_btn {
    align-self: center;
    justify-self: center;
  }

  .stats {
    grid-template-columns: repeat(1, 1fr);
    padding: 32px 28px;
    gap: 24px;
  }
  .stats__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 16px 0; }

  .struggling {
    padding: 32px 28px;
  }
  .return {
    padding: 32px 28px;
  }

  .return_cards {
    flex-direction: column;
  }
  .return_card {
    margin: 0rem 0rem 1rem 0rem;
  }
  .return_card h3 {
    min-height: 30px;
  }
  .return_header {
    margin: 0 0 16px 0;
  }
  .about {
    grid-template-columns: 1fr;
    padding: 64px 28px;
    gap: 0px;
    text-align: center;
  }
  .about .label {
    text-align: left;
  }
  .about__text .section__body { margin: 0 auto 16px; }
  .about__visual { order: -1; }
  .about__visual-inner { width: 220px; height: 220px; }

  .pillars       { padding: 64px 28px; }
  .pillars__grid { grid-template-columns: 1fr; gap: 12px; }

  .approach      { padding: 64px 28px; }
  .approach__steps { grid-template-columns: 1fr; gap: 12px; }

  .testimonials  { padding: 64px 28px; }
  .testimonials__grid { grid-template-columns: 1fr; gap: 12px; }

  .connect       { padding: 80px 28px; }

  .footer        { padding: 36px 28px 24px; }
  .footer__top   { flex-direction: column; gap: 24px; text-align: center; }
  .footer__links { flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
}

@media(max-width: 600px) {
  .hero__title {
    gap:.3rem;
    flex-direction: column;
  }
}
/* Mobile — 480px */
@media (max-width: 480px) {
  .nav           { padding: 16px 20px; }

  .hero          { padding: 48px 20px 40px; }
  .hero__graphic { max-width: 200px; }
  .hero__actions { flex-direction: column; }
  .btn           { text-align: center; }

  .stats         { padding: 28px 20px; }

  .about         { padding: 52px 20px; }

  .pillars       { padding: 52px 20px; }
  .approach      { padding: 52px 20px; }
  .testimonials  { padding: 52px 20px; }
  .connect       { padding: 64px 20px; }
  .footer        { padding: 28px 20px 20px; }
}
