/* =================================================================
   Evergreen — Senior Living Community Template
   Plain CSS3. No frameworks. No build step.

   ┌──────────────────────────────────────────────────────────────┐
   │  TO REBRAND: edit the CSS variables in :root below.           │
   │  Change --sage / --teal to recolor the whole site instantly.  │
   └──────────────────────────────────────────────────────────────┘
   ================================================================= */

:root {
  /* ---- Brand colors (edit these to rebrand) ---- */
  --sage: #6c8a6e;          /* primary brand color (soft sage green) */
  --sage-deep: #4f6b52;     /* darker sage for gradients / hover */
  --sage-soft: #e8efe6;     /* tinted background wash */
  --teal: #7aa6a0;          /* warm complementary accent */
  --teal-dark: #5c8882;     /* accent hover */
  --clay: #c98a63;          /* warm secondary accent (apricot/clay) */

  /* ---- Neutrals ---- */
  --white: #ffffff;
  --cream: #faf6ef;         /* warm cream background */
  --soft: #f3ede2;          /* soft alternating background */
  --ink: #2f3a30;           /* main text (warm charcoal-green) */
  --muted: #6a7568;         /* secondary text */
  --line: #e4ddd0;          /* borders / dividers */

  /* ---- Typography ---- */
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* ---- Effects & layout ---- */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(79, 107, 82, 0.08);
  --shadow-md: 0 16px 40px rgba(79, 107, 82, 0.14);
  --shadow-lg: 0 26px 64px rgba(79, 107, 82, 0.20);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1.04rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  color: var(--sage-deep);
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
  font-weight: 600;
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

/* ============================= LAYOUT HELPERS ============================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

.section-alt { background: var(--soft); }
.section-sage { background: var(--sage-soft); }

.section-head {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }

.section-sub { color: var(--muted); font-size: 1.12rem; margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

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

/* ============================= BUTTONS ============================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(108, 138, 110, 0.35);
}
.btn-primary:hover { background: var(--sage-deep); }

.btn-light { background: var(--white); color: var(--sage-deep); }
.btn-light:hover { box-shadow: var(--shadow-md); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

.btn-lg { padding: 16px 34px; font-size: 1.06rem; }

/* ============================= HEADER ============================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(250, 246, 239, 0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.42rem;
  color: var(--sage-deep);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sage), var(--teal-dark));
  color: var(--white);
}

.logo-text { letter-spacing: -0.02em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-weight: 500;
  color: var(--ink);
  font-size: 1rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}

.main-nav ul a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--sage);
  transition: width 0.28s var(--ease);
}
.main-nav ul a:hover { color: var(--sage-deep); }
.main-nav ul a:hover::after { width: 100%; }

.main-nav ul a.active { color: var(--sage-deep); font-weight: 600; }
.main-nav ul a.active::after { width: 100%; }

.nav-cta { padding: 11px 24px; }

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--sage-deep);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================= HERO ============================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--sage-soft);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 96px 0 100px;
}

.hero-content { max-width: 600px; }

.hero .eyebrow { color: var(--teal-dark); }

.hero h1 {
  color: var(--sage-deep);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  margin-bottom: 0.3em;
  font-weight: 600;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.24rem;
  max-width: 540px;
  margin-bottom: 34px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.hero-reassure {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.98rem;
}
.hero-reassure li { display: flex; align-items: center; gap: 8px; }
.hero-reassure .check { color: var(--sage); font-weight: 700; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  left: -22px;
  bottom: 36px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 250px;
}
.hero-badge .badge-icon {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--sage-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-badge strong { display: block; color: var(--sage-deep); font-family: var(--font-head); font-size: 1.05rem; }
.hero-badge span { color: var(--muted); font-size: 0.88rem; }

/* ============================= INTRO STRIP ============================= */
.intro { text-align: center; }
.intro .intro-lead {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-family: var(--font-head);
  color: var(--sage-deep);
  line-height: 1.5;
  font-weight: 400;
}

/* ============================= CARE LEVELS ============================= */
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.care-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.care-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.care-media { height: 200px; overflow: hidden; }
.care-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.care-card:hover .care-media img { transform: scale(1.06); }
.care-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.care-icon {
  font-size: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sage-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.care-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.care-card p { color: var(--muted); margin-bottom: 18px; flex: 1; }
.care-link { color: var(--teal-dark); font-weight: 600; align-self: flex-start; }
.care-link:hover { text-decoration: underline; }

/* ============================= RESIDENCES GRID ============================= */
.residences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.residence-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.residence-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.residence-media { position: relative; height: 220px; overflow: hidden; }
.residence-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.residence-card:hover .residence-media img { transform: scale(1.06); }
.residence-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--white);
  background: var(--sage);
  z-index: 2;
}
.residence-tag.assisted { background: var(--teal-dark); }
.residence-tag.memory { background: var(--clay); }
.residence-body { padding: 24px 24px 26px; }
.residence-type { font-size: 1.3rem; margin-bottom: 4px; }
.residence-care { color: var(--teal-dark); font-weight: 600; font-size: 0.92rem; margin-bottom: 16px; }
.residence-specs {
  display: flex;
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 18px;
}
.residence-specs li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
}
.residence-price { display: flex; align-items: baseline; justify-content: space-between; }
.residence-price .from { color: var(--muted); font-size: 0.85rem; }
.residence-price .amount {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--sage-deep);
}
.residence-price .per { font-size: 0.88rem; font-weight: 500; color: var(--muted); }

