:root {
  --ink: #17271f;
  --ink-soft: #4a5a4f;
  --ink-faint: #7d8b81;
  --paper: #ece4cd;
  --paper-raised: #ffffff;
  --paper-deep: #e4dac0;
  --green: #1f4d3a;
  --green-deep: #10281f;
  --green-900: #0a1c15;
  --gold: #ad7f34;
  --gold-bright: #cd9c4e;
  --gold-soft: #e9d9b3;
  --line: rgba(16, 40, 31, 0.16);
  --line-soft: rgba(16, 40, 31, 0.1);
  --shadow-xs: 0 2px 6px rgba(10, 28, 21, 0.09);
  --shadow-sm: 0 6px 20px rgba(10, 28, 21, 0.11);
  --shadow-md: 0 16px 38px rgba(10, 28, 21, 0.15);
  --shadow-lg: 0 30px 70px rgba(8, 22, 17, 0.28);
  --radius: 8px;
  --radius-sm: 5px;
  --radius-lg: 14px;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --heading: var(--green-deep);
  --surface-glow: rgba(205, 156, 78, 0.05);
}

/* ---------- Dark mode ----------
   Toggled by setting data-theme="dark" on <html> (see the inline script in
   <head>, which reads the saved preference before first paint to avoid a
   flash of the wrong theme). Brand-green decorative surfaces — the hero,
   the CTA band and the mobile nav drawer — are intentionally left as fixed
   emerald regardless of theme; only the neutral reading surfaces switch. */
html[data-theme="dark"] {
  --ink: #eef1ec;
  --ink-soft: #b9c4bc;
  --ink-faint: #869187;
  --paper: #0b1310;
  --paper-raised: #131e19;
  --paper-deep: #0f1815;
  --heading: #f4f1e6;
  --green: #3f8563;
  --gold: #dba85d;
  --gold-bright: #eec27f;
  --gold-soft: #3a3120;
  --line: rgba(238, 241, 236, 0.12);
  --line-soft: rgba(238, 241, 236, 0.07);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 14px 38px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
  --surface-glow: rgba(205, 156, 78, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Smooth, premium cross-fade whenever the theme is toggled */
body, .header, .service-card, .why-card, .poster-card, .faq__item,
.contact__form, .contact__form input, .contact__form textarea,
.slider__viewport, .pill, .footer, .btn--ghost {
  transition-property: background-color, color, border-color, box-shadow, transform;
  transition-duration: 0.25s, 0.25s, 0.25s, 0.25s, 0.25s;
  transition-timing-function: ease, ease, ease, ease, var(--ease);
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* Faint film-grain texture over the whole site for a tactile, printed feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[data-theme="dark"] body::before { opacity: 0.05; }

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  z-index: 9999;
  transition: width 0.08s linear;
  box-shadow: 0 0 12px rgba(205, 156, 78, 0.6);
}

::selection { background: var(--gold); color: #241a08; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 20px; border: 3px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

main { flex: 1; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--heading);
  margin: 0 0 0.5em;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

p { line-height: 1.7; color: var(--ink-soft); margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 0.8em;
  display: flex;
  align-items: center;
  gap: 0.55em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--ghost::after {
  content: "\2192";
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.btn--ghost:hover::after { transform: translateX(4px); }
.section__head h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.btn--gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--gold-bright), var(--gold) 70%);
  color: #fff8ec;
  box-shadow: var(--shadow-sm);
}
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:active { transform: translateY(0); }
.btn--ghost { border-color: rgba(31, 77, 58, 0.35); color: var(--heading); background: transparent; }
html[data-theme="dark"] .btn--ghost { border-color: rgba(238, 241, 236, 0.28); }
.btn--ghost:hover { background: rgba(31, 77, 58, 0.07); border-color: var(--green); }
html[data-theme="dark"] .btn--ghost:hover { background: rgba(63, 133, 99, 0.14); }
.btn--block { width: 100%; }
.btn:focus-visible, .nav__link:focus-visible, .pill:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Page loader: three quiet dots, no text ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--paper);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: loader-pulse 1.1s ease-in-out infinite;
}
.page-loader__dot:nth-child(1) { background: var(--green); animation-delay: 0s; }
.page-loader__dot:nth-child(2) { background: var(--gold); animation-delay: 0.15s; }
.page-loader__dot:nth-child(3) { background: var(--gold-bright); animation-delay: 0.3s; }
@keyframes loader-pulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader__dot { animation: none; opacity: 0.85; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.header--scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
/*
 * The glass-blur effect lives on a pseudo-element sitting behind the header
 * content, not on .header itself. backdrop-filter (like transform) creates
 * a new containing block for fixed-position descendants — and .nav (the
 * mobile drawer) is a descendant of .header. Applying it directly to
 * .header would silently break the drawer's position: fixed the moment the
 * header picked up this class (i.e. as soon as the page is scrolled).
 */
.header--scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.header__inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

/* Burger: sits at the far right of the bar on every breakpoint it appears at */
.burger {
  display: none;
  order: 2;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  margin: 0 0 0 auto;
}
.burger span { width: 18px; height: 2px; margin: 0 auto; background: var(--heading); transition: transform 0.25s var(--ease), opacity 0.2s ease; }
.burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand__mark {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand__logo { width: 100%; height: 100%; object-fit: contain; }
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--heading);
  display: flex; flex-direction: column;
  line-height: 1.25;
}
.brand__name small {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.01em;
  color: var(--ink-faint);
}

