/* Farm Nurse unified stylesheet
   Consolidated from the nine supplied page files..page-home .media-card
   Each page's selectors are scoped to body.page-* to prevent cross-page conflicts.
   Keep images in the existing root /images/ directory. */


/* =====================================================
   PAGE: index.php (body.page-home)
   ===================================================== */
 
body.page-home {

  --bg:#f5f3eb;
  --surface:#fffdf7;
  --surface-2:#eef3e9;

  --ink:#13261b;
  --muted:#66736b;

  --forest:#123d27;
  --forest-2:#1c5636;
  --forest-3:#0d2c1d;

  --sage:#7da86c;
  --lime:#d5edaa;

  --line:
  rgba(19,38,27,.12);

  --shadow:
  0 24px 80px
  rgba(18,61,39,.12);

  --shadow-soft:
  0 14px 40px
  rgba(18,61,39,.08);

  --radius:28px;
  --container:1180px;


  /* =========================================
     CUSTOM IMAGE URLS
     ========================================= */

  --img-farmnurse-logo:
  url("../images/farmnurse-logo-model.png");

  --img-home-hero:
  url("../images/hero-transparent.png");

  --img-home-planning:
  url("../images/farmplanning.jpg");

  --img-home-family:
  url("../images/familyplanning.png");

}
 
/* =========================================
   GLOBAL
   ========================================= */
 
body.page-home * {
  box-sizing:border-box;
}
 
html {
  scroll-behavior:smooth;
}
 
body.page-home {

  margin:0;

  font-family:
  "DM Sans",
  system-ui,
  -apple-system,
  BlinkMacSystemFont,
  "Segoe UI",
  sans-serif;

  color:var(--ink);
  background:var(--bg);

  line-height:1.65;
}
 
body.page-home.menu-open {
  overflow:hidden;
}
 
body.page-home a {
  text-decoration:none;
  color:inherit;
}
 
body.page-home button {
  font:inherit;
  cursor:pointer;
}
 
body.page-home .container {

  width:min(
    var(--container),
    calc(100% - 40px)
  );

  margin-inline:auto;
}
 
body.page-home .section {
  padding:96px 0;
}
 
body.page-home .section.compact {
  padding:66px 0;
}
 
body.page-home h1,
body.page-home h2,
body.page-home h3 {

  margin:0;

  font-family:
  "Manrope",
  sans-serif;

  line-height:1.04;

  letter-spacing:-.045em;
}
 
body.page-home p {
  margin:0;
  color:var(--muted);
}
 
body.page-home .display {

  font-size:
  clamp(
    3.4rem,
    7vw,
    7.35rem
  );
}
 
body.page-home .title {

  font-size:
  clamp(
    2.3rem,
    4.5vw,
    4.8rem
  );
}
 
body.page-home .lead {

  max-width:660px;

  font-size:1.08rem;
}
 
/* =========================================
   EYEBROW
   ========================================= */
 
body.page-home .eyebrow {

  display:inline-flex;

  align-items:center;

  gap:9px;

  color:var(--forest-2);

  font-size:.76rem;

  font-weight:800;

  letter-spacing:.14em;

  text-transform:uppercase;
}
 
body.page-home .eyebrow::before {

  content:"";

  width:24px;

  height:1px;

  background:currentColor;

  opacity:.75;
}
 
/* =========================================
   BUTTONS
   ========================================= */
 
body.page-home .btn {

  min-height:50px;

  display:inline-flex;

  align-items:center;

  justify-content:center;

  gap:10px;

  padding:0 20px;

  border:
  1px solid transparent;

  border-radius:999px;

  font-weight:800;

  transition:.25s ease;
}
 
body.page-home .btn:hover {

  transform:
  translateY(-2px);
}
 
body.page-home .btn-primary {

  background:
  var(--forest);

  color:#fff;

  box-shadow:
  0 12px 30px
  rgba(18,61,39,.2);
}
 
body.page-home .btn-primary:hover {

  background:
  var(--forest-2);
}
 
body.page-home .btn-outline {

  border-color:
  var(--line);

  background:
  rgba(255,255,255,.62);
}
 
body.page-home .btn-light {

  background:#fff;

  color:var(--forest);
}
 
body.page-home .text-link {

  display:inline-flex;

  align-items:center;

  gap:8px;

  color:var(--forest);

  font-weight:800;

  transition:.2s ease;
}
 
body.page-home .text-link:hover {
  gap:12px;
}
 
/* =========================================
   ICONS
   ========================================= */
 
body.page-home .icon {

  width:50px;
  height:50px;

  border-radius:16px;

  display:grid;
  place-items:center;

  background:
  var(--lime);

  color:
  var(--forest);

  font-style:normal;
  font-weight:800;
}
 
/* =========================================
   CARDS
   ========================================= */
 
body.page-home .card {

  border:
  1px solid var(--line);

  border-radius:
  var(--radius);

  background:
  var(--surface);

  box-shadow:
  var(--shadow-soft);
}
 
/* =========================================
   REVEAL
   ========================================= */
 
body.page-home .reveal {

  opacity:0;

  transform:
  translateY(24px);

  transition:
  .75s cubic-bezier(
    .22,
    .61,
    .36,
    1
  );
}
 
body.page-home .reveal.visible {

  opacity:1;

  transform:none;
}
 
/* =========================================
   HEADER
   ========================================= */
 
body.page-home .site-header {

  position:fixed;

  inset:
  0 0 auto;

  z-index:90;

  padding:
  10px 0;

  transition:.25s ease;
}
 
body.page-home .site-header.scrolled {

  padding:
  6px 0;

  background:
  rgba(245,243,235,.88);

  border-bottom:
  1px solid var(--line);

  backdrop-filter:
  blur(18px);
}
 
body.page-home .nav {

  display:flex;

  align-items:center;

  justify-content:
  space-between;

  gap:22px;
}
 
/* =========================================
   BRAND
   ========================================= */
 
body.page-home .brand {

  display:flex;

  align-items:center;

  min-width:max-content;
}
 
/* =========================================
   LARGE IMAGE-ONLY LOGO
   ========================================= */
 
body.page-home .brand-mark {

  width:320px;

  height:128px;

  flex:
  0 0 320px;

  background-image:
  var(--img-farmnurse-logo);

  background-repeat:
  no-repeat;

  background-position:
  left center;

  background-size:
  contain;

  border:0;

  border-radius:0;

  box-shadow:none;
}
 
body.page-home .brand-mark::before,
body.page-home .brand-mark::after {

  content:none;

  display:none;
}
 
/* =========================================
   NAVIGATION
   ========================================= */
 
body.page-home .nav-links {

  display:flex;

  align-items:center;

  gap:24px;
}
 
body.page-home .nav-links a {

  position:relative;

  color:#314239;

  font-size:.92rem;

  font-weight:700;
}
 
body.page-home .nav-links a::after {

  content:"";

  position:absolute;

  left:0;

  right:100%;

  bottom:-7px;

  height:2px;

  background:
  var(--forest);

  transition:.2s;
}
 
body.page-home .nav-links a:hover::after,
body.page-home .nav-links a.active::after {

  right:0;
}
 
body.page-home .nav-actions {

  display:flex;

  align-items:center;

  gap:12px;
}
 
body.page-home .menu-btn {

  display:none;

  width:44px;
  height:44px;

  place-items:center;

  border:
  1px solid var(--line);

  border-radius:14px;

  background:
  var(--surface);

  color:
  var(--ink);
}
 
/* =========================================
   HERO
   ========================================= */
 
body.page-home .hero {

  min-height:100svh;

  display:grid;

  align-items:center;

  padding:
  170px 0 58px;

  position:relative;

  overflow:hidden;

  background:

  radial-gradient(
    circle at 82% 20%,
    rgba(213,237,170,.35),
    transparent 29%
  ),

  linear-gradient(
    180deg,
    #faf8f1 0%,
    #f5f3eb 100%
  );
}
 
body.page-home .hero::before {

  content:"";

  position:absolute;

  inset:0;

  pointer-events:none;

  background-image:

  linear-gradient(
    rgba(18,61,39,.035) 1px,
    transparent 1px
  ),

  linear-gradient(
    90deg,
    rgba(18,61,39,.035) 1px,
    transparent 1px
  );

  background-size:
  48px 48px;

  mask-image:

  linear-gradient(
    to bottom,
    #000,
    transparent 85%
  );
}
 
body.page-home .hero-grid {

  position:relative;

  z-index:1;

  display:grid;

  grid-template-columns:
  minmax(0,1.03fr)
  minmax(380px,.97fr);

  gap:
  clamp(
    36px,
    5vw,
    64px
  );

  align-items:center;
}
 
body.page-home .hero .display {

  max-width:760px;
}
 
body.page-home .hero-copy {

  margin-top:22px;

  max-width:650px;

  font-size:1.1rem;
}
 
body.page-home .hero-actions {

  display:flex;

  flex-wrap:wrap;

  gap:12px;

  margin-top:28px;
}
 
body.page-home .hero-meta {

  display:flex;

  flex-wrap:wrap;

  gap:
  12px 20px;

  margin-top:28px;
}
 
body.page-home .hero-meta span {

  display:flex;

  align-items:center;

  gap:8px;

  color:#365143;

  font-size:.9rem;

  font-weight:700;
}
 
body.page-home .hero-meta i {

  width:23px;

  height:23px;

  display:grid;

  place-items:center;

  border-radius:50%;

  background:
  var(--lime);

  font-style:normal;

  font-size:.72rem;
}
 
/* =========================================
   HERO IMAGE
   ========================================= */
 
body.page-home .hero-media {

  width:
  min(
    100%,
    560px
  );

  min-height:620px;

  justify-self:end;

  position:relative;

  border:0;

  border-radius:0;

  box-shadow:none;

  overflow:visible;

  background-color:
  transparent;

  background-image:
  var(--img-home-hero);

  background-repeat:
  no-repeat;

  background-size:
  contain;

  background-position:
  center bottom;
}
 
/* =========================================
   STATS
   ========================================= */
 
body.page-home .stats {

  display:grid;

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

  gap:16px;
}
 
body.page-home .stat {

  padding:
  22px 24px;

  border:
  1px solid var(--line);

  border-radius:22px;

  background:
  var(--surface);
}
 
body.page-home .stat strong {

  display:block;

  color:
  var(--forest);

  font-family:
  "Manrope",
  sans-serif;

  font-size:2rem;
}
 
body.page-home .stat small {

  color:
  var(--muted);

  font-size:.82rem;

  font-weight:700;
}
 
/* =========================================
   WHY FARM NURSE
   ========================================= */
 
body.page-home .split {

  display:grid;

  grid-template-columns:
  .9fr 1.1fr;

  gap:
  clamp(
    42px,
    6vw,
    72px
  );

  align-items:center;
}
 

body.page-home .media-card {
    min-height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;

    background-image: url("/assets/images/farmplanning.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #eef3e9;

    box-shadow: var(--shadow);
}


body.page-home .media-card .overlay {

  position:absolute;

  inset:
  auto 20px 20px;

  padding:20px;

  border-radius:20px;

  background:
  rgba(13,44,29,.76);

  backdrop-filter:
  blur(10px);

  color:#fff;
}
 
body.page-home .media-card .overlay p {

  margin-top:5px;

  color:
  rgba(255,255,255,.76);
}
 
body.page-home .copy {

  max-width:620px;
}
 
body.page-home .copy h2 {

  margin:
  14px 0 20px;
}
 
body.page-home .copy .lead {

  margin-bottom:24px;
}
 
body.page-home .feature-list {

  display:grid;

  gap:16px;
}
 
body.page-home .feature-item {

  display:grid;

  grid-template-columns:
  46px 1fr;

  gap:14px;

  align-items:start;
}
 
body.page-home .feature-item .icon {

  width:42px;

  height:42px;

  border-radius:14px;
}
 
body.page-home .feature-item strong {

  display:block;

  margin-bottom:3px;
}
 
/* =========================================
   SERVICES
   ========================================= */
 
body.page-home .services-section {

  background:
  var(--surface-2);
}
 
body.page-home .services-head {

  display:flex;

  justify-content:
  space-between;

  align-items:flex-end;

  gap:24px;

  flex-wrap:wrap;

  margin-bottom:34px;
}
 
body.page-home .services-head .title {

  margin-top:14px;

  max-width:790px;
}
 
body.page-home .service-grid {

  display:grid;

  grid-template-columns:
  repeat(
    3,
    1fr
  );

  gap:20px;
}
 
body.page-home .service-card {

  min-height:300px;

  padding:26px;

  display:flex;

  flex-direction:column;

  justify-content:
  space-between;

  transition:.25s;
}
 
body.page-home .service-card:hover {

  transform:
  translateY(-5px);

  box-shadow:
  var(--shadow);
}
 
body.page-home .service-card h3 {

  margin:
  22px 0 10px;

  font-size:1.38rem;
}
 
body.page-home .service-card p {

  font-size:.95rem;
}
 
body.page-home .service-card .text-link {

  margin-top:24px;
}
 
/* =========================================
   FAMILY FARMING SERVICE
   ========================================= */
 
body.page-home .service-wide {

  grid-column:
  span 2;

  min-height:315px;

  padding:0;

  display:grid;

  grid-template-columns:
  1fr .9fr;

  overflow:hidden;
}
 
body.page-home .service-wide .service-copy {

  padding:30px;

  display:flex;

  flex-direction:column;

  justify-content:center;
}
 
body.page-home .service-wide .service-image {

  min-height:300px;

  background-size:
  cover;

  background-position:
  center;
}
 
/* =========================================
   HOW IT WORKS
   ========================================= */
 
body.page-home .steps {

  display:grid;

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

  gap:18px;

  margin-top:34px;
}
 
body.page-home .step {

  padding:
  24px 22px;

  border-top:
  1px solid var(--line);
}
 
body.page-home .step-num {

  color:
  var(--sage);

  font-family:
  "Manrope",
  sans-serif;

  font-size:.85rem;

  font-weight:800;
}
 
body.page-home .step h3 {

  margin:
  22px 0 8px;

  font-size:1.15rem;
}
 
/* =========================================
   BUILT FOR REAL SPACES
   ========================================= */
 
body.page-home .dark-block {

  position:relative;

  overflow:hidden;

  background:
  var(--forest-3);

  color:#fff;
}
 
body.page-home .dark-block::after {

  content:"";

  position:absolute;

  width:420px;

  height:420px;

  right:-100px;

  top:-120px;

  border:
  1px solid
  rgba(213,237,170,.15);

  border-radius:50%;
}
 
body.page-home .dark-block p {

  color:
  rgba(255,255,255,.68);
}
 
body.page-home .dark-block .eyebrow {

  color:
  var(--lime);
}
 
body.page-home .dark-grid {

  display:grid;

  grid-template-columns:
  .95fr 1.05fr;

  gap:56px;

  align-items:center;
}
 
body.page-home .dark-copy {

  max-width:620px;
}
 
body.page-home .value-grid {

  position:relative;

  z-index:1;

  display:grid;

  grid-template-columns:
  repeat(
    2,
    1fr
  );

  gap:16px;
}
 
body.page-home .value-card {

  min-height:210px;

  padding:25px;

  border:
  1px solid
  rgba(255,255,255,.12);

  border-radius:22px;

  background:
  rgba(255,255,255,.04);
}
 
body.page-home .value-card h3 {

  margin:
  18px 0 8px;

  font-size:1.17rem;
}
 
/* =========================================
   CTA
   ========================================= */
 
body.page-home .cta {

  padding:
  50px 52px;

  position:relative;

  overflow:hidden;

  display:grid;

  grid-template-columns:
  minmax(0,1fr)
  auto;

  gap:32px;

  align-items:center;

  border-radius:32px;

  background:

  linear-gradient(
    135deg,
    var(--lime),
    #edf7d8
  );
}
 
body.page-home .cta::after {

  content:"";

  position:absolute;

  width:270px;

  height:270px;

  right:-90px;

  top:-110px;

  border:
  1px solid
  rgba(18,61,39,.17);

  border-radius:50%;
}
 
body.page-home .cta-copy {

  position:relative;

  z-index:2;

  max-width:760px;
}
 
body.page-home .cta h2 {

  margin-top:15px;

  font-size:
  clamp(
    2.25rem,
    4vw,
    4.2rem
  );
}
 
body.page-home .cta p {

  margin-top:15px;

  max-width:680px;

  color:#405b49;
}
 
body.page-home .cta-actions {

  position:relative;

  z-index:2;

  display:flex;

  flex-direction:column;

  gap:10px;
}
 
/* =========================================
   FLOATING CONTACT
   ========================================= */
 
body.page-home .floating-contact {

  position:fixed;

  right:18px;

  bottom:18px;

  z-index:70;

  display:flex;

  align-items:center;

  gap:9px;

  padding:
  12px 15px;

  border-radius:999px;

  background:
  var(--forest);

  color:#fff;

  box-shadow:
  0 14px 40px
  rgba(18,61,39,.26);

  font-size:.86rem;

  font-weight:800;
}
 
/* =========================================
   FOOTER
   ========================================= */
 
body.page-home .footer {

  padding:
  60px 0 28px;

  background:#0f2418;

  color:#fff;
}
 
body.page-home .footer p,
body.page-home .footer a {

  color:
  rgba(255,255,255,.62);
}
 
body.page-home .footer-grid {

  display:grid;

  grid-template-columns:
  1.35fr
  .7fr
  .7fr
  .9fr;

  gap:34px;
}
 
body.page-home .footer-brand p {

  max-width:390px;

  margin-top:18px;
}
 
body.page-home .footer-col {

  min-width:0;
}
 
body.page-home .footer-col strong {

  display:block;

  margin-bottom:14px;
}
 
body.page-home .footer-col a {

  display:block;

  margin:
  9px 0;
}
 
body.page-home .footer-col a:hover {

  color:#fff;
}
 
body.page-home .footer-bottom {

  margin-top:38px;

  padding-top:20px;

  display:flex;

  align-items:center;

  justify-content:
  space-between;

  gap:20px;

  border-top:
  1px solid
  rgba(255,255,255,.1);

  color:
  rgba(255,255,255,.5);

  font-size:.84rem;
}
 
/* =========================================
   MEDIUM NAV
   ========================================= */
 
@media (max-width:1120px) and (min-width:1021px) {
 
body.page-home .brand-mark {

    width:270px;

    height:108px;

    flex-basis:270px;
  }
 
body.page-home .nav-links {

    gap:18px;
  }
 
body.page-home .nav-links a {

    font-size:.86rem;
  }
 
body.page-home .nav {

    gap:16px;
  }
 
}
 
/* =========================================
   TABLET
   ========================================= */
 
@media (max-width:1020px) {
 
body.page-home .nav-links {

    position:fixed;

    inset:
    104px 18px auto;

    display:none;

    flex-direction:column;

    align-items:stretch;

    padding:22px;

    border:
    1px solid var(--line);

    border-radius:22px;

    background:
    var(--surface);

    box-shadow:
    var(--shadow);
  }
 
body.page-home .nav-links.open {

    display:flex;
  }
 
body.page-home .nav-actions .btn {

    display:none;
  }
 
body.page-home .menu-btn {

    display:grid;
  }
 
body.page-home .hero-grid,
body.page-home .split,
body.page-home .dark-grid {

    grid-template-columns:
    1fr;
  }
 
body.page-home .hero-grid {

    gap:32px;
  }
 
body.page-home .hero-media {

    width:
    min(
      100%,
      560px
    );

    min-height:540px;

    justify-self:center;
  }
 
body.page-home .stats {

    grid-template-columns:
    repeat(
      2,
      1fr
    );
  }
 
body.page-home .copy,
body.page-home .dark-copy {

    max-width:none;
  }
 
body.page-home .service-grid {

    grid-template-columns:
    repeat(
      2,
      1fr
    );
  }
 
body.page-home .service-wide {

    grid-column:
    span 2;
  }
 
body.page-home .service-wide .service-image {

    min-height:260px;
  }
 
body.page-home .steps {

    grid-template-columns:
    repeat(
      2,
      1fr
    );
  }
 
body.page-home .cta {

    grid-template-columns:
    1fr;
  }
 
body.page-home .cta-actions {

    flex-direction:row;

    flex-wrap:wrap;
  }
 
body.page-home .footer-grid {

    grid-template-columns:
    1.3fr
    1fr
    1fr;
  }
 
body.page-home .footer-grid .footer-col:last-child {

    grid-column:
    1 / -1;
  }
 
}
 
/* =========================================
   MOBILE
   ========================================= */
 
@media (max-width:680px) {
 
body.page-home .container {

    width:
    min(
      var(--container),
      calc(100% - 28px)
    );
  }
 
body.page-home .section {

    padding:
    68px 0;
  }
 
body.page-home .section.compact {

    padding:
    52px 0;
  }
 
body.page-home .display {

    font-size:
    clamp(
      3rem,
      15vw,
      5rem
    );
  }
 
body.page-home .brand-mark {

    width:220px;

    height:88px;

    flex-basis:220px;
  }
 
body.page-home .hero {

    min-height:auto;

    padding:
    150px 0 42px;
  }
 
body.page-home .hero-media {

    width:100%;

    min-height:410px;

    justify-self:center;
  }
 
body.page-home .hero-actions {

    gap:10px;
  }
 
body.page-home .hero-actions .btn {

    width:100%;
  }
 
body.page-home .hero-meta {

    gap:
    10px 16px;
  }
 
body.page-home .stats,
body.page-home .service-grid,
body.page-home .steps,
body.page-home .value-grid {

    grid-template-columns:
    1fr;
  }
 
body.page-home .stat {

    padding:20px;
  }
 
body.page-home .media-card {

    min-height:430px;
  }
 
body.page-home .service-card {

    min-height:auto;
  }
 
body.page-home .service-wide {

    grid-column:auto;

    grid-template-columns:
    1fr;
  }
 
body.page-home .service-wide .service-image {

    min-height:220px;
  }
 
body.page-home .step {

    padding:
    20px 0;
  }
 
body.page-home .value-card {

    min-height:auto;
  }
 
body.page-home .cta {

    padding:
    34px 24px;
  }
 
body.page-home .cta-actions {

    flex-direction:column;
  }
 
body.page-home .cta-actions .btn {

    width:100%;
  }
 
body.page-home .footer-grid {

    grid-template-columns:
    1fr;
  }
 
body.page-home .footer-grid .footer-col:last-child {

    grid-column:auto;
  }
 
body.page-home .footer-bottom {

    flex-direction:column;

    align-items:flex-start;
  }
 
body.page-home .floating-contact {

    width:48px;

    height:48px;

    padding:0;

    justify-content:center;
  }
 
body.page-home .floating-contact span {

    display:none;
  }
 
}
 
/* =========================================
   SHARED HEADER (includes/header.php)
   ========================================= */
 
body.page-home #header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 10px 0;
  transition: .25s ease;
}
 
