/* ==========================================================================
   Solar das Mercedes — Casa de repouso
   Design system: "Sunlit Heritage" — organic editorial, warm & accessible.

   1.  Design tokens
   2.  Reset & base
   3.  Typography & helpers
   4.  Layout primitives
   5.  Buttons & links
   6.  Header, topbar & drawer
   7.  Hero
   8.  Trust strip
   9.  Sections (split, cards, collage)
   10. Testimonials
   11. FAQ
   12. CTA band
   13. Footer
   14. Interior page hero
   15. About page
   16. Services page
   17. Gallery page & lightbox
   18. Contact page & form
   19. Reveal & motion
   20. Print
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --cream: #f7f2ea;
  --cream-2: #f1e9dd;
  --white: #fffdf9;
  --ink: #2c332b;
  --ink-2: #4f584b;
  --sage: #6c7a5f;
  --sage-deep: #45543f;
  --forest: #2f3d33;
  --forest-2: #24312a;
  --clay: #a2552f;
  --clay-2: #8b4726;
  --clay-soft: #c98a63;
  --clay-light: #e6b18c;
  --sand: #e3d5c2;
  --line: rgba(44, 51, 43, 0.14);
  --line-light: rgba(247, 242, 234, 0.18);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --container: 76rem;
  --gutter: clamp(1.125rem, 4vw, 2.75rem);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-arch: 999px 999px 16px 16px;

  --shadow-1: 0 1px 2px rgba(47, 61, 51, 0.05), 0 14px 34px -24px rgba(47, 61, 51, 0.4);
  --shadow-2: 0 2px 4px rgba(47, 61, 51, 0.05), 0 30px 60px -32px rgba(47, 61, 51, 0.5);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 4.25rem;
}

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

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

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.35vw + 1rem, 1.15rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Paper grain — very low opacity, purely decorative */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--clay-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--forest);
}

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

dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--forest);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}

p {
  margin: 0;
  text-wrap: pretty;
}

figure,
blockquote {
  margin: 0;
}

::selection {
  background: var(--clay-soft);
  color: var(--forest-2);
}

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

.section--forest :focus-visible,
.site-footer :focus-visible,
.cta :focus-visible {
  outline-color: var(--cream);
}

/* 3. Typography & helpers ------------------------------------------------ */
h1 {
  font-size: clamp(2.6rem, 7.4vw, 5rem);
}

