/* ============================================================
   Noor Homecareeet
   Palette derived from logo (see README Section 3)
   Type: Lora (display/headings) + Inter (body/nav)
   ============================================================ */

:root {
  /* ===== PRIMITIVE TOKENS (raw values) ===== */
  --green-deep: #123D2A;
  --sage: #3B5C4A;
  --gold: #BE8F21;
  --gold-light: #D4B86B;
  --gold-text: #826217;
  --off-white: #ECE6D6;
  --parchment-alt: #E1D9C4;
  --charcoal: #2B2B2B;
  --white: #FFFFFF;

  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;
  --ink: #0B2418;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 8px 24px rgba(18, 61, 42, 0.08);
  --shadow-lift: 0 16px 40px rgba(18, 61, 42, 0.14);
  --container-w: 1160px;

  --duration-fast: 150ms;
  --duration-normal: 200ms;

  /* ===== SEMANTIC TOKENS (purpose-based aliases) ===== */
  --color-primary: var(--gold);
  --color-primary-hover: var(--gold-light);
  --color-primary-foreground: var(--ink);
  --color-secondary: var(--green-deep);
  --color-secondary-hover: var(--sage);
  --color-secondary-foreground: var(--off-white);
  --color-surface: var(--white);
  --color-background: var(--off-white);
  --color-text: var(--charcoal);
  --color-muted-foreground: var(--sage);
  --color-ring: var(--gold);
  --opacity-disabled: 0.5;

  /* ===== COMPONENT TOKENS ===== */
  --button-radius: var(--radius-sm);
  --card-bg: var(--color-surface);
  --card-radius: var(--radius-md);
  --card-shadow: var(--shadow-soft);
  --card-shadow-hover: var(--shadow-lift);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--green-deep);
  line-height: 1.25;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--button-radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition-property: color, background-color, border-color, box-shadow, transform;
  transition-duration: var(--duration-fast);
  transition-timing-function: ease-in-out;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: 50ms; }
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: var(--opacity-disabled);
  pointer-events: none;
  cursor: not-allowed;
}
.btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-primary:hover { background: var(--color-primary-hover); box-shadow: 0 10px 28px rgba(190,143,33,0.35); }
.btn-primary:active { background: var(--gold); box-shadow: none; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-green { background: var(--color-secondary); color: var(--color-secondary-foreground); }
.btn-green:hover { background: var(--color-secondary-hover); }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--green-deep);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.brand img {
  height: 42px;
  width: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--off-white);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--off-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}
.nav-links {
  display: flex;
  gap: 1.75rem;
}
.nav-links a {
  color: var(--off-white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  border-color: var(--gold);
  color: var(--gold-light);
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-deep);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 3px solid var(--gold);
    padding: 0.35rem 0;
  }
  .nav-links.nav-open {
    max-height: min(70vh, 560px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links a {
    padding: 0.95rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    display: block;
  }
  .nav-links a.active,
  .nav-links a:hover {
    border-color: transparent;
  }
}

/* ---------- Hero (video, homepage) ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,36,24,0.82) 0%, rgba(11,36,24,0.80) 45%, rgba(11,36,24,0.90) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 1.5rem;
  max-width: 720px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1rem;
}
.hero .eyebrow,
.hero-static .eyebrow,
.section-dark .eyebrow,
.problem-section .eyebrow {
  color: var(--gold-light);
}
.hero h1 {
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
  margin-bottom: 1rem;
}
.hero-badge p { font-size: 1.05rem; opacity: 1; text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.hero-list { margin: 1rem 0 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.hero-list li {
  padding-left: 1.6rem;
  position: relative;
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
}
.hero-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-light);
  font-weight: 700;
}
.hero-stars {
  margin-top: 1.75rem;
  color: var(--gold-light);
  font-size: 1.1rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.badge-text { color: var(--white); font-size: 0.85rem; font-weight: 500; }

/* ---------- Mono system labels ---------- */
.mono-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.ref-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.6rem;
}
.section-dark .ref-number,
.hero .ref-number { color: var(--gold-light); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gold);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------- Credential seal (signature element) ---------- */
.cred-seal {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 2;
  width: 128px;
  height: 128px;
  opacity: 0.92;
}
.cred-seal svg { width: 100%; height: 100%; }
.cred-seal .seal-ring {
  animation: sealRotate 26s linear infinite;
  transform-origin: 50% 50%;
}
@keyframes sealRotate {
  to { transform: rotate(360deg); }
}
.cred-seal-mini {
  width: 64px;
  height: 64px;
  opacity: 0.85;
}
.cred-seal .seal-ring text {
  fill: var(--gold-light);
  font-family: var(--font-mono);
}
.cred-seal .seal-emblem {
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1;
  opacity: 0.7;
}
.cred-seal .seal-initial {
  fill: var(--off-white);
  font-family: var(--font-display);
  font-weight: 700;
}
.cred-seal .seal-caption {
  fill: var(--gold-light);
  font-family: var(--font-mono);
}
@media (max-width: 640px) {
  .cred-seal { width: 84px; height: 84px; bottom: 1.25rem; right: 1.25rem; }
}

