:root {
  --forest: #1f3d2b;
  --forest-deep: #122218;
  --cream: #f6efdc;
  --cream-soft: #fbf6e6;
  --gold: #c9a227;
  --gold-light: #e6c25a;
  --gold-dark: #a07f17;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --be-black: #0a0a0a;
  --be-yellow: #fae042;
  --be-red: #ef3340;
  --shadow: 0 20px 50px -15px rgba(15, 35, 22, 0.22);
  --shadow-soft: 0 10px 30px -10px rgba(15, 35, 22, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

::selection {
  background: #4a7c2d;
  color: var(--cream);
  text-shadow: none;
}
::-moz-selection {
  background: #4a7c2d;
  color: var(--cream);
  text-shadow: none;
}

html, body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  color: var(--forest-deep);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-feature-settings: "ss01", "cv11";
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  color: var(--forest);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.3rem;
  color: var(--forest);
  font-weight: 700;
}
p  {
  line-height: 1.65;
  max-width: 65ch;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  font-size: 0.95rem;
  font-family: inherit;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--gold { background: var(--gold); color: var(--forest-deep); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: var(--cream); }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }
.full { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1.2rem;
  background: rgba(246, 239, 220, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(31, 61, 43, 0.12);
  transform: translateY(0);
  opacity: 1;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .45s ease;
}
body.hero-locked .nav {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}
body.hero-locked .floating-cta,
body.footer-visible .floating-cta {
  transform: translateY(160%) !important;
  opacity: 0;
  pointer-events: none;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img {
  height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: transform .25s ease, filter .25s ease;
}
.nav__logo:hover img { transform: scale(1.04); filter: drop-shadow(0 4px 12px rgba(201,162,39,0.35)); }
.nav__links { display: flex; gap: 1.4rem; }
.nav__links a { font-weight: 600; color: var(--forest); }
.nav__links a:hover { color: var(--gold); }
.nav__right { display: flex; align-items: center; gap: 0.8rem; }
.nav__socials { display: flex; gap: 0.5rem; color: var(--forest); }
.nav__socials a { display: inline-flex; align-items: center; }
.nav__socials a:hover { color: var(--gold); }
.nav__lang { display: flex; gap: 0.2rem; }
.nav__lang button {
  background: transparent; border: 1px solid transparent;
  color: var(--forest); font-weight: 600; padding: 0.3rem 0.55rem;
  border-radius: 6px; cursor: pointer; font-size: 0.85rem;
}
.nav__lang button.active { background: var(--forest); color: var(--cream); }
.nav__cta { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__logo img { height: 48px; max-width: 160px; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: var(--forest-deep);
}

.hero__atmos {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__trail {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 7;
  mix-blend-mode: screen;
}
.hero__atmos .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
}
.hero__atmos .orb--1 { width: 420px; height: 420px; background: var(--gold);     top: -80px;  left: -100px; animation: orbDrift 18s ease-in-out infinite alternate; }
.hero__atmos .orb--2 { width: 360px; height: 360px; background: #2c5239;         bottom: -120px; right: -80px; animation: orbDrift 22s ease-in-out -6s infinite alternate; }
.hero__atmos .orb--3 { width: 240px; height: 240px; background: var(--be-yellow); top: 30%; left: 60%; opacity: 0.35; animation: orbDrift 16s ease-in-out -3s infinite alternate; }
.hero__atmos .orb--4 { width: 180px; height: 180px; background: var(--gold-light); top: 70%;  left: 12%; opacity: 0.4; animation: orbDrift 20s ease-in-out -9s infinite alternate; }
.hero__atmos .orb--5 { width: 300px; height: 300px; background: #3f8a4f;         top: 8%; right: 18%; opacity: 0.4; animation: orbDrift 24s ease-in-out -12s infinite alternate; }

.hero__atmos .leaf {
  position: absolute;
  width: 28px; height: 28px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
  will-change: transform;
}
.hero__atmos .leaf--1 { top: 14%; left: 8%;  animation: leafFloat 14s ease-in-out infinite; }
.hero__atmos .leaf--2 { top: 32%; right: 10%; width: 36px; height: 36px; animation: leafFloat 18s ease-in-out -4s infinite; }
.hero__atmos .leaf--3 { bottom: 22%; left: 16%; width: 22px; height: 22px; animation: leafFloat 12s ease-in-out -7s infinite; }
.hero__atmos .leaf--4 { top: 60%; right: 22%; width: 32px; height: 32px; animation: leafFloat 20s ease-in-out -10s infinite; }

.hero__atmos .dot {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold-light), 0 0 24px rgba(201,162,39,0.6);
  opacity: 0.7;
}
.hero__atmos .dot--1 { top: 18%; left: 22%; animation: dotPulse 3.2s ease-in-out infinite; }
.hero__atmos .dot--2 { top: 28%; right: 28%; animation: dotPulse 4.6s ease-in-out -1s infinite; }
.hero__atmos .dot--3 { top: 48%; left: 18%; animation: dotPulse 3.8s ease-in-out -2s infinite; }
.hero__atmos .dot--4 { bottom: 30%; right: 12%; animation: dotPulse 4.2s ease-in-out -1.5s infinite; }
.hero__atmos .dot--5 { top: 12%; left: 62%; animation: dotPulse 5s ease-in-out -3s infinite; }
.hero__atmos .dot--6 { bottom: 18%; left: 48%; animation: dotPulse 3.6s ease-in-out -2.5s infinite; }
.hero__atmos .dot--7 { top: 70%; right: 38%; animation: dotPulse 4.4s ease-in-out -0.5s infinite; }
.hero__atmos .dot--8 { top: 82%; left: 32%; animation: dotPulse 3.4s ease-in-out -1.8s infinite; }

@keyframes leafFloat {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(20px, -30px) rotate(20deg); }
  50%  { transform: translate(-10px, -50px) rotate(-15deg); }
  75%  { transform: translate(-25px, -20px) rotate(10deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes dotPulse {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50%      { opacity: 1;   transform: scale(1.4); }
}

.hero__bg {
  position: absolute; inset: 0;
  overflow: hidden;
  transition: opacity .1s linear;
  z-index: 1;
  will-change: opacity, transform;
}
.hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.05);
}
.hero__bg-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,20,14,0.25) 0%, rgba(10,20,14,0.65) 100%),
    radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(10,20,14,0.55) 80%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 75%);
  pointer-events: none;
  animation: gridShift 18s linear infinite;
}
@keyframes gridShift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 60px 60px, 60px 60px; }
}

