/* ============================================================
   Dougherty Apartments — Website stylesheet
   Brand tokens (forest green + sage) + components.
   Font: Inter. Built to match the C3 mockup.
   ============================================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Inter-variable.woff2") format("woff2"); /* theme: assets/fonts/ */
}

:root {
  /* greens */
  --green-900: #005C31;
  --green-800: #00713D;
  --green-700: #0F7A45;
  --green-600: #2E8B52;
  --green-500: #43A23B;
  --green-400: #7AC143;
  --green-300: #A9D585;
  /* sage */
  --sage-200: #C5E1B4;
  --sage-100: #D6EAC6;
  --sage-50:  #EAF3E2;
  /* neutrals */
  --ink:      #232826;
  --ink-soft: #4A524D;
  --line:     #DCE5D8;
  --white:    #FFFFFF;
  --paper:    #FBFCFA;
  --on-green: #FFFFFF;
  --on-green-soft: rgba(255,255,255,.82);
  /* softer button green — designer spec: 60% of the solid dark green (--green-900) */
  --green-soft:       #669D83; /* fallback */
  --green-soft:       color-mix(in srgb, var(--green-900) 60%, #fff);
  --green-soft-hover: #478A6B; /* fallback */
  --green-soft-hover: color-mix(in srgb, var(--green-900) 80%, #fff);
  --btn-grad:       linear-gradient(90deg, var(--green-soft) 0%, var(--green-soft-hover) 100%);
  --btn-grad-hover: linear-gradient(90deg, var(--green-soft-hover) 0%, var(--green-900) 100%);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700; --fw-extra: 800;

  --fs-display: clamp(2.5rem, 1.6rem + 3.4vw, 4rem);
  --fs-h1:      clamp(1.9rem, 1.4rem + 2.0vw, 2.8rem);
  --fs-h2:      clamp(1.55rem, 1.2rem + 1.4vw, 2.1rem);
  --fs-h3:      clamp(1.15rem, 1.05rem + 0.55vw, 1.4rem);
  --fs-lead:    clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.78rem;

  --lh-tight: 1.08; --lh-heading: 1.18; --lh-body: 1.62;
  --tracking-eyebrow: 0.14em; --tracking-tight: -0.01em;

  --radius-pill: 999px; --radius-lg: 14px; --radius-md: 10px; --radius-sm: 6px;
  --shadow-card: 0 10px 28px -14px rgba(15,92,52,.30);
  --shadow-soft: 0 4px 16px -8px rgba(35,40,38,.18);

  --space-section: clamp(3rem, 2rem + 4vw, 5.5rem);
  --container: 1040px;
  --gutter: clamp(1.25rem, 0.5rem + 2.5vw, 2.5rem);
  --header-h: 76px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-sans); color: var(--ink);
  background: var(--white); font-size: var(--fs-body); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

.ico { width: 1em; height: 1em; stroke: currentColor; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* ---------- type helpers ---------- */
.eyebrow { font-weight: var(--fw-bold); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--green-700); margin-bottom: 14px; }
.h1 { font-weight: var(--fw-bold); font-size: var(--fs-h1); line-height: var(--lh-heading); letter-spacing: var(--tracking-tight); color: var(--green-900); }
.h2 { font-weight: var(--fw-bold); font-size: var(--fs-h2); line-height: var(--lh-heading); color: var(--green-900); }
.h3 { font-weight: var(--fw-semibold); font-size: var(--fs-h3); line-height: 1.3; color: var(--green-800); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); }
.muted { color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: inherit; font-weight: var(--fw-semibold); font-size: 15px; line-height: 1;
  padding: 13px 26px; border-radius: var(--radius-pill); border: none; text-decoration: none;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .ico { font-size: 17px; stroke-width: 2.4; }
.btn--primary { background: var(--btn-grad); color: #fff; box-shadow: 0 6px 16px -10px rgba(15,92,52,.6); }
.btn--primary:hover { background: var(--btn-grad-hover); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(1px); }
.btn--solid { background: var(--green-800); color: #fff; }
.btn--solid:hover { background: var(--green-700); transform: translateY(-1px); }
.btn--white { background: #fff; color: var(--green-800); }
.btn--white:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn--accent { background: #4d9a77; color: #fff; border: none; }
.btn--accent:hover { background: #43855f; transform: translateY(-1px); }
.btn--grad { background: linear-gradient(90deg, #6FB742 0%, #3C973A 100%); color: #fff; border: none; }
.btn--grad:hover { background: linear-gradient(90deg, #63A838 0%, #338832 100%); transform: translateY(-1px); }
.btn--ghost-light { background: var(--green-300); color: var(--green-900); border: none; }
.btn--ghost-light:hover { background: var(--sage-200); transform: translateY(-1px); }
.btn--ghost-green { background: transparent; color: var(--green-800); border: 1.5px solid var(--green-700); }
.btn--ghost-green:hover { background: rgba(15,122,69,.07); }

/* chevron text link */
.clink { display: inline-flex; align-items: center; gap: 5px; color: var(--green-700);
  font-weight: var(--fw-semibold); font-size: 15px; text-decoration: none; }
.clink .ico { font-size: 15px; stroke-width: 2.4; transition: transform .2s ease; }
.clink:hover { color: var(--green-900); text-decoration: underline; }
.clink:hover .ico { transform: translateX(2px); }

/* ---------- sections ---------- */
.section { padding: var(--space-section) 0; }
.section--sage { background: var(--sage-100); }
/* Adjacent sage sections share one band — avoid double padding */
.section--sage + .section--sage { padding-top: 0; }
.section--sage50 { background: var(--sage-50); }
.section--sage200 { background: var(--sage-200); }
.section--mint { background: #d4ebc4; }
.section--mist { background: #c9e3d6; }
.section--paper { background: var(--paper); }

/* 2×2 bullet panel grid (Lifestyle and services) */
.panel-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
	align-items: start;
}
.panel-grid__title {
	margin: 0 0 12px;
	color: var(--green-900);
	font-size: clamp(18px, 1rem + 0.4vw, 20px);
	font-weight: var(--fw-bold);
	line-height: 1.3;
}
.panel-grid .dotlist { gap: 10px; }
.panel-grid .dotlist li { font-size: 15px; line-height: 1.55; }
.section--green { background: var(--green-800); color: #fff; }
.section--tight { padding-block: clamp(1.6rem, 1rem + 2vw, 2.4rem); }

/* generic two-column split */
.split { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.split--text-img { grid-template-columns: 1.25fr .9fr; }
.split--text-wide { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.split--text-img-landscape { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.split--img-text { grid-template-columns: .9fr 1.1fr; }
.split--even { grid-template-columns: 1fr 1fr; align-items: start; }
.split__heading { margin-bottom: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.split__img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; border-radius: var(--radius-lg); }
.split__img--shadow { box-shadow: var(--shadow-card); }
.split__img--landscape { aspect-ratio: 3 / 2; width: 100%; height: auto; min-height: 0; object-fit: cover; align-self: center; }
.split__media { min-width: 0; }
.split__media--match { position: relative; align-self: stretch; min-height: 100%; border-radius: var(--radius-lg); overflow: hidden; }
.split__media--shadow { box-shadow: var(--shadow-card); }
.split__media--match .split__img,
.split__img--match { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--radius-lg); }
.split__media--square-wide { align-self: start; border-radius: var(--radius-lg); overflow: hidden; }
.split__img--square-wide { aspect-ratio: 1.05 / 1; width: 100%; height: auto; min-height: 0; object-fit: cover; display: block; border-radius: var(--radius-lg); }

.prose p + p { margin-top: 14px; }
.prose p { color: var(--ink-soft); }
.prose a.link-mac,
.prose .link-mac { color: var(--green-900); font-weight: var(--fw-bold); text-decoration: none; }
.prose a.link-mac:hover { text-decoration: underline; }
.prose a.link-mac--em { font-style: italic; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--green-800); transition: background .3s ease; }
.site-header.is-overlay { background: linear-gradient(180deg, rgba(15,52,30,.8), rgba(15,52,30,0)); }
.site-header.is-overlay.is-solid { background: var(--green-800); box-shadow: 0 2px 16px -8px rgba(0,0,0,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 16px; min-height: var(--header-h); }
.nav__logo img { height: 65px; }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a { color: #fff; text-decoration: none; font-size: 13px; font-weight: var(--fw-semibold);
  letter-spacing: .04em; text-transform: uppercase; transition: opacity .2s ease; }
.nav__links a:not(.nav__cta):hover { opacity: .72; }
.nav__links a.is-active { position: relative; }
.nav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--green-400); }
.nav__links .nav__cta { background: #4d9a77; color: #fff !important; padding: 9px 20px; border-radius: var(--radius-pill); font-weight: var(--fw-bold); }
.nav__links .nav__cta:hover { opacity: 1 !important; background: var(--green-soft-hover); box-shadow: 0 4px 14px -6px rgba(0,0,0,.4); }
.nav__toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 6px; }
.nav__toggle .ico { font-size: 28px; }

/* mobile menu */
.mobile-menu { display: none; background: var(--green-900); border-top: 1px solid rgba(255,255,255,.12); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; color: #fff; text-decoration: none; font-size: 14px; font-weight: var(--fw-semibold);
  letter-spacing: .04em; text-transform: uppercase; padding: 14px var(--gutter); border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu a:hover { background: rgba(255,255,255,.06); }

/* ============================================================
   HERO (home — full bleed photo)
   ============================================================ */
.hero { position: relative; min-height: 460px; margin-top: calc(-1 * var(--header-h)); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,40,22,.66) 0%, rgba(10,40,22,.30) 52%, rgba(10,40,22,.05) 100%); }
.hero__inner { position: absolute; inset: 0; display: flex; align-items: center; }
.hero__inner .container { width: 100%; }
.hero h1 { color: #fff; font-weight: var(--fw-extra); font-size: var(--fs-display); line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight); text-shadow: 0 2px 24px rgba(0,0,0,.25); margin-bottom: 28px; }

/* subpage hero band */
.page-hero { position: relative; overflow: hidden; color: #fff; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,86,46,.92) 0%, rgba(0,92,49,.74) 50%, rgba(10,50,28,.45) 100%); }
.page-hero__inner { position: relative; padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.page-hero .eyebrow { color: var(--green-300); }
.page-hero h1 { color: #fff; font-weight: var(--fw-extra); font-size: var(--fs-h1); line-height: 1.12; max-width: 16ch; }
.page-hero__lead { margin-top: 18px; max-width: 60ch; font-size: var(--fs-lead); line-height: 1.55; color: var(--on-green-soft); }

/* ============================================================
   CARDS
   ============================================================ */
/* support row card (image left, text right) */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.support { display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: start; }
.support__img { width: 230px; height: 240px; object-fit: cover; border-radius: 12px; }
.support h3 { margin-bottom: 8px; color: var(--green-900); font-size: 20px; font-weight: var(--fw-bold); }
.support p { font-size: 15.5px; line-height: 1.55; color: #3c463f; margin-bottom: 16px; }

/* feature row card (smaller image) */
.feature-row { display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: center; }
.feature-row__img { width: 230px; height: 147px; object-fit: cover; border-radius: 12px; }
.feature-row h3 { color: var(--green-900); font-size: 18px; line-height: 1.25; font-weight: var(--fw-bold); margin-bottom: 14px; }

/* service cards (2-up, green label bar) */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); }
.service-card { display: block; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 10px 28px -16px rgba(15,92,52,.35); text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(15,92,52,.5); }
.service-card__img { width: 100%; height: 180px; object-fit: cover; object-position: center 20%; }
.service-grid .service-card__img { height: 300px; }
.service-card__bar { background: var(--green-700); color: #fff; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; font-weight: var(--fw-bold); font-size: 13.5px; letter-spacing: .05em; text-transform: uppercase; }
.service-card__bar .ico { font-size: 18px; stroke-width: 2.6; }
.service-grid .service-card__bar { background: #6EC72E; color: var(--green-900); font-size: 19.5px; }
.service-grid .service-card__bar .ico { color: #fff; }

/* explore cards (3-up label bar, our community) */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ============================================================
   CTA band + testimonial + feature strip + news
   ============================================================ */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band p { color: #fff; font-weight: var(--fw-bold); font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); }

.testimonial { display: flex; gap: 22px; align-items: flex-start; }
.testimonial__quote { font-weight: var(--fw-extra); font-size: 70px; line-height: .7; color: rgba(255,255,255,.5); flex: 0 0 auto; }
.testimonial__body { flex: 1 1 auto; }
.testimonial__quote--close { align-self: flex-end; }
.testimonial__label { font-weight: var(--fw-bold); font-style: italic; font-size: 15px; color: rgba(255,255,255,.95); margin-bottom: 10px; }
.testimonial__text { font-style: italic; font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); line-height: 1.5; color: #fff; max-width: 760px; }

.feature-strip { display: flex; flex-wrap: wrap; gap: 20px 34px; justify-content: space-between; }
.chip { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: var(--fw-semibold); font-size: 15px; }
.chip__dot { width: 34px; height: 34px; border-radius: 50%; border: 1.6px solid var(--green-300);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.chip__dot .ico { font-size: 17px; stroke-width: 2.6; color: var(--green-300); }

.news-grid { display: grid; grid-template-columns: auto 1fr 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
.news-card { text-align: left; cursor: pointer; border: none; background: var(--green-400); color: #fff;
  border-radius: var(--radius-pill); padding: clamp(14px, 3.5vw, 20px) clamp(14px, 5vw, 32px);
  display: flex; align-items: center; justify-content: space-between; gap: clamp(8px, 2.5vw, 16px);
  min-width: 0; max-width: 100%; box-sizing: border-box;
  text-decoration: none; font-family: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.news-card > span { min-width: 0; flex: 1 1 auto; }
.news-card--dark { background: var(--green-900); }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.news-card__k { display: block; font-weight: var(--fw-bold); font-size: clamp(12.5px, 2.6vw + 4px, 16.5px);
  letter-spacing: clamp(0.04em, 0.15vw, 0.12em); text-transform: uppercase; opacity: .92; white-space: nowrap; }
.news-card__t { font-weight: var(--fw-semibold); font-size: clamp(13px, 2.4vw + 4px, 16px); }
.news-card .ico { font-size: clamp(18px, 4vw, 22px); stroke-width: 2.4; flex-shrink: 0; }
.news-card--bright { background: #6EC72E; }
.news-card--mid { background: #4d9a77; }
.news-grid--three {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 0.5rem + 1.5vw, 2.25rem);
}
.news-grid--three .news-card {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
}
.news-grid--three .news-card__k {
  line-height: 1.25;
}
@media (min-width: 761px) {
  .news-grid--three {
    flex-wrap: wrap;
    gap: 14px;
  }
  .news-grid--three .news-card {
    padding: 14px 18px;
    gap: 10px;
  }
  .news-grid--three .news-card__k {
    white-space: nowrap;
    font-size: 13px;
    letter-spacing: 0.05em;
    line-height: 1.2;
  }
  .news-grid--three .news-card .ico {
    font-size: 18px;
  }
}
@media (min-width: 900px) {
  .news-grid--three {
    flex-wrap: nowrap;
    gap: 14px;
  }
  .news-grid--three .news-card {
    flex: 0 0 auto;
    padding: 14px 20px;
  }
  .news-grid--three .news-card__k {
    font-size: 14px;
  }
}
@media (min-width: 1100px) {
  .news-grid--three {
    gap: 16px;
  }
  .news-grid--three .news-card {
    padding: 16px 24px;
  }
  .news-grid--three .news-card__k {
    font-size: 15px;
    letter-spacing: 0.06em;
  }
  .news-grid--three .news-card .ico {
    font-size: 20px;
  }
}
.news-grid--one { grid-template-columns: auto minmax(0, max-content); justify-content: start; column-gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.news-grid--one h2 { font-size: clamp(1.2rem, 1rem + 0.9vw, 1.55rem); white-space: nowrap; }
.news-grid--three h2 { flex: 0 0 auto; font-size: clamp(1.2rem, 1rem + 0.9vw, 1.55rem); white-space: nowrap; }

/* bullet list */
.ticklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.ticklist .ico { font-size: 18px; stroke-width: 2.6; color: var(--green-600); margin-top: 4px; }
.dotlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dotlist li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.dotlist li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--green-600); }
.dotlist--cols { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: clamp(2rem, 1rem + 3vw, 4rem); row-gap: 16px; }
.dotlist--cols li { font-size: 14px; }
.banner-img { width: 100%; height: clamp(220px, 19vw, 290px); object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

/* ============================================================
   FAQ + FORM
   ============================================================ */
.faq__row { border-top: 1px solid var(--line); }
.faq__row:last-child { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; display: flex; gap: 12px;
  align-items: center; padding: 15px 2px; font-family: inherit; font-weight: var(--fw-semibold); font-size: 16px; color: var(--green-900); }
.faq__q .ico { font-size: 18px; stroke-width: 2.6; color: var(--green-700); transition: transform .2s ease; flex-shrink: 0; }
.faq__row.open .faq__q { color: var(--green-700); }
.faq__row.open .faq__q .ico { transform: rotate(90deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a-body { padding: 0 4px 0 32px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.faq__a-body p,
.faq__a-body li { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.faq__a-body p { margin-bottom: 0; }
.faq__a-body p + p,
.faq__a-body p + ul,
.faq__a-body ul + p,
.faq__a-body h3,
.faq__a-body h4 { margin-top: 12px; }
.faq__a-body h3,
.faq__a-body h4 { font-size: 15px; font-weight: var(--fw-semibold); color: var(--green-900); margin-bottom: 6px; }
.faq__list { margin: 0; padding-left: 1.15em; }
.faq__list li { margin-bottom: 8px; }
.faq__list li:last-child { margin-bottom: 0; }
.faq__row.open .faq__a { max-height: 2400px; }
.faq__row.open .faq__a-body { margin-bottom: 16px; }

.form { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 10px 28px -16px rgba(15,92,52,.35); }
.form input, .form textarea { width: 100%; border: none; border-bottom: 1.5px solid var(--line); background: transparent;
  font-family: inherit; font-size: 15px; color: var(--ink); padding: 9px 2px; margin-bottom: 20px; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--green-600); }
.form textarea { resize: vertical; min-height: 64px; }
.form__success { display: none; }
.form.sent .form__fields { display: none; }
.form.sent .form__success { display: block; }
.form__success h3 { color: var(--green-900); font-size: 18px; margin-bottom: 8px; }
.form .btn { display: flex; width: fit-content; margin: 4px auto 0; }

/* WPForms — enquiry section (placeholder fields, underline inputs, accent submit) */
.form-wrap .wpforms-container,
.form-wrap .wpforms-container-full,
.form-wrap .wpforms-container.wpforms-render-modern {
  margin: 0; max-width: none;
  --wpforms-field-size-input-height: auto;
  --wpforms-field-size-input-spacing: 0;
  --wpforms-field-size-padding-h: 2px;
  --wpforms-button-size-margin-top: 0;
  --wpforms-button-background-color: #4d9a77;
  --wpforms-button-text-color: #fff;
  --wpforms-button-border-radius: 999px;
}
.form-wrap .wpforms-title,
.form-wrap .wpforms-description { display: none; }
.form-wrap .wpforms-field-container { margin: 0; }
.form-wrap .wpforms-form .wpforms-field { padding: 0; margin-bottom: 0; }
.form-wrap .wpforms-field-label,
.form-wrap .wpforms-field-sublabel,
.form-wrap legend.wpforms-field-label { display: none !important; }
.form-wrap .wpforms-field input[type="text"],
.form-wrap .wpforms-field input[type="email"],
.form-wrap .wpforms-field input[type="tel"],
.form-wrap .wpforms-field input[type="url"],
.form-wrap .wpforms-field input[type="number"],
.form-wrap .wpforms-field select,
.form-wrap .wpforms-field textarea,
.form-wrap .wpforms-container-full .wpforms-form .wpforms-field input,
.form-wrap .wpforms-container-full .wpforms-form .wpforms-field textarea {
  width: 100% !important; max-width: none !important;
  border: none !important; border-bottom: 1.5px solid var(--line) !important;
  background: transparent !important; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 9px 2px !important; margin-bottom: 20px; border-radius: 0 !important;
  box-shadow: none !important; height: auto !important; min-height: 0;
}
.form-wrap .wpforms-field input::placeholder,
.form-wrap .wpforms-field textarea::placeholder { color: var(--ink-soft); opacity: 1; }
.form-wrap .wpforms-field input:focus,
.form-wrap .wpforms-field select:focus,
.form-wrap .wpforms-field textarea:focus,
.form-wrap .wpforms-container-full .wpforms-form .wpforms-field input:focus,
.form-wrap .wpforms-container-full .wpforms-form .wpforms-field textarea:focus {
  outline: none !important; border-bottom-color: var(--green-600) !important; box-shadow: none !important;
}
.form-wrap .wpforms-field textarea,
.form-wrap .wpforms-field textarea.wpforms-field-medium,
.form-wrap .wpforms-field textarea.wpforms-field-small,
.form-wrap .wpforms-field textarea.wpforms-field-large {
  resize: vertical; min-height: 64px !important; height: 64px !important;
  line-height: 1.4; vertical-align: top;
}
.form-wrap .wpforms-submit-container {
  margin: 4px auto 0 !important; padding: 0 !important; text-align: center;
  width: auto !important; align-self: auto !important;
}
.form-wrap .wpforms-submit,
.form-wrap .wpforms-container-full .wpforms-form .wpforms-submit,
.form-wrap button.wpforms-submit {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: var(--fw-semibold); font-size: 15px; line-height: 1;
  padding: 13px 26px !important; border-radius: var(--radius-pill) !important;
  border: none !important; cursor: pointer;
  background: #4d9a77 !important; color: #fff !important;
  width: fit-content !important; max-width: none !important; height: auto !important;
  transition: background .2s ease, transform .15s ease;
}
.form-wrap .wpforms-submit:hover,
.form-wrap button.wpforms-submit:hover { background: #43855f !important; transform: translateY(-1px); }
.form-wrap .wpforms-error-container,
.form-wrap .wpforms-field-error { font-size: 13px; color: #b42318; margin-bottom: 8px; }
.form-wrap .wpforms-confirmation-container-full { color: var(--green-900); }
.form-wrap .wpforms-confirmation-container-full h3,
.form-wrap .wpforms-confirmation-container-full p:first-child {
  color: var(--green-900); font-size: 18px; font-weight: var(--fw-semibold); margin-bottom: 8px;
}
.form-wrap .wpforms-confirmation-container-full p { color: var(--ink-soft); font-size: 15px; }

/* General contact form — tour radio heading (name row label stays hidden) */
.form-wrap .wpforms-field.form-tour-radio legend.wpforms-field-label {
  display: block !important;
  font-size: 15px; font-weight: var(--fw-regular); color: var(--ink);
  margin: 0 0 8px; padding: 0; float: none; width: auto;
}
.form-wrap .wpforms-field.form-tour-radio .wpforms-field-description {
  display: block;
  font-size: 14px; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.5;
}
.form-wrap .wpforms-field.form-tour-radio legend .wpforms-required-label {
  display: none;
}
.form-wrap .wpforms-field.form-name-row .wpforms-field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.form-wrap .wpforms-field.form-name-row .wpforms-field-row input {
  margin-bottom: 20px;
}
.form-wrap .wpforms-field-name fieldset,
.form-wrap .wpforms-field-radio fieldset {
  border: none !important;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.form-wrap .wpforms-field-name input[type="text"],
.form-wrap .wpforms-field-name-first,
.form-wrap .wpforms-field-name-last {
  border: none !important;
  border-bottom: 1.5px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.form-wrap .wpforms-field.form-tour-radio ul {
  display: flex; gap: 24px; list-style: none; margin: 0 0 20px; padding: 0;
}
.form-wrap .wpforms-field.form-tour-radio li {
  display: flex; align-items: center; gap: 8px; margin: 0;
}
.form-wrap .wpforms-field.form-tour-radio input[type="radio"] {
  width: auto !important; margin: 0 !important; accent-color: var(--green-600);
}
.form-wrap .wpforms-field.form-tour-radio label {
  display: inline !important; font-size: 15px; color: var(--ink); margin: 0;
}
@media (max-width: 600px) {
  .form-wrap .wpforms-field.form-name-row .wpforms-field-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--green-800); color: #fff; }
.footer__inner { padding-block: 46px; display: grid; grid-template-columns: 1.4fr 1fr 1.1fr auto; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.footer__logo { height: 65px; width: auto; margin-bottom: 18px; }
.footer__contact p { font-size: 14px; color: var(--on-green-soft); display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.footer__contact .ico { font-size: 15px; }
.footer__connect { font-weight: var(--fw-bold); font-size: 13.5px; margin: 12px 0 4px; }
.footer__connect-link { color: var(--green-300); }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { color: var(--green-300); text-decoration: none; font-size: 13px; font-weight: var(--fw-semibold);
  letter-spacing: .04em; text-transform: uppercase; }
.footer__nav > a:first-child,
.footer__nav li:first-child a { color: #fff; font-weight: var(--fw-bold); margin-bottom: 4px; }
.footer__nav > a:first-child:hover,
.footer__nav li:first-child a:hover { color: #fff; }
.footer__nav a:hover { color: var(--green-400); }
.footer__badge-col { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer__badge { width: 78px; height: 78px; background: #fff; border-radius: 50%; padding: 4px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { color: var(--green-300); width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--green-300);
  display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.footer__social a:hover { background: rgba(169,213,133,.14); }
.footer__social .ico { font-size: 16px; fill: currentColor; stroke: none; }
.footer__actions { display: flex; flex-direction: column; gap: 10px; }
.footer__actions .btn { justify-content: center; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12px; color: rgba(255,255,255,.65); }
.footer__legal-links { display: flex; gap: 20px; }
.footer__legal-links a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer__legal-links a:hover { color: #fff; text-decoration: underline; }

/* back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-800); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .2s ease; z-index: 55; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); background: var(--green-700); }
.to-top .ico { font-size: 22px; stroke-width: 2.4; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1.3fr 1fr auto; }
  .footer__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .footer__actions .btn { flex: 1 1 auto; }
  .dotlist--cols { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 760px) {
  .split--text-img, .split--text-wide, .split--text-img-landscape, .split--img-text, .split--even { grid-template-columns: 1fr; }
  .split__media--match {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .split__media--match .split__img,
  .split__img--match { position: absolute; }
  .support-grid { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
  .split--img-text .split__img { order: -1; }
  .news-grid, .news-grid--one { grid-template-columns: 1fr; }
  .news-grid--three { flex-direction: column; align-items: stretch; }
  .news-grid--three .news-card { width: 100%; }
  .news-grid--three h2 { white-space: normal; }
  .explore-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__badge-col { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .feature-strip {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .support { grid-template-columns: 96px 1fr; gap: 16px; }
  .support__img { width: 96px; height: 96px; }
  .feature-row { grid-template-columns: 110px 1fr; gap: 16px; }
  .feature-row__img { width: 110px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__badge-col { flex-direction: column; align-items: flex-start; }
  .testimonial__quote { font-size: 52px; }
}
/* Explore more pills: long labels overflow below ~365px with nowrap + fixed padding */
@media (max-width: 380px) {
  .news-card__k {
    white-space: normal;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .faq__a { transition: none; }
}

/* WordPress menu markup (wp_nav_menu wraps links in ul/li) */
.nav__links ul,
.footer__nav ul,
.footer__legal-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: contents;
}
.nav__links li,
.footer__nav li,
.footer__legal-links li {
  display: contents;
}
.nav__links a,
.mobile-menu a,
.footer__nav a,
.footer__legal-links a {
  text-decoration: none;
}

/* ---------- newsletters ---------- */
.container--narrow { max-width: 760px; }
.newsletter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.newsletter-btn {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px; border-radius: var(--radius-lg);
  background: var(--white); border: 1.5px solid var(--line);
  color: var(--green-900); text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease, background .2s ease;
}
.newsletter-btn:hover {
  border-color: var(--green-400); background: var(--sage-50);
  box-shadow: var(--shadow-card); transform: translateY(-2px);
}
.newsletter-btn__icon {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: var(--radius-md);
  background: var(--sage-100); color: var(--green-800);
}
.newsletter-btn__icon .ico { font-size: 22px; stroke-width: 2; }
.newsletter-btn__label {
  flex: 1 1 auto; font-weight: var(--fw-semibold); font-size: var(--fs-lead);
  line-height: 1.3; color: var(--green-900);
}
.newsletter-btn__cue {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  color: var(--green-700); font-weight: var(--fw-semibold); font-size: var(--fs-small);
}
.newsletter-btn__cue-text { text-transform: uppercase; letter-spacing: .06em; }
.newsletter-btn__cue .ico { font-size: 18px; stroke-width: 2.4; transition: transform .2s ease; }
.newsletter-btn:hover .newsletter-btn__cue .ico { transform: translateX(3px); }
@media (max-width: 560px) {
  .newsletter-btn { gap: 14px; padding: 16px 18px; }
  .newsletter-btn__label { font-size: 1.05rem; }
  .newsletter-btn__cue-text { display: none; }
}

/* ---------- news articles ---------- */
.section--news-list { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.news-list__heading { margin-bottom: 14px; }
.news-list__intro { margin-bottom: 26px; }
.news-articles {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.news-article-card {
  display: flex; flex-direction: column; height: 100%;
  background: transparent;
}
.news-article-card__media {
  display: block; overflow: hidden; border-radius: var(--radius-lg);
  margin-bottom: 18px; background: var(--sage-50); aspect-ratio: 4 / 3;
}
.news-article-card__img {
  display: block; width: 100%; height: 100%; object-fit: contain; padding: 16px;
  transition: transform .25s ease;
}
.news-article-card__media:hover .news-article-card__img { transform: scale(1.02); }
.news-article-card__body { display: flex; flex-direction: column; flex: 1 1 auto; }
.news-article-card__title {
  margin: 0 0 12px;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  font-weight: var(--fw-bold); line-height: 1.3;
}
.news-article-card__title a { color: var(--green-900); text-decoration: none; }
.news-article-card__title a:hover { color: var(--green-700); text-decoration: underline; }
.news-article-card__excerpt {
  margin: 0 0 16px; flex: 1 1 auto;
  color: var(--ink-muted); font-size: var(--fs-body); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-article-card__more {
  display: inline-block; margin-top: auto;
  color: var(--green-700); font-weight: var(--fw-semibold); text-decoration: underline;
}
.news-article-card__more:hover { color: var(--green-900); }
.news-article-header { margin-bottom: 28px; }
.news-article-header__title { margin: 0 0 10px; color: var(--green-900); }
.news-article-header__date { margin: 0; color: var(--ink-muted); font-size: var(--fs-small); }
.news-article-feature {
  margin: 0 0 28px; display: flex; justify-content: center;
  padding: 24px; background: var(--sage-50); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.news-article-feature__img {
  display: block; width: min(100%, 320px); height: auto; object-fit: contain;
}
.news-article-body { margin-bottom: 32px; }
.news-article-back { margin: 0; padding-top: 8px; border-top: 1px solid var(--line); }
@media (max-width: 960px) {
  .news-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .news-articles { grid-template-columns: 1fr; }
  .news-article-card__img { aspect-ratio: 16 / 10; }
}
.news-pagination { margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.news-pagination__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px;
}
.news-pagination__item { display: contents; }
.news-pagination__list a,
.news-pagination__list span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; min-height: 38px; padding: 0 10px;
  border-radius: 999px; text-decoration: none;
  color: var(--green-800); font-weight: var(--fw-semibold);
}
.news-pagination__list a:hover { background: var(--sage-100); color: var(--green-900); }
.news-pagination__item.is-current span,
.news-pagination__list .current {
  background: var(--green-800); color: #fff;
}
.news-pagination__list .dots { min-width: auto; padding: 0 4px; color: var(--ink-muted); }
.news-pagination__list .next { min-width: auto; padding: 0 14px; }