/* ---------- Kinetic headline reveal ---------- */
.kinetic-heading .kw {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-bottom: 0.15em;
}
.kinetic-heading .kw > span {
  display: inline-block;
  transform: translateY(115%);
  animation: kineticIn 0.75s cubic-bezier(.16,.84,.44,1) forwards;
}
@keyframes kineticIn {
  to { transform: translateY(0); }
}

/* ---------- Live status pill ---------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 0.45rem 0.9rem 0.45rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  flex-shrink: 0;
  animation: pulseDot 2.2s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(212,184,107,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(212,184,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,184,107,0); }
}

/* ---------- Static page hero (FAQ, Mission) ---------- */
.hero-static {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}
.hero-fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-static::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18,61,42,0.6);
}
.hero-static .hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: none;
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.hero-static h1 { color: var(--white); margin: 0; }

/* ---------- Trust float (hero -> next section bridge) ---------- */
.trust-float-wrap {
  position: relative;
  z-index: 3;
}
.trust-float {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  margin-top: -3.5rem;
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.trust-float-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.trust-float-item + .trust-float-item {
  border-left: 1px solid rgba(18,61,42,0.1);
  padding-left: 1.5rem;
}
.trust-float-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.trust-float-item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--green-deep);
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}
.trust-float-item span {
  display: block;
  font-size: 0.82rem;
  color: var(--sage);
  line-height: 1.35;
}
@media (max-width: 860px) {
  .trust-float { grid-template-columns: 1fr; margin-top: -2rem; padding: 1.5rem; gap: 1.1rem; }
  .trust-float-item + .trust-float-item { border-left: none; padding-left: 0; border-top: 1px solid rgba(18,61,42,0.1); padding-top: 1.1rem; }
}

/* ---------- Problem statement (editorial pull-quote) ---------- */
.problem-section {
  background: var(--ink);
  color: var(--off-white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.problem-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 85% 20%, rgba(190,143,33,0.10), transparent 60%);
}
.problem-statement {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.problem-statement .ref-number { color: var(--gold-light); justify-content: center; display: flex; }
.problem-statement blockquote {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.35;
  color: var(--off-white);
}
.problem-statement p.support {
  color: rgba(251,250,246,0.7);
  font-size: 1.02rem;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .problem-section { padding: 4rem 0; }
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-tight-top { padding-top: 6.5rem; }
.section-alt { background: var(--parchment-alt); }
.section-dark { background: var(--green-deep); color: var(--off-white); }
.section-dark h2 { color: var(--off-white); }
.section-divider { display: flex; justify-content: center; margin: 1rem 0 1.5rem; }
.section-divider span { width: 60px; height: 3px; background: var(--gold); border-radius: 2px; }

/* ---------- Stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-deep);
}
.stat-label { font-size: 0.85rem; color: var(--sage); font-weight: 500; }

/* ---------- Feature grid (Why Choose Us / What Makes Us Different) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.feature-grid.reverse .feature-img { order: 2; }
.feature-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.feature-text ul { margin: 1.25rem 0; display: flex; flex-direction: column; gap: 0.6rem; }
.feature-text li { padding-left: 1.6rem; position: relative; }
.feature-text li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold-text);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}
.trust-strip { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.trust-badge {
  background: var(--white);
  border: 1px solid rgba(18,61,42,0.12);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid.reverse .feature-img { order: 0; }
}

/* ---------- Care cards ---------- */
.care-intro { text-align: center; max-width: 560px; margin: 0 auto 3rem; }
.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}
.care-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition-property: transform, box-shadow;
  transition-duration: var(--duration-normal);
  transition-timing-function: ease-out;
}
.care-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.care-card img { height: 190px; width: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.care-card:hover img { transform: scale(1.06); }
.care-card { position: relative; }
.care-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 190px;
  background: linear-gradient(180deg, rgba(18,61,42,0) 55%, rgba(18,61,42,0.35) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.care-card:hover::before { opacity: 1; }
.care-card-body { padding: 1.4rem; }
.care-card-body ul { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.75rem; }
.care-card-body li { padding-left: 1.2rem; position: relative; font-size: 0.92rem; color: var(--charcoal); }
.care-card-body li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--sage);
}

