/* ===========================================================
   RAÍZ — Centro Psicológico
   Calm wellness · sage + terracotta · warm serif display
   =========================================================== */

:root {
  /* palette */
  --color-primary: #6B8E6F;
  --color-primary-light: #8AAB8E;
  --color-primary-dark: #4F6B53;
  --color-accent: #CC7A5C;
  --color-sand: #F2EBDD;
  --color-cream: #FAF6EE;
  --color-ink: #2B2A27;
  --color-muted: #7A766C;
  --color-highlight: #E9D8A6;

  --color-line: rgba(43, 42, 39, 0.10);
  --color-card: #FFFFFF;

  /* typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, Segoe UI, sans-serif;

  --text-xs: 0.78rem;
  --text-sm: 0.92rem;
  --text-base: clamp(1rem, 0.95rem + 0.22vw, 1.12rem);
  --text-lg: clamp(1.18rem, 1.05rem + 0.5vw, 1.4rem);
  --text-xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --text-2xl: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
  --text-hero: clamp(3rem, 1.4rem + 8vw, 8rem);

  /* spacing rhythm */
  --space-section: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --space-block: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  --container: 1180px;
  --gutter: clamp(1.1rem, 0.6rem + 2.4vw, 2.5rem);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 50px -24px rgba(43, 42, 39, 0.28);
  --shadow-card: 0 14px 40px -28px rgba(43, 42, 39, 0.45);

  --dur-fast: 160ms;
  --dur: 300ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================== reset / base ===================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ===================== shared section ===================== */
.section__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.section__eyebrow--light { color: var(--color-highlight); }

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-2xl);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}
.section__title--light { color: var(--color-cream); }

.section__head { margin-bottom: var(--space-block); }
.section__head--center { text-align: center; max-width: 640px; margin-inline: auto; }

/* ===================== topbar ===================== */
.topbar {
  background: var(--color-primary-dark);
  color: var(--color-cream);
  font-size: var(--text-sm);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.55rem;
  flex-wrap: wrap;
}
.topbar__hours {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(250, 246, 238, 0.88);
}
.topbar__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-highlight);
  box-shadow: 0 0 0 4px rgba(233, 216, 166, 0.22);
}
.topbar__cta {
  font-weight: 600;
  color: var(--color-highlight);
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.topbar__cta:hover { color: #fff; transform: translateX(2px); }

/* ===================== header / nav ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 246, 238, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--color-sand);
  box-shadow: inset 0 0 0 1px var(--color-line);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
}
.brand__sub {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 3px;
}

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 0.4rem; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-ink);
  border-radius: var(--radius-pill);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.32rem;
  height: 2px; border-radius: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--color-primary-dark); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__caret { transition: transform var(--dur-fast) var(--ease); }

.nav__item--has-dropdown { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 230px;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__item--has-dropdown:hover .nav__caret { transform: rotate(180deg); }
.nav__dropdown a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav__dropdown a:hover { background: var(--color-sand); color: var(--color-primary-dark); }

.header__right { display: flex; align-items: center; gap: 0.85rem; }

/* social */
.social { display: inline-flex; gap: 0.4rem; }
.social__link {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  color: var(--color-primary-dark);
  background: var(--color-sand);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.social__link:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}
.social--header { display: none; }

/* menu button */
.menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-sand);
}
.menu-btn span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--color-ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0 0 auto 0;
  top: 0;
  z-index: 55;
  margin-top: 0;
  padding: 7.5rem var(--gutter) 2.5rem;
  background: var(--color-cream);
  box-shadow: var(--shadow-soft);
  animation: dropIn var(--dur) var(--ease);
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu nav a {
  padding: 0.9rem 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-line);
  transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}
