/* =========================================================================
   Sholem Care — Concept Preview
   Hand-crafted stylesheet. Mobile-first. No frameworks.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------------- */
:root {
  /* Palette: soft sage + warm cream */
  --sage: #5C8A6E;
  --sage-dark: #487057;
  --sage-darker: #365440;
  --sage-tint: #E8F0E9;
  --sage-tint-2: #D6E4DA;
  --cream: #FAF7F2;
  --cream-deep: #F2EDE3;
  --surface: #FFFFFF;
  --ink: #1F2A24;
  --ink-soft: #2F3D34;
  --ink-muted: #5C6B62;
  --ink-faint: #8A968F;
  --border: #E5E0D5;
  --border-soft: #EFEAE0;
  --warning-bg: #FFF4E0;
  --warning-ink: #8A5A18;

  /* Type */
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Spacing & sizing */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7rem);

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(31, 42, 36, 0.06);
  --shadow-lift: 0 12px 40px rgba(31, 42, 36, 0.10);
  --shadow-card: 0 2px 12px rgba(31, 42, 36, 0.05);
  --shadow-ring: 0 0 0 3px rgba(92, 138, 110, 0.30);

  /* Motion */
  --t-fast: 160ms;
  --t-base: 240ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: var(--sage-dark); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--sage-darker); }

/* Visible focus for everyone */
:focus-visible {
  outline: none;
  box-shadow: var(--shadow-ring);
  border-radius: 6px;
}

/* Hide skip-link until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--sage);
  color: #fff;
  z-index: 1000;
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* -------------------------------------------------------------------------
   3. Typography
   ------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0 0 0.75rem;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.85rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 60ch;
}

/* -------------------------------------------------------------------------
   4. Layout helpers
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.section__head .lead { margin-inline: auto; }

.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--warning-bg);
  color: var(--warning-ink);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-pill);
  margin-top: 0.5rem;
}
.placeholder-note::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--warning-ink);
  flex: none;
}

/* -------------------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease),
              background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 6px 18px rgba(92, 138, 110, 0.28);
}
.btn--primary:hover {
  background: var(--sage-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(72, 112, 87, 0.32);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
  background: var(--sage-tint);
  transform: translateY(-1px);
}
.btn--invert {
  background: #fff;
  color: var(--sage-dark);
}
.btn--invert:hover {
  background: var(--cream);
  color: var(--sage-darker);
  transform: translateY(-1px);
}
.btn--invert-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--invert-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}
.btn--lg { padding: 1.05rem 1.7rem; font-size: 1rem; }

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--sage-dark);
}
.btn-arrow svg { transition: transform var(--t-fast) var(--ease); }
.btn-arrow:hover svg { transform: translateX(3px); }

/* -------------------------------------------------------------------------
   6. Header / Navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--border-soft);
  transition: border-color var(--t-base) var(--ease),
              background var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--border-soft);
  background: var(--cream);
  box-shadow: 0 8px 24px rgba(31, 42, 36, 0.05);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.85rem, 2.5vw, 1.8rem);
  padding-block: 0.55rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand:hover { color: var(--sage-dark); }
.brand__mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--sage);
  flex: none;
  box-shadow: 0 4px 12px rgba(92, 138, 110, 0.30);
}
.brand__mark svg { width: 22px; height: 22px; }

/* Header brand: client logo (transparent PNG) sits cleanly on any background */
.brand__logo {
  height: 72px;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .brand__logo { height: 88px; }
}