/* Bento layout: featured card spans wider + taller */
.care-grid-bento {
  grid-template-columns: repeat(4, 1fr);
}
.care-card-featured {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}
.care-card-featured img { height: 220px; }
.care-card-featured::before { height: 220px; }
.care-card-featured .care-card-body { flex: 1; display: flex; flex-direction: column; }
.care-card-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
@media (max-width: 960px) {
  .care-grid-bento { grid-template-columns: repeat(2, 1fr); }
  .care-card-featured { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 640px) {
  .care-grid-bento { grid-template-columns: 1fr; }
  .care-card-featured { grid-column: span 1; }
}
.care-cta-row { text-align: center; margin-top: 2.5rem; }
.btn-outline-green {
  background: transparent;
  border-color: var(--green-deep);
  color: var(--green-deep);
}
.btn-outline-green:hover { background: var(--green-deep); color: var(--off-white); }

/* ---------- Testimonial strip (homepage) ---------- */
.testimonial-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 1.6rem;
  box-shadow: var(--card-shadow);
  border-top: 3px solid var(--color-primary);
}
.testimonial-card p {
  color: var(--charcoal);
  font-size: 0.95rem;
  margin: 0.75rem 0 1rem;
}
.testimonial-author {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sage);
}
@media (max-width: 860px) {
  .testimonial-strip { grid-template-columns: 1fr; }
}

/* ---------- Services page ---------- */
.hero-static-text {
  max-width: 760px;
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 2;
}
.hero-static-text .eyebrow { margin-bottom: 0.8rem; }
.hero-static-text h1 { margin-bottom: 0.9rem; }
.hero-static-text p { font-size: 1rem; color: rgba(251,250,246,0.92); max-width: 660px; margin: 0 auto 1.5rem; }
.hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; row-gap: 0.85rem; }
.hero-actions .btn { min-width: 220px; justify-content: center; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.7); color: var(--white); }
.service-intro { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--gold);
}
.service-card h3 { margin-bottom: 0.7rem; color: var(--green-deep); }
.service-card p { color: var(--charcoal); }
.service-card ul { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.9rem; }
.service-card li { padding-left: 1rem; position: relative; color: var(--sage); font-size: 0.95rem; }
.service-card li::before { content: "•"; position: absolute; left: 0; color: var(--gold-text); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.step-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(18,61,42,0.12);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}
.step-card h3 { color: var(--green-deep); margin-bottom: 0.55rem; }
.step-card p { color: var(--charcoal); margin-bottom: 0; font-weight: 500; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 700;
  font-family: var(--font-display);
}

/* ---------- How It Works (process) section ---------- */
.process-section {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(190,143,33,0.08), transparent 60%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(59,92,74,0.10), transparent 60%);
}
.process-grid {
  position: relative;
  counter-reset: step;
}
.process-grid .step-card {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.process-grid .step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}
.process-grid .step-number {
  width: 52px;
  height: 52px;
  font-size: 1.35rem;
  background: var(--green-deep);
  color: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(190,143,33,0.18);
}
@media (min-width: 861px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .process-grid .step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 26px;
    left: 100%;
    width: 1.5rem;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px);
  }
}