body.page-home #header.scrolled {
  padding: 6px 0;
  background: rgba(245,243,235,.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
 
body.page-home #header .brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}
 
body.page-home #header .logo {
  display: block;
  width: 320px;
  height: 128px;
  flex: 0 0 320px;
  background-image: url("../images/farmnurse-logo-model.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}
 
body.page-home #header .links {
  display: flex;
  align-items: center;
  gap: 24px;
}
 
body.page-home #header .links a {
  position: relative;
  color: #314239;
  font-size: .92rem;
  font-weight: 700;
}
 
body.page-home #header .links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--forest);
  transition: .2s;
}
 
body.page-home #header .links a:hover::after,
body.page-home #header .links a.active::after {
  right: 0;
}
 
body.page-home #header .menu {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
}
 
@media (max-width: 1020px) {
 
body.page-home #header .links {
    position: fixed;
    inset: 104px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
 
body.page-home #header .links.open {
    display: flex;
  }
 
body.page-home #header .nav > .btn {
    display: none;
  }
 
body.page-home #header .menu {
    display: grid;
  }
 
}
 
@media (max-width: 680px) {
 
body.page-home #header .logo {
    width: 220px;
    height: 88px;
    flex-basis: 220px;
  }
 
}
 


/* =====================================================
   PAGE: about.php (body.page-about)
   ===================================================== */
 
body.page-about {

      --bg:#f5f3eb;
      --surface:#fffdf7;
      --surface2:#eef3e9;

      --ink:#13261b;
      --muted:#67736b;

      --forest:#123d27;
      --forest2:#1c5636;
      --deep:#0d2c1d;

      --lime:#d5edaa;
      --sage:#7da86c;

      --line:rgba(19,38,27,.12);

      --shadow:
      0 24px 80px
      rgba(18,61,39,.12);


      /* =========================================
         CUSTOM IMAGE URLS
         ========================================= */

      --img-farmnurse-logo:
      url("../images/farmnurse-logo-model.png");

      --img-about-story:
      url("../images/about-who-we-are.webp");

      --img-about-approach:
      url("../images/who-we-are");

    }
 
/* =========================================
       GLOBAL
       ========================================= */
 
body.page-about * {
      box-sizing:border-box;
    }
 
html {
      scroll-behavior:smooth;
    }
 
body.page-about {

      margin:0;

      font-family:
      "DM Sans",
      system-ui,
      sans-serif;

      background:
      var(--bg);

      color:
      var(--ink);

      line-height:1.65;
    }
 
body.page-about a {

      text-decoration:none;

      color:inherit;
    }
 
body.page-about img {

      display:block;

      max-width:100%;
    }
 
body.page-about .container {

      width:
      min(
        1180px,
        calc(100% - 40px)
      );

      margin:auto;
    }
 
body.page-about section {

      padding:
      88px 0;
    }
 
body.page-about h1,
body.page-about h2,
body.page-about h3 {

      font-family:
      "Manrope",
      sans-serif;

      margin:0;

      letter-spacing:-.045em;

      line-height:1.04;
    }
 
body.page-about p {

      margin:0;

      color:
      var(--muted);
    }
 
/* =========================================
       TYPOGRAPHY
       ========================================= */
 
body.page-about .eyebrow {

      display:inline-flex;

      align-items:center;

      gap:10px;

      color:
      var(--forest2);

      font-size:.76rem;

      font-weight:800;

      letter-spacing:.14em;

      text-transform:uppercase;
    }
 
body.page-about .eyebrow::before {

      content:"";

      width:24px;

      height:1px;

      background:
      currentColor;
    }
 
body.page-about .display {

      font-size:
      clamp(
        3.2rem,
        7vw,
        7rem
      );
    }
 
body.page-about .title {

      font-size:
      clamp(
        2.3rem,
        4.5vw,
        4.7rem
      );
    }
 
body.page-about .lead {

      font-size:1.08rem;

      max-width:680px;
    }
 
/* =========================================
       BUTTONS
       ========================================= */
 
body.page-about .btn {

      display:inline-flex;

      align-items:center;

      justify-content:center;

      min-height:50px;

      padding:
      0 20px;

      border-radius:999px;

      font-weight:800;

      border:
      1px solid transparent;

      transition:.2s;
    }
 
body.page-about .btn:hover {

      transform:
      translateY(-2px);
    }
 
body.page-about .btn-primary {

      background:
      var(--forest);

      color:#fff;
    }
 
body.page-about .btn-light {

      background:#fff;

      border-color:
      var(--line);
    }
 
/* =========================================
       CARDS
       ========================================= */
 
body.page-about .card {

      background:
      var(--surface);

      border:
      1px solid var(--line);

      border-radius:28px;

      box-shadow:
      0 14px 40px
      rgba(18,61,39,.07);
    }
 
/* =========================================
       REVEAL
       ========================================= */
 
body.page-about .reveal {

      opacity:0;

      transform:
      translateY(22px);

      transition:
      .7s ease;
    }
 
body.page-about .reveal.visible {

      opacity:1;

      transform:none;
    }
 
/* =========================================
       HEADER
       ========================================= */
 
body.page-about header {

      position:fixed;

      top:0;
      left:0;
      right:0;

      z-index:50;

      padding:
      10px 0;

      transition:.25s;
    }
 
body.page-about header.scrolled {

      padding:
      6px 0;

      background:
      rgba(245,243,235,.88);

      backdrop-filter:
      blur(18px);

      border-bottom:
      1px solid var(--line);
    }
 
body.page-about .nav {

      display:flex;

      align-items:center;

      justify-content:
      space-between;

      gap:24px;
    }
 
body.page-about .brand {

      display:flex;

      align-items:center;
    }
 
/* =========================================
       LARGE IMAGE-ONLY LOGO
       ========================================= */
 
body.page-about .logo {

      width:320px;

      height:128px;

      flex:
      0 0 320px;

      background-image:
      var(--img-farmnurse-logo);

      background-repeat:
      no-repeat;

      background-position:
      left center;

      background-size:
      contain;

      border:0;

      border-radius:0;

      box-shadow:none;
    }
 
body.page-about .logo::before,
body.page-about .logo::after {

      content:none;

      display:none;
    }
 
/* =========================================
       NAVIGATION
       ========================================= */
 
body.page-about .links {

      display:flex;

      gap:26px;

      align-items:center;
    }
 
body.page-about .links a {

      font-size:.92rem;

      font-weight:700;

      color:#314239;
    }
 
body.page-about .links a.active {

      color:
      var(--forest);

      position:relative;
    }
 
body.page-about .links a.active::after {

      content:"";

      position:absolute;

      left:0;
      right:0;

      bottom:-8px;

      height:2px;

      background:
      var(--forest);
    }
 
body.page-about .menu {

      display:none;

      border:
      1px solid var(--line);

      background:
      var(--surface);

      width:44px;

      height:44px;

      border-radius:14px;

      cursor:pointer;
    }
 
/* =========================================
       HERO
       REDUCED TOP GAP
       ========================================= */
 
body.page-about .hero {

      padding:
      150px 0 72px;

      background:

      radial-gradient(
        circle at 82% 8%,
        rgba(213,237,170,.82),
        transparent 28%
      ),

      linear-gradient(
        180deg,
        #fbfaf4,
        #f0eee4
      );

      border-bottom:
      1px solid var(--line);
    }
 
body.page-about .hero-grid {

      display:grid;

      grid-template-columns:
      minmax(0,1.15fr)
      minmax(320px,.85fr);

      gap:44px;

      align-items:center;
    }
 
body.page-about .hero .lead {

      margin-top:26px;
    }
 
body.page-about .hero-card {

      width:100%;

      max-width:430px;

      justify-self:end;

      align-self:center;

      padding:28px;

      border-radius:26px;

      background:
      rgba(255,255,255,.72);

      border:
      1px solid var(--line);

      box-shadow:
      0 14px 40px rgba(18,61,39,.06);
    }
 
body.page-about .hero-card strong {

      display:block;

      font-family:
      "Manrope",
      sans-serif;

      font-size:1.2rem;

      margin-bottom:8px;
    }
 
/* =========================================
       STORY
       ========================================= */
 
body.page-about .story {

      display:grid;

      grid-template-columns:
      .92fr 1.08fr;

      gap:54px;

      align-items:center;
    }
 
body.page-about .story-media {

      min-height:560px;

      border-radius:34px;

      overflow:hidden;

      position:relative;

      background:

      linear-gradient(
        180deg,
        rgba(13,44,29,.03),
        rgba(13,44,29,.30)
      ),

      var(--img-about-story)
      center/cover;

      box-shadow:
      var(--shadow);
    }
 
body.page-about .story-note {

      position:absolute;

      left:22px;
      right:22px;
      bottom:22px;

      padding:22px;

      border-radius:22px;

      background:
      rgba(13,44,29,.76);

      backdrop-filter:
      blur(12px);

      color:#fff;
    }
 
body.page-about .story-note p {

      color:
      rgba(255,255,255,.72);

      margin-top:5px;
    }
 
body.page-about .story-copy h2 {

      margin:
      14px 0 18px;
    }
 
body.page-about .story-copy p + p {

      margin-top:14px;
    }
 
/* =========================================
       MISSION
       ========================================= */
 
body.page-about .mission {

      background:
      var(--deep);

      color:#fff;

      position:relative;

      overflow:hidden;
    }
 
body.page-about .mission::after {

      content:"";

      position:absolute;

      width:430px;

      height:430px;

      border-radius:50%;

      border:
      1px solid
      rgba(213,237,170,.15);

      right:-110px;

      top:-130px;
    }
 
body.page-about .mission .eyebrow {

      color:
      var(--lime);
    }
 
body.page-about .mission p {

      color:
      rgba(255,255,255,.68);
    }
 
body.page-about .mission-grid {

      display:grid;

      grid-template-columns:
      .9fr 1.1fr;

      gap:48px;

      align-items:start;
    }
 
body.page-about .values {

      display:grid;

      grid-template-columns:
      repeat(2,1fr);

      gap:14px;
    }
 
body.page-about .value {

      padding:26px;

      border-radius:22px;

      border:
      1px solid
      rgba(255,255,255,.12);

      background:
      rgba(255,255,255,.04);
    }
 
body.page-about .value span {

      width:46px;

      height:46px;

      border-radius:15px;

      background:
      var(--lime);

      display:grid;

      place-items:center;

      color:
      var(--deep);

      font-weight:900;
    }
 
body.page-about .value h3 {

      font-size:1.18rem;

      margin:
      18px 0 8px;
    }
 
/* =========================================
       APPROACH
       ========================================= */
 
body.page-about .approach-grid {

      display:grid;

      grid-template-columns:
      1fr 1fr;

      gap:52px;

      align-items:start;
    }
 
body.page-about .steps {

      display:grid;

      gap:0;

      margin-top:24px;
    }
 
body.page-about .step {

      display:grid;

      grid-template-columns:
      54px 1fr;

      gap:18px;

      padding:
      22px 0;

      border-top:
      1px solid var(--line);
    }
 
body.page-about .step:last-child {

      border-bottom:
      1px solid var(--line);
    }
 
body.page-about .num {

      width:44px;

      height:44px;

      border-radius:14px;

      background:
      var(--forest);

      color:#fff;

      display:grid;

      place-items:center;

      font-weight:800;
    }
 
body.page-about .step h3 {

      font-size:1.12rem;

      margin-bottom:5px;
    }
 
body.page-about .approach-media {

      min-height:560px;

      border-radius:32px;

      background:
      var(--img-about-approach)
      center/cover
      no-repeat;

      box-shadow:
      var(--shadow);
    }
 
/* =========================================
       WHO WE SERVE
       ========================================= */
 
body.page-about .audience {

      background:
      var(--surface2);
    }
 
body.page-about .audience-head {

      max-width:760px;
    }
 
body.page-about .audience-grid {

      display:grid;

      grid-template-columns:
      repeat(3,1fr);

      gap:18px;

      margin-top:30px;
    }
 
body.page-about .aud {

      padding:28px;
    }
 
body.page-about .aud .ico {

      width:52px;

      height:52px;

      border-radius:16px;

      background:
      var(--lime);

      display:grid;

      place-items:center;

      font-size:1.4rem;
    }
 
body.page-about .aud h3 {

      font-size:1.34rem;

      margin:
      22px 0 8px;
    }
 
/* =========================================
       CTA
       ========================================= */
 
body.page-about .cta {

      padding:58px;

      border-radius:36px;

      background:

      linear-gradient(
        135deg,
        var(--lime),
        #edf7d8
      );

      display:grid;

      grid-template-columns:
      1fr auto;

      gap:34px;

      align-items:center;
    }
 
body.page-about .cta h2 {

      font-size:
      clamp(
        2.2rem,
        4vw,
        4.1rem
      );
    }
 
body.page-about .cta p {

      margin-top:15px;

      max-width:680px;

      color:#405b49;
    }
 
body.page-about .cta-actions {

      display:flex;

      flex-direction:column;

      gap:10px;
    }
 
/* =========================================
       FOOTER
       ========================================= */
 
body.page-about footer {

      background:#0f2418;

      color:#fff;

      padding:
      52px 0 24px;
    }
 
body.page-about .footer-grid {

      display:grid;

      grid-template-columns:
      1.4fr .7fr .7fr;

      gap:40px;
    }
 
body.page-about footer p,
body.page-about footer a {

      color:
      rgba(255,255,255,.62);
    }
 
body.page-about footer a {

      display:block;

      margin:
      8px 0;
    }
 
body.page-about .footer-bottom {

      margin-top:30px;

      padding-top:20px;

      border-top:
      1px solid
      rgba(255,255,255,.1);

      display:flex;

      justify-content:
      space-between;

      gap:20px;

      color:
      rgba(255,255,255,.48);

      font-size:.85rem;
    }
 
/* =========================================
       MEDIUM
       ========================================= */
 
@media (max-width:1120px) and (min-width:981px) {
 
body.page-about .logo {

        width:270px;

        height:108px;

        flex-basis:270px;
      }
 
body.page-about .links {

        gap:18px;
      }
 
body.page-about .links a {

        font-size:.86rem;
      }
 
body.page-about .nav {

        gap:16px;
      }
 
}
 
/* =========================================
       TABLET
       ========================================= */
 
@media (max-width:980px) {
 
body.page-about .links {

        display:none;
      }
 
body.page-about .links.open {

        display:flex;

        position:fixed;

        top:104px;

        left:18px;

        right:18px;

        flex-direction:column;

        align-items:flex-start;

        padding:22px;

        background:
        var(--surface);

        border:
        1px solid var(--line);

        border-radius:22px;

        box-shadow:
        var(--shadow);
      }
 
body.page-about .menu {

        display:block;
      }
 
body.page-about .nav > .btn {

        display:none;
      }
 
body.page-about .hero-grid,
body.page-about .story,
body.page-about .mission-grid,
body.page-about .approach-grid {

        grid-template-columns:
        1fr;
      }
 
body.page-about .hero-card {

        max-width:100%;

        justify-self:stretch;
      }
 
body.page-about .audience-grid {

        grid-template-columns:
        1fr;
      }
 
body.page-about .cta {

        grid-template-columns:
        1fr;
      }
 
body.page-about .cta-actions {

        flex-direction:row;

        flex-wrap:wrap;
      }
 
body.page-about .footer-grid {

        grid-template-columns:
        1fr 1fr;
      }
 
}
 
