/* ==========================================================================
   Jotella Aged Home Care Limited — site styles
   Palette taken from the Jotella logo (olive, gold, cream) and flyer (deep green)
   ========================================================================== */

:root {
  /* Brand primitives */
  --olive-900: #233018;
  --olive-800: #2f3f1f;
  --olive-700: #4a5a24;
  --olive-600: #5a6b2b;   /* primary — logo olive, AA on cream */
  --olive-500: #6f8036;
  --olive-100: #e9ecd9;
  --gold-700: #8a5f14;    /* gold text on light backgrounds */
  --gold-500: #c8932e;    /* logo hands */
  --gold-400: #ddaa45;
  --gold-100: #f6ead0;
  --cream-50: #fdfbf6;
  --cream-100: #faf6ec;
  --cream-200: #f3ebd8;

  /* Semantic tokens */
  --color-bg: var(--cream-100);
  --color-surface: #ffffff;
  --color-surface-alt: var(--cream-200);
  --color-text: #262a1b;
  --color-text-muted: #545845;
  --color-primary: var(--olive-600);
  --color-primary-hover: var(--olive-700);
  --color-on-primary: #ffffff;
  --color-accent: var(--gold-500);
  --color-accent-hover: var(--gold-400);
  --color-on-accent: #241c08;
  --color-dark: var(--olive-900);
  --color-on-dark: #f7f3e6;
  --color-on-dark-muted: #d4d6c2;
  --color-border: #e4dcc6;
  --color-error: #b42318;
  --color-success: #2f6b2a;
  --color-ring: var(--gold-500);
  --whatsapp: #1f7a46;

  /* Type */
  --font-heading: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-sm: 0.95rem;
  --fs-base: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-h3: 1.375rem;
  --fs-h2: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --fs-h1: clamp(2.3rem, 1.6rem + 3.2vw, 3.75rem);

  /* Space (8pt rhythm, spacious) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

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

  --shadow-sm: 0 1px 2px rgb(38 42 27 / 0.06), 0 2px 8px rgb(38 42 27 / 0.05);
  --shadow: 0 6px 24px rgb(38 42 27 / 0.08);
  --shadow-lg: 0 18px 48px rgb(38 42 27 / 0.12);

  --container: 1200px;
  --header-h: 84px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--olive-900);
  line-height: 1.2;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.005em; }
h3 { font-size: var(--fs-h3); font-weight: 600; }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--olive-700); text-underline-offset: 3px; }
a:hover { color: var(--olive-900); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--color-dark);
  color: var(--color-on-dark);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.section { padding-block: var(--space-8); }
@media (min-width: 1024px) { .section { padding-block: var(--space-9); } }
.section--alt { background: var(--color-surface-alt); }
.section--white { background: var(--color-surface); }

.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--color-text-muted); font-size: var(--fs-lg); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease,
    transform 180ms var(--ease-out), box-shadow 180ms ease;
}
.btn:active { transform: scale(0.98); }
.btn .icon { width: 1.2em; height: 1.2em; }

.btn--primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn--primary:hover { background: var(--color-primary-hover); color: var(--color-on-primary); box-shadow: var(--shadow); }

.btn--accent { background: var(--color-accent); color: var(--color-on-accent); }
.btn--accent:hover { background: var(--color-accent-hover); color: var(--color-on-accent); box-shadow: var(--shadow); }

.btn--outline { background: transparent; color: var(--olive-800); border-color: var(--olive-600); }
.btn--outline:hover { background: var(--olive-600); color: #fff; }

.btn--light { background: var(--cream-50); color: var(--olive-900); }
.btn--light:hover { background: #fff; color: var(--olive-900); }

.btn--ghost-light { background: transparent; color: var(--color-on-dark); border-color: rgb(247 243 230 / 0.6); }
.btn--ghost-light:hover { background: rgb(247 243 230 / 0.12); color: #fff; border-color: #fff; }

.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #17633a; color: #fff; box-shadow: var(--shadow); }

.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  color: var(--olive-700);
  text-decoration: none;
  min-height: 44px;
}
.link-arrow .icon { transition: transform 200ms var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--color-dark);
  color: var(--color-on-dark-muted);
  font-size: 0.95rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-2);
}
.topbar__motto { font-style: italic; color: var(--gold-400); }
.topbar__links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-on-dark);
  text-decoration: none;
}
.topbar a:hover { color: var(--gold-400); }
@media (max-width: 767px) {
  .topbar__motto, .topbar .topbar__email { display: none; }
  .topbar .container { justify-content: center; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(253 251 246 / 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); box-shadow: var(--shadow-sm); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--olive-900);
}
.brand img { width: 56px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  color: var(--olive-600);
}
.brand__sub {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive-900);
}

.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  font-weight: 700;
  color: var(--olive-900);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: background-color 180ms ease, color 180ms ease;
}
.nav__link:hover { background: var(--olive-100); color: var(--olive-900); }
.nav__link[aria-current="page"] { color: var(--olive-600); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold-500);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--olive-100);
  color: var(--olive-900);
  cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; }
  .brand img { width: 48px; }
  .brand__name { font-size: 1.15rem; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
    padding: var(--space-4) 16px var(--space-6);
    background: var(--cream-50);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 220ms ease, transform 220ms var(--ease-out), visibility 0s;
  }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { padding: 12px 16px; font-size: 1.15rem; border-radius: var(--radius-sm); }
  .nav__link[aria-current="page"] { background: var(--olive-100); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav .btn { width: 100%; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-7) 0;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgb(221 170 69 / 0.16), transparent 60%),
    var(--color-bg);
}
.hero .container {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 960px) {
  .hero { padding-top: var(--space-8); }
  .hero .container { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-7); }
}
.hero__content { padding-bottom: var(--space-6); }
.hero h1 span { color: var(--olive-600); font-style: italic; }
.hero__lead {
  max-width: 34em;
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.hero__assurances {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
  color: var(--olive-800);
}
.hero__assurances li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero__assurances .icon { color: var(--gold-500); }

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 520px);
  aspect-ratio: 520 / 620;
}
/* arc + sun echo the logo's olive arc and golden heart */
.hero__arc {
  position: absolute;
  inset: 6% -2% 14% -2%;
  border: 10px solid var(--olive-500);
  /* open at the top and bottom so the line never crosses the people */
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-12deg);
  opacity: 0.9;
}
.hero__sun {
  position: absolute;
  inset: 12% 10% 22% 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--gold-100), #f1dcae 70%);
}
.hero__img {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  transform: translateX(-50%);
  mix-blend-mode: multiply; /* blends the white photo background into the page */
}
.hero__badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 12px 16px;
  background: rgb(255 255 255 / 0.62);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
  border: 1px solid rgb(255 255 255 / 0.55);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgb(38 42 27 / 0.12);
  font-weight: 700;
  line-height: 1.25;
  font-size: 0.98rem;
  color: var(--olive-900);
}
.hero__badge small { display: block; font-weight: 400; color: var(--olive-800); font-size: 0.875rem; }
.hero__badge-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(233 236 217 / 0.8);
  color: var(--olive-600);
}
.hero__badge--a { left: -4%; bottom: 24%; }
.hero__badge--b { right: -2%; bottom: 5%; }
.hero__badge--b .hero__badge-icon { background: rgb(246 234 208 / 0.8); color: var(--gold-700); }
@media (max-width: 559px) {
  .hero__badge { font-size: 0.875rem; padding: 10px 12px; }
  .hero__badge--a { left: 0; bottom: 22%; }
  .hero__badge--b { right: 0; bottom: 3%; }
  .hero__badge-icon { width: 36px; height: 36px; }
}