/* ---------- Newsletter / forms ---------- */
.newsletter { max-width: 560px; margin: 0 auto; text-align: center; }
.newsletter p { color: rgba(251,250,246,0.85); margin-bottom: 1.75rem; }
.newsletter-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
form[data-placeholder-form],
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: left;
}
form[data-placeholder-form] label,
.contact-form label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.contact-form label { color: var(--sage); }
form[data-placeholder-form] input,
form[data-placeholder-form] textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.contact-form input,
.contact-form textarea {
  border-color: rgba(18,61,42,0.15);
  background: var(--white);
  color: var(--charcoal);
}
form[data-placeholder-form] input:focus,
form[data-placeholder-form] textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold-text);
  outline: none;
}
form[data-placeholder-form] input::placeholder,
form[data-placeholder-form] textarea::placeholder { color: rgba(255,255,255,0.5); }
.contact-form textarea { resize: vertical; min-height: 120px; }
form[data-placeholder-form] button,
.contact-form button {
  align-self: flex-start;
  opacity: 0.75;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}
form[data-placeholder-form] button.is-active,
.contact-form button.is-active {
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(190,143,33,0.25);
}
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(190,143,33,0.15);
  color: var(--gold-light);
  font-size: 0.9rem;
}
.contact-form .form-success { background: rgba(59,92,74,0.1); color: var(--sage); }
.form-success.is-visible { display: block; }

/* ---------- Content pages (CDHCI, FAQ, Mission) ---------- */
.content-page { max-width: 860px; margin: 0 auto; }
.content-page.reveal,
.content-page.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}
.content-page > .container { display: flex; flex-direction: column; gap: 1.2rem; }
.content-page h1 { margin-bottom: 0.6rem; }
.content-page h2 { margin-top: 0; margin-bottom: 0.75rem; }
.content-page h3 { margin-top: 0; margin-bottom: 0.55rem; color: var(--sage); }
.content-block {
  background: var(--white);
  border: 1px solid rgba(18,61,42,0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-soft);
}
.content-block:nth-child(even) { background: #F4F1E8; }
.content-block p, .content-block ul, .content-block li { color: var(--charcoal); }
.checklist li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-text);
  font-weight: 700;
}
.content-page ul:not(.checklist) li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.4rem;
}
.content-page ul:not(.checklist) li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--sage);
}