.nav__links {
  display: none;
  list-style: none;
  margin: 0; padding: 0;
  gap: clamp(0.25rem, 1.2vw, 0.9rem);
}
.nav__links a {
  display: inline-block;
  padding: 0.55rem 0.75rem;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.98rem;
  border-radius: var(--r-pill);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav__links a:hover { background: var(--sage-tint); color: var(--sage-darker); }

.nav__cta { display: none; }

.nav__toggle {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.nav__toggle:hover { background: var(--sage-tint); border-color: var(--sage); }
.nav__toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0; width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), top var(--t-base) var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Mobile dropdown */
.nav__mobile {
  display: none;
  border-top: 1px solid var(--border-soft);
  padding: 1rem var(--gutter) 1.5rem;
  background: var(--cream);
}
.nav__mobile.is-open { display: block; }
.nav__mobile ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0.25rem;
}
.nav__mobile a {
  display: block;
  padding: 0.85rem 0.5rem;
  color: var(--ink);
  font-weight: 500;
  border-radius: var(--r-md);
  border-bottom: 1px solid var(--border-soft);
}
.nav__mobile a:hover { background: var(--sage-tint); color: var(--sage-darker); }
.nav__mobile li:last-child a { border-bottom: 0; }
.nav__mobile .btn { width: 100%; margin-top: 0.75rem; }

/* -------------------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: var(--section-y);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  width: 480px; height: 480px;
  background: radial-gradient(closest-side, var(--sage-tint), transparent 70%);
  top: -180px; right: -120px;
}
.hero::after {
  width: 320px; height: 320px;
  background: radial-gradient(closest-side, var(--cream-deep), transparent 70%);
  bottom: -100px; left: -120px;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero__copy h1 { margin-top: 0.5rem; }
.hero__copy h1 .accent { color: var(--sage-dark); }
.hero__copy .lead { margin-top: 0.5rem; font-size: 1.18rem; }
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.hero__trust {
  list-style: none;
  margin: 1.75rem 0 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
  box-shadow: var(--shadow-card);
}
.hero__trust svg { color: var(--sage); flex: none; }

.hero__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
  background: var(--sage-tint);
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media-badge {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: var(--shadow-soft);
  max-width: calc(100% - 2rem);
}
.hero__media-badge .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(92, 138, 110, 0.18);
  flex: none;
}
.hero__media-badge p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
}

/* -------------------------------------------------------------------------
   8. Trust / Highlights
   ------------------------------------------------------------------------- */
.trust {
  background: var(--surface);
  border-block: 1px solid var(--border-soft);
}
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--sage-tint-2);
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--sage-tint);
  color: var(--sage-dark);
  margin-bottom: 1.1rem;
  transition: background var(--t-base) var(--ease);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: var(--sage); color: #fff; }
.card h3 { margin-bottom: 0.4rem; }
.card p { margin: 0; color: var(--ink-muted); font-size: 0.97rem; }

/* -------------------------------------------------------------------------
   9. Services preview
   ------------------------------------------------------------------------- */
.services { background: var(--cream); }
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
}
.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  /* Sage gradient fallback so the layout still feels intentional if a
     hot-linked image is blocked or fails to load. */
  background: linear-gradient(135deg, var(--sage-tint), var(--sage-tint-2));
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms var(--ease), opacity 300ms var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(250, 247, 242, 0.55) 100%);
  pointer-events: none;
}
.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.5rem 1.6rem;
}
.service-card__body h3 { margin-bottom: 0.45rem; }
.service-card__body p { flex: 1; margin: 0 0 1rem; color: var(--ink-muted); font-size: 0.97rem; }
.service-card__body .btn-arrow { margin-top: auto; align-self: flex-start; }

/* -------------------------------------------------------------------------
   10. About preview
   ------------------------------------------------------------------------- */
.about {
  background: var(--surface);
  border-block: 1px solid var(--border-soft);
}
.about__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 5 / 4;
  background: var(--sage-tint);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media-tag {
  position: absolute;
  inset: auto 1rem 1rem auto;
  background: var(--sage);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.about__copy h2 { margin-top: 0.5rem; }
.about__copy p { color: var(--ink-muted); font-size: 1.05rem; }
.about__values {
  list-style: none;
  margin: 1.5rem 0 1.75rem; padding: 0;
  display: grid;
  gap: 0.65rem;
}
.about__values li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 500;
}
.about__values svg {
  width: 22px; height: 22px;
  flex: none;
  color: var(--sage);
  margin-top: 2px;
}

