/* Illness Support Group — production styles
   Ported from the Claude Design prototype (project/Illness Support Group.dc.html).
   Text-scale slider, phone/trust-strip tweak controls were design-tool-only —
   this build ships the finalized defaults as static content. */

:root {
  --navy: #16294a;
  --blue: #2f6ab8;
  --blue-hover: #24527f;
  --green: #2b7d68;
  --gold: #c9a227;
  --gold-light: #e6c76a;
  --bg-warm: #fbfaf7;
  --bg-tint: #eef4f8;
  --border: #dbe5ee;
  --border-soft: #d8e4ee;
  --header-border: #e6e2da;
  --text-body: #1c2733;
  --text-heading: #16294a;
  --text-muted: #45525f;
  --text-muted-2: #4a5765;
  --text-strong: #2a3846;
  --check-bg: #e6f1ec;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-warm);
}

body {
  font-family: "Nunito Sans", Helvetica, sans-serif;
  color: var(--text-body);
  text-wrap: pretty;
}

h1,
h2,
h3,
.font-display {
  font-family: "Nunito", sans-serif;
}

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

a:hover {
  color: var(--blue-hover);
}

.gold-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light) 50%, var(--gold));
}

/* Header */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 48px;
  background: #ffffff;
  border-bottom: 1px solid var(--header-border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.01em;
  color: var(--text-heading);
}

.brand-location {
  font-size: 17px;
  color: var(--text-muted-2);
}

.header-call {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--blue);
  white-space: nowrap;
  text-decoration: none;
}

/* CTA button */

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 76px;
  padding: 20px 32px;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(47, 106, 184, 0.3);
}

.cta-button:hover {
  background: var(--blue-hover);
  color: #ffffff;
}

.cta-row {
  display: flex;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  background: var(--bg-warm);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 76px 56px 76px 48px;
  max-width: 760px;
}

.hero-copy h1 {
  margin: 0;
  font-weight: 800;
  font-size: 60px;
  line-height: 1.1;
  color: var(--text-heading);
}

.hero-copy p {
  margin: 0;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text-strong);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.trust-chip {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--bg-tint);
  border: 1px solid var(--border-soft);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-strong);
}

.hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  align-self: center;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections */

.section-tint {
  padding: 88px 48px;
  background: var(--bg-tint);
}

.section-warm {
  padding: 96px 48px;
  background: var(--bg-warm);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
}

.section-heading h2 {
  margin: 0;
  font-weight: 800;
  font-size: 46px;
  line-height: 1.15;
  color: var(--text-heading);
}

.section-heading p {
  margin: 0;
  font-size: 24px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Who should call — cards */

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.reason-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 34px;
}

.reason-card h3 {
  margin: 0;
  font-weight: 800;
  font-size: 26px;
  color: var(--blue);
}

.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.check-badge {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--check-bg);
  color: var(--green);
  font-weight: 700;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-item span:last-child {
  font-size: 23px;
  line-height: 1.6;
}

.section-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.section-cta p {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.4;
  color: var(--text-heading);
  max-width: 820px;
}

/* How it works */

.steps-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.steps-wrap h2 {
  margin: 0;
  font-weight: 800;
  font-size: 50px;
  line-height: 1.12;
  color: var(--text-heading);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin-top: 6px;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 26px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.step-card .step-title {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--green);
}

.step-card .step-desc {
  font-size: 21px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* What you get */

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
}

.service-card h3 {
  margin: 0;
  font-weight: 800;
  font-size: 28px;
  color: var(--green);
}

.service-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-item span:last-child {
  font-size: 24px;
  line-height: 1.5;
}

/* Footer */

.site-footer {
  padding: 60px 48px;
  background: var(--navy);
  color: #dde5f0;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}

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

.footer-col .footer-title {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #ffffff;
}

.footer-col .footer-subtitle {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
}

.footer-col span,
.footer-col a {
  font-size: 19px;
  line-height: 1.6;
}

.footer-col .footer-muted {
  font-size: 18px;
  line-height: 1.6;
  color: #b8c6d9;
}

.footer-phone {
  font-size: 22px;
  font-weight: 700;
  color: #9dc4ee;
  text-decoration: none;
}

.footer-bottom {
  max-width: 1180px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 18px;
  color: #b8c6d9;
}

/* Responsive */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    max-width: none;
    padding: 56px 32px 40px;
  }

  .hero-image {
    aspect-ratio: 16 / 10;
  }

  .reasons-grid,
  .services-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header {
    padding: 16px 24px;
  }

  .section-tint,
  .section-warm {
    padding: 64px 24px;
  }

  .site-footer {
    padding: 48px 24px;
  }
}

@media (max-width: 600px) {
  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy p {
    font-size: 22px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .steps-wrap h2 {
    font-size: 36px;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .brand-text {
    gap: 4px;
  }

  .header-call {
    justify-content: center;
    width: 100%;
    font-size: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--header-border);
  }
}

/* Below ~420px the "Call Us Now: (626) 888-1153" pill no longer fits on
   one line at readable size and clips off the edge of the screen — let
   it wrap and take the full row instead of overflowing. */
@media (max-width: 480px) {
  .cta-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .hero-image img{
      height: 200% !important;
  }
}