/* =========================================
       MOBILE
       ========================================= */
 
@media (max-width:640px) {
 
body.page-about .container {

        width:
        min(
          100% - 28px,
          1180px
        );
      }
 
body.page-about section {

        padding:
        64px 0;
      }
 
body.page-about .hero {

        padding:
        132px 0 58px;
      }
 
body.page-about .display {

        font-size:
        clamp(
          3rem,
          14vw,
          4.8rem
        );
      }
 
body.page-about .values {

        grid-template-columns:
        1fr;
      }
 
body.page-about .story-media,
body.page-about .approach-media {

        min-height:440px;
      }
 
body.page-about .cta {

        padding:
        36px 26px;
      }
 
body.page-about .footer-grid {

        grid-template-columns:
        1fr;
      }
 
body.page-about .footer-bottom {

        flex-direction:column;
      }
 
body.page-about .logo {

        width:220px;

        height:88px;

        flex-basis:220px;
      }
 
}
 


/* =====================================================
   PAGE: contact.php (body.page-contact)
   ===================================================== */
 
body.page-contact {
      --bg:#f5f3eb;
      --surface:#fffdf7;
      --surface2:#eef3e9;
      --ink:#13261b;
      --muted:#66736b;
      --forest:#123d27;
      --forest2:#1c5636;
      --deep:#0d2c1d;
      --lime:#d5edaa;
      --sage:#7da86c;
      --line:rgba(19,38,27,.12);
      --shadow:0 24px 80px rgba(18,61,39,.12);

      --img-farmnurse-logo:
      url("../images/farmnurse-logo-model.png");

      --img-contact-site-visit:
      url("../images/contact");
    }
 
body.page-contact * {
      box-sizing:border-box;
    }
 
html {
      scroll-behavior:smooth;
    }
 
body.page-contact {
      margin:0;

      font-family:
      "DM Sans",
      system-ui,
      sans-serif;

      background:
      var(--bg);

      color:
      var(--ink);

      line-height:
      1.65;
    }
 
body.page-contact a {
      text-decoration:none;
      color:inherit;
    }
 
body.page-contact button,
body.page-contact input,
body.page-contact textarea,
body.page-contact select {
      font:inherit;
    }
 
body.page-contact .container {
      width:
      min(
        1180px,
        calc(100% - 40px)
      );

      margin:auto;
    }
 
body.page-contact section {
      padding:
      88px 0;
    }
 
body.page-contact h1,
body.page-contact h2,
body.page-contact h3,
body.page-contact h4 {
      font-family:
      "Manrope",
      sans-serif;

      margin:0;

      letter-spacing:
      -.045em;

      line-height:
      1.04;
    }
 
body.page-contact p {
      margin:0;

      color:
      var(--muted);
    }
 
body.page-contact .eyebrow {
      display:inline-flex;

      align-items:center;

      gap:10px;

      color:
      var(--forest2);

      font-size:
      .76rem;

      font-weight:
      800;

      letter-spacing:
      .14em;

      text-transform:
      uppercase;
    }
 
body.page-contact .eyebrow::before {
      content:"";

      width:24px;
      height:1px;

      background:
      currentColor;
    }
 
body.page-contact .display {
      font-size:
      clamp(
        3.2rem,
        7vw,
        7rem
      );
    }
 
body.page-contact .title {
      font-size:
      clamp(
        2.3rem,
        4.5vw,
        4.7rem
      );
    }
 
body.page-contact .lead {
      font-size:
      1.08rem;

      max-width:
      690px;
    }
 
/* =========================================
       BUTTONS
       ========================================= */
 
body.page-contact .btn {
      display:inline-flex;

      align-items:center;

      justify-content:
      center;

      min-height:
      50px;

      padding:
      0 20px;

      border-radius:
      999px;

      font-weight:
      800;

      border:
      1px solid transparent;

      transition:
      .2s;

      cursor:pointer;
    }
 
body.page-contact .btn:hover {
      transform:
      translateY(-2px);
    }
 
body.page-contact .btn:disabled {
      opacity:.65;

      cursor:
      not-allowed;

      transform:none;
    }
 
body.page-contact .btn-primary {
      background:
      var(--forest);

      color:#fff;
    }
 
body.page-contact .btn-light {
      background:#fff;

      border-color:
      var(--line);
    }
 
/* =========================================
       CARDS
       ========================================= */
 
body.page-contact .card {
      background:
      var(--surface);

      border:
      1px solid var(--line);

      border-radius:
      28px;

      box-shadow:
      0 14px 40px
      rgba(18,61,39,.07);
    }
 
/* =========================================
       REVEAL
       ========================================= */
 
body.page-contact .reveal {
      opacity:0;

      transform:
      translateY(22px);

      transition:
      .7s ease;
    }
 
body.page-contact .reveal.visible {
      opacity:1;

      transform:none;
    }
 
/* =========================================
       NAVIGATION
       ========================================= */
 
body.page-contact header {
      position:fixed;

      top:0;
      left:0;
      right:0;

      z-index:50;

      padding:
      10px 0;

      transition:
      .25s;
    }
 
body.page-contact header.scrolled {
      padding:
      6px 0;

      background:
      rgba(245,243,235,.88);

      backdrop-filter:
      blur(18px);

      border-bottom:
      1px solid var(--line);
    }
 
body.page-contact .nav {
      display:flex;

      align-items:center;

      justify-content:
      space-between;

      gap:24px;
    }
 
body.page-contact .brand {
      display:flex;

      align-items:center;

      gap:12px;
    }
 
body.page-contact .logo {
      width:320px;
      height:128px;

      flex:
      0 0 320px;

      background-image:
      var(--img-farmnurse-logo);

      background-repeat:
      no-repeat;

      background-position:
      left center;

      background-size:
      contain;

      border:0;

      border-radius:0;

      box-shadow:none;
    }
 
body.page-contact .links {
      display:flex;

      gap:26px;

      align-items:center;
    }
 
body.page-contact .links a {
      font-size:.92rem;

      font-weight:700;

      color:#314239;
    }
 
body.page-contact .links a.active {
      color:
      var(--forest);

      position:relative;
    }
 
body.page-contact .links a.active::after {
      content:"";

      position:absolute;

      left:0;
      right:0;

      bottom:-8px;

      height:2px;

      background:
      var(--forest);
    }
 
body.page-contact .menu {
      display:none;

      border:
      1px solid var(--line);

      background:
      var(--surface);

      width:44px;
      height:44px;

      border-radius:
      14px;

      cursor:pointer;
    }
 
/* =========================================
       HERO
       ========================================= */
 
body.page-contact .hero {
      padding:
      150px 0 72px;

      background:

      radial-gradient(
        circle at 84% 9%,
        rgba(213,237,170,.9),
        transparent 28%
      ),

      linear-gradient(
        180deg,
        #fbfaf4,
        #f0eee4
      );

      border-bottom:
      1px solid var(--line);
    }
 
body.page-contact .hero-grid {
      display:grid;

      grid-template-columns:
      minmax(0,1.15fr)
      minmax(320px,.85fr);

      gap:44px;

      align-items:center;
    }
 
body.page-contact .hero .lead {
      margin-top:
      24px;
    }
 
body.page-contact .hero-card {
      width:100%;

      max-width:
      430px;

      justify-self:end;

      align-self:center;

      padding:28px;

      border-radius:
      26px;

      background:
      rgba(255,255,255,.72);

      border:
      1px solid var(--line);

      box-shadow:
      0 14px 40px
      rgba(18,61,39,.06);
    }
 
body.page-contact .hero-card strong {
      display:block;

      font-family:
      "Manrope";

      font-size:
      1.18rem;

      margin-bottom:
      8px;
    }
 
/* =========================================
       CONTACT
       ========================================= */
 
body.page-contact .contact-grid {
      display:grid;

      grid-template-columns:
      .82fr 1.18fr;

      gap:44px;

      align-items:start;
    }
 
body.page-contact .contact-panel {
      padding:32px;

      border-radius:
      28px;

      background:
      var(--deep);

      color:#fff;

      position:sticky;

      top:108px;
    }
 
body.page-contact .contact-panel .eyebrow {
      color:
      var(--lime);
    }
 
body.page-contact .contact-panel p {
      color:
      rgba(255,255,255,.7);
    }
 
body.page-contact .contact-panel h2 {
      font-size:
      clamp(
        2rem,
        3vw,
        3.2rem
      );

      margin:
      16px 0;
    }
 
body.page-contact .contact-list {
      display:grid;

      gap:14px;

      margin-top:
      28px;
    }
 
body.page-contact .contact-row {
      display:grid;

      grid-template-columns:
      44px 1fr;

      gap:13px;

      align-items:start;

      padding:
      14px 0;

      border-top:
      1px solid
      rgba(255,255,255,.1);
    }
 
body.page-contact .contact-row:first-child {
      border-top:0;
    }
 
body.page-contact .icon {
      width:42px;
      height:42px;

      border-radius:
      14px;

      background:
      var(--lime);

      display:grid;

      place-items:center;

      color:
      var(--deep);

      font-weight:
      900;
    }
 
body.page-contact .contact-row strong {
      display:block;

      font-size:
      .92rem;
    }
 
body.page-contact .contact-row span:last-child,
body.page-contact .contact-row a {
      color:
      rgba(255,255,255,.7);

      font-size:
      .9rem;
    }
 
body.page-contact .contact-actions {
      display:flex;

      gap:10px;

      flex-wrap:wrap;

      margin-top:
      26px;
    }
 
body.page-contact .contact-actions .btn-light {
      color:
      var(--forest);
    }
 
/* =========================================
       FORM
       ========================================= */
 
body.page-contact .form-card {
      padding:
      34px;
    }
 
body.page-contact .form-head {
      margin-bottom:
      28px;
    }
 
body.page-contact .form-head h2 {
      font-size:
      clamp(
        2rem,
        3vw,
        3.2rem
      );

      margin-top:
      12px;
    }
 
body.page-contact .form-head p {
      margin-top:
      12px;
    }
 
body.page-contact form {
      display:grid;

      grid-template-columns:
      1fr 1fr;

      gap:16px;
    }
 
body.page-contact .field {
      display:grid;

      gap:7px;
    }
 
body.page-contact .field.full {
      grid-column:
      1 / -1;
    }
 
body.page-contact label {
      font-size:
      .84rem;

      font-weight:
      800;

      color:
      var(--ink);
    }
 
body.page-contact input,
body.page-contact textarea,
body.page-contact select {
      width:100%;

      padding:
      14px 15px;

      border-radius:
      15px;

      border:
      1px solid var(--line);

      background:#fff;

      color:
      var(--ink);

      outline:none;
    }
 
body.page-contact input:focus,
body.page-contact textarea:focus,
body.page-contact select:focus {
      border-color:
      var(--sage);

      box-shadow:
      0 0 0 4px
      rgba(125,168,108,.13);
    }
 
body.page-contact textarea {
      min-height:
      145px;

      resize:vertical;
    }
 
body.page-contact .checks {
      grid-column:
      1 / -1;

      display:grid;

      grid-template-columns:
      repeat(2,1fr);

      gap:10px;
    }
 
body.page-contact .check {
      display:flex;

      align-items:
      flex-start;

      gap:10px;

      padding:
      13px 14px;

      border:
      1px solid var(--line);

      border-radius:
      15px;

      background:#fff;
    }
 
body.page-contact .check input {
      width:auto;

      margin-top:
      4px;
    }
 
body.page-contact .check span {
      font-size:
      .9rem;

      color:
      var(--muted);
    }
 
body.page-contact .form-note {
      grid-column:
      1 / -1;

      font-size:
      .8rem;

      color:
      var(--muted);
    }
 
body.page-contact .form-status {
      grid-column:
      1 / -1;

      display:none;

      padding:
      14px 16px;

      border-radius:
      14px;

      font-size:
      .9rem;

      font-weight:
      700;
    }
 
body.page-contact .form-status.show {
      display:block;
    }
 
body.page-contact .form-status.sending {
      background:
      #f0f3ec;

      color:
      var(--forest);
    }
 
body.page-contact .form-status.success {
      background:
      #e8f4df;

      color:
      var(--forest);
    }
 
body.page-contact .form-status.error {
      background:
      #fff0ec;

      color:
      #8b3428;
    }
 
body.page-contact .form-status a {
      color:inherit;

      text-decoration:
      underline;

      font-weight:
      800;
    }
 
/* =========================================
       QUICK OPTIONS
       ========================================= */
 
body.page-contact .quick {
      background:
      var(--surface2);
    }
 
body.page-contact .quick-grid {
      display:grid;

      grid-template-columns:
      repeat(3,1fr);

      gap:18px;

      margin-top:
      30px;
    }
 
body.page-contact .quick-card {
      padding:
      28px;
    }
 
body.page-contact .quick-card h3 {
      font-size:
      1.28rem;

      margin:
      18px 0 8px;
    }
 
body.page-contact .quick-card a {
      display:inline-flex;

      margin-top:
      18px;

      font-weight:
      800;

      color:
      var(--forest);
    }
 
/* =========================================
       SITE VISIT
       ========================================= */
 
body.page-contact .visit-grid {
      display:grid;

      grid-template-columns:
      1fr 1fr;

      gap:52px;

      align-items:center;
    }
 
body.page-contact .visit-media {
      min-height:
      520px;

      border-radius:
      32px;

      position:relative;

      overflow:hidden;

      background:

      linear-gradient(
        180deg,
        rgba(13,44,29,.02),
        rgba(13,44,29,.26)
      ),

      var(--img-contact-site-visit)
      center/cover
      no-repeat;

      box-shadow:
      var(--shadow);
    }
 
body.page-contact .visit-note {
      position:absolute;

      left:22px;
      right:22px;
      bottom:22px;

      padding:22px;

      border-radius:
      22px;

      background:
      rgba(13,44,29,.76);

      color:#fff;

      backdrop-filter:
      blur(10px);
    }
 
body.page-contact .visit-note p {
      color:
      rgba(255,255,255,.72);

      margin-top:
      5px;
    }
 
body.page-contact .visit-steps {
      display:grid;

      gap:0;

      margin-top:
      28px;
    }
 
body.page-contact .visit-step {
      display:grid;

      grid-template-columns:
      52px 1fr;

      gap:16px;

      padding:
      21px 0;

      border-top:
      1px solid var(--line);
    }
 
body.page-contact .visit-step:last-child {
      border-bottom:
      1px solid var(--line);
    }
 
body.page-contact .num {
      width:42px;
      height:42px;

      border-radius:
      14px;

      background:
      var(--forest);

      color:#fff;

      display:grid;

      place-items:center;

      font-weight:
      800;
    }
 
body.page-contact .visit-step h3 {
      font-size:
      1.1rem;

      margin-bottom:
      5px;
    }
 
/* =========================================
       FAQ
       ========================================= */
 
body.page-contact .faq {
      display:grid;

      gap:12px;

      margin-top:
      30px;
    }
 
body.page-contact .faq-item {
      border:
      1px solid var(--line);

      border-radius:
      20px;

      background:
      var(--surface);

      overflow:hidden;
    }
 
body.page-contact .faq-q {
      width:100%;

      display:flex;

      justify-content:
      space-between;

      align-items:center;

      gap:20px;

      padding:
      21px 22px;

      border:0;

      background:
      transparent;

      text-align:left;

      color:
      var(--ink);

      font-weight:
      800;

      cursor:pointer;
    }
 
body.page-contact .faq-q span:last-child {
      font-size:
      1.4rem;

      transition:
      .2s;
    }
 
body.page-contact .faq-a {
      max-height:0;

      overflow:hidden;

      transition:
      max-height .3s ease;
    }
 
body.page-contact .faq-a p {
      padding:
      0 22px 22px;
    }
 
body.page-contact .faq-item.open .faq-a {
      max-height:
      220px;
    }
 
body.page-contact .faq-item.open .faq-q span:last-child {
      transform:
      rotate(45deg);
    }
 
/* =========================================
       CTA
       ========================================= */
 
body.page-contact .cta {
      padding:
      58px;

      border-radius:
      36px;

      background:
      linear-gradient(
        135deg,
        var(--lime),
        #edf7d8
      );

      display:grid;

      grid-template-columns:
      1fr auto;

      gap:34px;

      align-items:center;
    }
 
body.page-contact .cta h2 {
      font-size:
      clamp(
        2.2rem,
        4vw,
        4.1rem
      );
    }
 
body.page-contact .cta p {
      margin-top:
      15px;

      max-width:
      680px;

      color:
      #405b49;
    }
 
body.page-contact .cta-actions {
      display:flex;

      flex-direction:
      column;

      gap:10px;
    }
 
/* =========================================
       FOOTER
       ========================================= */
 
body.page-contact footer {
      background:
      #0f2418;

      color:#fff;

      padding:
      52px 0 24px;
    }
 
body.page-contact .footer-grid {
      display:grid;

      grid-template-columns:
      1.4fr .7fr .7fr;

      gap:40px;
    }
 
body.page-contact footer p,
body.page-contact footer a {
      color:
      rgba(255,255,255,.62);
    }
 
body.page-contact footer a {
      display:block;

      margin:
      8px 0;
    }
 
body.page-contact .footer-bottom {
      margin-top:
      30px;

      padding-top:
      20px;

      border-top:
      1px solid
      rgba(255,255,255,.1);

      display:flex;

      justify-content:
      space-between;

      gap:20px;

      color:
      rgba(255,255,255,.48);

      font-size:
      .85rem;
    }
 
/* =========================================
       TABLET
       ========================================= */
 
@media (max-width:980px) {
 
body.page-contact .links {
        display:none;
      }
 
body.page-contact .links.open {
        display:flex;

        position:fixed;

        top:104px;

        left:18px;
        right:18px;

        flex-direction:
        column;

        align-items:
        flex-start;

        padding:
        22px;

        background:
        var(--surface);

        border:
        1px solid var(--line);

        border-radius:
        22px;

        box-shadow:
        var(--shadow);
      }
 
body.page-contact .menu {
        display:block;
      }
 
body.page-contact .nav > .btn {
        display:none;
      }
 
body.page-contact .hero-grid,
body.page-contact .contact-grid,
body.page-contact .visit-grid {
        grid-template-columns:
        1fr;
      }
 
body.page-contact .hero-card {
        max-width:
        100%;

        justify-self:
        stretch;
      }
 
body.page-contact .contact-panel {
        position:relative;

        top:auto;
      }
 
body.page-contact .quick-grid {
        grid-template-columns:
        1fr;
      }
 
body.page-contact .cta {
        grid-template-columns:
        1fr;
      }
 
body.page-contact .cta-actions {
        flex-direction:
        row;

        flex-wrap:
        wrap;
      }
 
body.page-contact .footer-grid {
        grid-template-columns:
        1fr 1fr;
      }
 
}
 
/* =========================================
       MOBILE
       ========================================= */
 