/* Desktop inline nav */
.nav { display: flex; align-items: center; gap: 1.85rem; flex: 1; justify-content: flex-end; }
.nav ul { display: flex; gap: 1.6rem; }
.nav__link { position: relative; font-size: 0.92rem; color: var(--ink-soft); padding: 0.3rem 0; }
.nav__link::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -1px;
  height: 1.5px; background: var(--gold);
  transition: right 0.25s var(--ease);
}
.nav__link:hover { color: var(--heading); }
.nav__link:hover::after { right: 0; }
.nav__link--active { color: var(--heading); }
.nav__link--active::after { right: 0; }

.nav__phone { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--heading); white-space: nowrap; font-size: 0.92rem; }
.nav__phone svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav__drawer-head, .nav__drawer-foot, .nav__close, .brand--drawer { display: none; }

.header__actions { display: flex; align-items: center; gap: 1.1rem; flex-shrink: 0; }
.header__cta { flex-shrink: 0; }

/* ---------- Utility toggles: dark mode + language ---------- */
.header__utils { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.util-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  color: var(--heading);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease), background-color 0.25s ease, color 0.25s ease;
}
.util-btn:hover { border-color: var(--gold); box-shadow: var(--shadow-xs); transform: translateY(-1px); }
.util-btn svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.lang-toggle {
  width: auto;
  min-width: 38px;
  padding: 0 0.75rem;
  border-radius: 20px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

/* Mobile drawer variants: same buttons, tuned for the dark drawer surface.
   Placed in their own row beneath the drawer header (not squeezed next to
   brand + close), so they never compete for width on narrow phones. */
.nav__drawer-utils {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(244, 241, 230, 0.14);
}
.nav__drawer-utils .util-btn {
  background: rgba(244, 241, 230, 0.08);
  border-color: rgba(244, 241, 230, 0.16);
  color: #f4f1e6;
}
.nav__drawer-utils .util-btn:hover { border-color: var(--gold-bright); }

/* Dimmed backdrop behind the sidebar */
.nav__backdrop {
  position: fixed; inset: 0;
  background: rgba(9, 22, 17, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 550;
}
.nav__backdrop.is-visible { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

/* .hero--flyer: split hero. Copy on one side, the firm's flyer artwork
   presented as a clean, framed panel on the other — over a solid brand-green
   backdrop instead of a photo collage. Stacks to a single column on mobile,
   with the flyer image settling below the copy. */
.hero--flyer {
  display: flex;
  align-items: center;
  padding: 7rem 1.5rem 4.5rem;
  color: var(--gold-soft);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(155deg, var(--green-deep), var(--green-900));
}
.hero__bg::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(620px circle at 88% 8%, rgba(205, 156, 78, 0.16), transparent 60%);
}
/* Animated gradient mesh + floating glow orbs for a premium, alive backdrop */
.hero__bg::after {
  content: "";
  position: absolute; inset: -10%;
  background:
    radial-gradient(480px circle at 14% 20%, rgba(63, 133, 99, 0.35), transparent 60%),
    radial-gradient(420px circle at 78% 78%, rgba(205, 156, 78, 0.14), transparent 62%),
    radial-gradient(360px circle at 50% 96%, rgba(63, 133, 99, 0.22), transparent 60%);
  animation: mesh-drift 22s ease-in-out infinite alternate;
  filter: blur(2px);
}
@keyframes mesh-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-2%, 2%) scale(1.06); }
  100% { transform: translate(2%, -1%) scale(1.02); }
}
.hero__orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  opacity: 0.55;
}
.hero__orb--1 {
  width: 340px; height: 340px;
  top: -80px; right: 8%;
  background: radial-gradient(circle, rgba(238, 194, 127, 0.55), transparent 70%);
  animation: orb-float 14s ease-in-out infinite;
}
.hero__orb--2 {
  width: 260px; height: 260px;
  bottom: -60px; left: 4%;
  background: radial-gradient(circle, rgba(63, 133, 99, 0.55), transparent 70%);
  animation: orb-float 18s ease-in-out infinite reverse;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(3%, -4%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg::after, .hero__orb { animation: none; }
}
.hero--flyer__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.hero--flyer__inner > * { position: relative; z-index: 1; }
.hero--flyer .eyebrow { color: var(--gold-bright); }
.hero--flyer h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  max-width: 17ch;
  text-shadow: 0 2px 24px rgba(6, 16, 12, 0.35);
  letter-spacing: -0.02em;
}
.text-accent {
  background: linear-gradient(100deg, var(--gold-bright), #fff2d6 45%, var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero--flyer .hero__lede {
  max-width: 58ch;
  font-size: 1.07rem;
  color: rgba(243, 239, 226, 0.88);
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.85rem; }
.hero--flyer .btn--ghost {
  border-color: rgba(243, 239, 226, 0.45);
  color: #fff8ec;
}
.hero--flyer .btn--ghost:hover { background: rgba(243, 239, 226, 0.12); border-color: #fff8ec; }

.hero--flyer__art {
  background: #fff;
  padding: 0.65rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 40px 90px -20px rgba(0, 0, 0, 0.55);
  transform: rotate(0.6deg);
  position: relative;
  animation: float-y 6s ease-in-out infinite;
}
@keyframes float-y {
  0%, 100% { transform: rotate(0.6deg) translateY(0); }
  50% { transform: rotate(0.6deg) translateY(-10px); }
}
.hero--flyer__art::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  padding: 2px;
  background: linear-gradient(135deg, var(--gold-bright), transparent 40%, transparent 60%, var(--gold-bright));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
  pointer-events: none;
}
.hero--flyer__badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--paper-raised);
  color: var(--heading);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  box-shadow: var(--shadow-md);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  z-index: 2;
}
.hero--flyer__badge span.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(205, 156, 78, 0.25);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .hero--flyer__badge { left: 50%; transform: translateX(-50%); bottom: -16px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--flyer__art { animation: none; }
}
.hero--flyer__art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 4px);
}