.hero__logo {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.hero__logo-img {
  position: absolute;
  top: 0; left: 0;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.55));
  will-change: transform, width;
}

.hero__scrollHint {
  position: absolute;
  bottom: 2rem;
  left: 0; right: 0;
  margin: 0 auto;
  width: max-content;
  max-width: calc(100% - 2rem);
  color: var(--cream);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  z-index: 5;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0 1.5rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px) scale(0.92);
  transition: opacity .25s linear, transform .25s linear;
  will-change: opacity, transform;
}
.hero__content.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.hero__tagline {
  color: var(--cream);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 0 auto;
  max-width: 22ch;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.55);
}
.hero__area {
  color: var(--cream);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1.5;
  margin: 1.25rem auto 0;
  max-width: 46ch;
  opacity: 0.85;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.5);
}
.hero__content .btn--lg {
  padding: 1.2rem 2.6rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  letter-spacing: 0.02em;
  box-shadow: 0 18px 44px rgba(201, 162, 39, 0.4);
}

/* ===== Animated section backgrounds ===== */
.about, .services, .contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.about::before, .services::before, .contact::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -2;
  background:
    radial-gradient(600px circle at 15% 20%,  rgba(201,162,39,0.10), transparent 60%),
    radial-gradient(700px circle at 85% 80%,  rgba(31,61,43,0.18),  transparent 60%),
    radial-gradient(500px circle at 60% 30%,  rgba(250,224,66,0.08), transparent 60%);
  animation: bgFloat 22s ease-in-out infinite alternate;
}
.about::after, .services::after, .contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(31,61,43,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,61,43,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 0%, transparent 75%);
  pointer-events: none;
}
@keyframes bgFloat {
  0%   { transform: translate3d(0,0,0) rotate(0deg); }
  50%  { transform: translate3d(2%, -2%, 0) rotate(2deg); }
  100% { transform: translate3d(-2%, 2%, 0) rotate(-2deg); }
}

/* Floating orbs in trust band */
.trust { overflow: hidden; isolation: isolate; }
.trust::before, .trust::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
  animation: orbDrift 14s ease-in-out infinite alternate;
}
.trust::before { width: 380px; height: 380px; background: var(--gold); top: -120px; left: -120px; }
.trust::after  { width: 460px; height: 460px; background: #2c5239; bottom: -180px; right: -160px; animation-delay: -7s; }
.trust__inner { position: relative; z-index: 1; }
@keyframes orbDrift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,30px) scale(1.1); }
}