@media (max-width:640px) {
 
body.page-contact .container {
        width:
        min(
          100% - 28px,
          1180px
        );
      }
 
body.page-contact section {
        padding:
        64px 0;
      }
 
body.page-contact .hero {
        padding:
        132px 0 58px;
      }
 
body.page-contact .display {
        font-size:
        clamp(
          3rem,
          14vw,
          4.8rem
        );
      }
 
body.page-contact form,
body.page-contact .checks {
        grid-template-columns:
        1fr;
      }
 
body.page-contact .field.full,
body.page-contact .checks,
body.page-contact .form-note,
body.page-contact .form-status {
        grid-column:auto;
      }
 
body.page-contact .visit-media {
        min-height:
        440px;
      }
 
body.page-contact .cta {
        padding:
        36px 26px;
      }
 
body.page-contact .footer-grid {
        grid-template-columns:
        1fr;
      }
 
body.page-contact .footer-bottom {
        flex-direction:
        column;
      }
 
body.page-contact .logo {
        width:220px;
        height:88px;

        flex-basis:
        220px;
      }
 
}
 


/* =====================================================
   PAGE: family-farming.php (body.page-family-farming)
   ===================================================== */
 
body.page-family-farming {

  --bg:#f5f3eb;
  --surface:#fffdf7;
  --surface2:#eef3e9;

  --ink:#13261b;
  --muted:#66736b;

  --forest:#123d27;
  --forest2:#1c5636;
  --deep:#0d2c1d;

  --lime:#d5edaa;
  --sage:#7da86c;
  --sun:#e5d392;

  --line:rgba(19,38,27,.12);

  --shadow:
  0 24px 80px rgba(18,61,39,.12);


  /* =========================================
     LOGO
     ========================================= */

  --img-farmnurse-logo:
  url("../images/farmnurse-logo-model.png");


  /* =========================================
     FAMILY FARMING IMAGES
     ========================================= */

  --img-family-hero:
  url("../images/familyplanninghead");

  --img-family-intro:
  url("../images/whatis");

  --img-family-benefits:
  url("../images/family");

}
 
/* =========================================
   BASIC
   ========================================= */
 
body.page-family-farming * {
  box-sizing:border-box;
}
 
html {
  scroll-behavior:smooth;
}
 
body.page-family-farming {

  margin:0;

  font-family:
  "DM Sans",
  system-ui,
  sans-serif;

  background:
  var(--bg);

  color:
  var(--ink);

  line-height:1.65;
}
 
body.page-family-farming a {
  text-decoration:none;
  color:inherit;
}
 
body.page-family-farming button,
body.page-family-farming input,
body.page-family-farming textarea,
body.page-family-farming select {
  font:inherit;
}
 
body.page-family-farming .container {

  width:min(
    1180px,
    calc(100% - 40px)
  );

  margin:auto;
}
 
body.page-family-farming section {

  padding:
  105px 0;
}
 
body.page-family-farming h1,
body.page-family-farming h2,
body.page-family-farming h3,
body.page-family-farming h4 {

  font-family:
  "Manrope",
  sans-serif;

  margin:0;

  letter-spacing:-.045em;

  line-height:1.04;
}
 
body.page-family-farming p {

  margin:0;

  color:
  var(--muted);
}
 
/* =========================================
   TYPOGRAPHY
   ========================================= */
 
body.page-family-farming .eyebrow {

  display:inline-flex;

  align-items:center;

  gap:10px;

  color:
  var(--forest2);

  font-size:.76rem;

  font-weight:800;

  letter-spacing:.14em;

  text-transform:uppercase;
}
 
body.page-family-farming .eyebrow::before {

  content:"";

  width:24px;

  height:1px;

  background:
  currentColor;
}
 
body.page-family-farming .display {

  font-size:
  clamp(
    3.2rem,
    7vw,
    7rem
  );
}
 
body.page-family-farming .title {

  font-size:
  clamp(
    2.3rem,
    4.5vw,
    4.7rem
  );
}
 
body.page-family-farming .lead {

  font-size:1.08rem;

  max-width:690px;
}
 
/* =========================================
   BUTTONS
   ========================================= */
 
body.page-family-farming .btn {

  display:inline-flex;

  align-items:center;

  justify-content:center;

  min-height:50px;

  padding:
  0 20px;

  border-radius:999px;

  font-weight:800;

  border:
  1px solid transparent;

  transition:.2s;
}
 
body.page-family-farming .btn:hover {

  transform:
  translateY(-2px);
}
 
body.page-family-farming .btn-primary {

  background:
  var(--forest);

  color:#fff;
}
 
body.page-family-farming .btn-light {

  background:#fff;

  border-color:
  var(--line);
}
 
body.page-family-farming .text-link {

  display:inline-flex;

  align-items:center;

  gap:8px;

  font-weight:800;

  color:
  var(--forest);
}
 
/* =========================================
   CARDS
   ========================================= */
 
body.page-family-farming .card {

  background:
  var(--surface);

  border:
  1px solid var(--line);

  border-radius:28px;

  box-shadow:
  0 14px 40px
  rgba(18,61,39,.07);
}
 
/* =========================================
   REVEAL
   ========================================= */
 
body.page-family-farming .reveal {

  opacity:0;

  transform:
  translateY(22px);

  transition:
  .7s ease;
}
 
body.page-family-farming .reveal.visible {

  opacity:1;

  transform:none;
}
 
/* =========================================
   HEADER
   ========================================= */
 
body.page-family-farming header {

  position:fixed;

  top:0;
  left:0;
  right:0;

  z-index:50;

  padding:
  10px 0;

  transition:.25s;
}
 
body.page-family-farming header.scrolled {

  padding:
  6px 0;

  background:
  rgba(245,243,235,.88);

  backdrop-filter:
  blur(18px);

  border-bottom:
  1px solid var(--line);
}
 
body.page-family-farming .nav {

  display:flex;

  align-items:center;

  justify-content:
  space-between;

  gap:24px;
}
 
body.page-family-farming .brand {

  display:flex;

  align-items:center;

  gap:12px;
}
 
/* =========================================
   LARGE IMAGE-ONLY LOGO
   ========================================= */
 
body.page-family-farming .logo {

  width:320px;

  height:128px;

  flex:
  0 0 320px;

  background-image:
  var(--img-farmnurse-logo);

  background-repeat:
  no-repeat;

  background-position:
  left center;

  background-size:
  contain;

  border:0;

  border-radius:0;

  box-shadow:none;

  overflow:visible;
}
 
body.page-family-farming .logo::before,
body.page-family-farming .logo::after {

  content:none;

  display:none;
}
 
/* =========================================
   NAVIGATION
   ========================================= */
 
body.page-family-farming .links {

  display:flex;

  gap:26px;

  align-items:center;
}
 
body.page-family-farming .links a {

  font-size:.92rem;

  font-weight:700;

  color:#314239;
}
 
body.page-family-farming .links a.active {

  color:
  var(--forest);

  position:relative;
}
 
body.page-family-farming .links a.active::after {

  content:"";

  position:absolute;

  left:0;
  right:0;

  bottom:-8px;

  height:2px;

  background:
  var(--forest);
}
 
body.page-family-farming .menu {

  display:none;

  border:
  1px solid var(--line);

  background:
  var(--surface);

  width:44px;

  height:44px;

  border-radius:14px;

  cursor:pointer;
}
 
/* =========================================
   HERO — REDUCED GAP
   ========================================= */
 
body.page-family-farming .hero {

  padding:
  170px 0 92px;

  background:

  radial-gradient(
    circle at 85% 10%,
    rgba(213,237,170,.95),
    transparent 27%
  ),

  radial-gradient(
    circle at 12% 88%,
    rgba(229,211,146,.19),
    transparent 26%
  ),

  linear-gradient(
    180deg,
    #fbfaf4,
    #f0eee4
  );

  border-bottom:
  1px solid var(--line);
}
 
body.page-family-farming .hero-grid {

  display:grid;

  grid-template-columns:
  1.02fr .98fr;

  gap:72px;

  align-items:center;
}
 
body.page-family-farming .hero .lead {

  margin-top:26px;
}
 
body.page-family-farming .hero-actions {

  display:flex;

  gap:12px;

  flex-wrap:wrap;

  margin-top:32px;
}
 
body.page-family-farming .hero-meta {

  display:flex;

  gap:16px;

  flex-wrap:wrap;

  margin-top:28px;
}
 
body.page-family-farming .hero-meta span {

  display:inline-flex;

  align-items:center;

  gap:7px;

  font-size:.88rem;

  font-weight:700;

  color:#365143;
}
 
body.page-family-farming .hero-meta i {

  width:22px;

  height:22px;

  border-radius:50%;

  display:grid;

  place-items:center;

  background:
  var(--lime);

  font-style:normal;

  font-size:.7rem;
}
 
body.page-family-farming .hero-media {

  min-height:590px;

  border-radius:36px;

  overflow:hidden;

  position:relative;

  background:

  linear-gradient(
    180deg,
    rgba(13,44,29,.02),
    rgba(13,44,29,.26)
  ),

  var(--img-family-hero)
  center/cover
  no-repeat;

  box-shadow:
  var(--shadow);
}
 
body.page-family-farming .hero-card {

  position:absolute;

  left:24px;
  right:24px;
  bottom:24px;

  padding:22px;

  border-radius:22px;

  color:#fff;

  background:
  rgba(13,44,29,.74);

  backdrop-filter:
  blur(12px);

  border:
  1px solid rgba(255,255,255,.16);
}
 
body.page-family-farming .hero-card strong {

  display:block;

  font-family:
  "Manrope",
  sans-serif;

  font-size:1.2rem;
}
 
body.page-family-farming .hero-card p {

  color:
  rgba(255,255,255,.73);

  margin-top:5px;
}
 
body.page-family-farming .hero-badge {

  position:absolute;

  top:28px;
  right:28px;

  width:128px;

  height:128px;

  border-radius:50%;

  background:
  var(--forest);

  color:#fff;

  display:grid;

  place-items:center;

  text-align:center;

  padding:18px;

  font-family:
  "Manrope",
  sans-serif;

  font-weight:800;

  transform:
  rotate(6deg);
}
 
body.page-family-farming .hero-badge small {

  display:block;

  color:
  var(--lime);

  font-size:.62rem;

  letter-spacing:.1em;

  text-transform:uppercase;

  margin-top:5px;
}
 
/* =========================================
   INTRODUCTION
   ========================================= */
 
body.page-family-farming .intro-grid {

  display:grid;

  grid-template-columns:
  .92fr 1.08fr;

  gap:76px;

  align-items:center;
}
 
body.page-family-farming .intro-media {

  min-height:520px;

  border-radius:32px;

  position:relative;

  overflow:hidden;

  background:
  var(--img-family-intro)
  center/cover
  no-repeat;

  box-shadow:
  var(--shadow);
}
 
body.page-family-farming .intro-note {

  position:absolute;

  left:22px;
  right:22px;
  bottom:22px;

  padding:22px;

  border-radius:22px;

  background:
  rgba(255,255,255,.9);

  backdrop-filter:
  blur(10px);
}
 
body.page-family-farming .intro-note strong {

  font-family:
  "Manrope",
  sans-serif;

  display:block;

  font-size:1.12rem;
}
 
body.page-family-farming .intro-note p {

  margin-top:5px;
}
 
body.page-family-farming .intro-copy h2 {

  margin:
  16px 0 24px;
}
 
/* =========================================
   FEATURES
   ========================================= */
 
body.page-family-farming .feature-list {

  display:grid;

  gap:18px;

  margin-top:28px;
}
 
body.page-family-farming .feature {

  display:grid;

  grid-template-columns:
  46px 1fr;

  gap:14px;

  align-items:start;
}
 
body.page-family-farming .icon {

  width:44px;

  height:44px;

  border-radius:14px;

  background:
  var(--lime);

  display:grid;

  place-items:center;

  font-weight:900;

  color:
  var(--forest);
}
 
body.page-family-farming .feature strong {

  display:block;

  margin-bottom:4px;
}
 
/* =========================================
   INCLUSIONS
   ========================================= */
 
body.page-family-farming .inclusions {

  background:
  var(--surface2);
}
 
body.page-family-farming .inclusions-head {

  max-width:800px;
}
 
body.page-family-farming .inclusion-grid {

  display:grid;

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

  gap:16px;

  margin-top:40px;
}
 
body.page-family-farming .inclusion {

  padding:26px;

  min-height:230px;
}
 
body.page-family-farming .inclusion h3 {

  font-size:1.2rem;

  margin:
  20px 0 8px;
}
 
body.page-family-farming .inclusion p {

  font-size:.94rem;
}
 
/* =========================================
   PACKAGES
   ========================================= */
 
body.page-family-farming .package-grid {

  display:grid;

  grid-template-columns:
  repeat(3,1fr);

  gap:18px;

  margin-top:42px;
}
 
body.page-family-farming .package {

  padding:30px;

  position:relative;

  overflow:hidden;
}
 
body.page-family-farming .package.featured {

  background:
  var(--forest);

  color:#fff;
}
 
body.page-family-farming .package.featured p,
body.page-family-farming .package.featured li {

  color:
  rgba(255,255,255,.72);
}
 
body.page-family-farming .package-label {

  display:inline-flex;

  padding:
  7px 10px;

  border:
  1px solid var(--line);

  border-radius:999px;

  font-size:.73rem;

  font-weight:900;

  text-transform:uppercase;

  letter-spacing:.08em;
}
 
body.page-family-farming .package.featured .package-label {

  border-color:
  rgba(255,255,255,.2);

  color:
  var(--lime);
}
 
body.page-family-farming .package h3 {

  font-size:1.45rem;

  margin:
  18px 0 8px;
}
 
body.page-family-farming .package .range {

  display:block;

  font-family:
  "Manrope",
  sans-serif;

  font-size:2.2rem;

  font-weight:800;

  letter-spacing:-.04em;

  margin:
  22px 0 6px;
}
 
body.page-family-farming .package small {

  color:
  var(--muted);
}
 
body.page-family-farming .package.featured small {

  color:
  rgba(255,255,255,.6);
}
 
body.page-family-farming .package ul {

  list-style:none;

  padding:0;

  margin:
  24px 0 0;

  display:grid;

  gap:11px;
}
 
body.page-family-farming .package li {

  display:flex;

  gap:9px;

  color:
  var(--muted);

  font-size:.93rem;
}
 
body.page-family-farming .package li::before {

  content:"✓";

  font-weight:900;

  color:
  var(--sage);
}
 
body.page-family-farming .package.featured li::before {

  color:
  var(--lime);
}
 
body.page-family-farming .package .btn {

  margin-top:26px;
}
 
/* =========================================
   HOW IT WORKS
   ========================================= */
 
body.page-family-farming .how {

  background:
  var(--deep);

  color:#fff;

  position:relative;

  overflow:hidden;
}
 
body.page-family-farming .how::after {

  content:"";

  position:absolute;

  width:430px;

  height:430px;

  border-radius:50%;

  border:
  1px solid rgba(213,237,170,.14);

  right:-110px;

  top:-120px;
}
 
body.page-family-farming .how .eyebrow {

  color:
  var(--lime);
}
 
body.page-family-farming .how p {

  color:
  rgba(255,255,255,.68);
}
 
body.page-family-farming .steps {

  display:grid;

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

  gap:14px;

  margin-top:42px;
}
 
body.page-family-farming .step {

  padding:26px;

  border:
  1px solid rgba(255,255,255,.12);

  border-radius:22px;

  background:
  rgba(255,255,255,.04);
}
 
body.page-family-farming .step span {

  font-size:.75rem;

  color:
  var(--lime);

  font-weight:900;

  letter-spacing:.1em;
}
 
body.page-family-farming .step h3 {

  font-size:1.2rem;

  margin:
  18px 0 8px;
}
 
/* =========================================
   BENEFITS
   ========================================= */
 
body.page-family-farming .benefit-grid {

  display:grid;

  grid-template-columns:
  1fr 1fr;

  gap:72px;

  align-items:center;
}
 
body.page-family-farming .benefit-media {

  min-height:560px;

  border-radius:32px;

  background:
  var(--img-family-benefits)
  center/cover
  no-repeat;

  box-shadow:
  var(--shadow);
}
 
body.page-family-farming .benefits {

  display:grid;

  gap:0;

  margin-top:26px;
}
 
body.page-family-farming .benefit {

  padding:
  21px 0;

  border-top:
  1px solid var(--line);

  display:grid;

  grid-template-columns:
  48px 1fr;

  gap:14px;
}
 
body.page-family-farming .benefit:last-child {

  border-bottom:
  1px solid var(--line);
}
 
body.page-family-farming .benefit h3 {

  font-size:1.1rem;

  margin-bottom:5px;
}
 
/* =========================================
   FAQ
   ========================================= */
 
body.page-family-farming .faq {

  display:grid;

  gap:12px;

  margin-top:38px;
}
 
body.page-family-farming .faq-item {

  border:
  1px solid var(--line);

  border-radius:20px;

  background:
  var(--surface);

  overflow:hidden;
}
 
body.page-family-farming .faq-q {

  width:100%;

  display:flex;

  justify-content:
  space-between;

  align-items:center;

  gap:20px;

  padding:
  21px 22px;

  border:0;

  background:
  transparent;

  text-align:left;

  color:
  var(--ink);

  font-weight:800;

  cursor:pointer;
}
 
body.page-family-farming .faq-q span:last-child {

  font-size:1.4rem;

  transition:.2s;
}
 
body.page-family-farming .faq-a {

  max-height:0;

  overflow:hidden;

  transition:
  max-height .3s ease;
}
 
body.page-family-farming .faq-a p {

  padding:
  0 22px 22px;
}
 
body.page-family-farming .faq-item.open .faq-a {

  max-height:230px;
}
 
body.page-family-farming .faq-item.open
.faq-q span:last-child {

  transform:
  rotate(45deg);
}
 
/* =========================================
   CTA
   ========================================= */
 
body.page-family-farming .cta {

  padding:58px;

  border-radius:36px;

  background:

  linear-gradient(
    135deg,
    var(--lime),
    #edf7d8
  );

  display:grid;

  grid-template-columns:
  1fr auto;

  gap:34px;

  align-items:center;
}
 
body.page-family-farming .cta h2 {

  font-size:
  clamp(
    2.2rem,
    4vw,
    4.1rem
  );
}
 
body.page-family-farming .cta p {

  margin-top:15px;

  max-width:680px;

  color:#405b49;
}
 
body.page-family-farming .cta-actions {

  display:flex;

  flex-direction:column;

  gap:10px;
}
 
/* =========================================
   FOOTER
   ========================================= */
 
body.page-family-farming footer {

  background:#0f2418;

  color:#fff;

  padding:
  64px 0 28px;
}
 
body.page-family-farming .footer-grid {

  display:grid;

  grid-template-columns:
  1.4fr .7fr .7fr;

  gap:40px;
}
 
body.page-family-farming footer p,
body.page-family-farming footer a {

  color:
  rgba(255,255,255,.62);
}
 
body.page-family-farming footer a {

  display:block;

  margin:
  8px 0;
}
 