.hero__trust { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid rgba(243, 239, 226, 0.22); }
.hero__trust-label { display: block; font-size: 0.78rem; color: rgba(243, 239, 226, 0.65); margin-bottom: 0.9rem; }
.hero__trust-list { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; }
.hero__trust-list li {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff8ec;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(243, 239, 226, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(243, 239, 226, 0.08);
}

@media (max-width: 900px) {
  .hero--flyer__inner {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .hero--flyer__art {
    max-width: 460px;
    margin: 0 auto;
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero--flyer {
    padding: 6.5rem 1.25rem 3.5rem;
  }
}

/* Generic page header for interior pages */
.page-header { position: relative; max-width: 900px; margin: 0 auto; padding: 4.5rem 1.5rem 2.75rem; }
.page-header h1 { font-size: clamp(1.95rem, 3.6vw, 2.65rem); max-width: 18ch; }
.page-header__lede { max-width: 60ch; font-size: 1.03rem; }

/* Sections */
.section { max-width: 1220px; margin: 0 auto; padding: 4.5rem 1.5rem; }
.section--tint { background: var(--paper-deep); max-width: none; }
.section--tint > * { max-width: 1220px; margin-left: auto; margin-right: auto; }
.section__head { max-width: 640px; margin-bottom: 3rem; }
.section__head h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
.section__lede { font-size: 1rem; }
.section__cta { margin-top: 2.75rem; }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.7rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.25s ease;
}
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 1.7rem; right: 1.7rem;
  height: 2px;
  background: var(--gold-soft);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.service-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(220px circle at 85% -10%, var(--surface-glow), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md), 0 0 0 1px var(--surface-glow); border-color: var(--line-soft); }
.service-card:hover::before { background: var(--gold); box-shadow: 0 0 12px rgba(205, 156, 78, 0.5); }
.service-card:hover::after { opacity: 1; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.55rem; }
.service-card p { font-size: 0.92rem; margin: 0; }

/* Split layout (About) */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; }
.checklist { display: flex; flex-direction: column; gap: 1.1rem; }
.checklist li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; color: var(--ink-soft); }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
}
.checklist strong { color: var(--heading); }

