/* House For Health — design system */
:root {
  --primary-green: #3a6b45;
  --leaf-green: #4f8658;
  --dark-green: #1e3d2a;
  --sage: #dce8de;
  --text-dark: #2b2926;
  --text-muted: #5c5852;
  --background: #f6f3ed;
  --white: #ffffff;
  --beige: #efe8dc;
  --border: #e4ddd2;
  --container-width: 1200px;
  --header-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(30, 61, 42, 0.08);
  --shadow-soft: 0 4px 18px rgba(43, 41, 38, 0.06);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --space-section: clamp(2.5rem, 6vw, 5.25rem);
  --focus: 0 0 0 3px rgba(58, 107, 69, 0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.nav-lock {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-green);
  text-decoration: none;
}

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

p {
  margin: 0 0 1rem;
  max-width: 46rem;
  color: var(--text-muted);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-family: var(--font-sans);
  font-weight: 650;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--dark-green);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

.container {
  width: min(calc(100% - 2rem), var(--container-width));
  margin-inline: auto;
}

.container-narrow {
  width: min(calc(100% - 2rem), 760px);
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary-green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--dark-green);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--dark-green);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary-green);
  color: var(--dark-green);
}

.btn-light {
  background: var(--white);
  color: var(--dark-green);
}

.btn-light:hover {
  background: var(--beige);
  color: var(--dark-green);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.text-link {
  font-weight: 650;
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.accent {
  color: var(--primary-green);
  font-style: italic;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-green);
}

.lede {
  font-size: 1.05rem;
  max-width: 40rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  color: inherit;
}

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

.nav-desktop {
  display: none;
  margin-left: auto;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
}

.nav-desktop a {
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0;
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--primary-green);
}

.nav-desktop a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--leaf-green);
  border-radius: 2px;
}

.header-cta {
  display: none;
  margin-left: 0.5rem;
  min-height: 42px;
  padding-inline: 1.1rem;
  font-size: 0.88rem;
}

.menu-toggle {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 61, 42, 0.28);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile {
  position: fixed;
  z-index: 70;
  top: calc(var(--header-h) + 8px);
  right: 1rem;
  left: auto;
  width: min(320px, calc(100vw - 2rem));
  max-height: min(78vh, 520px);
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 0.85rem 1rem 1.1rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.menu-close {
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--background);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-dark);
}

.nav-mobile ul {
  list-style: none;
}

.nav-mobile a {
  display: block;
  padding: 0.55rem 0.2rem;
  color: var(--text-dark);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.nav-mobile a[aria-current="page"] {
  color: var(--primary-green);
}

.nav-mobile .btn {
  width: 100%;
  margin-top: 0.9rem;
}

@media (min-width: 1100px) {
  .nav-desktop {
    display: block;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Page sections */
.section {
  padding-block: var(--space-section);
}

.section-tight {
  padding-block: clamp(2rem, 4vw, 3.25rem);
}

.section-cream {
  background: var(--background);
}

.section-sage {
  background: #f1f6f1;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head.center {
  text-align: center;
}

.section-head.center p,
.section-head.center .lede,
.section-head.center .eyebrow {
  margin-inline: auto;
}

.section-head.center .eyebrow {
  display: flex;
  justify-content: center;
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(220, 232, 222, 0.9), transparent 60%),
    linear-gradient(180deg, var(--background) 0%, var(--white) 100%);
  padding-block: clamp(1.75rem, 4vw, 3.25rem) clamp(2rem, 5vw, 3.75rem);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  max-width: 14ch;
}

.hero-copy p {
  max-width: 38rem;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
}

.hero-shape {
  position: absolute;
  z-index: 0;
  inset: 8% -8% -8% 8%;
  background: #c9dccb;
  border-radius: 62% 38% 48% 52% / 48% 42% 58% 52%;
}

.hero-frame {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  background: var(--beige);
  aspect-ratio: 4 / 5;
  max-height: min(58vh, 520px);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.hero-badge {
  position: absolute;
  z-index: 2;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-badge strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .hero {
    min-height: min(82vh, 740px);
    display: flex;
    align-items: center;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }

  .hero-frame {
    max-height: min(68vh, 560px);
  }
}

/* Trust */
.trust-strip {
  border-block: 1px solid var(--border);
  background: var(--white);
  padding-block: 1.35rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
}

.trust-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--dark-green);
  line-height: 1.1;
}

.trust-item span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
  }
}

/* Split layouts */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--beige);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  max-height: 460px;
}

.split-media.portrait img {
  object-position: 50% 10%;
  max-height: 540px;
  min-height: 360px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

/* Cards / grids */
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 700px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card > h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 650;
}