.mobile-menu nav a:hover { color: var(--color-accent); padding-left: 1rem; }
.social--mobile { margin-top: 1.75rem; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

/* ===================== hero ===================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 82vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* real photo layered over the brand gradient fallback */
  background-image:
    url("img/sm-hero.png"),
    radial-gradient(120% 90% at 78% 12%, rgba(204, 122, 92, 0.34), transparent 55%),
    radial-gradient(110% 100% at 12% 90%, rgba(107, 142, 111, 0.42), transparent 60%),
    linear-gradient(160deg, var(--color-cream) 0%, var(--color-sand) 55%, #E4DAC4 100%);
  background-size: cover, auto, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}
/* readability scrim: warm cream gradient on the text side + a soft cream
   glow behind the heading block, so dark ink copy keeps contrast over the
   photo while the room stays visible on the right */
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 22% 50%, rgba(250, 246, 238, 0.78), rgba(250, 246, 238, 0.30) 55%, transparent 78%),
    linear-gradient(105deg, rgba(250, 246, 238, 0.94) 0%, rgba(250, 246, 238, 0.86) 30%, rgba(250, 246, 238, 0.58) 52%, rgba(250, 246, 238, 0.14) 76%, transparent 100%);
}
.hero__leaf {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  filter: blur(2px);
  opacity: 0.5;
  animation: float 9s ease-in-out infinite;
}
.hero__leaf--1 {
  width: clamp(180px, 26vw, 340px); height: clamp(180px, 26vw, 340px);
  background: radial-gradient(circle at 35% 35%, var(--color-primary-light), var(--color-primary));
  top: -6%; right: 8%;
}
.hero__leaf--2 {
  width: clamp(130px, 18vw, 230px); height: clamp(130px, 18vw, 230px);
  background: radial-gradient(circle at 40% 40%, var(--color-highlight), var(--color-accent));
  bottom: -5%; left: -3%;
  animation-delay: -3.5s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(6deg); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 8vw, 6rem);
  max-width: 760px;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  /* soft cream halo lifts the eyebrow off the photo */
  text-shadow: 0 1px 10px rgba(250, 246, 238, 0.85);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-hero);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--color-ink);
  margin-bottom: 1.4rem;
  /* warm cream halo keeps dark ink legible over lighter photo areas */
  text-shadow: 0 2px 18px rgba(250, 246, 238, 0.9), 0 1px 2px rgba(250, 246, 238, 0.7);
}
.hero__sub {
  font-size: var(--text-lg);
  max-width: 30ch;
  /* slightly deepened from --color-muted for AA contrast over the photo */
  color: #615C52;
  margin-bottom: 2.2rem;
  text-shadow: 0 1px 10px rgba(250, 246, 238, 0.9);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: 0.01em;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 14px 30px -16px var(--color-primary-dark);
}
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-3px); box-shadow: 0 20px 38px -16px var(--color-primary-dark); }
.btn--primary:active { transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--color-primary-dark);
  box-shadow: inset 0 0 0 1.5px var(--color-primary);
}
.btn--ghost:hover { background: var(--color-primary); color: #fff; transform: translateY(-3px); }
.btn--cream {
  background: var(--color-cream);
  color: var(--color-primary-dark);
}
.btn--cream:hover { background: var(--color-highlight); transform: translateY(-3px); }

/* ===================== stats ===================== */
.stats {
  background: var(--color-primary);
  color: var(--color-cream);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}
.stat { padding: 0.5rem; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  top: 12%; left: 0; height: 76%;
  width: 1px;
  background: rgba(250, 246, 238, 0.25);
  display: none;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 1.5rem + 4vw, 4rem);
  line-height: 1;
  color: var(--color-highlight);
}
.stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  color: rgba(250, 246, 238, 0.9);
}