/* Why-us grid (Home) */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: why; }
.why-card {
  position: relative;
  overflow: hidden;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s ease;
  counter-increment: why;
}
.why-card::after {
  content: counter(why, decimal-leading-zero);
  position: absolute;
  top: -0.35em; right: 0.3rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 3.6rem;
  color: var(--heading);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md), 0 0 0 1px var(--surface-glow); border-color: var(--line-soft); }
.why-card h3 { font-size: 1rem; margin-bottom: 0.45rem; position: relative; }
.why-card p { font-size: 0.88rem; margin: 0; position: relative; }

/* Poster gallery (Home) */
.poster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.poster-card {
  margin: 0;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s ease;
}
.poster-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-soft); }
.poster-card img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: top; transition: transform 0.5s var(--ease); }
.poster-card:hover img { transform: scale(1.06); }
.poster-card figcaption {
  padding: 0.9rem 1.1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--heading);
  border-top: 1px solid var(--line-soft);
}

/* Poster slider (Home) */
.slider { position: relative; max-width: 640px; margin: 0 auto; }
.slider__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper-raised);
  box-shadow: var(--shadow-sm);
}
.slider__track {
  display: flex;
  transition: transform 0.5s var(--ease);
}
.slider__slide { flex: 0 0 100%; margin: 0; }
.slider__slide img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: contain;
  background: var(--paper-raised);
}
.slider__slide figcaption {
  padding: 0.9rem 1.1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--heading);
  text-align: center;
  border-top: 1px solid var(--line-soft);
}
.slider__arrow {
  position: absolute;
  top: 220px;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  color: var(--heading);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s ease, color 0.2s ease;
}
.slider__arrow svg { width: 18px; height: 18px; }
.slider__arrow:hover { background: var(--gold); border-color: var(--gold); color: #fff8ec; transform: translateY(-50%) scale(1.06); box-shadow: var(--shadow-md); }
.slider__arrow--prev { left: -14px; }
.slider__arrow--next { right: -14px; }
.slider__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.2rem; }
.slider__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.slider__dot:hover { background: var(--gold-soft); }
.slider__dot.is-active { background: var(--gold); transform: scale(1.2); }

/* Portrait variant (About — founder photos) */
.slider--portrait { max-width: 280px; margin: 0; }
.slider--portrait .slider__slide img { height: 360px; object-fit: contain; background: var(--paper-raised); }

/* Leader / founder profile (About) */
.leader {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.75rem;
  align-items: center;
}
.leader + .leader { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line-soft); }
.leader--reverse { grid-template-columns: 1fr 280px; }
.leader--reverse .slider--portrait { order: 2; }
.leader--reverse .leader__info { order: 1; }
.leader__info h3 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.leader__title { color: var(--gold); font-weight: 600; font-size: 0.95rem; margin-bottom: 1.3rem; }
.leader__contact {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.leader__contact svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }
.leader__contact:hover { color: var(--heading); }
.leader__info .btn { margin-top: 1rem; }

/* Process (Services) */
.process { max-width: 860px; margin: 0 auto; }
.process__step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}
.process__step:last-child { border-bottom: 1px solid var(--line); }
.process__n { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); font-weight: 600; }
.process__step h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.process__step p { margin: 0; font-size: 0.94rem; max-width: 60ch; }