/* ============================= LIFESTYLE TEASER / FEATURES ============================= */
.lifestyle-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.lifestyle-split.reverse .lifestyle-text { order: 2; }
.lifestyle-media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}
.lifestyle-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.lifestyle-text p { color: var(--muted); }
.lifestyle-list { margin: 22px 0 28px; display: grid; gap: 14px; }
.lifestyle-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
}
.lifestyle-list .li-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--sage-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.lifestyle-list strong { display: block; color: var(--sage-deep); font-family: var(--font-head); }
.lifestyle-list span { color: var(--muted); font-size: 0.95rem; }

/* ============================= AMENITIES GRID (lifestyle page) ============================= */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.amenity-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.amenity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.amenity-media { height: 220px; overflow: hidden; }
.amenity-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.amenity-card:hover .amenity-media img { transform: scale(1.06); }
.amenity-body { padding: 26px 26px 28px; }
.amenity-body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.amenity-body p { color: var(--muted); margin: 0; }
.amenity-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.amenity-tags span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-dark);
  background: var(--sage-soft);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ============================= FEATURE / VALUES GRID ============================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.features-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  font-size: 1.7rem;
  border-radius: 16px;
  background: var(--sage-soft);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.25rem; }
.feature-card p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ============================= STATS BAND ============================= */
.stats-band {
  background:
    radial-gradient(800px 300px at 50% -40%, rgba(122, 166, 160, 0.4), transparent 60%),
    linear-gradient(160deg, var(--sage-deep), #3d5440);
  color: var(--white);
  padding: 70px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 3.3rem);
  color: var(--white);
  line-height: 1;
}
.stat-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  margin-top: 8px;
  display: block;
}