/* Service chip strip, like the reference "health packages" row */
.chip-strip {
  position: relative;
  z-index: 3;
  background: var(--color-dark);
  color: var(--color-on-dark);
}
.chip-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-5);
  padding-block: var(--space-5);
}
.chip-strip__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold-400);
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip-list a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid rgb(247 243 230 / 0.28);
  border-radius: var(--radius-pill);
  color: var(--color-on-dark);
  text-decoration: none;
  font-size: 0.98rem;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.chip-list a:hover { background: rgb(247 243 230 / 0.1); border-color: var(--gold-400); color: #fff; }
.chip-list .icon { color: var(--gold-400); width: 1.1em; height: 1.1em; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-8);
  background: var(--color-dark);
  color: var(--color-on-dark);
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 520px;
  height: 520px;
  border: 14px solid rgb(221 170 69 / 0.35);
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-20deg);
  z-index: -1;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 90% 100%, rgb(111 128 54 / 0.45), transparent 70%);
  z-index: -2;
}
.page-hero h1 { color: #fff; margin-bottom: var(--space-3); }
.page-hero p { max-width: 40em; font-size: var(--fs-lg); color: var(--color-on-dark-muted); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
  font-size: 0.98rem;
}
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: var(--space-2); color: var(--gold-400); }
.breadcrumb a { color: var(--color-on-dark); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb [aria-current] { color: var(--gold-400); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .split--reverse .split__media { order: 2; }
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.split__media::before {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 60%;
  height: 60%;
  border-radius: var(--radius-lg);
  background: var(--gold-100);
  z-index: -1;
}
.split__media { isolation: isolate; }
.split__media .tall { aspect-ratio: 4 / 5; }
.split__note {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  max-width: 320px;
  padding: var(--space-4) var(--space-5);
  background: rgb(35 48 24 / 0.92);
  color: var(--color-on-dark);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.4;
}
.split__note strong { color: var(--gold-400); font-style: normal; display: block; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }

.check-list {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0 var(--space-6);
  padding: 0;
  list-style: none;
}
@media (min-width: 560px) { .check-list--2 { grid-template-columns: 1fr 1fr; } }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.check-list .icon {
  margin-top: 3px;
  padding: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--olive-100);
  color: var(--olive-600);
  stroke-width: 3;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease, border-color 220ms ease;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-400); }
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--color-text-muted); }
.card__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-5);
  border-radius: 18px;
  background: var(--olive-100);
  color: var(--olive-600);
}
.card__icon .icon { width: 30px; height: 30px; stroke-width: 1.75; }
.card__icon--gold { background: var(--gold-100); color: var(--gold-700); }
.card .link-arrow { margin-top: auto; padding-top: var(--space-4); }
/* make whole card clickable while keeping a single real link */
.card--link .stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- Promo band (like reference "kitchen" promo) ---------- */
.promo {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: var(--space-6);
  padding: var(--space-7) var(--space-6);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--olive-800), var(--olive-600));
  color: var(--color-on-dark);
  isolation: isolate;
}
.promo::after {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -220px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 12px solid rgb(221 170 69 / 0.4);
  z-index: -1;
}
@media (min-width: 960px) {
  .promo { grid-template-columns: 1.2fr 1fr; align-items: center; padding: var(--space-8); }
}
.promo h2 { color: #fff; }
.promo p { color: var(--color-on-dark-muted); font-size: var(--fs-lg); }
.promo .eyebrow { color: var(--gold-400); }
.promo__items { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.promo__items li {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  background: rgb(253 251 246 / 0.08);
  border: 1px solid rgb(253 251 246 / 0.16);
}
.promo__items strong { display: block; font-size: 1.15rem; color: #fff; }
.promo__items span { color: var(--color-on-dark-muted); font-size: 0.98rem; }
.promo__items .icon { width: 32px; height: 32px; color: var(--gold-400); stroke-width: 1.75; }

/* ---------- Vision / mission ---------- */
.vm { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .vm { grid-template-columns: 1fr 1fr; } }
.vm__card {
  position: relative;
  padding: var(--space-7) var(--space-6) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.vm__card--dark { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-on-dark); }
.vm__card--dark h3 { color: var(--gold-400); }
.vm__card--dark p { color: var(--color-on-dark); }
.vm__card p { font-family: var(--font-heading); font-size: 1.3rem; line-height: 1.5; }
.vm__card .card__icon { position: absolute; top: -30px; left: var(--space-6); box-shadow: var(--shadow); }
.vm__card--dark .card__icon { background: var(--gold-500); color: var(--olive-900); }

/* ---------- Motto quote band ---------- */
.motto {
  text-align: center;
  padding-block: var(--space-8);
  background:
    radial-gradient(600px 300px at 50% 0%, rgb(221 170 69 / 0.18), transparent 70%),
    var(--color-surface);
}
.motto blockquote { margin: 0 auto; max-width: 900px; }
.motto blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.6rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--olive-900);
}
.motto blockquote p em { color: var(--olive-600); }
.motto cite {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--gold-700);
}
.heart-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  color: var(--gold-500);
}
.heart-divider::before,
.heart-divider::after { content: ""; width: 64px; height: 1px; background: var(--gold-500); }
.heart-divider .icon { fill: currentColor; width: 20px; height: 20px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: var(--space-3); }
.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.faq details[open] { border-color: var(--olive-500); box-shadow: var(--shadow); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 64px;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--olive-900);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 50%;
  background: var(--olive-100);
  color: var(--olive-600);
  transition: transform 240ms var(--ease-out), background-color 200ms ease;
}
.faq details[open] summary .icon { transform: rotate(180deg); background: var(--gold-100); color: var(--gold-700); }
.faq__body { padding: 0 var(--space-5) var(--space-5); color: var(--color-text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-8);
  background: var(--color-dark);
  color: var(--color-on-dark);
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 14px solid rgb(221 170 69 / 0.3);
  z-index: -1;
}
.cta-band .container {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 960px) { .cta-band .container { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: var(--space-3); }
.cta-band p { color: var(--color-on-dark-muted); font-size: var(--fs-lg); max-width: 36em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Values ---------- */
.value {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  border-radius: var(--radius);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.value .card__icon { margin: 0; width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; }
.value .card__icon .icon { width: 26px; height: 26px; }
.value h3 { font-size: 1.2rem; margin-bottom: var(--space-1); }
.value p { color: var(--color-text-muted); font-size: 1.02rem; }
.value--stack { flex-direction: column; gap: var(--space-3); }

/* ---------- Team carousel ---------- */
.team-carousel { position: relative; }
.team-carousel__viewport {
  overflow: hidden;
  touch-action: pan-y;
  padding: 12px 6px 20px;
  margin: -12px -6px -20px;
}
.team {
  display: flex;
  gap: var(--space-5);
  will-change: transform;
}
.team > .member { flex: 0 0 100%; }
@media (min-width: 640px) { .team > .member { flex-basis: calc((100% - var(--space-5)) / 2); } }
@media (min-width: 1024px) { .team > .member { flex-basis: calc((100% - 2 * var(--space-5)) / 3); } }

.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-5) var(--space-5) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.member--lead { border-color: var(--gold-400); }
.member__photo {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}
/* olive arc around the portrait, echoing the logo */
.member__photo::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 4px solid var(--olive-500);
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-20deg);
  pointer-events: none;
}
.member--lead .member__photo::after { border-color: var(--gold-500); border-bottom-color: transparent; }
.member__photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
  background: var(--cream-200);
}
.member__role {
  display: inline-block;
  margin-bottom: var(--space-2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--olive-100);
  color: var(--olive-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.member--lead .member__role { background: var(--gold-100); color: var(--gold-700); }
.member h3 { font-size: 1.15rem; margin-bottom: var(--space-2); }
.member p { color: var(--color-text-muted); font-size: 0.9375rem; line-height: 1.55; margin-bottom: var(--space-3); }
.member p:last-child { margin-bottom: 0; }

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.carousel-btn {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--olive-600);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--olive-800);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 180ms ease, color 180ms ease;
}
.carousel-btn:hover { background: var(--olive-600); color: #fff; }
.carousel-btn .icon { width: 24px; height: 24px; }
.carousel-btn--pause { border-color: var(--gold-500); }
.carousel-btn--pause:hover { background: var(--gold-500); color: var(--color-on-accent); }
.carousel-btn .icon--play { display: none; }
.carousel-btn[data-paused="true"] .icon--pause { display: none; }
.carousel-btn[data-paused="true"] .icon--play { display: block; }

/* ---------- Service detail ---------- */
.service-group + .service-group { margin-top: var(--space-8); }
.service-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-border);
}
.service-group__head h2 { margin: 0; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
.service-group__head p { margin: 0; color: var(--color-text-muted); max-width: 32em; }
.service {
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.service:target { border-color: var(--gold-500); box-shadow: 0 0 0 4px var(--gold-100), var(--shadow); }
.service ul {
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
  font-size: 1.02rem;
  color: var(--color-text);
}
.service li { display: flex; gap: var(--space-2); }
.service li .icon { color: var(--olive-500); margin-top: 4px; width: 1.05em; height: 1.05em; stroke-width: 3; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  position: relative;
  padding: var(--space-6) var(--space-5) var(--space-5);
  border-radius: var(--radius);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
}
.steps h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.steps p { color: var(--color-text-muted); font-size: 1.02rem; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: var(--space-7); }
@media (min-width: 1024px) { .contact { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }

.contact-cards { display: grid; gap: var(--space-3); margin-bottom: var(--space-5); }
.contact-card {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
a.contact-card:hover { border-color: var(--olive-500); box-shadow: var(--shadow); color: var(--color-text); }
.contact-card .card__icon { margin: 0; width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; }
.contact-card .card__icon .icon { width: 24px; height: 24px; }
.contact-card small { display: block; color: var(--color-text-muted); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-card strong { font-size: 1.12rem; overflow-wrap: anywhere; }
.contact-card--wa .card__icon { background: #dff3e7; color: var(--whatsapp); }

.map {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  aspect-ratio: 4 / 3;
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

.form-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
@media (min-width: 768px) { .form-card { padding: var(--space-7); } }
.form-card > p { color: var(--color-text-muted); }
.form-grid { display: grid; gap: var(--space-5); margin-top: var(--space-5); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }

.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label, .field legend { font-weight: 700; color: var(--olive-900); }
.field .req { color: var(--color-error); }
.field .hint { font-size: 0.95rem; color: var(--color-text-muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--color-text);
  background: var(--cream-50);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfc4a6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--olive-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgb(90 107 43 / 0.18);
}
.field [aria-invalid="true"] { border-color: var(--color-error); background: #fff7f6; }
.field__error {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-error);
}
.field__error.is-visible { display: flex; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-1); }
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 8px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-weight: 400;
  cursor: pointer;
  background: var(--cream-50);
}
.radio-row input { width: 20px; height: 20px; min-height: 0; accent-color: var(--olive-600); margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--olive-600); background: var(--olive-100); font-weight: 700; }

.form-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.form-actions .btn { flex: 1 1 220px; }
.form-note { margin-top: var(--space-4); font-size: 0.95rem; color: var(--color-text-muted); }

.form-status {
  display: none;
  gap: var(--space-3);
  align-items: flex-start;
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.form-status.is-visible { display: flex; }
.form-status--success { background: #e7f2e4; color: var(--color-success); }
.form-status--error { background: #fdecea; color: var(--color-error); }

.error-summary {
  display: none;
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border: 2px solid var(--color-error);
  border-radius: var(--radius-sm);
  background: #fff7f6;
}
.error-summary.is-visible { display: block; }
.error-summary h3 { font-family: var(--font-body); font-size: 1.05rem; color: var(--color-error); margin-bottom: var(--space-2); }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary a { color: var(--color-error); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1a2412;
  color: var(--color-on-dark-muted);
  padding-top: var(--space-8);
  font-size: 1.02rem;
}
.footer-grid { display: grid; gap: var(--space-7); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 0.9fr 1.1fr 1.3fr; } }
.footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-4);
  text-align: center;
  text-decoration: none;
}
.footer-logo img { width: 92px; height: auto; margin-bottom: var(--space-2); }
.footer-logo__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.2em;
  margin-right: -0.2em; /* balance trailing letter-spacing */
  color: #a9b86a;
}
.footer-logo__sub {
  margin-top: var(--space-1);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-on-dark);
}
.footer-logo__tag {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-1);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.footer-logo__tag::before,
.footer-logo__tag::after { content: ""; width: 14px; height: 1px; background: var(--gold-500); }
.footer-logo:hover .footer-logo__name { color: #c3d085; }
.footer-motto { font-family: var(--font-heading); font-style: italic; font-size: 1rem; line-height: 1.5; color: var(--gold-400); max-width: 22em; }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-4);
}
.footer-links { display: grid; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 40px;
  color: var(--color-on-dark-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold-400); }
.footer-links .icon { color: var(--gold-400); }
.footer-contact li { display: flex; gap: var(--space-3); align-items: flex-start; }
.footer-contact li .icon { margin-top: 10px; }
.footer-bottom {
  margin-top: var(--space-8);
  padding-block: var(--space-5);
  border-top: 1px solid rgb(247 243 230 / 0.14);
  font-size: 0.95rem;
}
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 56px;
  padding: 10px 20px 10px 14px;
  border-radius: var(--radius-pill);
  background: var(--whatsapp);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgb(31 122 70 / 0.35);
  transition: transform 200ms var(--ease-out), background-color 200ms ease;
}
.wa-float:hover { color: #fff; background: #17633a; transform: translateY(-2px); }
.wa-float .icon { width: 28px; height: 28px; }
@media (max-width: 559px) {
  .wa-float { padding: 14px; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
body { padding-bottom: env(safe-area-inset-bottom); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .topbar, .site-header, .wa-float, .cta-band, .map { display: none !important; }
}