body.page-family-farming .footer-bottom {

  margin-top:40px;

  padding-top:20px;

  border-top:
  1px solid rgba(255,255,255,.1);

  display:flex;

  justify-content:
  space-between;

  gap:20px;

  color:
  rgba(255,255,255,.48);

  font-size:.85rem;
}
 
/* =========================================
   MEDIUM NAV
   ========================================= */
 
@media (max-width:1120px) and (min-width:981px) {
 
body.page-family-farming .logo {

    width:270px;

    height:108px;

    flex-basis:270px;
  }
 
body.page-family-farming .links {

    gap:18px;
  }
 
body.page-family-farming .links a {

    font-size:.86rem;
  }
 
body.page-family-farming .nav {

    gap:16px;
  }
 
}
 
/* =========================================
   TABLET
   ========================================= */
 
@media (max-width:980px) {
 
body.page-family-farming .links {

    display:none;
  }
 
body.page-family-farming .links.open {

    display:flex;

    position:fixed;

    top:104px;

    left:18px;
    right:18px;

    flex-direction:column;

    align-items:flex-start;

    padding:22px;

    background:
    var(--surface);

    border:
    1px solid var(--line);

    border-radius:22px;

    box-shadow:
    var(--shadow);
  }
 
body.page-family-farming .menu {

    display:block;
  }
 
body.page-family-farming .nav > .btn {

    display:none;
  }
 
body.page-family-farming .hero-grid,
body.page-family-farming .intro-grid,
body.page-family-farming .benefit-grid {

    grid-template-columns:
    1fr;
  }
 
body.page-family-farming .inclusion-grid {

    grid-template-columns:
    repeat(2,1fr);
  }
 
body.page-family-farming .package-grid {

    grid-template-columns:
    1fr;
  }
 
body.page-family-farming .steps {

    grid-template-columns:
    repeat(2,1fr);
  }
 
body.page-family-farming .cta {

    grid-template-columns:
    1fr;
  }
 
body.page-family-farming .cta-actions {

    flex-direction:row;

    flex-wrap:wrap;
  }
 
body.page-family-farming .footer-grid {

    grid-template-columns:
    1fr 1fr;
  }
 
}
 
/* =========================================
   MOBILE
   ========================================= */
 
@media (max-width:640px) {
 
body.page-family-farming .container {

    width:min(
      100% - 28px,
      1180px
    );
  }
 
body.page-family-farming section {

    padding:
    76px 0;
  }
 
body.page-family-farming .hero {

    padding:
    150px 0 70px;
  }
 
body.page-family-farming .display {

    font-size:
    clamp(
      3rem,
      14vw,
      4.8rem
    );
  }
 
body.page-family-farming .hero-media,
body.page-family-farming .intro-media,
body.page-family-farming .benefit-media {

    min-height:440px;
  }
 
body.page-family-farming .inclusion-grid,
body.page-family-farming .steps {

    grid-template-columns:
    1fr;
  }
 
body.page-family-farming .cta {

    padding:
    36px 26px;
  }
 
body.page-family-farming .footer-grid {

    grid-template-columns:
    1fr;
  }
 
body.page-family-farming .footer-bottom {

    flex-direction:column;
  }
 
body.page-family-farming .logo {

    width:220px;

    height:88px;

    flex-basis:220px;
  }
 
}
 


/* =====================================================
   PAGE: family-farming-projects.php (body.page-family-projects)
   ===================================================== */
 
body.page-family-projects {
  --bg:#f5f3eb;
  --surface:#fffdf7;
  --surface2:#eef3e9;
  --ink:#13261b;
  --muted:#66736b;
  --forest:#123d27;
  --forest2:#1c5636;
  --deep:#0d2c1d;
  --lime:#d5edaa;
  --line:rgba(19,38,27,.12);
  --shadow:0 24px 80px rgba(18,61,39,.12);
  --img-farmnurse-logo:url("../images/farmnurse-logo-model.png");
}
 
body.page-family-projects * {box-sizing:border-box}
 
html {scroll-behavior:smooth}
 
body.page-family-projects {
  margin:0;
  font-family:"DM Sans",system-ui,sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.65;
}
 
body.page-family-projects a {text-decoration:none;color:inherit}
 
body.page-family-projects img,
body.page-family-projects video,
body.page-family-projects iframe {display:block;width:100%}
 
body.page-family-projects button {font:inherit;cursor:pointer}
 
body.page-family-projects .container {
  width:min(1180px,calc(100% - 40px));
  margin:auto;
}
 
body.page-family-projects h1,
body.page-family-projects h2,
body.page-family-projects h3 {
  margin:0;
  font-family:"Manrope",sans-serif;
  line-height:1.04;
  letter-spacing:-.045em;
}
 
body.page-family-projects p {
  margin:0;
  color:var(--muted);
}
 
body.page-family-projects .eyebrow {
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--forest2);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
 
body.page-family-projects .eyebrow::before {
  content:"";
  width:24px;
  height:1px;
  background:currentColor;
}
 
body.page-family-projects .display {
  font-size:clamp(3.2rem,6.5vw,6.6rem);
}
 
body.page-family-projects .btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 20px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:800;
  transition:.2s ease;
}
 
body.page-family-projects .btn:hover {transform:translateY(-2px)}
 
body.page-family-projects .btn-primary {background:var(--forest);color:#fff}
 
body.page-family-projects .btn-light {background:var(--bg);border-color:var(--line)}
 
body.page-family-projects header {
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:50;
  padding:10px 0;
  transition:.25s;
}
 
body.page-family-projects header.scrolled {
  padding:6px 0;
  background:rgba(245,243,235,.9);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}
 
body.page-family-projects .nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
 
body.page-family-projects .brand {
  display:flex;
  align-items:center;
}
 
body.page-family-projects .logo {
  width:320px;
  height:128px;
  flex:0 0 320px;
  background:var(--img-farmnurse-logo) left center/contain no-repeat;
}
 
body.page-family-projects .links {
  display:flex;
  align-items:center;
  gap:26px;
}
 
body.page-family-projects .links a {
  color:#314239;
  font-size:.92rem;
  font-weight:700;
}
 
body.page-family-projects .links a.active {
  color:var(--forest);
  position:relative;
}
 
body.page-family-projects .links a.active::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-8px;
  height:2px;
  background:var(--forest);
}
 
body.page-family-projects .menu {
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface);
}
 
/* HERO — same visual language as previous page */
 
body.page-family-projects .hero {
  padding:150px 0 72px;
  background:
    radial-gradient(circle at 84% 8%,rgba(213,237,170,.9),transparent 28%),
    linear-gradient(180deg,#fbfaf4,#f0eee4);
  border-bottom:1px solid var(--line);
}
 
body.page-family-projects .hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:44px;
  align-items:center;
}
 
body.page-family-projects .hero .lead {
  margin-top:24px;
  max-width:680px;
  font-size:1.08rem;
}
 
body.page-family-projects .hero-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}
 
body.page-family-projects .hero-proof {
  width:100%;
  max-width:430px;
  justify-self:end;
  padding:28px;
  border:1px solid var(--line);
  border-radius:28px;
  background:rgba(255,255,255,.72);
  box-shadow:0 14px 40px rgba(18,61,39,.06);
}
 
body.page-family-projects .hero-proof strong {
  display:block;
  font-family:"Manrope",sans-serif;
  font-size:1.3rem;
  margin-bottom:9px;
}
 
body.page-family-projects .hero-proof span {
  display:inline-block;
  margin-top:18px;
  padding:7px 11px;
  border-radius:999px;
  background:var(--lime);
  color:var(--forest);
  font-size:.76rem;
  font-weight:800;
}
 
/* SHOWCASE MODEL */
 
body.page-family-projects .showcase {
  padding:72px 0 92px;
  background:#f5f3eb !important;
}
 
body.page-family-projects .page-heading {
  margin-bottom:34px;
}
 
body.page-family-projects .page-heading h2 {
  margin-top:14px;
  font-size:clamp(2.2rem,4.4vw,4.6rem);
  color:var(--forest);
}
 
body.page-family-projects .project-section {
  margin-top:44px;
}
 
body.page-family-projects .project-section:first-of-type {
  margin-top:0;
}
 
body.page-family-projects .project-title {
  margin:0 0 18px;
  font-size:clamp(1.45rem,2.7vw,2rem);
  font-weight:500;
  letter-spacing:-.02em;
  color:#0b7a38;
}
 
body.page-family-projects .media-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px 32px;
}
 
body.page-family-projects .media-card {
  margin:0;
}
 
body.page-family-projects .media {
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#f1f4f1;
  box-shadow:8px 8px 0 rgba(28,47,34,.12);
  border:1px solid #e3e8e4;
}
 
body.page-family-projects .media img,
body.page-family-projects .media video,
body.page-family-projects .media iframe {
  width:100%;
  height:100%;
  object-fit:cover;
  border:0;
}
 
body.page-family-projects .edit-note {
  margin-top:52px;
  padding:18px 20px;
  border:1px dashed #b9c7bd;
  background:#fafcf9;
  color:#607067;
  font-size:.92rem;
}
 
body.page-family-projects .edit-note code {
  color:#1f5535;
}
 
/* FOOTER — same fuller footer as previous page */
 
body.page-family-projects footer {
  background:#0f2418;
  color:#fff;
  padding:52px 0 24px;
}
 
body.page-family-projects .footer-grid {
  display:grid;
  grid-template-columns:1.4fr .7fr .7fr;
  gap:40px;
}
 
body.page-family-projects footer p,
body.page-family-projects footer a {
  color:rgba(255,255,255,.62);
}
 
body.page-family-projects footer a {
  display:block;
  margin:8px 0;
}
 
body.page-family-projects .footer-bottom {
  margin-top:30px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.1);
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:rgba(255,255,255,.48);
  font-size:.85rem;
}
 
@media (max-width:1120px) and (min-width:981px) {
 
body.page-family-projects .logo {
    width:270px;
    height:108px;
    flex-basis:270px;
  }
 
body.page-family-projects .links {gap:18px}
 
body.page-family-projects .links a {font-size:.86rem}
 
body.page-family-projects .nav {gap:16px}
 
}
 
@media (max-width:980px) {
 
body.page-family-projects .links {display:none}
 
body.page-family-projects .links.open {
    display:flex;
    position:fixed;
    top:104px;
    left:18px;
    right:18px;
    flex-direction:column;
    align-items:flex-start;
    padding:22px;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:22px;
    box-shadow:var(--shadow);
  }
 
body.page-family-projects .menu {display:block}
 
body.page-family-projects .nav>.btn {display:none}
 
body.page-family-projects .hero-grid {
    grid-template-columns:1fr;
  }
 
body.page-family-projects .hero-proof {
    max-width:100%;
    justify-self:stretch;
  }
 
body.page-family-projects .media-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
 
body.page-family-projects .footer-grid {
    grid-template-columns:1fr 1fr;
  }
 
}
 
@media (max-width:640px) {
 
body.page-family-projects .container {
    width:min(100% - 28px,1180px);
  }
 
body.page-family-projects .hero {
    padding:132px 0 58px;
  }
 
body.page-family-projects .display {
    font-size:clamp(3rem,14vw,5rem);
  }
 
body.page-family-projects .showcase {
    padding:60px 0 74px;
  }
 
body.page-family-projects .media-grid {
    grid-template-columns:1fr;
    gap:22px;
  }
 
body.page-family-projects .media {
    aspect-ratio:4/3;
  }
 
body.page-family-projects .footer-grid {
    grid-template-columns:1fr;
  }
 
body.page-family-projects .footer-bottom {
    flex-direction:column;
  }
 
body.page-family-projects .logo {
    width:220px;
    height:88px;
    flex-basis:220px;
  }
 
}
 


/* =====================================================
   PAGE: ongoing-care-projects.php (body.page-ongoing-care)
   ===================================================== */
 
body.page-ongoing-care {
  --bg:#f5f3eb;
  --surface:#fffdf7;
  --surface2:#eef3e9;
  --ink:#13261b;
  --muted:#66736b;
  --forest:#123d27;
  --forest2:#1c5636;
  --deep:#0d2c1d;
  --lime:#d5edaa;
  --line:rgba(19,38,27,.12);
  --shadow:0 24px 80px rgba(18,61,39,.12);
  --img-farmnurse-logo:url("../images/farmnurse-logo-model.png");
}
 
body.page-ongoing-care * {box-sizing:border-box}
 
html {scroll-behavior:smooth}
 
body.page-ongoing-care {
  margin:0;
  font-family:"DM Sans",system-ui,sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.65;
}
 
body.page-ongoing-care a {text-decoration:none;color:inherit}
 
body.page-ongoing-care img,
body.page-ongoing-care video,
body.page-ongoing-care iframe {display:block;width:100%}
 
body.page-ongoing-care button {font:inherit;cursor:pointer}
 
body.page-ongoing-care .container {
  width:min(1180px,calc(100% - 40px));
  margin:auto;
}
 
body.page-ongoing-care h1,
body.page-ongoing-care h2,
body.page-ongoing-care h3 {
  margin:0;
  font-family:"Manrope",sans-serif;
  line-height:1.04;
  letter-spacing:-.045em;
}
 
body.page-ongoing-care p {
  margin:0;
  color:var(--muted);
}
 
body.page-ongoing-care .eyebrow {
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--forest2);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
 
body.page-ongoing-care .eyebrow::before {
  content:"";
  width:24px;
  height:1px;
  background:currentColor;
}
 
body.page-ongoing-care .display {
  font-size:clamp(3.2rem,6.5vw,6.6rem);
}
 
body.page-ongoing-care .btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 20px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:800;
  transition:.2s ease;
}
 
body.page-ongoing-care .btn:hover {transform:translateY(-2px)}
 
body.page-ongoing-care .btn-primary {background:var(--forest);color:#fff}
 
body.page-ongoing-care .btn-light {background:#fff;border-color:var(--line)}
 
body.page-ongoing-care header {
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:50;
  padding:10px 0;
  transition:.25s;
}
 
body.page-ongoing-care header.scrolled {
  padding:6px 0;
  background:rgba(245,243,235,.9);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}
 
body.page-ongoing-care .nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
 
body.page-ongoing-care .brand {
  display:flex;
  align-items:center;
}
 
body.page-ongoing-care .logo {
  width:320px;
  height:128px;
  flex:0 0 320px;
  background:var(--img-farmnurse-logo) left center/contain no-repeat;
}
 
body.page-ongoing-care .links {
  display:flex;
  align-items:center;
  gap:26px;
}
 
body.page-ongoing-care .links a {
  color:#314239;
  font-size:.92rem;
  font-weight:700;
}
 
body.page-ongoing-care .links a.active {
  color:var(--forest);
  position:relative;
}
 
body.page-ongoing-care .links a.active::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-8px;
  height:2px;
  background:var(--forest);
}
 
body.page-ongoing-care .menu {
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface);
}
 
/* HERO — same visual language as previous page */
 
body.page-ongoing-care .hero {
  padding:150px 0 72px;
  background:
    radial-gradient(circle at 84% 8%,rgba(213,237,170,.9),transparent 28%),
    linear-gradient(180deg,#fbfaf4,#f0eee4);
  border-bottom:1px solid var(--line);
}
 
body.page-ongoing-care .hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:44px;
  align-items:center;
}
 
body.page-ongoing-care .hero .lead {
  margin-top:24px;
  max-width:680px;
  font-size:1.08rem;
}
 
body.page-ongoing-care .hero-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}
 
body.page-ongoing-care .hero-proof {
  width:100%;
  max-width:430px;
  justify-self:end;
  padding:28px;
  border:1px solid var(--line);
  border-radius:28px;
  background:rgba(255,255,255,.72);
  box-shadow:0 14px 40px rgba(18,61,39,.06);
}
 
body.page-ongoing-care .hero-proof strong {
  display:block;
  font-family:"Manrope",sans-serif;
  font-size:1.3rem;
  margin-bottom:9px;
}
 
body.page-ongoing-care .hero-proof span {
  display:inline-block;
  margin-top:18px;
  padding:7px 11px;
  border-radius:999px;
  background:var(--lime);
  color:var(--forest);
  font-size:.76rem;
  font-weight:800;
}
 
body.page-ongoing-care main {
  background:#f5f3eb;
}
 
/* SHOWCASE MODEL */
 
body.page-ongoing-care .showcase {
  padding:72px 0 92px;
  background:#f5f3eb !important;
}
 
body.page-ongoing-care .page-heading {
  margin-bottom:34px;
}
 
body.page-ongoing-care .page-heading h2 {
  margin-top:14px;
  font-size:clamp(2.2rem,4.4vw,4.6rem);
  color:var(--forest);
}
 
body.page-ongoing-care .project-section {
  margin-top:44px;
}
 
body.page-ongoing-care .project-section:first-of-type {
  margin-top:0;
}
 
body.page-ongoing-care .project-title {
  margin:0 0 18px;
  font-size:clamp(1.45rem,2.7vw,2rem);
  font-weight:500;
  letter-spacing:-.02em;
  color:#0b7a38;
}
 
body.page-ongoing-care .media-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px 32px;
}
 
body.page-ongoing-care .media-card {
  margin:0;
}
 
body.page-ongoing-care .media {
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#f1f4f1;
  box-shadow:8px 8px 0 rgba(28,47,34,.12);
  border:1px solid #e3e8e4;
}
 
body.page-ongoing-care .media img,
body.page-ongoing-care .media video,
body.page-ongoing-care .media iframe {
  width:100%;
  height:100%;
  object-fit:cover;
  border:0;
}
 
body.page-ongoing-care .edit-note {
  margin-top:52px;
  padding:18px 20px;
  border:1px dashed #b9c7bd;
  background:#fafcf9;
  color:#607067;
  font-size:.92rem;
}
 
body.page-ongoing-care .edit-note code {
  color:#1f5535;
}
 
/* FOOTER — same fuller footer as previous page */
 
body.page-ongoing-care footer {
  background:#0f2418;
  color:#fff;
  padding:52px 0 24px;
}
 
body.page-ongoing-care .footer-grid {
  display:grid;
  grid-template-columns:1.4fr .7fr .7fr;
  gap:40px;
}
 
body.page-ongoing-care footer p,
body.page-ongoing-care footer a {
  color:rgba(255,255,255,.62);
}
 
body.page-ongoing-care footer a {
  display:block;
  margin:8px 0;
}
 
body.page-ongoing-care .footer-bottom {
  margin-top:30px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.1);
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:rgba(255,255,255,.48);
  font-size:.85rem;
}
 
@media (max-width:1120px) and (min-width:981px) {
 
body.page-ongoing-care .logo {
    width:270px;
    height:108px;
    flex-basis:270px;
  }
 
body.page-ongoing-care .links {gap:18px}
 
body.page-ongoing-care .links a {font-size:.86rem}
 
body.page-ongoing-care .nav {gap:16px}
 
}
 