/* ===== About + Stats ===== */
.about { padding: 5rem 1.5rem; background: var(--cream-soft); }
.about__inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.about__text p { margin-bottom: 1rem; }
.about__honest {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-style: italic;
  color: var(--forest);
  font-size: 1.18rem;
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
  margin-top: 1rem;
}
.about__photo img {
  border-radius: 1rem;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about__photo--logo {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(201,162,39,0.15), transparent 65%),
    linear-gradient(135deg, var(--cream-soft), var(--cream));
  border-radius: 1.4rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.about__photo--logo::after {
  content: ""; position: absolute; inset: -2px;
  border-radius: inherit; padding: 2px;
  background: linear-gradient(135deg, rgba(201,162,39,0.55), transparent 50%, rgba(201,162,39,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.about__photo--logo img {
  width: 100%; height: auto;
  max-width: 100%; max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 8px 24px rgba(31,61,43,0.25));
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.about__photo--logo:hover img { transform: scale(1.04); }

.stats {
  max-width: 1100px; margin: 4rem auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  background: var(--forest);
  color: var(--cream);
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: "JetBrains Mono", "SF Mono", Consolas, monospace;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  color: var(--gold-light);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.stat__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 0.45rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .about__inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about__photo--logo { min-height: 0; padding: 0.6rem; }
}

/* ===== Services ===== */
.services { padding: 5rem 1.5rem; background: var(--cream); }
.services h2 { text-align: center; margin-bottom: 2.5rem; }
.services__grid {
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  gap: 1.25rem;
}
.service-card--featured {
  border-color: rgba(201, 162, 39, 0.45);
  position: relative;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.15) inset;
}
.service-card__tag {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gold);
  color: var(--forest-deep);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.3);
}
.service-card {
  background: var(--cream-soft);
  border: 1px solid rgba(31, 61, 43, 0.15);
  border-radius: 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.service-card img {
  width: 100%; height: 220px;
  flex: none;
  object-fit: cover; object-position: center center;
  /* Soft deep-green backdrop with a subtle centre glow instead of a hard pure
     black, so the darker details of the illustrations stay readable (incl. on
     wide-gamut Apple screens). */
  background: radial-gradient(circle at 50% 42%, #20402c 0%, #11231a 62%, #0c1a12 100%);
  display: block;
}
.service-card--photo img { object-position: center 35%; }
.service-card:not(.service-card--photo) img {
  object-fit: contain;
  object-position: center center;
  padding: 0.6rem;            /* respire légèrement dans son cadre noir */
}
.service-card h3       { padding: 1rem 1.2rem 0; align-self: start; }
.service-card > p      { padding: 0.25rem 1.2rem 0; align-self: start; max-width: none; }

/* The whole card is the link — strip default anchor styling */
a.service-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* "Discover" affordance row — text + arrow, not a button */
.service-card__discover {
  padding: 0.85rem 1.2rem 1.2rem;
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono, inherit);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  transition: color .25s ease, gap .25s var(--ease-out, ease);
}
.service-card__arrow {
  width: 1.15rem; height: 1.15rem;
  color: var(--gold-dark, var(--gold));
  transition: transform .3s var(--ease-out, ease), color .25s ease;
}
.service-card:hover .service-card__discover,
.service-card:focus-visible .service-card__discover {
  color: var(--gold-dark, var(--gold));
  gap: 0.75rem;
}
.service-card:hover .service-card__arrow,
.service-card:focus-visible .service-card__arrow {
  transform: translateX(4px);
}

/* Keyboard focus ring on the whole tile */
.service-card:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.45), var(--shadow-2, 0 12px 32px rgba(0,0,0,.15));
}