/* ============================= TESTIMONIALS ============================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stars { color: #e0a83d; letter-spacing: 2px; margin-bottom: 16px; font-size: 1.1rem; }
.testimonial-card blockquote {
  margin: 0 0 24px;
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.75;
  font-family: var(--font-head);
  font-weight: 400;
}
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}
.t-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.t-meta { display: flex; flex-direction: column; line-height: 1.4; }
.t-meta strong { color: var(--sage-deep); font-family: var(--font-head); font-weight: 600; }
.t-meta small { color: var(--muted); }

/* ============================= CTA BAND ============================= */
.cta-band {
  position: relative;
  background:
    linear-gradient(135deg, rgba(79, 107, 82, 0.92), rgba(61, 84, 64, 0.92)),
    var(--cta-photo, none) center / cover no-repeat;
  color: var(--white);
  padding: 92px 0;
}
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; position: relative; }
.cta-inner h2 { color: var(--white); font-size: clamp(2.1rem, 4.5vw, 3.1rem); }
.cta-inner p { color: rgba(255, 255, 255, 0.9); font-size: 1.18rem; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================= PAGE BANNER ============================= */
.page-banner {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: 92px 0 78px;
  background:
    linear-gradient(160deg, rgba(79, 107, 82, 0.9) 0%, rgba(61, 84, 64, 0.88) 100%),
    var(--banner-photo, none) center / cover no-repeat;
  background-color: var(--sage-deep);
}
.page-banner .container { position: relative; }
.page-banner .eyebrow { color: #d7e6d4; }
.page-banner h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  margin: 12px 0 0.3em;
}
.page-banner-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
  max-width: 640px;
  margin: 0 0 22px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.8);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-current] { color: #d7e6d4; }
.breadcrumb span[aria-hidden] { color: rgba(255, 255, 255, 0.45); }

/* ============================= RESIDENCES FILTER ============================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
}
.filter-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--sage); color: var(--sage-deep); transform: translateY(-2px); }
.filter-btn.is-active {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}
.filter-empty {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  padding: 40px 0;
  display: none;
}
.filter-empty.show { display: block; }

/* ============================= ABOUT PAGE ============================= */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.about-text p { color: var(--muted); }
.about-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

/* ---- Team grid ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-sm);
}
.team-card h3 { font-size: 1.2rem; margin-bottom: 2px; }
.team-role { color: var(--teal-dark); font-weight: 600; font-size: 0.92rem; margin-bottom: 10px; }
.team-bio { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---- Accreditations ---- */
.accred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.accred-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.accred-icon { font-size: 2.2rem; display: block; margin-bottom: 12px; }
.accred-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.accred-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ============================= FORMS (contact / tour) ============================= */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h2 { font-size: 1.7rem; margin-bottom: 4px; }

.form-field { display: flex; flex-direction: column; text-align: left; margin-bottom: 18px; }
.form-field label {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 6px 2px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(108, 138, 110, 0.18);
}
.form-field input.invalid,
.form-field textarea.invalid { border-color: #c0563f; box-shadow: 0 0 0 3px rgba(192, 86, 63, 0.14); }
.field-error { color: #c0563f; font-size: 0.84rem; margin-top: 5px; min-height: 1em; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-submit { margin-top: 6px; }
.form-status { margin: 16px 0 0; font-weight: 500; min-height: 1.4em; }
.form-status.success { color: var(--sage-deep); }
.form-status.error { color: #c0563f; }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  font-size: 1.5rem;
  border-radius: 14px;
  background: var(--sage-soft);
  margin-bottom: 14px;
}
.info-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.info-card p { margin: 0 0 4px; color: var(--ink); }
.info-card a { color: var(--teal-dark); font-weight: 600; }
.info-card a:hover { text-decoration: underline; }
.info-note { color: var(--muted); font-size: 0.9rem; }

/* ============================= FOOTER ============================= */
.site-footer { background: #2c3a2e; color: rgba(255, 255, 255, 0.72); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 72px 24px 52px;
}
.logo-footer { color: var(--white); margin-bottom: 18px; }
.logo-footer .logo-text { color: var(--white); }
.footer-tagline { font-size: 0.98rem; max-width: 330px; }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.social a:hover { background: var(--sage); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--sage-soft); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px;
  font-size: 0.9rem;
}
.footer-bottom-inner p { margin: 0; }

/* ============================= SCROLL REVEAL ============================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

.care-grid .reveal.is-visible,
.residences-grid .reveal.is-visible,
.amenities-grid .reveal.is-visible,
.features-grid .reveal.is-visible,
.team-grid .reveal.is-visible,
.testimonials-grid .reveal.is-visible { transition-delay: var(--reveal-delay, 0s); }

.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .care-card:hover, .residence-card:hover, .amenity-card:hover,
  .feature-card:hover, .team-card:hover, .testimonial-card:hover { transform: none; }
}

/* ============================= RESPONSIVE ============================= */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 70px 0 80px; }
  .hero-media img { height: 420px; }
  .care-grid,
  .residences-grid,
  .amenities-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid,
  .features-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .accred-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lifestyle-split,
  .about-split { grid-template-columns: 1fr; gap: 36px; }
  .lifestyle-split.reverse .lifestyle-text { order: 0; }
  .lifestyle-media img, .about-visual img { height: 360px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 24px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease),
      visibility 0.3s var(--ease);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav ul li { border-bottom: 1px solid var(--line); }
  .main-nav ul a { display: block; padding: 15px 4px; }
  .main-nav ul a::after { display: none; }
  .main-nav ul a.active { color: var(--sage); }
  .nav-cta { margin-top: 14px; width: 100%; }

  .section { padding: 72px 0; }
  .page-banner { padding: 66px 0 56px; }
  .hero-badge { left: 12px; }
  .footer-bottom-inner { flex-direction: column; }
}

@media (max-width: 560px) {
  .care-grid,
  .residences-grid,
  .amenities-grid,
  .testimonials-grid,
  .features-grid,
  .features-grid-3,
  .team-grid,
  .accred-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .container { padding: 0 18px; }
  .hero-media img { height: 340px; }
  .contact-form-wrap { padding: 26px; }
}