@media (max-width:980px) {
 
body.page-ongoing-care .links {display:none}
 
body.page-ongoing-care .links.open {
    display:flex;
    position:fixed;
    top:104px;
    left:18px;
    right:18px;
    flex-direction:column;
    align-items:flex-start;
    padding:22px;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:22px;
    box-shadow:var(--shadow);
  }
 
body.page-ongoing-care .menu {display:block}
 
body.page-ongoing-care .nav>.btn {display:none}
 
body.page-ongoing-care .hero-grid {
    grid-template-columns:1fr;
  }
 
body.page-ongoing-care .hero-proof {
    max-width:100%;
    justify-self:stretch;
  }
 
body.page-ongoing-care .media-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
 
body.page-ongoing-care .footer-grid {
    grid-template-columns:1fr 1fr;
  }
 
}
 
@media (max-width:640px) {
 
body.page-ongoing-care .container {
    width:min(100% - 28px,1180px);
  }
 
body.page-ongoing-care .hero {
    padding:132px 0 58px;
  }
 
body.page-ongoing-care .display {
    font-size:clamp(3rem,14vw,5rem);
  }
 
body.page-ongoing-care .showcase {
    padding:60px 0 74px;
  }
 
body.page-ongoing-care .media-grid {
    grid-template-columns:1fr;
    gap:22px;
  }
 
body.page-ongoing-care .media {
    aspect-ratio:4/3;
  }
 
body.page-ongoing-care .footer-grid {
    grid-template-columns:1fr;
  }
 
body.page-ongoing-care .footer-bottom {
    flex-direction:column;
  }
 
body.page-ongoing-care .logo {
    width:220px;
    height:88px;
    flex-basis:220px;
  }
 
}
 


/* =====================================================
   PAGE: institutional-projects.php (body.page-institutional-projects)
   ===================================================== */
 
body.page-institutional-projects {
  --bg:#f5f3eb;
  --surface:#fffdf7;
  --surface2:#eef3e9;
  --ink:#13261b;
  --muted:#66736b;
  --forest:#123d27;
  --forest2:#1c5636;
  --deep:#0d2c1d;
  --lime:#d5edaa;
  --line:rgba(19,38,27,.12);
  --shadow:0 24px 80px rgba(18,61,39,.12);
  --img-farmnurse-logo:url("../images/farmnurse-logo-model.png");
}
 
body.page-institutional-projects * {box-sizing:border-box}
 
html {scroll-behavior:smooth}
 
body.page-institutional-projects {
  margin:0;
  font-family:"DM Sans",system-ui,sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.65;
}
 
body.page-institutional-projects a {text-decoration:none;color:inherit}
 
body.page-institutional-projects img,
body.page-institutional-projects video,
body.page-institutional-projects iframe {display:block;width:100%}
 
body.page-institutional-projects button {font:inherit;cursor:pointer}
 
body.page-institutional-projects .container {
  width:min(1180px,calc(100% - 40px));
  margin:auto;
}
 
body.page-institutional-projects h1,
body.page-institutional-projects h2,
body.page-institutional-projects h3 {
  margin:0;
  font-family:"Manrope",sans-serif;
  line-height:1.04;
  letter-spacing:-.045em;
}
 
body.page-institutional-projects p {
  margin:0;
  color:var(--muted);
}
 
body.page-institutional-projects .eyebrow {
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--forest2);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
 
body.page-institutional-projects .eyebrow::before {
  content:"";
  width:24px;
  height:1px;
  background:currentColor;
}
 
body.page-institutional-projects .display {
  font-size:clamp(3.2rem,6.5vw,6.6rem);
}
 
body.page-institutional-projects .btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 20px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:800;
  transition:.2s ease;
}
 
body.page-institutional-projects .btn:hover {transform:translateY(-2px)}
 
body.page-institutional-projects .btn-primary {background:var(--forest);color:#fff}
 
body.page-institutional-projects .btn-light {background:#fff;border-color:var(--line)}
 
body.page-institutional-projects header {
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:50;
  padding:10px 0;
  transition:.25s;
}
 
body.page-institutional-projects header.scrolled {
  padding:6px 0;
  background:rgba(245,243,235,.9);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}
 
body.page-institutional-projects .nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
 
body.page-institutional-projects .brand {
  display:flex;
  align-items:center;
}
 
body.page-institutional-projects .logo {
  width:320px;
  height:128px;
  flex:0 0 320px;
  background:var(--img-farmnurse-logo) left center/contain no-repeat;
}
 
body.page-institutional-projects .links {
  display:flex;
  align-items:center;
  gap:26px;
}
 
body.page-institutional-projects .links a {
  color:#314239;
  font-size:.92rem;
  font-weight:700;
}
 
body.page-institutional-projects .links a.active {
  color:var(--forest);
  position:relative;
}
 
body.page-institutional-projects .links a.active::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-8px;
  height:2px;
  background:var(--forest);
}
 
body.page-institutional-projects .menu {
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface);
}
 
/* HERO — same visual language as previous page */
 
body.page-institutional-projects .hero {
  padding:150px 0 72px;
  background:
    radial-gradient(circle at 84% 8%,rgba(213,237,170,.9),transparent 28%),
    linear-gradient(180deg,#fbfaf4,#f0eee4);
  border-bottom:1px solid var(--line);
}
 
body.page-institutional-projects .hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:44px;
  align-items:center;
}
 
body.page-institutional-projects .hero .lead {
  margin-top:24px;
  max-width:680px;
  font-size:1.08rem;
}
 
body.page-institutional-projects .hero-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}
 
body.page-institutional-projects .hero-proof {
  width:100%;
  max-width:430px;
  justify-self:end;
  padding:28px;
  border:1px solid var(--line);
  border-radius:28px;
  background:rgba(255,255,255,.72);
  box-shadow:0 14px 40px rgba(18,61,39,.06);
}
 
body.page-institutional-projects .hero-proof strong {
  display:block;
  font-family:"Manrope",sans-serif;
  font-size:1.3rem;
  margin-bottom:9px;
}
 
body.page-institutional-projects .hero-proof span {
  display:inline-block;
  margin-top:18px;
  padding:7px 11px;
  border-radius:999px;
  background:var(--lime);
  color:var(--forest);
  font-size:.76rem;
  font-weight:800;
}
 
body.page-institutional-projects main {
  background:#f5f3eb;
}
 
/* SHOWCASE MODEL */
 
body.page-institutional-projects .showcase {
  padding:72px 0 92px;
  background:#f5f3eb !important;
}
 
body.page-institutional-projects .page-heading {
  margin-bottom:34px;
}
 
body.page-institutional-projects .page-heading h2 {
  margin-top:14px;
  font-size:clamp(2.2rem,4.4vw,4.6rem);
  color:var(--forest);
}
 
body.page-institutional-projects .project-section {
  margin-top:44px;
}
 
body.page-institutional-projects .project-section:first-of-type {
  margin-top:0;
}
 
body.page-institutional-projects .project-title {
  margin:0 0 18px;
  font-size:clamp(1.45rem,2.7vw,2rem);
  font-weight:500;
  letter-spacing:-.02em;
  color:#0b7a38;
}
 
body.page-institutional-projects .media-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px 32px;
}
 
body.page-institutional-projects .media-card {
  margin:0;
}
 
body.page-institutional-projects .media {
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#f1f4f1;
  box-shadow:8px 8px 0 rgba(28,47,34,.12);
  border:1px solid #e3e8e4;
}
 
body.page-institutional-projects .media img,
body.page-institutional-projects .media video,
body.page-institutional-projects .media iframe {
  width:100%;
  height:100%;
  object-fit:cover;
  border:0;
}
 
body.page-institutional-projects .edit-note {
  margin-top:52px;
  padding:18px 20px;
  border:1px dashed #b9c7bd;
  background:#fafcf9;
  color:#607067;
  font-size:.92rem;
}
 
body.page-institutional-projects .edit-note code {
  color:#1f5535;
}
 
/* FOOTER — same fuller footer as previous page */
 
body.page-institutional-projects footer {
  background:#0f2418;
  color:#fff;
  padding:52px 0 24px;
}
 
body.page-institutional-projects .footer-grid {
  display:grid;
  grid-template-columns:1.4fr .7fr .7fr;
  gap:40px;
}
 
body.page-institutional-projects footer p,
body.page-institutional-projects footer a {
  color:rgba(255,255,255,.62);
}
 
body.page-institutional-projects footer a {
  display:block;
  margin:8px 0;
}
 
body.page-institutional-projects .footer-bottom {
  margin-top:30px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.1);
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:rgba(255,255,255,.48);
  font-size:.85rem;
}
 
@media (max-width:1120px) and (min-width:981px) {
 
body.page-institutional-projects .logo {
    width:270px;
    height:108px;
    flex-basis:270px;
  }
 
body.page-institutional-projects .links {gap:18px}
 
body.page-institutional-projects .links a {font-size:.86rem}
 
body.page-institutional-projects .nav {gap:16px}
 
}
 
@media (max-width:980px) {
 
body.page-institutional-projects .links {display:none}
 
body.page-institutional-projects .links.open {
    display:flex;
    position:fixed;
    top:104px;
    left:18px;
    right:18px;
    flex-direction:column;
    align-items:flex-start;
    padding:22px;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:22px;
    box-shadow:var(--shadow);
  }
 
body.page-institutional-projects .menu {display:block}
 
body.page-institutional-projects .nav>.btn {display:none}
 
body.page-institutional-projects .hero-grid {
    grid-template-columns:1fr;
  }
 
body.page-institutional-projects .hero-proof {
    max-width:100%;
    justify-self:stretch;
  }
 
body.page-institutional-projects .media-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
 
body.page-institutional-projects .footer-grid {
    grid-template-columns:1fr 1fr;
  }
 
}
 
@media (max-width:640px) {
 
body.page-institutional-projects .container {
    width:min(100% - 28px,1180px);
  }
 
body.page-institutional-projects .hero {
    padding:132px 0 58px;
  }
 
body.page-institutional-projects .display {
    font-size:clamp(3rem,14vw,5rem);
  }
 
body.page-institutional-projects .showcase {
    padding:60px 0 74px;
  }
 
body.page-institutional-projects .media-grid {
    grid-template-columns:1fr;
    gap:22px;
  }
 
body.page-institutional-projects .media {
    aspect-ratio:4/3;
  }
 
body.page-institutional-projects .footer-grid {
    grid-template-columns:1fr;
  }
 
body.page-institutional-projects .footer-bottom {
    flex-direction:column;
  }
 
body.page-institutional-projects .logo {
    width:220px;
    height:88px;
    flex-basis:220px;
  }
 
}
 


/* =====================================================
   PAGE: projects.php (body.page-projects)
   ===================================================== */
 
body.page-projects {
      --bg:#f5f3eb;
      --surface:#fffdf7;
      --surface2:#eef3e9;

      --ink:#13261b;
      --muted:#66736b;

      --forest:#123d27;
      --forest2:#1c5636;
      --deep:#0d2c1d;

      --lime:#d5edaa;
      --sage:#7da86c;

      --line:rgba(19,38,27,.12);
      --shadow:0 24px 80px rgba(18,61,39,.12);


      /* =====================================================
         LOGO
         ===================================================== */

      --img-farmnurse-logo:
      url("../images/farmnurse-logo-model.png");


      /* =====================================================
         PROJECT CARD IMAGES
         ADD YOUR IMAGE URLS HERE.

         Replace only the text inside url("...").

         EXAMPLE:
         --img-project-family:
         url("https://farmnurse.com/images/family-project.jpg");
         ===================================================== */

      /* 1. FAMILY FARMING PROJECT CARD IMAGE */
      --img-project-family:
      url("../images/familyy");

      /* 2. INSTITUTIONAL PROJECT CARD IMAGE */
      --img-project-institution:
      url("../images/insti");

      /* 3. FARM MAINTENANCE PROJECT CARD IMAGE */
      --img-project-maintenance:
      url("../images/farm");


      /* =====================================================
         TESTIMONIAL IMAGES
         ADD YOUR IMAGE URLS HERE.
         ===================================================== */

      --img-testimonial-jisha:
      url("PASTE_JISHA_TESTIMONIAL_IMAGE_URL_HERE");

      --img-testimonial-ramesan:
      url("PASTE_RAMESAN_TESTIMONIAL_IMAGE_URL_HERE");

      --img-testimonial-shiju:
      url("PASTE_SHIJU_TESTIMONIAL_IMAGE_URL_HERE");
    }
 
/* =====================================================
       GLOBAL
       ===================================================== */
 
body.page-projects * {
      box-sizing:border-box;
    }
 
html {
      scroll-behavior:smooth;
    }
 
body.page-projects {
      margin:0;
      font-family:"DM Sans",system-ui,sans-serif;
      background:var(--bg);
      color:var(--ink);
      line-height:1.65;
    }
 
body.page-projects a {
      text-decoration:none;
      color:inherit;
    }
 
body.page-projects button {
      font:inherit;
      cursor:pointer;
    }
 
body.page-projects .container {
      width:min(1180px,calc(100% - 40px));
      margin:auto;
    }
 
body.page-projects section {
      padding:88px 0;
    }
 
body.page-projects h1,
body.page-projects h2,
body.page-projects h3 {
      margin:0;
      font-family:"Manrope",sans-serif;
      line-height:1.03;
      letter-spacing:-.045em;
    }
 
body.page-projects p {
      margin:0;
      color:var(--muted);
    }
 
body.page-projects .eyebrow {
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--forest2);
      font-size:.76rem;
      font-weight:800;
      letter-spacing:.14em;
      text-transform:uppercase;
    }
 
body.page-projects .eyebrow::before {
      content:"";
      width:24px;
      height:1px;
      background:currentColor;
    }
 
body.page-projects .display {
      font-size:clamp(3.4rem,7.4vw,7.3rem);
    }
 
body.page-projects .title {
      font-size:clamp(2.35rem,4.8vw,4.8rem);
    }
 
body.page-projects .lead {
      max-width:700px;
      font-size:1.08rem;
    }
 
/* =====================================================
       BUTTONS
       ===================================================== */
 
body.page-projects .btn {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:50px;
      padding:0 20px;
      border-radius:999px;
      border:1px solid transparent;
      font-weight:800;
      transition:.2s ease;
    }
 
body.page-projects .btn:hover {
      transform:translateY(-2px);
    }
 
body.page-projects .btn-primary {
      background:var(--forest);
      color:#fff;
    }
 
body.page-projects .btn-light {
      background:#fff;
      border-color:var(--line);
    }
 
/* =====================================================
       REVEAL
       ===================================================== */
 
body.page-projects .reveal {
      opacity:0;
      transform:translateY(20px);
      transition:.65s ease;
    }
 
body.page-projects .reveal.visible {
      opacity:1;
      transform:none;
    }
 
/* =====================================================
       HEADER
       ===================================================== */
 
body.page-projects header {
      position:fixed;
      top:0;
      left:0;
      right:0;
      z-index:50;
      padding:10px 0;
      transition:.25s;
    }
 
body.page-projects header.scrolled {
      padding:6px 0;
      background:rgba(245,243,235,.9);
      backdrop-filter:blur(18px);
      border-bottom:1px solid var(--line);
    }
 
body.page-projects .nav {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
    }
 
body.page-projects .brand {
      display:flex;
      align-items:center;
    }
 
body.page-projects .logo {
      width:320px;
      height:128px;
      flex:0 0 320px;

      background-image:
      var(--img-farmnurse-logo);

      background-repeat:no-repeat;
      background-position:left center;
      background-size:contain;
    }
 
body.page-projects .links {
      display:flex;
      align-items:center;
      gap:26px;
    }
 
body.page-projects .links a {
      color:#314239;
      font-size:.92rem;
      font-weight:700;
    }
 
body.page-projects .links a.active {
      color:var(--forest);
      position:relative;
    }
 
body.page-projects .links a.active::after {
      content:"";
      position:absolute;
      left:0;
      right:0;
      bottom:-8px;
      height:2px;
      background:var(--forest);
    }
 
body.page-projects .menu {
      display:none;
      width:44px;
      height:44px;
      border:1px solid var(--line);
      border-radius:14px;
      background:var(--surface);
    }
 
/* =====================================================
       HERO
       ===================================================== */
 
body.page-projects .hero {
      padding:150px 0 72px;

      background:
        radial-gradient(
          circle at 84% 8%,
          rgba(213,237,170,.9),
          transparent 28%
        ),
        linear-gradient(
          180deg,
          #fbfaf4,
          #f0eee4
        );

      border-bottom:1px solid var(--line);
    }
 
body.page-projects .hero-grid {
      display:grid;

      grid-template-columns:
      minmax(0,1.15fr)
      minmax(320px,.85fr);

      gap:44px;
      align-items:center;
    }
 
body.page-projects .hero .lead {
      margin-top:24px;
    }
 
body.page-projects .hero-actions {
      display:flex;
      gap:12px;
      flex-wrap:wrap;
      margin-top:30px;
    }
 
body.page-projects .hero-proof {
      width:100%;
      max-width:430px;
      justify-self:end;
      align-self:center;
      padding:28px;

      border:
      1px solid var(--line);

      border-radius:28px;
      background:rgba(255,255,255,.72);

      box-shadow:
      0 14px 40px rgba(18,61,39,.06);
    }
 
body.page-projects .hero-proof strong {
      display:block;
      font-family:"Manrope",sans-serif;
      font-size:1.3rem;
      margin-bottom:9px;
    }
 
body.page-projects .hero-proof span {
      display:inline-block;
      margin-top:18px;
      padding:7px 11px;
      border-radius:999px;
      background:var(--lime);
      color:var(--forest);
      font-size:.76rem;
      font-weight:800;
    }
 
/* =====================================================
       PROJECT CARDS
       Entire card is clickable.
       ===================================================== */
 
body.page-projects .section-head {
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:28px;
      flex-wrap:wrap;
      margin-bottom:30px;
    }
 
body.page-projects .project-grid {
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:16px;
    }
 
body.page-projects .project-card {
      display:block;
      overflow:hidden;

      border:
      1px solid var(--line);

      border-radius:28px;
      background:var(--surface);
      color:inherit;
      cursor:pointer;
      transition:.25s;
    }
 
body.page-projects .project-card:hover {
      transform:translateY(-5px);
      box-shadow:var(--shadow);
    }
 
body.page-projects .project-card:focus-visible {
      outline:3px solid var(--lime);
      outline-offset:4px;
    }
 
body.page-projects .project-image {
      height:300px;
      background-size:cover;
      background-position:center;
      background-repeat:no-repeat;
    }
 
body.page-projects .project-image.family {
      background-image:
        linear-gradient(
          180deg,
          rgba(13,44,29,.02),
          rgba(13,44,29,.14)
        ),
        var(--img-project-family);
    }
 
body.page-projects .project-image.institution {
      background-image:
        linear-gradient(
          180deg,
          rgba(13,44,29,.02),
          rgba(13,44,29,.14)
        ),
        var(--img-project-institution);
    }
 
body.page-projects .project-image.maintenance {
      background-image:
        linear-gradient(
          180deg,
          rgba(13,44,29,.02),
          rgba(13,44,29,.14)
        ),
        var(--img-project-maintenance);
    }
 
body.page-projects .project-copy {
      padding:26px;
    }
 