/* -------------------------------------------------------------------------
   11. Reviews / Testimonials
   ------------------------------------------------------------------------- */
.reviews { background: var(--cream); }
.testimonial {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.testimonial::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--sage);
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.testimonial__stars {
  display: inline-flex;
  gap: 2px;
  color: #E0A93A;
  margin-bottom: 0.8rem;
}
.testimonial__stars svg { width: 16px; height: 16px; }
.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border-soft);
  padding-top: 1rem;
}
.testimonial__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage-dark);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  flex: none;
}
.testimonial__meta strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.testimonial__meta span {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* -------------------------------------------------------------------------
   12. Booking / Contact CTA panel
   ------------------------------------------------------------------------- */
.cta-panel {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.10), transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(255,255,255,0.06), transparent 50%),
    linear-gradient(135deg, var(--sage-darker) 0%, var(--sage-dark) 55%, var(--sage) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  display: grid;
  gap: 2rem;
  overflow: hidden;
}
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255,255,255,0.88); margin: 0 0 1rem; max-width: 50ch; }
.cta-panel__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.cta-panel__details {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0.85rem;
  align-content: center;
}
.cta-panel__details li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.94);
}
.cta-panel__details a { color: #fff; }
.cta-panel__details a:hover { color: var(--sage-tint); }
.cta-panel__details svg {
  width: 22px; height: 22px;
  flex: none;
  color: #fff;
  opacity: 0.85;
}

/* -------------------------------------------------------------------------
   13. Contact form
   ------------------------------------------------------------------------- */
.contact { background: var(--cream); }
.contact__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}
.contact__info p { color: var(--ink-muted); }
.contact__info dl {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}
.contact__info dt {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.15rem;
  font-weight: 600;
}
.contact__info dd { margin: 0; color: var(--ink); font-weight: 500; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-soft);
}
.form-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.form-card__sub { color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }

.field { margin-bottom: 1.1rem; }
.field--row {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--surface);
  box-shadow: var(--shadow-ring);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235C8A6E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0.25rem 0 1.25rem;
}
.consent input { margin-top: 3px; accent-color: var(--sage); width: 18px; height: 18px; flex: none; }

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--warning-bg);
  color: var(--warning-ink);
  border-radius: var(--r-md);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.form-note svg { flex: none; margin-top: 1px; }

.form-card .btn { width: 100%; }

/* Toast (form intercept) */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 30px);
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.2rem;
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  z-index: 100;
  max-width: calc(100% - 2rem);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--sage);
  border-radius: 50%;
  margin-right: 0.55rem;
  vertical-align: middle;
}

/* -------------------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: #1A2620;
  color: rgba(255,255,255,0.78);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col p { color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0.55rem;
}
.footer-col a {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
}
.footer-col a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand:hover { color: var(--sage-tint); }
.footer-brand .brand__mark { background: var(--sage); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .credit {
  color: rgba(255,255,255,0.70);
}

/* -------------------------------------------------------------------------
   15. Scroll-reveal animation
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-reveal-delay="1"] { transition-delay: 80ms; }
.reveal[data-reveal-delay="2"] { transition-delay: 160ms; }
.reveal[data-reveal-delay="3"] { transition-delay: 240ms; }
.reveal[data-reveal-delay="4"] { transition-delay: 320ms; }
.reveal[data-reveal-delay="5"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------
   16. Responsive
   ------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .field--row { grid-template-columns: 1fr 1fr; }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .nav__links { display: inline-flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }

  .hero__grid { grid-template-columns: 1.15fr 1fr; }
  .about__grid { grid-template-columns: 1fr 1.1fr; }
  .cta-panel { grid-template-columns: 1.5fr 1fr; }
  .contact__grid { grid-template-columns: 1fr 1.1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .services .cards { grid-template-columns: repeat(3, 1fr); }
  .trust .cards { grid-template-columns: repeat(4, 1fr); }
  .reviews .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .hero { padding-top: 4.5rem; }
}