h2 {
  font-size: clamp(1.95rem, 4.4vw, 3.15rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.lead {
  font-size: clamp(1.0625rem, 1.1vw + 0.85rem, 1.3rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--clay-2);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.section-head {
  max-width: 46rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head h2 {
  margin-top: 0.7rem;
}

.section-head p {
  margin-top: 1rem;
  color: var(--ink-2);
  max-width: 38rem;
}

.section-head--center p {
  margin-inline: auto;
}

.serif-num {
  font-family: var(--font-display);
  font-variant-numeric: lining-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.85rem 1.25rem;
  background: var(--forest);
  color: var(--cream);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: none;
  color: var(--cream);
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

/* 4. Layout primitives --------------------------------------------------- */
.container {
  width: min(100% - (2 * var(--gutter)), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  position: relative;
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section--cream-2 {
  background-color: var(--cream-2);
}

.section--forest {
  background-color: var(--forest);
  color: rgba(247, 242, 234, 0.82);
}

.section--forest h2,
.section--forest h3 {
  color: var(--cream);
}

.section--forest .eyebrow {
  color: var(--clay-light);
}

.section--forest .lead,
.section--forest .section-head p {
  color: rgba(247, 242, 234, 0.78);
}

/* 5. Buttons & links ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--primary {
  background-color: var(--clay);
  color: var(--white);
  box-shadow: 0 12px 24px -18px rgba(139, 71, 38, 0.9);
}

.btn--primary:hover {
  background-color: var(--clay-2);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--ghost {
  background-color: transparent;
  border-color: rgba(47, 61, 51, 0.32);
  color: var(--forest);
}

.btn--ghost:hover {
  background-color: rgba(47, 61, 51, 0.06);
  border-color: var(--forest);
  color: var(--forest);
  transform: translateY(-1px);
}

.btn--light {
  background-color: var(--cream);
  color: var(--forest);
}

.btn--light:hover {
  background-color: var(--white);
  color: var(--forest);
  transform: translateY(-1px);
}

.btn--ghost-light {
  background-color: transparent;
  border-color: rgba(247, 242, 234, 0.35);
  color: var(--cream);
}

.btn--ghost-light:hover {
  background-color: rgba(247, 242, 234, 0.1);
  border-color: var(--cream);
  color: var(--cream);
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  color: var(--clay-2);
  font-weight: 700;
  text-decoration: none;
}

.link-arrow svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
  color: var(--forest);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.section--forest .link-arrow {
  color: var(--clay-light);
}

.section--forest .link-arrow:hover {
  color: var(--cream);
}

/* 6. Header, topbar & drawer -------------------------------------------- */
.topbar {
  background-color: var(--forest);
  color: rgba(247, 242, 234, 0.85);
  font-size: 0.82rem;
  line-height: 1.4;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  min-height: 2.5rem;
  padding-block: 0.35rem;
}

.topbar__item,
.topbar__links > a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar__item svg,
.topbar__links > a svg {
  width: 14px;
  height: 14px;
  color: var(--clay-soft);
  flex: none;
}

.topbar a {
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--white);
  text-decoration: underline;
}

.topbar__links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.topbar__address,
.topbar__hours {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: rgba(247, 242, 234, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 18px 34px -30px rgba(47, 61, 51, 0.7);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  min-height: 2.75rem;
  color: var(--forest);
  text-decoration: none;
  flex: 0 1 auto;
}

.brand:hover {
  color: var(--forest);
}

.brand__mark {
  width: 2.35rem;
  height: 2.35rem;
  color: var(--forest);
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--forest);
}

.brand__sub {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav__list a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.45rem;
  left: 0;
  height: 1.5px;
  background-color: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__list a[aria-current="page"] {
  color: var(--clay-2);
  font-weight: 700;
}

.header__cta {
  display: none;
}

.nav-toggle,
.drawer__close {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest);
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background-color: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 1.1rem var(--gutter) 2rem;
  background-color: var(--cream);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.75rem);
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease),
    visibility 0s linear 0.25s;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease),
    visibility 0s;
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.drawer__nav {
  padding-block: 1.5rem;
}

.drawer__nav ul {
  display: grid;
  gap: 0.25rem;
}

.drawer__nav a {
  display: flex;
  align-items: center;
  min-height: 3.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-decoration: none;
}

.drawer__nav a[aria-current="page"] {
  color: var(--clay-2);
}

.drawer__foot {
  display: grid;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.drawer__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

.drawer__foot p {
  color: var(--ink-2);
  font-size: 0.88rem;
  text-align: center;
}

body.nav-open,
html.no-scroll {
  overflow: hidden;
}

/* 7. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -14%;
  width: min(70vw, 46rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 138, 99, 0.22), transparent 66%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  max-width: 12ch;
  margin-top: 1.1rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--clay-2);
}

.hero__lead {
  max-width: 33rem;
  margin-top: 1.5rem;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1vw + 0.9rem, 1.25rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  color: var(--ink-2);
  font-size: 0.88rem;
}

.hero__note svg {
  width: 16px;
  height: 16px;
  color: var(--sage-deep);
  flex: none;
}

.hero__media {
  position: relative;
  margin-inline: auto;
  width: min(100%, 30rem);
}

.hero__arch {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-arch);
  aspect-ratio: 3 / 4;
  background-color: var(--sand);
  box-shadow: var(--shadow-2);
}

.hero__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  bottom: 1.25rem;
  left: -0.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 15.5rem;
  padding: 0.9rem 1.1rem;
  background-color: rgba(255, 253, 249, 0.97);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
}

.hero__badge svg {
  width: 28px;
  height: 28px;
  color: var(--clay);
  flex: none;
}

.hero__badge strong {
  display: block;
  color: var(--forest);
  font-size: 0.95rem;
  line-height: 1.2;
}

.hero__badge span {
  color: var(--ink-2);
  font-size: 0.78rem;
  line-height: 1.35;
}

/* 8. Trust strip --------------------------------------------------------- */
.trust {
  background-color: var(--forest);
  color: var(--cream);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--line-light);
}

.trust__item {
  padding: clamp(1.5rem, 4vw, 2.5rem) 1rem;
  background-color: var(--forest);
  text-align: center;
}

.trust__num {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.trust__label {
  display: block;
  margin-top: 0.55rem;
  color: rgba(247, 242, 234, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* 9. Sections ------------------------------------------------------------ */
.split {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}

.split__media {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 34rem;
}

.split__frame {
  overflow: hidden;
  border-radius: var(--r-arch);
  aspect-ratio: 4 / 5;
  background-color: var(--sand);
  box-shadow: var(--shadow-2);
}

.split__frame--wide {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
}

.split__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__stamp {
  position: absolute;
  right: -0.5rem;
  bottom: -1.5rem;
  display: grid;
  place-items: center;
  width: 6.6rem;
  height: 6.6rem;
  background-color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-1);
  text-align: center;
  transform: rotate(-7deg);
}

.split__stamp::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border: 1px dashed rgba(162, 85, 47, 0.5);
  border-radius: 50%;
}

.split__stamp strong {
  display: block;
  color: var(--clay-2);
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
}

.split__stamp span {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink-2);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.split__body h2 {
  margin-top: 0.7rem;
}

.split__body p {
  margin-top: 1.1rem;
  color: var(--ink-2);
}

.split__body .btn,
.split__body .link-arrow {
  margin-top: 1.75rem;
}

.checks {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.98rem;
}

.checks svg {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  color: var(--sage-deep);
  flex: none;
}

.signature {
  margin-top: 2rem;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.signature strong {
  display: block;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
}

.cards-3 {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.care-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.9rem 1.5rem 1.35rem;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.care-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.care-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.care-card__icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  background-color: var(--cream-2);
  border-radius: 999px 999px 10px 10px;
  color: var(--sage-deep);
}

.care-card__icon svg {
  width: 26px;
  height: 26px;
}

.care-card__num {
  color: var(--sage);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}

.care-card h3 {
  margin-top: 0.35rem;
}

.care-card p {
  color: var(--ink-2);
  font-size: 0.97rem;
}

.care-card .link-arrow {
  margin-top: auto;
  padding-top: 0.5rem;
}

.care-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.28rem 0.65rem;
  background-color: rgba(108, 122, 95, 0.14);
  border-radius: 999px;
  color: var(--sage-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.compare .care-card {
  height: 100%;
}

.compare .care-card h3 {
  font-size: 1.6rem;
}

.compare .care-card .checks {
  margin-top: 1.1rem;
}

.compare__bridge {
  margin-top: 1.5rem;
}

.compare-table {
  width: 100%;
  margin-top: clamp(2rem, 4vw, 3rem);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-collapse: collapse;
  border-radius: var(--r-md);
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background-color: var(--cream-2);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-table tbody th {
  color: var(--forest);
  font-weight: 600;
  white-space: nowrap;
}

.compare-table td {
  color: var(--ink-2);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table caption {
  padding: 0.9rem 1rem;
  color: var(--ink-2);
  font-size: 0.84rem;
  text-align: left;
  caption-side: bottom;
}

.collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.collage__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background-color: var(--sand);
  aspect-ratio: 1;
}

.collage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.collage__item:hover img {
  transform: scale(1.03);
}

.collage__item--tall {
  grid-row: span 2;
  border-radius: var(--r-arch);
  aspect-ratio: auto;
}

.collage__item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.collage__quote {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background-color: var(--sage-deep);
  border-radius: var(--r-md);
  color: var(--cream);
}

.collage__quote svg {
  width: 28px;
  height: 28px;
  color: var(--clay-soft);
}

.collage__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.35;
  text-wrap: balance;
}

.collage__quote cite {
  color: rgba(247, 242, 234, 0.72);
  font-size: 0.8rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 10. Testimonials ------------------------------------------------------- */
.quotes {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}

.quote-card__stars {
  display: flex;
  gap: 0.2rem;
  color: var(--clay);
}

.quote-card__stars svg {
  width: 15px;
  height: 15px;
}

.quote-card blockquote {
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.45;
  text-wrap: pretty;
}

.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.quote-card__avatar {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--cream-2);
  border-radius: 50%;
  color: var(--clay-2);
  font-family: var(--font-display);
  font-size: 1rem;
  flex: none;
}

.quote-card figcaption strong {
  display: block;
  color: var(--forest);
  font-size: 0.93rem;
  line-height: 1.3;
}

.quote-card figcaption span {
  display: block;
  color: var(--ink-2);
  font-size: 0.8rem;
  line-height: 1.3;
}

/* 11. FAQ ---------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.faq--center {
  margin-inline: auto;
}

.faq details {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq details[open] {
  border-color: rgba(162, 85, 47, 0.35);
  box-shadow: var(--shadow-1);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 1rem 1.25rem;
  color: var(--forest);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 0.85rem;
  height: 0.85rem;
  border-right: 2px solid var(--clay);
  border-bottom: 2px solid var(--clay);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.faq summary:hover {
  color: var(--clay-2);
}

.faq__answer {
  padding: 0 1.25rem 1.3rem;
  color: var(--ink-2);
  font-size: 0.97rem;
  max-width: 42rem;
}

.faq__answer p + p {
  margin-top: 0.75rem;
}

.faq__more {
  margin-top: 1.5rem;
}

/* 12. CTA band ----------------------------------------------------------- */
.cta {
  position: relative;
  overflow: clip;
  background-color: var(--forest);
  color: var(--cream);
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta::before {
  top: -40%;
  right: -8%;
  width: 32rem;
  height: 32rem;
  background: radial-gradient(circle, rgba(201, 138, 99, 0.24), transparent 65%);
}

.cta::after {
  bottom: -60%;
  left: -6%;
  width: 26rem;
  height: 26rem;
  border: 1px solid rgba(247, 242, 234, 0.12);
}

.cta__inner {
  position: relative;
  display: grid;
  gap: 2rem;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.cta h2 {
  max-width: 18ch;
  margin-top: 0.75rem;
  color: var(--cream);
}

.cta .eyebrow {
  color: var(--clay-light);
}

.cta p {
  max-width: 34rem;
  margin-top: 1rem;
  color: rgba(247, 242, 234, 0.78);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-content: center;
}

.cta__aside {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  background-color: rgba(247, 242, 234, 0.05);
}

.cta__aside strong {
  color: var(--cream);
  font-size: 0.95rem;
}

.cta__aside a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--clay-light);
  font-weight: 700;
  text-decoration: none;
}

.cta__aside a:hover {
  color: var(--white);
}

.cta__aside a svg {
  width: 17px;
  height: 17px;
}

.cta__aside > span {
  color: rgba(247, 242, 234, 0.65);
  font-size: 0.82rem;
}

/* 13. Footer ------------------------------------------------------------- */
.site-footer {
  background-color: var(--forest-2);
  color: rgba(247, 242, 234, 0.72);
  font-size: 0.95rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}

.footer__brand .brand__mark {
  color: var(--clay-soft);
}

.footer__brand .brand__name {
  color: var(--cream);
}

.footer__brand .brand__sub {
  color: rgba(247, 242, 234, 0.62);
}

.footer__brand p {
  margin-top: 1.25rem;
  max-width: 22rem;
  line-height: 1.7;
}

.footer__title {
  margin: 0 0 1rem;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer__links {
  display: grid;
  gap: 0.15rem;
}

.footer__links a,
.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  color: rgba(247, 242, 234, 0.78);
  text-decoration: none;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.footer__contact li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding-block: 0.35rem;
}

.footer__contact svg {
  width: 17px;
  height: 17px;
  margin-top: 0.35rem;
  color: var(--clay-soft);
  flex: none;
}

.footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.3rem;
  border-bottom: 1px solid rgba(247, 242, 234, 0.1);
}

.footer__hours span:last-child {
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(247, 242, 234, 0.14);
  font-size: 0.82rem;
}

.footer__bottom p {
  max-width: 42rem;
}

.footer__bottom a {
  color: rgba(247, 242, 234, 0.7);
}

/* 14. Interior page hero ------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background-color: var(--cream-2);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: min(46vw, 30rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(162, 85, 47, 0.16);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  display: grid;
  gap: 2rem;
}

.page-hero h1 {
  margin-top: 0.9rem;
  max-width: 18ch;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
}

.page-hero__lead {
  max-width: 42rem;
  margin-top: 1.2rem;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 0.8vw + 0.9rem, 1.25rem);
  line-height: 1.6;
}

.page-hero__aside {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-hero__media {
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 9;
  background-color: var(--sand);
  box-shadow: var(--shadow-2);
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  color: var(--ink-2);
  font-size: 0.82rem;
}

.breadcrumb a {
  color: var(--ink-2);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--clay-2);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--clay-2);
  font-weight: 600;
}

/* 15. About page --------------------------------------------------------- */
.values {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.value-card {
  padding: 1.75rem 1.5rem;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.value-card__num {
  color: var(--sage);
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
}

.value-card h3 {
  margin-top: 0.9rem;
}

.value-card p {
  margin-top: 0.7rem;
  color: var(--ink-2);
  font-size: 0.96rem;
}

.team {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.member__photo {
  overflow: hidden;
  border-radius: var(--r-arch);
  aspect-ratio: 4 / 5;
  background-color: var(--sand);
}

.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.member h3 {
  margin-top: 1.1rem;
  font-size: 1.35rem;
}

.member__role {
  margin-top: 0.3rem;
  color: var(--clay-2);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member p {
  margin-top: 0.6rem;
  color: var(--ink-2);
  font-size: 0.94rem;
}

.timeline {
  position: relative;
  max-width: 42rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0 0.4rem;
  border-left: 1px solid var(--sand);
}

.timeline__item {
  position: relative;
  padding: 0 0 2rem 1.75rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  left: -0.4rem;
  width: 0.8rem;
  height: 0.8rem;
  background-color: var(--clay);
  border: 3px solid var(--cream);
  border-radius: 50%;
}

.timeline__time {
  color: var(--clay-2);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline__item h3 {
  margin-top: 0.3rem;
  font-size: 1.2rem;
}

.timeline__item p {
  margin-top: 0.35rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ink-2);
  font-size: 0.96rem;
}

.feature-list svg {
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
  color: var(--sage-deep);
  flex: none;
}

.feature-list strong {
  display: block;
  color: var(--forest);
  font-weight: 600;
}

/* 16. Services page ------------------------------------------------------ */
.care-level {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.care-level:first-of-type {
  border-top: 0;
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

.care-level__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-arch);
  aspect-ratio: 4 / 5;
  max-width: 30rem;
  width: 100%;
  background-color: var(--sand);
  box-shadow: var(--shadow-1);
}

.care-level__media--wide {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
}

.care-level__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.care-level__index {
  color: var(--clay-2);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.care-level h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.care-level p {
  margin-top: 1rem;
  color: var(--ink-2);
}

.care-level .checks {
  margin-top: 1.25rem;
}

.care-level .link-arrow {
  margin-top: 1.5rem;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.amenity {
  min-width: 0;
  padding: 1.4rem 1.1rem;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.amenity h3,
.amenity p {
  overflow-wrap: break-word;
}

.amenity svg {
  width: 26px;
  height: 26px;
  color: var(--sage-deep);
}

.amenity h3 {
  margin-top: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--forest);
}

.amenity p {
  margin-top: 0.35rem;
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.5;
}

.meal-times {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.5rem;
}

.meal-times li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.meal-times span:last-child {
  color: var(--clay-2);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.schedule {
  width: 100%;
  border-collapse: collapse;
  margin-top: clamp(2rem, 4vw, 3rem);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.schedule caption {
  padding: 0.9rem 1rem;
  color: var(--ink-2);
  font-size: 0.84rem;
  text-align: left;
  caption-side: bottom;
}

.schedule th,
.schedule td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}

.schedule th {
  background-color: var(--cream-2);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.schedule tr:last-child td {
  border-bottom: 0;
}

.schedule td:first-child {
  color: var(--forest);
  font-weight: 600;
  white-space: nowrap;
}

.schedule td:nth-child(2) {
  color: var(--clay-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 47.99em) {
  .schedule {
    display: block;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .schedule thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .schedule tbody {
    display: grid;
    gap: 0.75rem;
  }

  .schedule tr {
    display: block;
    padding: 0.85rem 1rem;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
  }

  .schedule td,
  .schedule td:first-child,
  .schedule td:nth-child(2) {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 0.65rem;
    padding: 0.4rem 0;
    border: 0;
    white-space: normal;
    font-size: 0.92rem;
  }

  .schedule td::before {
    content: attr(data-label);
    color: var(--ink-2);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.8;
    text-transform: uppercase;
  }

  .schedule td:first-child {
    color: var(--forest);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
  }

  .schedule caption {
    padding: 0 0 0.85rem;
  }
}

@media (max-width: 47.99em) {
  .compare-table {
    display: block;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .compare-table tbody {
    display: grid;
    gap: 0.75rem;
  }

  .compare-table tr {
    display: block;
    padding: 0.9rem 1rem;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
  }

  .compare-table tbody th {
    display: block;
    padding: 0 0 0.55rem;
    border: 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    white-space: normal;
  }

  .compare-table td {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 0.65rem;
    padding: 0.4rem 0;
    border: 0;
  }

  .compare-table td::before {
    content: attr(data-label);
    color: var(--ink-2);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.8;
    text-transform: uppercase;
  }

  .compare-table caption {
    padding: 0 0 0.85rem;
    caption-side: top;
  }
}

.pricing-note {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background-color: var(--sage-deep);
  border-radius: var(--r-lg);
  color: rgba(247, 242, 234, 0.85);
}

.pricing-note h3 {
  color: var(--cream);
  font-size: 1.5rem;
}

.pricing-note p {
  margin-top: 0.75rem;
  max-width: 40rem;
  font-size: 0.97rem;
}

.pricing-note .btn {
  justify-self: start;
  margin-top: 0.5rem;
}

/* 17. Gallery & lightbox ------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter {
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.filter:hover {
  border-color: var(--sage);
  background-color: var(--cream-2);
}

.filter[aria-pressed="true"] {
  background-color: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 10.5rem;
  gap: 0.7rem;
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background-color: var(--sand);
  border: 0;
  border-radius: var(--r-md);
  cursor: zoom-in;
}

.gallery__item[hidden] {
  display: none;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.3s var(--ease);
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.04);
  filter: brightness(1.03);
}

.gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 0.9rem 0.85rem;
  background: linear-gradient(transparent, rgba(36, 49, 42, 0.86));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.gallery__zoom {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  background-color: rgba(255, 253, 249, 0.9);
  border-radius: 50%;
  color: var(--forest);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.gallery__zoom svg {
  width: 16px;
  height: 16px;
}

.gallery__item:hover .gallery__zoom,
.gallery__item:focus-visible .gallery__zoom {
  opacity: 1;
}

.gallery__empty {
  margin-top: 2rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--cream);
}

.lightbox::backdrop {
  background-color: rgba(20, 27, 22, 0.93);
  backdrop-filter: blur(3px);
}

.lightbox[open] {
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: min(92vw, 68rem);
}

.lightbox__img {
  width: auto;
  max-width: 100%;
  max-height: 74vh;
  border-radius: var(--r-sm);
  object-fit: contain;
}

.lightbox__caption {
  color: rgba(247, 242, 234, 0.82);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox__counter {
  position: fixed;
  top: clamp(1rem, 3vw, 1.75rem);
  left: clamp(1rem, 3vw, 1.75rem);
  color: rgba(247, 242, 234, 0.7);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background-color: rgba(247, 242, 234, 0.1);
  border: 1px solid rgba(247, 242, 234, 0.3);
  border-radius: 50%;
  color: var(--cream);
  transition: background-color 0.2s var(--ease);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background-color: rgba(247, 242, 234, 0.22);
}

.lightbox__close {
  position: fixed;
  top: clamp(1rem, 3vw, 1.75rem);
  right: clamp(1rem, 3vw, 1.75rem);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: clamp(0.5rem, 2vw, 1.5rem);
}

.lightbox__nav--next {
  right: clamp(0.5rem, 2vw, 1.5rem);
}

.lightbox__nav svg,
.lightbox__close svg {
  width: 20px;
  height: 20px;
}

/* 17b. Trabalhe conosco -------------------------------------------------- */
.careers-nav {
  background-color: var(--cream);
  border-bottom: 1px solid var(--line);
}

.careers-nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.careers-nav__label {
  color: var(--sage-deep);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.careers-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.careers-nav__links a {
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.6;
}

.careers-nav__links a:hover,
.careers-nav__links a[aria-current="page"] {
  border-bottom-color: var(--sage);
  color: var(--forest);
}

.careers-nav__links a[aria-current="page"] {
  font-weight: 600;
}

.careers-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.careers-form {
  max-width: 52rem;
}

.careers-form input[type="file"] {
  padding: 0.65rem 0.75rem;
}

.careers-form input[type="file"]::file-selector-button {
  margin-right: 0.8rem;
  padding: 0.45rem 0.7rem;
  background-color: var(--cream-2);
  border: 1px solid rgba(44, 51, 43, 0.26);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.careers-legal {
  max-width: 48rem;
}

.careers-legal__block + .careers-legal__block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.careers-legal__block h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.careers-note {
  max-width: 48rem;
  margin-top: 1.5rem;
  color: var(--ink-2);
  font-size: 0.92rem;
}

/* 18. Contact page & form ------------------------------------------------ */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

.contact-layout > *,
.form-grid > * {
  min-width: 0;
}

.form-card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}

.form-card h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.form-card > p {
  margin-top: 0.75rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.field .req {
  color: var(--clay-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  background-color: var(--cream);
  border: 1px solid rgba(44, 51, 43, 0.26);
  border-radius: 10px;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f584b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.1rem;
  padding-right: 2.6rem;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(162, 85, 47, 0.18);
}

.field__help {
  margin-top: 0.35rem;
  color: var(--ink-2);
  font-size: 0.8rem;
}

.field__error {
  display: none;
  margin-top: 0.35rem;
  color: #94301f;
  font-size: 0.83rem;
  font-weight: 600;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #94301f;
  background-color: #fdf4f1;
}

.field.is-invalid .field__error {
  display: block;
}

.field--check {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.7rem;
}

.field--check .field__error {
  flex-basis: 100%;
  margin-left: 2rem;
}

.field--check input {
  width: 1.3rem;
  height: 1.3rem;
  min-height: 0;
  margin-top: 0.2rem;
  padding: 0;
  accent-color: var(--clay);
  flex: none;
}

.field--check label {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.87rem;
  font-weight: 400;
  line-height: 1.5;
}

.form__actions {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.form__note {
  color: var(--ink-2);
  font-size: 0.8rem;
  text-align: center;
}

.form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form__honeypot label,
.form__honeypot input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
}

.form-feedback {
  margin-top: 1.25rem;
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.form-feedback[hidden] {
  display: none;
}

.form-feedback--success {
  background-color: #edf3e8;
  border: 1px solid #b9c9ac;
  color: #2f3d33;
}

.form-feedback--error {
  background-color: #fbefec;
  border: 1px solid #e2bcb3;
  color: #7a2a1c;
}

.form-feedback strong {
  display: block;
  margin-bottom: 0.2rem;
}

.info-card {
  padding: 1.5rem;
  background-color: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.info-card + .info-card {
  margin-top: 1rem;
}

.info-card h2,
.info-card h3 {
  font-size: 1.25rem;
}

.info-card p {
  margin-top: 0.6rem;
  color: var(--ink-2);
  font-size: 0.94rem;
}

.info-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--ink-2);
  font-size: 0.94rem;
}

.info-list svg {
  width: 19px;
  height: 19px;
  margin-top: 0.2rem;
  color: var(--clay-2);
  flex: none;
}

.info-list a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
}

.info-list a:hover {
  color: var(--clay-2);
  text-decoration: underline;
}

.hours {
  width: 100%;
  margin-top: 0.9rem;
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  text-align: left;
}

.hours th {
  color: var(--ink-2);
  font-weight: 500;
}

.hours td {
  color: var(--forest);
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hours tr:last-child th,
.hours tr:last-child td {
  border-bottom: 0;
}

.map {
  overflow: hidden;
  margin-top: 1rem;
  background-color: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  aspect-ratio: 16 / 11;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-caption {
  margin-top: 0.7rem;
  color: var(--ink-2);
  font-size: 0.82rem;
}

.transit {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.transit li {
  padding-left: 0.9rem;
  border-left: 2px solid var(--sand);
  color: var(--ink-2);
  font-size: 0.9rem;
}

.transit strong {
  display: block;
  color: var(--forest);
  font-size: 0.92rem;
}

.privacy-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.86rem;
}

/* 19. Reveal & motion ---------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .collage__item:hover img,
  .gallery__item:hover img {
    transform: none;
  }
}

/* 20. Print -------------------------------------------------------------- */
@media print {
  .topbar,
  .site-header,
  .drawer,
  .cta,
  .site-footer,
  .btn,
  .filters,
  .lightbox {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  body::before {
    display: none;
  }

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

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ==========================================================================
   Responsive enhancements (mobile-first)
   ========================================================================== */
@media (min-width: 30em) {
  .topbar__hours {
    display: inline-flex;
  }

  .hero__media {
    width: min(100%, 32rem);
  }

  .hero__badge {
    left: -1rem;
  }

  .amenities {
    gap: 1.1rem;
  }
}

@media (min-width: 40em) {
  .gallery {
    grid-auto-rows: 13rem;
    gap: 0.9rem;
  }

  .form-grid--pair {
    grid-template-columns: 1fr 1fr;
  }

  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .quote-card {
    padding: 2rem 1.75rem;
  }

  .amenities {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 48em) {
  .topbar__address {
    display: inline-flex;
  }

  .hero__grid {
    gap: 3rem;
  }

  .hero__note {
    margin-top: 1.6rem;
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split--reverse .split__media {
    order: 2;
  }

  .cards-3,
  .quotes {
    grid-template-columns: repeat(3, 1fr);
  }

  .careers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare {
    grid-template-columns: repeat(2, 1fr);
  }

  .values {
    grid-template-columns: repeat(3, 1fr);
  }

  .team {
    grid-template-columns: repeat(3, 1fr);
  }

  .team__item--offset {
    margin-top: 2.5rem;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 14rem;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .cta__actions {
    justify-content: flex-start;
  }

  .pricing-note {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .pricing-note .btn {
    margin-top: 0;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 56em) {
  .care-level {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
  }

  .care-level--reverse .care-level__media {
    order: -1;
  }

  .care-level__media {
    max-width: none;
  }

  .collage {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    grid-template-areas:
      "tall wide wide"
      "tall s1 s2";
  }

  .collage__item--tall {
    grid-area: tall;
  }

  .collage__item--wide {
    grid-area: wide;
    grid-column: auto;
    aspect-ratio: 2 / 1;
  }

  .collage__item--s1 {
    grid-area: s1;
  }

  .collage__item--s2 {
    grid-area: s2;
  }

  .collage__quote {
    grid-column: 1 / -1;
  }

  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
  }

  .cta__inner {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
  }

  .cta__actions {
    justify-content: flex-end;
  }

  .page-hero__inner--split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3rem;
  }
}

@media (min-width: 62em) {
  :root {
    --header-h: 4.75rem;
  }

  .nav {
    display: block;
  }

  .header__cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .drawer {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2.5rem, 5vw, 5rem);
  }

  .hero__media {
    width: 100%;
    max-width: none;
  }

  .hero__badge {
    left: -2.25rem;
    bottom: 2rem;
  }

  .page-hero__media {
    aspect-ratio: 4 / 3;
  }

  .team {
    gap: 2.5rem;
  }
}

@media (min-width: 75em) {
  .footer__grid {
    grid-template-columns: 1.6fr 0.8fr 1fr 1fr;
  }

  .gallery {
    grid-auto-rows: 16rem;
  }
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang-switch a {
  color: inherit;
  text-decoration: none;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  opacity: 0.7;
}
.lang-switch a[aria-current="page"] {
  opacity: 1;
  background: rgba(255,255,255,0.18);
}
.lang-switch a:hover { opacity: 1; }
@media (max-width: 991px) {
  .lang-switch { margin-inline-start: auto; }
}