body.page-projects .project-tag {
      display:inline-flex;
      padding:7px 10px;
      border-radius:999px;
      background:var(--surface2);
      color:var(--forest);
      font-size:.73rem;
      font-weight:800;
      text-transform:uppercase;
      letter-spacing:.08em;
    }
 
body.page-projects .project-copy h3 {
      margin:17px 0 9px;
      font-size:1.5rem;
    }
 
body.page-projects .project-link {
      display:inline-flex;
      margin-top:20px;
      color:var(--forest);
      font-weight:800;
    }
 
/* =====================================================
       TESTIMONIALS
       ===================================================== */
 
body.page-projects .testimonials {
      background:var(--deep);
      color:#fff;
      position:relative;
      overflow:hidden;
    }
 
body.page-projects .testimonials::after {
      content:"";
      position:absolute;
      width:500px;
      height:500px;
      right:-170px;
      top:-170px;

      border:
      1px solid rgba(213,237,170,.13);

      border-radius:50%;
    }
 
body.page-projects .testimonials .eyebrow {
      color:var(--lime);
    }
 
body.page-projects .testimonials p {
      color:rgba(255,255,255,.7);
    }
 
body.page-projects .testimonial-head {
      position:relative;
      z-index:1;
      max-width:820px;
      margin-bottom:30px;
    }
 
body.page-projects .testimonial-head .title {
      margin-top:15px;
    }
 
body.page-projects .testimonial-layout {
      position:relative;
      z-index:1;

      display:grid;

      grid-template-columns:
      1.15fr .85fr;

      gap:18px;
    }
 
body.page-projects .testimonial-feature {
      min-height:480px;
      padding:38px;
      border-radius:32px;

      background:
        linear-gradient(
          90deg,
          rgba(9,31,20,.96) 0%,
          rgba(9,31,20,.82) 46%,
          rgba(9,31,20,.25) 100%
        ),
        var(--img-testimonial-jisha)
        center/cover
        no-repeat;

      display:flex;
      flex-direction:column;
      justify-content:flex-end;

      border:
      1px solid rgba(255,255,255,.11);
    }
 
body.page-projects .quote-mark {
      font-family:"Manrope",sans-serif;
      font-size:4.8rem;
      line-height:.7;
      color:var(--lime);
    }
 
body.page-projects .testimonial-feature blockquote {
      margin:22px 0 28px;
      max-width:680px;

      font-family:
      "Manrope",
      sans-serif;

      font-size:
      clamp(
        1.65rem,
        3vw,
        2.8rem
      );

      line-height:1.18;
      letter-spacing:-.035em;
    }
 
body.page-projects .person strong {
      display:block;
      font-size:1rem;
    }
 
body.page-projects .person span {
      color:rgba(255,255,255,.62);
      font-size:.88rem;
    }
 
body.page-projects .testimonial-side {
      display:grid;
      grid-template-rows:1fr 1fr;
      gap:18px;
    }
 
body.page-projects .quote-card {
      padding:28px;
      border-radius:28px;

      border:
      1px solid rgba(255,255,255,.11);

      background:
      rgba(255,255,255,.05);

      display:grid;
      grid-template-columns:86px 1fr;
      gap:20px;
      align-items:start;
    }
 
body.page-projects .avatar {
      width:86px;
      height:86px;
      border-radius:22px;
      background-size:cover;
      background-position:center;
      background-repeat:no-repeat;
    }
 
body.page-projects .avatar.ramesan {
      background-image:
      var(--img-testimonial-ramesan);
    }
 
body.page-projects .avatar.shiju {
      background-image:
      var(--img-testimonial-shiju);
    }
 
body.page-projects .quote-card blockquote {
      margin:0 0 18px;
      color:#fff;
      font-family:"Manrope",sans-serif;
      font-size:1.15rem;
      line-height:1.4;
      letter-spacing:-.02em;
    }
 
body.page-projects .testimonial-label {
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-top:30px;
      color:var(--lime);
      font-size:.82rem;
      font-weight:800;
    }
 
body.page-projects .testimonial-label::before {
      content:"✓";
      width:24px;
      height:24px;
      border-radius:50%;
      background:var(--lime);
      color:var(--deep);
      display:grid;
      place-items:center;
    }
 
/* =====================================================
       PROJECT PROCESS
       ===================================================== */
 
body.page-projects .process {
      background:var(--surface2);
    }
 
body.page-projects .process-grid {
      display:grid;

      grid-template-columns:
      .8fr 1.2fr;

      gap:48px;
      align-items:start;
    }
 
body.page-projects .process-list {
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:14px;
    }
 
body.page-projects .process-card {
      padding:26px;
      border-radius:24px;
      background:var(--surface);

      border:
      1px solid var(--line);
    }
 
body.page-projects .process-card span {
      display:grid;
      place-items:center;
      width:44px;
      height:44px;
      border-radius:14px;
      background:var(--lime);
      color:var(--forest);
      font-weight:900;
    }
 
body.page-projects .process-card h3 {
      margin:18px 0 8px;
      font-size:1.18rem;
    }
 
/* =====================================================
       CTA
       ===================================================== */
 
body.page-projects .cta-wrap {
      padding-top:0;
    }
 
body.page-projects .cta {
      padding:48px;
      border-radius:36px;

      background:
      linear-gradient(
        135deg,
        var(--lime),
        #edf7d8
      );

      display:grid;

      grid-template-columns:
      1fr auto;

      gap:34px;
      align-items:center;
    }
 
body.page-projects .cta h2 {
      font-size:
      clamp(
        2.2rem,
        4vw,
        4.1rem
      );
    }
 
body.page-projects .cta p {
      margin-top:15px;
      max-width:660px;
      color:#405b49;
    }
 
body.page-projects .cta-actions {
      display:flex;
      flex-direction:column;
      gap:10px;
    }
 
/* =====================================================
       FOOTER
       ===================================================== */
 
body.page-projects footer {
      background:#0f2418;
      color:#fff;
      padding:52px 0 24px;
    }
 
body.page-projects .footer-grid {
      display:grid;
      grid-template-columns:1.4fr .7fr .7fr;
      gap:40px;
    }
 
body.page-projects footer p,
body.page-projects footer a {
      color:rgba(255,255,255,.62);
    }
 
body.page-projects footer a {
      display:block;
      margin:8px 0;
    }
 
body.page-projects .footer-bottom {
      margin-top:30px;
      padding-top:20px;

      border-top:
      1px solid rgba(255,255,255,.1);

      display:flex;
      justify-content:space-between;
      gap:20px;

      color:
      rgba(255,255,255,.48);

      font-size:.85rem;
    }
 
/* =====================================================
       MEDIUM
       ===================================================== */
 
@media (max-width:1120px) and (min-width:981px) {
 
body.page-projects .logo {
        width:270px;
        height:108px;
        flex-basis:270px;
      }
 
body.page-projects .links {
        gap:18px;
      }
 
body.page-projects .links a {
        font-size:.86rem;
      }
 
body.page-projects .nav {
        gap:16px;
      }
 
}
 
/* =====================================================
       TABLET
       ===================================================== */
 
@media (max-width:980px) {
 
body.page-projects .links {
        display:none;
      }
 
body.page-projects .links.open {
        display:flex;

        position:fixed;
        top:104px;
        left:18px;
        right:18px;

        flex-direction:column;
        align-items:flex-start;

        padding:22px;

        background:var(--surface);

        border:
        1px solid var(--line);

        border-radius:22px;

        box-shadow:
        var(--shadow);
      }
 
body.page-projects .menu {
        display:block;
      }
 
body.page-projects .nav > .btn {
        display:none;
      }
 
body.page-projects .hero-grid,
body.page-projects .testimonial-layout,
body.page-projects .process-grid {
        grid-template-columns:1fr;
      }
 
body.page-projects .hero-proof {
        max-width:100%;
        justify-self:stretch;
      }
 
body.page-projects .project-grid {
        grid-template-columns:1fr;
      }
 
body.page-projects .testimonial-side {
        grid-template-columns:
        1fr 1fr;

        grid-template-rows:none;
      }
 
body.page-projects .process-list {
        grid-template-columns:
        repeat(3,1fr);
      }
 
body.page-projects .cta {
        grid-template-columns:1fr;
      }
 
body.page-projects .cta-actions {
        flex-direction:row;
        flex-wrap:wrap;
      }
 
body.page-projects .footer-grid {
        grid-template-columns:
        1fr 1fr;
      }
 
}
 
/* =====================================================
       MOBILE
       ===================================================== */
 
@media (max-width:640px) {
 
body.page-projects .container {
        width:min(100% - 28px,1180px);
      }
 
body.page-projects section {
        padding:64px 0;
      }
 
body.page-projects .hero {
        padding:132px 0 58px;
      }
 
body.page-projects .display {
        font-size:
        clamp(
          3rem,
          14vw,
          5rem
        );
      }
 
body.page-projects .testimonial-feature {
        min-height:520px;
        padding:28px 24px;

        background:
          linear-gradient(
            180deg,
            rgba(9,31,20,.2),
            rgba(9,31,20,.94)
          ),
          var(--img-testimonial-jisha)
          center/cover
          no-repeat;
      }
 
body.page-projects .testimonial-side {
        grid-template-columns:1fr;
      }
 
body.page-projects .quote-card {
        grid-template-columns:
        72px 1fr;

        padding:22px;
      }
 
body.page-projects .avatar {
        width:72px;
        height:72px;
      }
 
body.page-projects .process-list {
        grid-template-columns:1fr;
      }
 
body.page-projects .cta {
        padding:32px 24px;
      }
 
body.page-projects .footer-grid {
        grid-template-columns:1fr;
      }
 
body.page-projects .footer-bottom {
        flex-direction:column;
      }
 
body.page-projects .logo {
        width:220px;
        height:88px;
        flex-basis:220px;
      }
 
}
 


/* =====================================================
   PAGE: services.php (body.page-services)
   ===================================================== */
 
body.page-services {
  --bg:#f5f3eb;
  --surface:#fffdf7;
  --surface2:#eef3e9;

  --ink:#13261b;
  --muted:#66736b;

  --forest:#123d27;
  --forest2:#1c5636;
  --deep:#0d2c1d;

  --lime:#d5edaa;
  --sage:#7da86c;

  --line:rgba(19,38,27,.12);

  --shadow:
  0 24px 80px
  rgba(18,61,39,.12);


  /* =========================================
     LOGO
     ========================================= */

  --img-farmnurse-logo:
  url("../images/farmnurse-logo-model.png");


  /* =========================================
     FARM SETUP IMAGE
     ========================================= */

  --img-service-setup:
  url("../images/farmsetup");


  /* =========================================
     PROCESS IMAGE
     ========================================= */

  --img-service-process:
  url("../images/process");
}
 
/* =========================================
   BASIC
   ========================================= */
 
body.page-services * {
  box-sizing:border-box;
}
 
html {
  scroll-behavior:smooth;
}
 
body.page-services {
  margin:0;

  font-family:
  "DM Sans",
  system-ui,
  sans-serif;

  background:
  var(--bg);

  color:
  var(--ink);

  line-height:1.65;
}
 
body.page-services a {
  text-decoration:none;
  color:inherit;
}
 
body.page-services button,
body.page-services input,
body.page-services textarea,
body.page-services select {
  font:inherit;
}
 
body.page-services .container {
  width:min(
    1180px,
    calc(100% - 40px)
  );

  margin:auto;
}
 
body.page-services section {
  padding:
  88px 0;
}
 
body.page-services h1,
body.page-services h2,
body.page-services h3,
body.page-services h4 {
  font-family:
  "Manrope",
  sans-serif;

  margin:0;

  letter-spacing:-.045em;

  line-height:1.04;
}
 
body.page-services p {
  margin:0;
  color:var(--muted);
}
 
/* =========================================
   TYPOGRAPHY
   ========================================= */
 
body.page-services .eyebrow {
  display:inline-flex;
  align-items:center;
  gap:10px;

  color:
  var(--forest2);

  font-size:.76rem;
  font-weight:800;

  letter-spacing:.14em;

  text-transform:uppercase;
}
 
body.page-services .eyebrow::before {
  content:"";

  width:24px;
  height:1px;

  background:
  currentColor;
}
 
body.page-services .display {
  font-size:
  clamp(
    3.2rem,
    7vw,
    7rem
  );
}
 
body.page-services .title {
  font-size:
  clamp(
    2.3rem,
    4.5vw,
    4.7rem
  );
}
 
body.page-services .lead {
  font-size:1.08rem;
  max-width:690px;
}
 
/* =========================================
   BUTTONS
   ========================================= */
 
body.page-services .btn {
  display:inline-flex;

  align-items:center;
  justify-content:center;

  min-height:50px;

  padding:
  0 20px;

  border-radius:999px;

  font-weight:800;

  border:
  1px solid transparent;

  transition:.2s;
}
 
body.page-services .btn:hover {
  transform:
  translateY(-2px);
}
 
body.page-services .btn-primary {
  background:
  var(--forest);

  color:#fff;
}
 
body.page-services .btn-light {
  background:#fff;

  border-color:
  var(--line);
}
 
body.page-services .text-link {
  display:inline-flex;
  align-items:center;
  gap:8px;

  font-weight:800;

  color:
  var(--forest);
}
 
/* =========================================
   CARDS
   ========================================= */
 
body.page-services .card {
  background:
  var(--surface);

  border:
  1px solid var(--line);

  border-radius:28px;

  box-shadow:
  0 14px 40px
  rgba(18,61,39,.07);
}
 
/* =========================================
   REVEAL
   ========================================= */
 
body.page-services .reveal {
  opacity:0;

  transform:
  translateY(22px);

  transition:
  .7s ease;
}
 
body.page-services .reveal.visible {
  opacity:1;
  transform:none;
}
 
/* =========================================
   NAVIGATION
   ========================================= */
 
body.page-services header {
  position:fixed;

  top:0;
  left:0;
  right:0;

  z-index:50;

  padding:
  10px 0;

  transition:.25s;
}
 
body.page-services header.scrolled {
  padding:
  6px 0;

  background:
  rgba(245,243,235,.88);

  backdrop-filter:
  blur(18px);

  border-bottom:
  1px solid var(--line);
}
 
body.page-services .nav {
  display:flex;

  align-items:center;

  justify-content:
  space-between;

  gap:24px;
}
 
body.page-services .brand {
  display:flex;

  align-items:center;

  gap:12px;
}
 
body.page-services .logo {
  width:320px;
  height:128px;

  flex:
  0 0 320px;

  background-image:
  var(--img-farmnurse-logo);

  background-repeat:
  no-repeat;

  background-position:
  left center;

  background-size:
  contain;

  border:0;

  border-radius:0;

  box-shadow:none;

  overflow:visible;
}
 
body.page-services .logo::before,
body.page-services .logo::after {
  content:none;
  display:none;
}
 
body.page-services .links {
  display:flex;
  gap:26px;
  align-items:center;
}
 
body.page-services .links a {
  font-size:.92rem;
  font-weight:700;

  color:#314239;
}
 
body.page-services .links a.active {
  color:
  var(--forest);

  position:relative;
}
 
body.page-services .links a.active::after {
  content:"";

  position:absolute;

  left:0;
  right:0;

  bottom:-8px;

  height:2px;

  background:
  var(--forest);
}
 
body.page-services .menu {
  display:none;

  border:
  1px solid var(--line);

  background:
  var(--surface);

  width:44px;
  height:44px;

  border-radius:14px;
}
 
/* =========================================
   HERO
   ========================================= */
 
body.page-services .hero {
  padding:
  150px 0 72px;

  background:

  radial-gradient(
    circle at 82% 8%,
    rgba(213,237,170,.82),
    transparent 28%
  ),

  linear-gradient(
    180deg,
    #fbfaf4,
    #f0eee4
  );

  border-bottom:
  1px solid var(--line);
}
 
body.page-services .hero-grid {
  display:grid;

  grid-template-columns:
  minmax(0,1.15fr)
  minmax(320px,.85fr);

  gap:44px;

  align-items:center;
}
 
body.page-services .hero .lead {
  margin-top:24px;
}
 
body.page-services .hero-card {
  width:100%;

  max-width:430px;

  justify-self:end;

  align-self:center;

  padding:28px;

  border-radius:26px;

  background:
  rgba(255,255,255,.72);

  border:
  1px solid var(--line);

  box-shadow:
  0 14px 40px
  rgba(18,61,39,.06);
}
 
body.page-services .hero-card strong {
  display:block;

  font-family:
  "Manrope";

  font-size:1.18rem;

  margin-bottom:8px;
}
 
/* =========================================
   MAIN SERVICES
   ========================================= */
 
body.page-services .services-head {
  display:flex;

  justify-content:
  space-between;

  align-items:end;

  gap:30px;

  flex-wrap:wrap;

  margin-bottom:30px;
}
 
body.page-services .service-grid {
  display:grid;

  grid-template-columns:
  repeat(3,1fr);

  gap:18px;
}
 
body.page-services .service {
  padding:28px;

  min-height:310px;

  display:flex;

  flex-direction:column;

  justify-content:
  space-between;

  transition:.25s;
}
 
body.page-services .service:hover {
  transform:
  translateY(-5px);

  box-shadow:
  var(--shadow);
}
 
body.page-services .icon {
  width:52px;
  height:52px;

  border-radius:16px;

  background:
  var(--lime);

  display:grid;

  place-items:center;

  font-size:1.4rem;

  color:
  var(--forest);

  font-weight:900;
}
 
body.page-services .service h3 {
  font-size:1.4rem;

  margin:
  22px 0 10px;
}
 
body.page-services .service p {
  font-size:.95rem;
}
 
body.page-services .tag {
  display:inline-flex;

  align-items:center;

  justify-content:center;

  padding:
  7px 11px;

  border-radius:999px;

  border:
  1px solid var(--line);

  font-size:.75rem;

  font-weight:800;

  color:
  var(--forest);

  width:max-content;

  margin-top:24px;
}
 
/* =========================================
   FEATURED SERVICE
   ========================================= */
 
body.page-services .service.featured {
  grid-column:
  span 2;

  display:grid;

  grid-template-columns:
  1.05fr .95fr;

  padding:0;

  overflow:hidden;

  min-height:340px;
}
 
body.page-services .service.featured .copy {
  padding:30px;
}
 
body.page-services .service-img {
  min-height:340px;

  background:

  linear-gradient(
    180deg,
    rgba(13,44,29,.02),
    rgba(13,44,29,.18)
  ),

  var(--img-service-setup)
  center / cover
  no-repeat;
}
 
/* =========================================
   CATEGORY STRIP
   ========================================= */
 
body.page-services .category-strip {
  background:
  var(--deep);

  color:#fff;
}
 
body.page-services .category-strip .eyebrow {
  color:
  var(--lime);
}
 
body.page-services .category-strip p {
  color:
  rgba(255,255,255,.68);
}
 
body.page-services .category-grid {
  display:grid;

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

  gap:14px;

  margin-top:30px;
}
 
body.page-services .cat {
  padding:26px;

  border:
  1px solid
  rgba(255,255,255,.12);

  border-radius:22px;

  background:
  rgba(255,255,255,.04);
}
 