.card p {
  flex: 1;
}

.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sage);
  color: var(--dark-green);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
}

.service-card h2,
.service-card h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 650;
}

.service-card ul {
  list-style: none;
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.service-card li {
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf-green);
}

.why-card h3 {
  margin-bottom: 0.4rem;
}

.center-cta {
  text-align: center;
  margin-top: 1.75rem;
}

/* Benefits */
.benefit-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .benefit-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit {
  padding: 1.25rem 1.1rem;
  border-top: 2px solid var(--primary-green);
  background: var(--white);
}

.benefit span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-bottom: 0.4rem;
}

/* Testimonials */
.testimonial-card p {
  font-size: 1rem;
  color: var(--text-dark);
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-meta img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-meta span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Founder message */
.founder-msg {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem;
}

.founder-msg img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  object-position: 50% 12%;
  max-height: 360px;
}

.founder-msg blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--dark-green);
}

.placeholder-note {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--beige);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signoff {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
}

.signoff span {
  display: block;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (min-width: 800px) {
  .founder-msg {
    grid-template-columns: 0.85fr 1.15fr;
    padding: 1.6rem;
    gap: 2rem;
  }
}

/* Blog cards */
.blog-card {
  padding: 0;
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.blog-card h2,
.blog-card h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
}

.blog-card h2 a,
.blog-card h3 a {
  color: var(--text-dark);
}

.blog-card h2 a:hover,
.blog-card h3 a:hover {
  color: var(--primary-green);
}

.service-card {
  scroll-margin-top: 96px;
}

/* CTA band */
.cta-band {
  background: var(--dark-green);
  color: #edf4ee;
  padding-block: clamp(2.4rem, 5vw, 4rem);
}

.cta-band h2,
.cta-band p {
  color: inherit;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-inner p {
  margin-bottom: 0;
}

.cta-band .btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cta-band .btn-secondary:hover {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

/* Page hero */
.page-hero {
  background: var(--background);
  padding: 2.25rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin-bottom: 0.85rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: #b7b1a7;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary-green);
}

/* Approach cards */
.approach-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}

/* Contact */
.contact-cards {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card h3 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-green);
}

.contact-card p,
.contact-card a {
  font-weight: 650;
  color: var(--text-dark);
  margin: 0;
}

.form-panel {
  padding: 1.4rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

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

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 650;
  margin-bottom: 0.3rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: var(--white);
  color: var(--text-dark);
}

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

.error {
  display: none;
  color: #9b2c2c;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.field.is-invalid .error {
  display: block;
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: #c45c5c;
}

.form-note,
.form-success {
  font-size: 0.86rem;
  margin: 0.7rem 0 0;
}

.form-success {
  display: none;
  color: var(--primary-green);
}

.form-panel.is-sent .form-success {
  display: block;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 260px;
}

.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

/* Article */
.article {
  max-width: 760px;
}

.article p,
.article h2,
.article h3,
.article ul {
  max-width: 42rem;
}

.article h2 {
  margin-top: 1.75rem;
}

.article-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.article-hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.related {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.related ul {
  list-style: none;
}

.related li {
  margin: 0.4rem 0;
}

/* Internship notice */
.notice {
  background: var(--white);
  border: 1px dashed var(--primary-green);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: #17281d;
  color: #d7e0d8;
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 2rem;
}

.site-footer h3 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.site-footer p,
.site-footer a {
  color: #d7e0d8;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand img {
  height: 46px;
  width: auto;
  margin-bottom: 0.8rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin: 0.35rem 0;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1rem 1.2rem;
  font-size: 0.82rem;
  color: #b7c3b9;
}

.copyright a {
  color: #e8eee8;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  }
}

/* WhatsApp */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #128c4b;
  color: var(--white);
  border-radius: 999px;
  min-height: 52px;
  padding: 0.45rem;
  box-shadow: 0 8px 20px rgba(18, 140, 75, 0.28);
}

.wa-float:hover {
  color: var(--white);
  background: #0e7a40;
}

.wa-float svg {
  width: 36px;
  height: 36px;
}

.wa-label {
  display: none;
  padding-right: 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .wa-label {
    display: inline;
  }
}

/* Reveal */
.reveal {
  animation: fade-up 0.7s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .card,
  .btn,
  .nav-mobile {
    animation: none;
    transition: none;
  }
}

@media (max-width: 479px) {
  .hero-frame {
    max-height: 320px;
    aspect-ratio: 5 / 5.2;
  }

  .btn-row .btn {
    width: 100%;
  }
}