/* ---------- FAQ ---------- */
.faq-category {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.faq-category:nth-of-type(even) { background: #F1EEE4; }
.faq-item { margin-bottom: 1.25rem; }
.faq-item:last-child { margin-bottom: 0; }
.faq-item h4 { color: var(--green-deep); margin-bottom: 0.4rem; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.blog-card img { height: 200px; width: 100%; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-meta { font-size: 0.8rem; color: var(--sage); margin-top: 0.75rem; font-weight: 500; }

.post-header { max-width: 780px; margin: 0 auto 2rem; text-align: center; }
.post-body { max-width: 720px; margin: 0 auto; }
.post-body img { border-radius: var(--radius-md); margin: 1.5rem 0; }
.post-body ul { margin: 0.5rem 0 1.25rem; }
.post-body ul li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.35rem;
}
.post-body ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--sage);
}

/* ---------- Reviews page ---------- */
.review-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-hero .hero-static-text {
  background: rgba(18, 61, 42, 0.28);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  backdrop-filter: blur(6px);
}
.review-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.review-summary-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--gold);
}
.review-summary-card strong {
  display: block;
  color: var(--green-deep);
  margin-bottom: 0.35rem;
}
.review-summary-card span {
  color: var(--charcoal);
  font-size: 0.95rem;
}
.review-form-card {
  background: linear-gradient(135deg, var(--white) 0%, #f8f3e3 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
  border: 1px solid rgba(18,61,42,0.08);
}
.review-form-card h2 {
  margin-bottom: 0.5rem;
}
.review-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.review-form label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sage);
}
.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(18,61,42,0.16);
  background: rgba(255,255,255,0.9);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.95rem;
  box-shadow: inset 0 1px 2px rgba(18,61,42,0.04);
}
.review-form textarea {
  min-height: 130px;
  resize: vertical;
}
.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: var(--gold-text);
  outline: none;
  box-shadow: 0 0 0 3px rgba(190,143,33,0.18);
}
.review-hero .hero-fallback-img {
  filter: brightness(0.6);
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.review-card h3 {
  margin-bottom: 0.7rem;
  color: var(--green-deep);
}
.review-card p {
  color: var(--charcoal);
}
.review-stars {
  color: var(--gold-text);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}
.review-author {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sage);
}
.review-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}
.review-highlight,
.review-cta {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.review-highlight {
  border-left: 4px solid var(--gold);
}
.review-cta {
  background: linear-gradient(135deg, #f4efe0 0%, #f8f6ee 100%);
}
.review-cta h3 {
  color: var(--green-deep);
  margin-bottom: 0.6rem;
}
.review-cta .btn {
  margin-top: 1rem;
}
.form-success {
  display: none;
  margin-top: 0.2rem;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(59,92,74,0.1);
  color: var(--sage);
  font-size: 0.92rem;
}
.form-success.is-visible {
  display: block;
}
@media (max-width: 860px) {
  .review-layout { grid-template-columns: 1fr; }
  .review-hero .hero-static-text { padding: 1.6rem; }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.contact-logo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}
.map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deep);
  color: var(--off-white);
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h3 { color: var(--off-white); font-size: 1.1rem; }
.footer-grid p { color: rgba(251,250,246,0.75); }
.footer-contact-item { margin-bottom: 1rem; }
.footer-contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.email-btn {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  color: var(--off-white);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.email-btn:hover { background: rgba(255,255,255,0.12); border-color: var(--gold-light); }
.social-icons { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-icons a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--off-white);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.social-icons a:hover { background: var(--gold); border-color: var(--gold); }
.social-icons svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(251,250,246,0.6);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .hero-content { padding: 4rem 1.25rem; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}
/* ==========================
   BLOG HERO
========================== */

.blog-hero {
    background: linear-gradient(135deg, #f8f8f4 0%, #f2efe7 100%);
    padding: 90px 20px;
    text-align: center;
}

.blog-hero .container {
    max-width: 900px;
    margin: 0 auto;
}

.blog-hero .eyebrow {
    display: inline-block;
    background: #d9c48d;
    color: #244030;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.blog-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.2;
    color: #1f2d1f;
    margin-bottom: 20px;
}

.blog-hero p {
    font-size: 1.05rem;
    color: #5d5d5d;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto;
}

/* ==========================
   INTRO
========================== */

.blog-intro {
    padding: 70px 20px 40px;
}

.blog-intro .container {
    max-width: 900px;
}

.blog-intro .feature-text {
    text-align: center;
}

.blog-intro h2 {
    font-size: clamp(1.7rem, 2.6vw, 2rem);
    color: #1f2d1f;
    margin-bottom: 20px;
}

.blog-intro p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* ==========================
   BLOG GRID
========================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 20px;
    align-items: stretch;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

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

.blog-card-body {
    display: flex;
    flex-direction: column;
    padding: 28px;
    flex: 1;
}

.blog-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #1f2d1f;
}

.blog-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-meta {
    font-size: 0.9rem;
    color: #8a8a8a;
    margin-top: auto;
}

/* ==========================
   CTA
========================== */

.blog-cta-section {
    padding: 2rem 1.5rem 4rem;
}

.blog-cta-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #21452e 0%, #123d2a 100%);
    color: #fff;
    border-radius: 24px;
    padding: 56px 32px;
    box-shadow: 0 16px 40px rgba(18, 61, 42, 0.16);
}

.blog-cta-content h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    color: #fff;
    margin-bottom: 14px;
}

.blog-cta-content p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.blog-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.blog-cta-buttons .btn {
    min-width: 220px;
    justify-content: center;
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {
    .blog-hero {
        padding: 70px 20px;
    }

    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .blog-intro h2 {
        font-size: 1.7rem;
    }

    .blog-card img {
        height: 220px;
    }

    .blog-cta-content {
        padding: 40px 20px;
    }

    .blog-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .blog-cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }
}