/* Sectors */
.sector-cloud { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.pill {
  border: 1px solid var(--line);
  color: var(--heading);
  padding: 0.55rem 1.05rem;
  border-radius: 30px;
  font-size: 0.85rem;
  background: var(--paper-raised);
  display: inline-block;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pill:hover { border-color: var(--gold); box-shadow: var(--shadow-xs); }

/* CTA band */
.cta-band { position: relative; background: linear-gradient(155deg, var(--green-deep), var(--green-900)); overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(560px circle at 82% 0%, rgba(205, 156, 78, 0.16), transparent 60%);
}
.cta-band::after {
  content: "";
  position: absolute; inset: -20%;
  background:
    radial-gradient(360px circle at 10% 90%, rgba(63, 133, 99, 0.4), transparent 60%),
    radial-gradient(300px circle at 92% 100%, rgba(205, 156, 78, 0.14), transparent 60%);
  animation: mesh-drift 20s ease-in-out infinite alternate;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .cta-band::after { animation: none; } }
.cta-band__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.cta-band h2 { color: #f4f1e6; font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.cta-band p { color: #b9c8bf; margin-bottom: 1.75rem; }

/* Contact page */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact__details { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.3rem; }
.contact__details li { display: flex; flex-direction: column; gap: 0.25rem; font-size: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.contact__details li:last-child { border-bottom: none; padding-bottom: 0; }
.contact__details span.label { font-size: 0.75rem; letter-spacing: 0.02em; color: var(--gold); }
.contact__details a { text-decoration: underline; text-underline-offset: 3px; color: var(--heading); }

.contact__form {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.contact__form label { display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }
.contact__form input, .contact__form textarea {
  font-family: var(--sans);
  font-size: 0.96rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact__form input:focus, .contact__form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(173, 127, 52, 0.16);
}
.form__success { display: none; }
.form__success.is-visible { display: block; }
.form__success h3 { margin-bottom: 0.5rem; }
.form__success a { color: var(--green); font-weight: 600; }
.contact__form.is-sent .form__fields { display: none; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq__item { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s ease; }
.faq__item--open { box-shadow: var(--shadow-sm); }
.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--heading);
  cursor: pointer;
}
.faq__icon { color: var(--gold); font-size: 1.25rem; flex-shrink: 0; }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__answer p { padding: 0 1.5rem 1.4rem; margin: 0; font-size: 0.93rem; }
.faq__item--open .faq__answer { max-height: 16rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 3rem 1.5rem; }
.footer__inner { max-width: 1220px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.brand--footer .brand__name { font-size: 0.95rem; }
.footer__nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__nav a { font-size: 0.85rem; color: var(--ink-soft); }
.footer__nav a:hover { color: var(--heading); }
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--heading);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}
.footer__social a svg { width: 17px; height: 17px; }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: #fff8ec; transform: translateY(-2px); }
.footer__copy { flex-basis: 100%; font-size: 0.78rem; color: var(--ink-faint); margin: 0; padding-top: 1.75rem; border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .poster-grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; }
  .leader { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .leader--reverse .slider--portrait { order: 1; }
  .leader--reverse .leader__info { order: 2; }
  .leader__contact { justify-content: center; }
}

@media (max-width: 400px) {
  .header__inner { padding: 0.8rem 1rem; gap: 0.9rem; }
  .brand__name { font-size: 0.95rem; }
  .brand__name small { display: none; }
  .brand__mark { width: 38px; height: 38px; }
}

@media (max-width: 720px) {
  .burger { display: flex; }
  .header__actions { display: none; }

  /* The nav becomes a true right-hand sidebar drawer */
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(84vw, 340px);
    background: linear-gradient(175deg, var(--green-deep), var(--green-900));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
    overflow-y: auto;
    z-index: 600;
    box-shadow: var(--shadow-lg);
  }
  .nav--open { transform: translateX(0); }

  .nav__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(244, 241, 230, 0.14);
  }
  .brand--drawer { display: flex; }
  .nav__drawer-head .brand__name { color: #f4f1e6; }
  .nav__drawer-head .brand__name small { color: rgba(244, 241, 230, 0.55); }
  .nav__close {
    display: flex;
    align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: rgba(244, 241, 230, 0.08);
    border: 1px solid rgba(244, 241, 230, 0.16);
    border-radius: var(--radius-sm);
    color: #f4f1e6;
    cursor: pointer;
    flex-shrink: 0;
  }
  .nav__close svg { width: 16px; height: 16px; }

  .nav ul { flex-direction: column; gap: 0.2rem; width: 100%; }
  .nav__link {
    display: block;
    font-family: var(--serif);
    font-size: 1.08rem;
    color: rgba(244, 241, 230, 0.82);
    padding: 0.85rem 0.15rem;
    border-bottom: 1px solid rgba(244, 241, 230, 0.1);
  }
  .nav__link::after { display: none; }
  .nav__link:hover { color: #f4f1e6; }
  .nav__link--active { color: var(--gold-bright); }

  .nav__drawer-foot {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
  }
  .nav__drawer-foot .nav__phone { color: #f4f1e6; font-size: 1rem; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: 1fr; }
  .process__step { grid-template-columns: 40px 1fr; }
  .hero, .page-header { padding-left: 1.25rem; padding-right: 1.25rem; }
  .section { padding: 3.25rem 1.25rem; }
  .hero__trust-list { gap: 0.5rem 0.7rem; }

  .slider { max-width: 100%; }
  .slider__slide img { height: 300px; }
  .slider__arrow { width: 36px; height: 36px; top: 150px; }
  .slider__arrow--prev { left: 0.4rem; }
  .slider__arrow--next { right: 0.4rem; }
}

/* ==========================================================================
   Motion: page transitions, scroll reveals, and component in/out animations
   ========================================================================== */

@keyframes intro-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.55); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---- Page transitions: fade the whole document in on load, out on navigation ---- */
body {
  opacity: 1;
  transition: opacity 0.28s ease;
}
body.is-entering,
body.is-leaving {
  opacity: 0;
}

/* ---- Hero / page-header entrance: each direct child eases in, staggered ---- */
.hero > *,
.hero--flyer__copy > *,
.page-header > * {
  animation: intro-in 0.75s var(--ease) both;
}
.hero > *:nth-child(1), .hero--flyer__copy > *:nth-child(1), .page-header > *:nth-child(1) { animation-delay: 0.05s; }
.hero > *:nth-child(2), .hero--flyer__copy > *:nth-child(2), .page-header > *:nth-child(2) { animation-delay: 0.16s; }
.hero > *:nth-child(3), .hero--flyer__copy > *:nth-child(3), .page-header > *:nth-child(3) { animation-delay: 0.27s; }
.hero > *:nth-child(4), .hero--flyer__copy > *:nth-child(4), .page-header > *:nth-child(4) { animation-delay: 0.38s; }
.hero > *:nth-child(5), .hero--flyer__copy > *:nth-child(5), .page-header > *:nth-child(5) { animation-delay: 0.49s; }
.hero--flyer__art { animation: intro-in 0.85s var(--ease) 0.3s both; }

/* ---- Scroll reveal: elements fade/slide in the first time they enter view ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

[data-reveal="fade"] { transform: none; }

[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="scale"].is-visible { transform: scale(1); }

[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="left"].is-visible { transform: translateX(0); }

[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="right"].is-visible { transform: translateX(0); }

/* ---- FAQ answer: fade combined with the existing height transition ---- */
.faq__answer { opacity: 0; transition: max-height 0.35s var(--ease), opacity 0.3s ease; }
.faq__item--open .faq__answer { opacity: 1; }
.faq__icon { display: inline-block; transition: transform 0.25s var(--ease); }
.faq__item--open .faq__icon { transform: rotate(180deg); }

/* ---- Contact form: fields ease out, confirmation eases in ---- */
.form__fields { transition: opacity 0.25s ease, transform 0.25s var(--ease); }
.form__fields.is-leaving { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.form__success.is-visible { animation: fade-in-up 0.5s var(--ease) both; }

/* ---- Mobile nav drawer: links stagger in as the drawer opens ---- */
@media (max-width: 720px) {
  .nav ul li {
    opacity: 0;
    transform: translateX(14px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav--open ul li { opacity: 1; transform: translateX(0); }
  .nav--open ul li:nth-child(1) { transition-delay: 0.08s; }
  .nav--open ul li:nth-child(2) { transition-delay: 0.14s; }
  .nav--open ul li:nth-child(3) { transition-delay: 0.2s; }
  .nav--open ul li:nth-child(4) { transition-delay: 0.26s; }
}

/* ---- WhatsApp FAB: pop in once, after the page settles ---- */
.fab--whatsapp { animation: pop-in 0.5s var(--ease) 0.7s both; }

/* Floating action buttons: WhatsApp + back-to-top, with a growing pulse ring */
.fab-stack {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  z-index: 60;
}
.fab {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(10, 28, 21, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 28, 21, 0.36); }
.fab svg { width: 26px; height: 26px; position: relative; z-index: 2; }

.fab--whatsapp { background: #25d366; }
.fab--top {
  background: var(--green-deep);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.fab--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Growing/fading ring that pulses outward from each button */
.fab::before,
.fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.6;
  animation: fab-grow 2.2s ease-out infinite;
  pointer-events: none;
}
.fab--whatsapp::before,
.fab--whatsapp::after { color: #25d366; }
.fab--top::before,
.fab--top::after { color: var(--green-deep); }
.fab::after { animation-delay: 1.1s; }

@keyframes fab-grow {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(1.8); opacity: 0; }
}

@media (max-width: 720px) {
  .fab-stack { right: 1rem; bottom: 1rem; }
  .fab { width: 50px; height: 50px; }
  .fab svg { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service-card, .why-card { transition: none; }
  .fab::before, .fab::after { animation: none; opacity: 0; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  body.is-entering, body.is-leaving { opacity: 1 !important; }
}