body.page-services .cat span {
  font-size:.78rem;

  color:
  var(--lime);

  font-weight:800;

  letter-spacing:.1em;

  text-transform:uppercase;
}
 
body.page-services .cat h3 {
  font-size:1.22rem;

  margin:
  14px 0 8px;
}
 
/* =========================================
   PROCESS
   ========================================= */
 
body.page-services .process-grid {
  display:grid;

  grid-template-columns:
  .92fr 1.08fr;

  gap:52px;

  align-items:start;
}
 
body.page-services .process-media {
  min-height:560px;

  border-radius:32px;

  position:relative;

  overflow:hidden;

  background:

  linear-gradient(
    180deg,
    rgba(13,44,29,.04),
    rgba(13,44,29,.30)
  ),

  var(--img-service-process)
  center / cover
  no-repeat;

  box-shadow:
  var(--shadow);
}
 
body.page-services .process-note {
  position:absolute;

  left:22px;
  right:22px;
  bottom:22px;

  padding:22px;

  border-radius:22px;

  background:
  rgba(13,44,29,.76);

  backdrop-filter:
  blur(12px);

  color:#fff;
}
 
body.page-services .process-note p {
  color:
  rgba(255,255,255,.74);

  margin-top:5px;
}
 
body.page-services .steps {
  display:grid;

  gap:0;

  margin-top:30px;
}
 
body.page-services .step {
  display:grid;

  grid-template-columns:
  54px 1fr;

  gap:18px;

  padding:
  23px 0;

  border-top:
  1px solid var(--line);
}
 
body.page-services .step:last-child {
  border-bottom:
  1px solid var(--line);
}
 
body.page-services .num {
  width:44px;
  height:44px;

  border-radius:14px;

  background:
  var(--forest);

  color:#fff;

  display:grid;

  place-items:center;

  font-weight:800;
}
 
body.page-services .step h3 {
  font-size:1.14rem;

  margin-bottom:6px;
}
 
/* =========================================
   SUPPORT MODELS
   ========================================= */
 
body.page-services .support {
  background:
  var(--surface2);
}
 
body.page-services .support-grid {
  display:grid;

  grid-template-columns:
  repeat(3,1fr);

  gap:18px;

  margin-top:30px;
}
 
body.page-services .support-card {
  padding:28px;
}
 
body.page-services .support-card .mini {
  font-size:.75rem;

  font-weight:800;

  color:
  var(--sage);

  letter-spacing:.11em;

  text-transform:uppercase;
}
 
body.page-services .support-card h3 {
  font-size:1.35rem;

  margin:
  14px 0 9px;
}
 
body.page-services .support-card ul {
  list-style:none;

  padding:0;

  margin:
  20px 0 0;

  display:grid;

  gap:10px;
}
 
body.page-services .support-card li {
  display:flex;

  gap:9px;

  color:
  var(--muted);

  font-size:.92rem;
}
 
body.page-services .support-card li::before {
  content:"✓";

  color:
  var(--forest);

  font-weight:900;
}
 
/* =========================================
   FAQ
   ========================================= */
 
body.page-services .faq {
  display:grid;

  gap:12px;

  margin-top:38px;
}
 
body.page-services .faq-item {
  border:
  1px solid var(--line);

  border-radius:20px;

  background:
  var(--surface);

  overflow:hidden;
}
 
body.page-services .faq-q {
  width:100%;

  display:flex;

  justify-content:
  space-between;

  align-items:center;

  gap:20px;

  padding:
  21px 22px;

  border:0;

  background:
  transparent;

  text-align:left;

  color:
  var(--ink);

  font-weight:800;

  cursor:pointer;
}
 
body.page-services .faq-q span:last-child {
  font-size:1.4rem;

  transition:.2s;
}
 
body.page-services .faq-a {
  max-height:0;

  overflow:hidden;

  transition:
  max-height .3s ease;
}
 
body.page-services .faq-a p {
  padding:
  0 22px 22px;
}
 
body.page-services .faq-item.open .faq-a {
  max-height:220px;
}
 
body.page-services .faq-item.open .faq-q span:last-child {
  transform:
  rotate(45deg);
}
 
/* =========================================
   CTA
   ========================================= */
 
body.page-services .cta {
  padding:58px;

  border-radius:36px;

  background:

  linear-gradient(
    135deg,
    var(--lime),
    #edf7d8
  );

  display:grid;

  grid-template-columns:
  1fr auto;

  gap:34px;

  align-items:center;
}
 
body.page-services .cta h2 {
  font-size:

  clamp(
    2.2rem,
    4vw,
    4.1rem
  );
}
 
body.page-services .cta p {
  margin-top:15px;

  max-width:680px;

  color:#405b49;
}
 
body.page-services .cta-actions {
  display:flex;

  flex-direction:column;

  gap:10px;
}
 
/* =========================================
   FOOTER
   ========================================= */
 
body.page-services footer {
  background:#0f2418;

  color:#fff;

  padding:
  52px 0 24px;
}
 
body.page-services .footer-grid {
  display:grid;

  grid-template-columns:
  1.4fr .7fr .7fr;

  gap:40px;
}
 
body.page-services footer p,
body.page-services footer a {
  color:
  rgba(255,255,255,.62);
}
 
body.page-services footer a {
  display:block;

  margin:
  8px 0;
}
 
body.page-services .footer-bottom {
  margin-top:30px;

  padding-top:20px;

  border-top:
  1px solid
  rgba(255,255,255,.1);

  display:flex;

  justify-content:
  space-between;

  gap:20px;

  color:
  rgba(255,255,255,.48);

  font-size:.85rem;
}
 
/* =========================================
   MEDIUM
   ========================================= */
 
@media (max-width:1120px) and (min-width:981px) {
 
body.page-services .logo {
    width:270px;
    height:108px;

    flex-basis:270px;
  }
 
body.page-services .links {
    gap:18px;
  }
 
body.page-services .links a {
    font-size:.86rem;
  }
 
body.page-services .nav {
    gap:16px;
  }
 
}
 
/* =========================================
   TABLET
   ========================================= */
 
@media (max-width:980px) {
 
body.page-services .links {
    display:none;
  }
 
body.page-services .links.open {
    display:flex;

    position:fixed;

    top:104px;

    left:18px;
    right:18px;

    flex-direction:column;

    align-items:flex-start;

    padding:22px;

    background:
    var(--surface);

    border:
    1px solid var(--line);

    border-radius:22px;

    box-shadow:
    var(--shadow);
  }
 
body.page-services .menu {
    display:block;
  }
 
body.page-services .nav > .btn {
    display:none;
  }
 
body.page-services .hero-grid,
body.page-services .process-grid {
    grid-template-columns:
    1fr;
  }
 
body.page-services .hero-card {
    max-width:100%;

    justify-self:stretch;
  }
 
body.page-services .service-grid {
    grid-template-columns:
    repeat(2,1fr);
  }
 
body.page-services .service.featured {
    grid-column:
    span 2;
  }
 
body.page-services .category-grid {
    grid-template-columns:
    repeat(2,1fr);
  }
 
body.page-services .support-grid {
    grid-template-columns:
    1fr;
  }
 
body.page-services .cta {
    grid-template-columns:
    1fr;
  }
 
body.page-services .cta-actions {
    flex-direction:row;

    flex-wrap:wrap;
  }
 
body.page-services .footer-grid {
    grid-template-columns:
    1fr 1fr;
  }
 
}
 
/* =========================================
   MOBILE
   ========================================= */
 
@media (max-width:640px) {
 
body.page-services .container {
    width:min(
      100% - 28px,
      1180px
    );
  }
 
body.page-services section {
    padding:
    64px 0;
  }
 
body.page-services .hero {
    padding:
    132px 0 58px;
  }
 
body.page-services .display {
    font-size:

    clamp(
      3rem,
      14vw,
      4.8rem
    );
  }
 
body.page-services .service-grid,
body.page-services .category-grid {
    grid-template-columns:
    1fr;
  }
 
body.page-services .service.featured {
    grid-column:auto;

    grid-template-columns:
    1fr;
  }
 
body.page-services .service-img {
    min-height:240px;
  }
 
body.page-services .process-media {
    min-height:440px;
  }
 
body.page-services .cta {
    padding:
    36px 26px;
  }
 
body.page-services .footer-grid {
    grid-template-columns:
    1fr;
  }
 
body.page-services .footer-bottom {
    flex-direction:column;
  }
 
body.page-services .logo {
    width:220px;
    height:88px;

    flex-basis:220px;
  }
 
}

/* =====================================================
   GLOBAL SHARED FOOTER — all pages use the same layout
   Desktop: four columns | Tablet: two | Mobile: one
   ===================================================== */
#site-footer.site-footer {
  display: block !important;
  position: relative;
  width: 100%;
  margin: 0 !important;
  padding: 52px 0 24px !important;
  box-sizing: border-box;
  background: #0f2418 !important;
  color: #fff !important;
  clear: both;
  overflow: visible;
}

#site-footer.site-footer *,
#site-footer.site-footer *::before,
#site-footer.site-footer *::after {
  box-sizing: border-box;
}

#site-footer.site-footer .container {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#site-footer.site-footer .footer-grid {
  display: grid !important;
  grid-template-columns:
    minmax(0, 1.5fr)
    minmax(0, 0.75fr)
    minmax(0, 0.75fr)
    minmax(0, 1.15fr) !important;
  align-items: start;
  gap: 34px !important;
  margin: 0;
  padding: 0;
}

#site-footer.site-footer .footer-grid > div {
  min-width: 0;
}

#site-footer.site-footer .footer-brand-link {
  display: inline-block !important;
  margin: 0 0 16px !important;
  padding: 0;
  line-height: 0;
  text-decoration: none;
}

#site-footer.site-footer img.footer-logo {
  display: block !important;
  width: 180px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0;
  object-fit: contain;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

#site-footer.site-footer .footer-description {
  display: block;
  max-width: 390px !important;
  margin: 0 !important;
  padding: 0;
  color: rgba(255, 255, 255, .72) !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

#site-footer.site-footer .footer-col strong {
  display: block !important;
  margin: 0 0 14px !important;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
}

#site-footer.site-footer .footer-col a {
  display: block !important;
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 !important;
  padding: 0;
  color: rgba(255, 255, 255, .72) !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-decoration: none !important;
  transition: color .2s ease;
}

#site-footer.site-footer .footer-col a:hover,
#site-footer.site-footer .footer-col a:focus-visible {
  color: #fff !important;
}

#site-footer.site-footer .footer-bottom {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: space-between !important;
  gap: 20px;
  margin: 30px 0 0 !important;
  padding: 20px 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .12) !important;
  color: rgba(255, 255, 255, .6) !important;
  font-size: .85rem;
  font-weight: 400;
  line-height: 1.5;
}

#site-footer.site-footer .footer-bottom span {
  color: inherit !important;
}

/* Tablet and smaller laptop widths */
@media (max-width: 1020px) {
  #site-footer.site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px !important;
  }
}

/* Mobile */
@media (max-width: 600px) {
  #site-footer.site-footer {
    padding: 42px 0 22px !important;
  }

  #site-footer.site-footer .container {
    width: min(1180px, calc(100% - 28px)) !important;
  }

  #site-footer.site-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px !important;
  }

  #site-footer.site-footer .footer-brand {
    grid-column: auto !important;
  }

  #site-footer.site-footer .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
}


/* HOMEPAGE: clean green section below hero — no separator border */
body.page-home main > section.section.compact {
  position: relative;
  isolation: isolate;
  padding: 48px 0 64px !important;
  background: #123d27 !important;
  border: 0 !important;
}

body.page-home main > section.section.compact::before,
body.page-home main > section.section.compact::after {
  content: none !important;
  display: none !important;
}

body.page-home main > section.section.compact > .container {
  position: relative;
  z-index: 1;
}

body.page-home main > section.section.compact .stat {
  background: #fffdf7;
  border-color: rgba(19, 38, 27, .14);
}

@media (max-width: 680px) {
  body.page-home main > section.section.compact {
    padding: 38px 0 44px !important;
  }
}

/* Keep the hero image aligned with the section below it */
body.page-home main > section.hero {
  padding-bottom: 0 !important;
}

body.page-home .hero-media {
  background-position: center bottom !important;
  margin-bottom: 0 !important;
}
/* Homepage hero: keep the text clear of the fixed header */
body.page-home main > section.hero {
    min-height: 100svh;
    padding-top: 190px !important;
    padding-bottom: 25px !important;
    overflow: visible;
}

body.page-home .hero-grid {
    align-items: center;
}

body.page-home .hero-grid > div:first-child {
    position: relative;
    z-index: 2;
    align-self: center;
    padding: 0 !important;
    margin-top: 0 !important;
}

/* Preserve the current hero image position */
body.page-home .hero-media {
    background-position: center bottom !important;
    margin-bottom: -50px !important;
}

@media (max-width: 680px) {
    body.page-home main > section.hero {
        padding-top: 150px !important;
    }
}

/* =====================================================
   FINAL RESPONSIVE FIX — 26 NOV 2026
   Applies after the legacy page rules to resolve
   homepage header, navigation, hero and small-screen overflow.
   ===================================================== */

/* Prevent grid/flex children from forcing horizontal overflow */
body.page-home,
body.page-home main,
body.page-home section,
body.page-home .container,
body.page-home .hero-grid,
body.page-home .split,
body.page-home .dark-grid,
body.page-home .service-grid,
body.page-home .footer-grid {
  min-width: 0;
}

body.page-home img,
body.page-home video,
body.page-home iframe {
  max-width: 100%;
}

/* Use the actual shared-header selectors from includes/header.php */
body.page-home #header {
  width: 100%;
  box-sizing: border-box;
}

body.page-home #header *,
body.page-home #header *::before,
body.page-home #header *::after {
  box-sizing: border-box;
}

body.page-home #header .nav {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  margin-inline: auto;
  min-width: 0;
  gap: 16px;
}

body.page-home #header .brand {
  min-width: 0;
  flex: 0 1 auto;
}

body.page-home #header .logo {
  display: block;
  max-width: 100%;
  background-size: contain;
}

body.page-home #header .links {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
}

body.page-home #header .menu {
  flex: 0 0 44px;
  cursor: pointer;
}

/* Medium laptops: preserve the full navigation without crowding */
@media (min-width: 1021px) and (max-width: 1180px) {
  body.page-home #header .nav {
    width: calc(100% - 32px);
    gap: 12px;
  }

  body.page-home #header .logo {
    width: 225px;
    height: 90px;
    flex-basis: 225px;
  }

  body.page-home #header .links {
    gap: 13px;
  }

  body.page-home #header .links a {
    font-size: .82rem;
  }

  body.page-home #header .nav > .btn,
  body.page-home #header .nav .btn {
    padding-inline: 14px;
    min-height: 44px;
    font-size: .86rem;
  }
}

/* Tablet: replace the horizontal links with the menu */
@media (max-width: 1020px) {
  body.page-home #header {
    padding: 7px 0;
  }

  body.page-home #header .nav {
    width: calc(100% - 32px);
    gap: 12px;
  }

  body.page-home #header .logo {
    width: 230px;
    height: 92px;
    flex: 0 1 230px;
  }

  body.page-home #header .links {
    position: fixed;
    top: 100px;
    left: 16px;
    right: 16px;
    inset: 100px 16px auto;
    z-index: 100;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    padding: 12px 20px;
    white-space: normal;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  body.page-home #header .links.open {
    display: flex;
  }

  body.page-home #header .links a {
    display: block;
    padding: 12px 2px;
    font-size: 1rem;
    line-height: 1.4;
    border-bottom: 1px solid var(--line);
  }

  body.page-home #header .links a:last-child {
    border-bottom: 0;
  }

  body.page-home #header .links a::after {
    display: none;
  }

  body.page-home #header .nav > .btn,
  body.page-home #header .nav .btn {
    display: none !important;
  }

  body.page-home #header .menu {
    display: grid !important;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  body.page-home main > section.hero {
    padding-top: 150px !important;
  }

  body.page-home .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  body.page-home .hero-grid > * {
    min-width: 0;
  }

  body.page-home .hero-media {
    width: min(100%, 520px);
    min-height: clamp(320px, 58vw, 500px);
    justify-self: center;
    margin: 0 !important;
    background-position: center bottom !important;
  }

  body.page-home .split,
  body.page-home .dark-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Mobile */
@media (max-width: 680px) {
  body.page-home #header .nav {
    width: calc(100% - 28px);
  }

  body.page-home #header .logo {
    width: min(190px, calc(100vw - 100px));
    height: 76px;
    flex: 0 1 190px;
  }

  body.page-home #header .links {
    top: 86px;
    inset: 86px 14px auto;
    max-height: calc(100dvh - 100px);
    padding: 10px 17px;
  }

  body.page-home #header.scrolled .logo {
    height: 68px;
  }

  body.page-home main > section.hero {
    min-height: auto;
    padding: 128px 0 28px !important;
    overflow: hidden;
  }

  body.page-home .hero-grid {
    gap: 18px;
  }

  body.page-home .hero .display {
    font-size: clamp(2.65rem, 12vw, 4.2rem);
    overflow-wrap: anywhere;
  }

  body.page-home .hero-copy {
    font-size: 1rem;
  }

  body.page-home .hero-media {
    width: 100%;
    min-height: clamp(250px, 78vw, 390px);
    margin: 0 !important;
    background-size: contain;
  }

  body.page-home .media-card {
    min-height: 340px;
    border-radius: 22px;
    background-position: center;
  }

  body.page-home .media-card .overlay {
    inset: auto 12px 12px;
    padding: 15px;
  }

  body.page-home .cta {
    padding: 30px 20px;
    border-radius: 24px;
  }

  body.page-home .floating-contact {
    right: 14px;
    bottom: 14px;
  }
}

/* Narrow phones */
@media (max-width: 380px) {
  body.page-home #header .logo {
    width: 155px;
    height: 62px;
    flex-basis: 155px;
  }

  body.page-home #header .menu {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  body.page-home #header .nav {
    gap: 8px;
  }

  body.page-home .hero .display {
    font-size: clamp(2.4rem, 11.5vw, 3.2rem);
  }

  body.page-home .container {
    width: calc(100% - 24px);
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.page-home *,
  body.page-home *::before,
  body.page-home *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
#site-footer.site-footer .footer-bottom {
    flex-wrap: wrap;
}

#site-footer.site-footer .footer-bottom > * {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* =====================================================
   HOMEPAGE MOBILE HERO-TO-NEXT-SECTION ALIGNMENT
   Keep the green section directly below the farmer image.
   Scoped to the homepage so other pages are not affected.
   ===================================================== */

@media (max-width: 680px) {
  body.page-home main > section.hero {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  body.page-home .hero-grid {
    row-gap: 0;
  }

  body.page-home .hero-media {
    margin-bottom: -50px !important;
    background-position: center bottom !important;
  }

  body.page-home main > section.section.compact {
    margin-top: 0 !important;
    padding-top: 38px !important;
  }
}