/* ===================== about ===================== */
.about { padding-block: var(--space-section); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
}
.about__media {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  /* real photo layered over the brand gradient fallback */
  background-image:
    url("img/sm-equipo.png"),
    radial-gradient(90% 80% at 25% 20%, rgba(233, 216, 166, 0.7), transparent 60%),
    linear-gradient(150deg, var(--color-primary-light), var(--color-primary) 70%);
  background-size: cover, auto, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.about__text p { color: var(--color-muted); margin-bottom: 1rem; }
.about__text .section__title { margin-bottom: 1.2rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-top: 0.5rem;
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.link-arrow:hover { color: var(--color-accent); transform: translateX(4px); }

/* ===================== services ===================== */
.services {
  padding-block: var(--space-section);
  background: var(--color-sand);
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.service-card {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(43, 42, 39, 0.5); }
.service-card__icon {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--color-sand);
  color: var(--color-primary-dark);
  margin-bottom: 1.2rem;
}
.service-card--accent .service-card__icon { background: rgba(204, 122, 92, 0.16); color: var(--color-accent); }
.service-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  margin-bottom: 0.7rem;
}
.service-card p { color: var(--color-muted); margin-bottom: 1.1rem; }

/* ===================== carousel (shared) ===================== */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel__track {
  display: flex;
  transition: transform 520ms var(--ease);
  will-change: transform;
}
.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  min-height: clamp(280px, 48vw, 480px);
  /* real photo layered over the brand gradient fallback */
  background-image:
    url("img/sm-espera.png"),
    radial-gradient(80% 80% at 30% 25%, rgba(233, 216, 166, 0.55), transparent 60%),
    linear-gradient(155deg, var(--color-primary-light), var(--color-primary-dark));
  background-size: cover, auto, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.carousel__slide--b {
  background-image:
    url("img/sm-consultorio.png"),
    linear-gradient(155deg, #BFD0AE, var(--color-primary));
}
.carousel__slide--c {
  background-image:
    url("img/sm-evaluacion.png"),
    linear-gradient(155deg, var(--color-highlight), var(--color-accent));
}
.carousel__slide--d {
  background-image:
    url("img/sm-lectura.png"),
    linear-gradient(155deg, #D9C9A6, var(--color-primary-light));
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-soft);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  z-index: 3;
}
.carousel__btn:hover { background: var(--color-primary); color: #fff; }
.carousel__btn--prev { left: 0.6rem; }
.carousel__btn--next { right: 0.6rem; }
.carousel__btn--prev:hover { transform: translateY(-50%) translateX(-2px); }
.carousel__btn--next:hover { transform: translateY(-50%) translateX(2px); }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
}
.carousel__dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-line);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.carousel__dots button[aria-selected="true"] {
  background: var(--color-accent);
  transform: scale(1.35);
}

.gallery { padding-block: var(--space-section); }

/* ===================== organizacional ===================== */
.org {
  padding-block: var(--space-section);
  background:
    radial-gradient(80% 120% at 90% 10%, rgba(204, 122, 92, 0.28), transparent 55%),
    linear-gradient(150deg, var(--color-primary-dark), #3F5642);
  color: var(--color-cream);
}
.org__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: center;
}
.org__text p { color: rgba(250, 246, 238, 0.85); margin-block: 1rem 1.6rem; }
.org__list { display: grid; gap: 0.75rem; }
.org__list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(250, 246, 238, 0.08);
  border: 1px solid rgba(250, 246, 238, 0.14);
  font-weight: 600;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.org__list li:hover { transform: translateX(5px); background: rgba(250, 246, 238, 0.14); }
.org__list span { color: var(--color-highlight); font-size: 1.1rem; }

/* ===================== reviews ===================== */
.reviews { padding-block: var(--space-section); }
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-block);
}
.reviews__summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--color-sand);
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius);
}
.reviews__score {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--color-primary-dark);
}
.reviews__stars { display: block; color: var(--color-accent); letter-spacing: 0.1em; }
.reviews__label { font-size: var(--text-sm); color: var(--color-muted); }

.reviews__track { gap: 0; }
.carousel[data-carousel="reviews"] .carousel__viewport { overflow: hidden; border-radius: var(--radius); }
.review-card {
  flex: 0 0 100%;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.review-card__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--av, var(--color-primary));
  color: #fff;
  font-weight: 600;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.review-card__name { font-weight: 600; line-height: 1.2; }
.review-card__date { font-size: var(--text-xs); color: var(--color-muted); }
.review-card__g {
  margin-left: auto;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-sand);
  font-size: 0.95rem;
}
.review-card__stars { display: block; color: var(--color-accent); letter-spacing: 0.12em; margin-bottom: 0.6rem; }
.review-card__text { color: var(--color-ink); font-style: italic; }

/* ===================== footer ===================== */
.footer {
  background: var(--color-ink);
  color: rgba(250, 246, 238, 0.78);
  padding-top: var(--space-section);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 2.5rem);
  padding-bottom: var(--space-section);
}
.brand--footer .brand__mark { background: rgba(250, 246, 238, 0.08); box-shadow: none; }
.brand--footer .brand__name { color: var(--color-cream); }
.brand--footer .brand__sub { color: rgba(250, 246, 238, 0.55); }
.footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  margin-top: 1rem;
  color: var(--color-highlight);
}
.footer__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-cream);
  margin-bottom: 1rem;
}
.footer__list { display: grid; gap: 0.65rem; font-size: var(--text-sm); }
.footer__list a { transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease); }
.footer__list a:hover { color: var(--color-highlight); padding-left: 4px; }
.footer__list strong { color: var(--color-cream); }
.footer__muted { color: rgba(250, 246, 238, 0.45); }
.social--footer .social__link { background: rgba(250, 246, 238, 0.08); color: var(--color-highlight); }
.social--footer .social__link:hover { background: var(--color-primary); color: #fff; }

.footer__bar {
  border-top: 1px solid rgba(250, 246, 238, 0.12);
  padding-block: 1.4rem;
  font-size: var(--text-sm);
  color: rgba(250, 246, 238, 0.6);
  text-align: center;
}

/* ===================== reveal on scroll ===================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================== responsive ===================== */
@media (min-width: 600px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat + .stat::before { display: block; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .nav { display: block; }
  .social--header { display: inline-flex; }
  .menu-btn { display: none; }
  .about__grid { grid-template-columns: 1.05fr 1fr; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .org__inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .reviews__head { flex-wrap: nowrap; }
}

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