/* Section hint: "click anywhere to discover" */
.services__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: -0.4rem auto 2.4rem;
  max-width: 640px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--forest);
  opacity: 0.85;
}
.services__hint-icon {
  width: 1.25rem; height: 1.25rem;
  color: var(--gold-dark, var(--gold));
  flex: none;
  animation: hintNudge 2.6s ease-in-out infinite;
}
@keyframes hintNudge {
  0%, 70%, 100% { transform: translate(0, 0) rotate(0deg); }
  80%           { transform: translate(2px, 2px) rotate(-6deg); }
  90%           { transform: translate(0, 0) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .services__hint-icon { animation: none; }
  .service-card__arrow { transition: none; }
}

@media (max-width: 1200px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .service-card img { height: 200px; }
}
@media (max-width: 800px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .service-card img { height: 170px; }
  .service-card h3 { padding: 0.7rem 0.9rem 0; font-size: 1.05rem; }
  .service-card > p { padding: 0.2rem 0.9rem 0; font-size: 0.88rem; }
  .service-card__discover { padding: 0.6rem 0.9rem 0.9rem; font-size: 0.72rem; }
  .services__hint { font-size: 0.88rem; margin-bottom: 1.8rem; }
}
@media (max-width: 380px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card img { height: 200px; }
}

/* ===== Trust strip ===== */
.trust { background: var(--forest-deep); color: var(--cream); position: relative; }
.tricolour { display: flex; height: 8px; }
.tricolour span { flex: 1; }
.tricolour__black  { background: var(--be-black); }
.tricolour__yellow { background: var(--be-yellow); }
.tricolour__red    { background: var(--be-red); }

.trust__inner {
  max-width: 720px; margin: 0 auto;
  padding: 4rem 1.5rem; text-align: center;
}
.trust__inner p { margin-left: auto; margin-right: auto; }
.trust__lion { width: 64px; height: 64px; margin: 0 auto 1rem; display: block; filter: drop-shadow(0 2px 4px rgba(250,224,66,0.3)); }
.trust h2 { color: var(--gold-light); }

/* ===== Testimonials ===== */
.testimonials {
  padding: 5rem 1.5rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.testimonials::before {
  content: ""; position: absolute; inset: -10%;
  z-index: -1;
  background:
    radial-gradient(600px circle at 80% 20%, rgba(201,162,39,0.10), transparent 60%),
    radial-gradient(500px circle at 20% 80%, rgba(31,61,43,0.10), transparent 60%);
  animation: bgFloat 20s ease-in-out infinite alternate;
}
.testimonials__inner {
  max-width: 820px; margin: 0 auto;
  text-align: center;
}
.testimonials h2 { margin-bottom: 2.5rem; }
.testimonials__track {
  position: relative;
  min-height: 280px;
}
.testimonial {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.2rem;
  padding: 2.2rem 1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
.testimonial.is-active {
  opacity: 1; transform: none; pointer-events: auto;
  position: relative;
}
.testimonial__stars {
  display: inline-flex; gap: 0.35rem;
  filter: drop-shadow(0 4px 10px rgba(201,162,39,0.35));
}
.testimonial__stars span {
  width: 26px; height: 26px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.9 6.9 7.4.6-5.6 4.9 1.7 7.3L12 17.8 5.6 21.7l1.7-7.3L1.7 9.5l7.4-.6z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.9 6.9 7.4.6-5.6 4.9 1.7 7.3L12 17.8 5.6 21.7l1.7-7.3L1.7 9.5l7.4-.6z'/></svg>") center/contain no-repeat;
}
.testimonial__quote {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  color: var(--forest-deep);
  font-style: italic;
  max-width: 720px;
  position: relative;
  padding: 0 0.5rem;
}
.testimonial__quote::before,
.testimonial__quote::after {
  content: "";
  font-family: Georgia, serif;
  color: var(--gold);
  font-size: 2.4rem;
  line-height: 1;
  vertical-align: -0.4rem;
}
.testimonial__quote::before { content: "\201C"; margin-right: 0.2rem; }
.testimonial__quote::after  { content: "\201D"; margin-left: 0.2rem; }
.testimonial__author {
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.04em;
}
.testimonials__dots {
  display: inline-flex; gap: 0.6rem;
  margin-top: 1.5rem;
}
.testimonials__dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(31,61,43,0.25);
  cursor: pointer;
  padding: 0;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.testimonials__dots button:hover { background: rgba(31,61,43,0.5); }
.testimonials__dots button.is-active {
  background: var(--gold);
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.2);
}

/* ===== Contact ===== */
.contact { padding: 5rem 1.5rem; background: var(--cream-soft); }
.contact h2 { text-align: center; }
.contact__intro { text-align: center; max-width: 56ch; margin: 0 auto 2.5rem; opacity: 0.75; font-size: 1.02rem; }
.contact-form {
  max-width: 720px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.contact-form label {
  display: flex; flex-direction: column; gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-form label > span { font-weight: 600; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form__helper {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(31, 61, 43, 0.6);
  margin-top: 0.2rem;
}
.contact-form__error {
  display: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--be-red);
  margin-top: 0.25rem;
}
.contact-form label.is-invalid input,
.contact-form label.is-invalid select,
.contact-form label.is-invalid textarea {
  border-color: var(--be-red);
  box-shadow: 0 0 0 3px rgba(239, 51, 64, 0.12);
}
.contact-form label.is-invalid .contact-form__error { display: block; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(31, 61, 43, 0.25);
  border-radius: 0.5rem;
  background: white;
  font: inherit;
  color: var(--forest-deep);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }

.contact-form__status {
  display: none;
  font-weight: 600;
  padding: 0.7rem 0.9rem;
  border-radius: 0.5rem;
  margin-top: 0.2rem;
}
.contact-form__status.is-pending,
.contact-form__status.is-success,
.contact-form__status.is-error { display: block; }
.contact-form__status.is-pending { color: var(--forest-deep); background: rgba(31, 61, 43, 0.08); }
.contact-form__status.is-success { color: var(--forest-deep); background: rgba(31, 61, 43, 0.12); }
.contact-form__status.is-error { color: var(--be-red); background: rgba(239, 51, 64, 0.1); }

@media (max-width: 600px) { .contact-form { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.footer {
  background: var(--forest-deep); color: var(--cream);
  padding: 3rem 1.5rem 2rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.footer__col strong { color: var(--gold-light); display: block; margin-bottom: 0.6rem; font-size: 1.05rem; }
.footer__col p { margin-bottom: 0.3rem; font-size: 0.9rem; opacity: 0.9; }
.footer__col a:hover { color: var(--gold); }
.footer__emergency { color: var(--be-yellow); }
.footer__socials { margin-top: 0.6rem; display: flex; gap: 1rem; }
.footer__socials a { color: var(--gold-light); font-weight: 600; }

@media (max-width: 768px) { .footer { grid-template-columns: 1fr; } }

/* ===== Floating CTA ===== */
.floating-cta {
  position: fixed !important;
  bottom: 1.5rem !important;
  right: 1.5rem !important;
  left: auto !important;
  top: auto !important;
  background: var(--gold); color: var(--forest-deep);
  padding: 0.95rem 1.5rem; border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 36px rgba(0,0,0,0.3), 0 0 0 0 rgba(201,162,39,0.6);
  z-index: 95;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.floating-cta__arrow {
  display: inline-block;
  width: 16px; height: 16px;
  margin-left: 0.1rem;
  flex: 0 0 auto;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.floating-cta:hover .floating-cta__arrow { transform: translateX(4px); }
.floating-cta {
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .4s ease, background .2s ease, box-shadow .2s ease;
}
.floating-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.6) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.floating-cta:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,162,39,0.45); }
.floating-cta:hover::before { transform: translateX(120%); }

/* ===== Glowy cursor (additive layers, native cursor preserved) ===== */
.cursor-glow,
.cursor-core {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9998;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .35s ease, width .3s ease, height .3s ease, background .3s ease;
  will-change: transform;
}
.cursor-glow {
  width: 130px; height: 130px;
  background:
    radial-gradient(circle, rgba(250,224,66,0.35) 0%, rgba(201,162,39,0.20) 30%, rgba(201,162,39,0.08) 55%, transparent 75%);
  filter: blur(2px);
}
.cursor-core {
  width: 10px; height: 10px;
  background: radial-gradient(circle, #fff5b8 0%, var(--be-yellow) 40%, var(--gold) 75%, transparent 100%);
  box-shadow:
    0 0 12px rgba(250,224,66,0.9),
    0 0 28px rgba(201,162,39,0.7),
    0 0 60px rgba(201,162,39,0.45);
  z-index: 9999;
}
.cursor-glow.is-on, .cursor-core.is-on { opacity: 1; }
.cursor-glow.is-hover { width: 170px; height: 170px; }
.cursor-core.is-hover {
  width: 18px; height: 18px;
  background: radial-gradient(circle, #fff 0%, #fff5b8 30%, var(--be-yellow) 60%, var(--gold) 100%);
}
.cursor-core.is-down { width: 6px; height: 6px; }
@keyframes cursorPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(250,224,66,0.9), 0 0 28px rgba(201,162,39,0.7), 0 0 60px rgba(201,162,39,0.45); }
  50%      { box-shadow: 0 0 18px rgba(250,224,66,1),   0 0 40px rgba(201,162,39,0.85),0 0 80px rgba(201,162,39,0.55); }
}
.cursor-core.is-on { animation: cursorPulse 2.4s ease-in-out infinite; }
@media (hover: none), (max-width: 768px) {
  .cursor-glow, .cursor-core { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-core { animation: none; }
}

/* ===== Interactive primitives ===== */
.btn, .nav__lang button, .service-card, .floating-cta, a[href^="#"], .nav__socials a, .footer__socials a {
  position: relative;
}

/* Ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(255,255,255,0.45);
  pointer-events: none;
  animation: rippleGo .6s ease-out forwards;
  mix-blend-mode: screen;
}
@keyframes rippleGo {
  to { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}

/* Magnetic buttons (transform applied by JS, this just smooths) */
.btn, .floating-cta, .nav__cta {
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:active, .floating-cta:active { transform: scale(0.97); }

.btn--gold:hover { box-shadow: 0 0 0 4px rgba(201,162,39,0.18), 0 12px 30px rgba(201,162,39,0.35); }
.btn--outline:hover { box-shadow: 0 0 0 4px rgba(31,61,43,0.12); }

/* Nav link underline animation */
.nav__links a {
  padding: 0.4rem 0.2rem;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s ease, left .3s ease;
}
.nav__links a:hover::after,
.nav__links a.is-active::after {
  width: 100%; left: 0;
}

/* Service cards: tech tilt + glow */
.service-card {
  transform-style: preserve-3d;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(201,162,39,0.18), transparent 40%);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 0;
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201,162,39,0.6), transparent 40%, transparent 60%, rgba(201,162,39,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }

/* Lang button active glow */
.nav__lang button {
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.nav__lang button:hover { background: rgba(31,61,43,0.1); }
.nav__lang button.active { box-shadow: 0 0 0 3px rgba(201,162,39,0.25); }

/* Form focus */
.contact-form input,
.contact-form select,
.contact-form textarea {
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 4px rgba(201,162,39,0.18);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Stats: pulse the active number */
.stat__num { transition: text-shadow .4s ease; }
.stat.is-counting .stat__num { text-shadow: 0 0 24px rgba(230,194,90,0.5); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--be-yellow));
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(201,162,39,0.6);
}

/* Floating CTA pulse halo */
.floating-cta {
  box-shadow: 0 8px 30px rgba(0,0,0,0.25), 0 0 0 0 rgba(201,162,39,0.6);
  animation: ctaPulse 2.6s ease-out infinite;
}
@keyframes ctaPulse {
  0%   { box-shadow: 0 8px 30px rgba(0,0,0,0.25), 0 0 0 0 rgba(201,162,39,0.55); }
  70%  { box-shadow: 0 8px 30px rgba(0,0,0,0.25), 0 0 0 18px rgba(201,162,39,0); }
  100% { box-shadow: 0 8px 30px rgba(0,0,0,0.25), 0 0 0 0 rgba(201,162,39,0); }
}

/* ===== Animated underline on section titles ===== */
.services h2,
.contact h2,
.testimonials h2,
.trust__inner h2,
.about__inner h2 {
  position: relative;
  padding-bottom: 0.55rem;
}
.services h2::after,
.contact h2::after,
.testimonials h2::after,
.trust__inner h2::after,
.about__inner h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 72px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .9s cubic-bezier(.2,.8,.2,1) .15s;
  will-change: transform;
  pointer-events: none;
}
.services h2.is-visible::after,
.contact h2.is-visible::after,
.testimonials h2.is-visible::after,
.trust__inner.is-visible h2::after,
.about__inner.is-visible h2::after { transform: translateX(-50%) scaleX(1); }

/* About: title is left-aligned, anchor underline to the left */
.about__inner h2::after {
  left: 0;
  transform: scaleX(0);
  transform-origin: left center;
}
.about__inner.is-visible h2::after { transform: scaleX(1); }

/* ===== Logo holographic sheen on hover ===== */
.nav__logo { position: relative; overflow: hidden; border-radius: 8px; }
.nav__logo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
  mix-blend-mode: overlay;
}
.nav__logo:hover::after { transform: translateX(120%); }

/* ===== Mobile compaction (anti-vertical) ===== */
@media (max-width: 768px) {
  .about, .services, .contact { padding: 2.75rem 1rem; }
  .testimonials { padding: 2.75rem 1rem; }
  .trust__inner { padding: 2.5rem 1rem; }
  .stats { margin-top: 2rem; padding: 1.4rem 1rem; gap: 0.75rem; }
  .stat__num { font-size: clamp(1.5rem, 6vw, 2rem); }
  .stat__label { font-size: 0.68rem; letter-spacing: 0.1em; }
  .services h2, .contact h2, .testimonials h2 { margin-bottom: 1.5rem; }
  .marquee__track { padding: 0.9rem 0; font-size: 1rem; gap: 1rem; }
  .footer { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1.5rem; padding: 2.25rem 1rem 1.5rem; }
  .footer__col:first-child { grid-column: 1 / -1; }
  .about__inner { gap: 1.25rem; }
  .about__honest { font-size: 1.05rem; padding-left: 0.9rem; }
  .floating-cta { padding: 0.75rem 1.1rem; font-size: 0.85rem; bottom: 1rem !important; right: 1rem !important; }
}
@media (max-width: 420px) {
  .footer { grid-template-columns: 1fr; }
  .footer__col:first-child { grid-column: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Split text reveal ===== */
.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(2deg);
  filter: blur(6px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1), filter .8s ease;
  will-change: opacity, transform, filter;
}
.split-in .split-word {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ===== Button hover (no radial deformation) ===== */
.btn { position: relative; }
.btn--gold:hover { background: var(--gold-light); }
.btn--outline:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }

/* ===== Smart nav ===== */
.nav {
  transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .45s ease, padding .35s ease, background .35s ease, box-shadow .35s ease;
}
.nav--shrink { transform: translateY(-110%); }
.nav--scrolled {
  padding: 0.35rem 1.2rem;
  background: rgba(246, 239, 220, 0.96);
  box-shadow: 0 6px 24px -10px rgba(15, 35, 22, 0.18);
}
.nav__logo { transition: transform .25s cubic-bezier(.2,.8,.2,1); }

/* ===== Marquee band ===== */
.marquee {
  background: var(--forest-deep);
  color: var(--cream);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--forest-deep), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--forest-deep), transparent); }
.marquee__track {
  display: flex; align-items: center; gap: 1.6rem;
  padding: 1.4rem 0;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
  width: max-content;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-style: italic;
  letter-spacing: 0.01em;
}
.marquee__track > span {
  display: inline-flex; align-items: center;
}
.marquee__track > span::after {
  content: "";
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: 1.6rem;
  flex: 0 0 auto;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ===== Subtle floating images on service cards ===== */
.service-card img {
  transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .5s ease;
  animation: serviceFloat 6s ease-in-out infinite;
}
.service-card:nth-child(2) img { animation-delay: -1.5s; }
.service-card:nth-child(3) img { animation-delay: -3s; }
.service-card:nth-child(4) img { animation-delay: -4.5s; }
.service-card:nth-child(5) img { animation-delay: -2s; }
@keyframes serviceFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-3px) scale(1.01); }
}
.service-card:hover img { animation-play-state: paused; filter: saturate(1.15); }

/* ===== Tilt 3D containers ===== */
/* preserve-3d / will-change are only needed where the JS tilt actually runs
   (fine pointer + hover). Applying preserve-3d to the grid-based .service-card
   on touch devices breaks grid row sizing in iOS WebKit, which makes the image
   overflow its track and the title/description text overlap the illustration.
   Scope it to match the JS gate in dynamics.js so iOS Safari stays unaffected. */
.service-card, .about__photo--logo, .testimonial.is-active {
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
@media (hover: hover) and (pointer: fine) {
  .service-card, .about__photo--logo, .testimonial.is-active {
    transform-style: preserve-3d;
    will-change: transform;
  }
  .service-card img, .about__photo--logo img {
    transition: transform .45s cubic-bezier(.2,.8,.2,1);
    will-change: transform;
  }
}

/* ===== Hero scroll hint chevron ===== */
body:not(.hero-locked) .hero__scrollHint { display: none; }
.hero__scrollHint::before {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 0.5rem;
  animation: chevronBob 1.6s ease-in-out infinite;
}
.hero__scrollHint { display: flex; flex-direction: column; align-items: center; justify-content: center; }
@keyframes chevronBob {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: .5; }
  50%      { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* ===== Stat number scramble glow ===== */
.stat__num { transition: text-shadow .3s ease, color .3s ease; }
.stat.is-counting .stat__num {
  color: #fff5b8;
  text-shadow: 0 0 32px rgba(250, 224, 66, 0.7);
}

/* ===== Service card click feedback ===== */
.service-card.is-clicked {
  animation: cardClickPulse .55s cubic-bezier(.2,.8,.2,1);
}
.service-card.is-clicked::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(201,162,39,0.35), transparent 70%);
  animation: cardClickHalo .55s ease-out forwards;
  z-index: 0;
}
@keyframes cardClickPulse {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(201,162,39,0); }
  35%  { transform: scale(1.025); box-shadow: 0 0 0 6px rgba(201,162,39,0.35), 0 18px 50px -10px rgba(201,162,39,0.45); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201,162,39,0); }
}
@keyframes cardClickHalo {
  0%   { opacity: 0; }
  35%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ===== Page transition curtain ===== */
.page-transition {
  position: fixed; inset: 0;
  z-index: 9000;
  pointer-events: none;
}
.page-transition__panel {
  position: absolute; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  transform: translateY(-105%);
  transition: transform .65s cubic-bezier(.7, 0, .2, 1);
  will-change: transform;
}
.page-transition__panel--top    { top: 0; }
.page-transition__panel--bottom { bottom: 0; transform: translateY(105%); }
.page-transition.is-in .page-transition__panel--top    { transform: translateY(0); }
.page-transition.is-in .page-transition__panel--bottom { transform: translateY(0); }
.page-transition.is-out .page-transition__panel--top    { transform: translateY(-105%); }
.page-transition.is-out .page-transition__panel--bottom { transform: translateY(105%); }

.page-transition__logo {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition: transform .5s cubic-bezier(.2,.8,.2,1) .15s, opacity .35s ease .15s;
  z-index: 1;
}
.page-transition__logo img {
  width: 180px; height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(201,162,39,0.3));
}
.page-transition.is-in .page-transition__logo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.page-transition__label {
  position: absolute;
  top: calc(50% + 110px); left: 50%;
  transform: translateX(-50%);
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity .35s ease .3s;
  z-index: 1;
  white-space: nowrap;
}
.page-transition.is-in .page-transition__label { opacity: 1; }

/* ===== Contact section arrival flash ===== */
.contact.is-flashing {
  animation: contactFlash 1.2s ease-out;
}
@keyframes contactFlash {
  0%   { background: var(--cream-soft); }
  20%  { background: rgba(201, 162, 39, 0.12); box-shadow: inset 0 0 0 2px rgba(201,162,39,0.4); }
  100% { background: var(--cream-soft); }
}

/* ===== Film grain overlay (fixed, GPU friendly) ===== */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}
@media (prefers-reduced-motion: reduce) {
  body::after { display: none; }
}

/* =====================================================================
   MODERN PASS — refined depth, glass, motion (identity preserved)
   ===================================================================== */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-1: 0 1px 2px rgba(15,35,22,.06), 0 4px 12px -4px rgba(15,35,22,.12);
  --shadow-2: 0 6px 18px -8px rgba(15,35,22,.18), 0 20px 48px -20px rgba(15,35,22,.28);
  --shadow-gold: 0 10px 36px -10px rgba(201,162,39,.45);
}

/* ---- Scroll parallax hook ---- */
[data-parallax] {
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

/* ---- Directional scroll reveal (gated: no JS = no hiding) ---- */
html.has-reveal [data-reveal] {
  opacity: 0;
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out), filter .85s var(--ease-out);
  will-change: opacity, transform;
}
html.has-reveal [data-reveal="up"]    { transform: translateY(44px); }
html.has-reveal [data-reveal="down"]  { transform: translateY(-44px); }
html.has-reveal [data-reveal="left"]  { transform: translateX(-56px); }
html.has-reveal [data-reveal="right"] { transform: translateX(56px); }
html.has-reveal [data-reveal="zoom"]  { transform: scale(.9); filter: blur(6px); }
html.has-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---- Nav: deeper glass ---- */
.nav {
  background: rgba(246, 239, 220, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}
.nav--scrolled {
  background: rgba(246, 239, 220, 0.86);
  box-shadow: 0 8px 30px -16px rgba(15,35,22,.4);
}

/* ---- Buttons: gradient gold + glow lift ---- */
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover {
  background: linear-gradient(135deg, #f0d06a, var(--gold-light));
  box-shadow: 0 14px 44px -10px rgba(201,162,39,.6);
}
.btn { transition: transform .25s var(--ease-spring), background .25s ease, color .2s ease, box-shadow .3s ease, border-color .2s ease; }

/* ---- Service cards: layered depth + gradient edge on hover ---- */
.service-card {
  transition: transform .35s var(--ease-out), border-color .35s ease, box-shadow .35s ease;
  box-shadow: var(--shadow-1);
}
.service-card:hover {
  box-shadow: var(--shadow-2), var(--shadow-gold);
}

/* ---- Stats card: subtle moving sheen ---- */
.stats {
  background: linear-gradient(135deg, var(--forest), var(--forest-deep));
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}
.stats::after {
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(230,194,90,.10), transparent);
  transform: skewX(-18deg);
  animation: statsSheen 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes statsSheen {
  0%, 70%   { left: -60%; }
  100%      { left: 130%; }
}

/* ---- Trust title: living gold gradient ---- */
.trust h2 {
  background: linear-gradient(100deg, var(--gold-light), #f3e3a8, var(--gold), var(--gold-light));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: goldFlow 8s linear infinite;
}
/* split-text wraps the title in transformed inline-block words, which break
   the parent's text clip — so each word must carry the gradient itself */
.trust h2 .split-word {
  background: linear-gradient(100deg, var(--gold-light), #f3e3a8, var(--gold), var(--gold-light));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: goldFlow 8s linear infinite;
}
@keyframes goldFlow {
  to { background-position: 220% center; }
}

/* ---- Trust lion: warm glow behind the illustration ---- */
.trust__lion {
  filter:
    drop-shadow(0 0 26px rgba(230, 194, 90, 0.55))
    drop-shadow(0 0 64px rgba(201, 162, 39, 0.38))
    drop-shadow(0 2px 4px rgba(250, 224, 66, 0.3));
}

/* ---- Language switcher: defined pill so it stops blending with the bg ---- */
.nav__lang {
  background: rgba(31, 61, 43, 0.08);
  border: 1px solid rgba(31, 61, 43, 0.2);
  border-radius: 999px;
  padding: 4px 6px;
  gap: 6px;
}
.nav__lang button {
  padding: 0.32rem 0.7rem;
  transition: background .2s ease, color .2s ease;
}

/* ---- Language switcher available on the hero intro (amorce) ---- */
.hero__lang {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 8;
  background: rgba(10, 20, 14, 0.42);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  border: 1px solid rgba(246, 239, 220, 0.3);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.hero__lang button { color: var(--cream); }
.hero__lang button:hover { color: var(--gold-light); }
.hero__lang button.active { background: var(--gold); color: var(--forest-deep); }
body.hero-locked .hero__lang {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
@media (max-width: 768px) {
  .hero__lang { top: 0.8rem; right: 0.8rem; }
}

/* ---- Floating CTA: stronger presence ---- */
.floating-cta { box-shadow: var(--shadow-gold); }

/* ---- About logo frame: gentle breathing glow ---- */
.about__photo--logo { box-shadow: var(--shadow-2); }

@media (prefers-reduced-motion: reduce) {
  .stats::after, .trust h2 { animation: none; }
  .trust h2 { background-position: 0 center; }
  [data-parallax] { transform: none; }
}

/* ---- Contact: direct e-mail fallback link (shown on send failure) ---- */
.contact-fallback {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: underline;
}
.contact-fallback:hover { color: var(--gold); }
.contact-fallback[hidden] { display: none; }
