/* =====================================================================
   4LF – Four Leaf Consulting · app.css
   Identity preserved: forest green #173926 + gold #e4b453.
   Modernized: CSS custom properties, Fraunces display + Poppins body,
   Bootstrap 5.3 base, no flaticon/jQuery dependencies.
   ===================================================================== */

:root {
  --green:      #173926;
  --green-deep: #0f2619;
  --gold:       #e4b453;
  --gold-deep:  #a79132;
  --ink:        #1e2420;
  --muted:      #5a635c;
  --paper:      #ffffff;
  --sand:       #f5f3ee;
  --line:       #e4e1d8;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container-pad: clamp(1rem, 4vw, 3rem);
  --radius: 10px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
a { color: var(--green); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; height: auto; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--gold-deep); margin-bottom: .5rem;
}
.eyebrow-light { color: var(--gold); }

.section-title { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.01em; }
.block-title { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: .75rem; color: var(--green); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn-gold, .btn-green {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  padding: .8rem 1.9rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-gold { background: var(--gold); color: #241c05; }
.btn-gold:hover { background: #d8a53f; color: #241c05; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23,57,38,.18); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23,57,38,.25); }
.btn-lg { padding: 1rem 2.4rem; font-size: 1.05rem; }

/* ---------- inline SVG icons (replaces flaticon font) ---------- */
.ico { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em;
  background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.ico-phone { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.5.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.5.1.4 0 .8-.2 1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.5.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.5.1.4 0 .8-.2 1z'/%3E%3C/svg%3E"); }
.ico-mail { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm9 7 8-5H4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm9 7 8-5H4z'/%3E%3C/svg%3E"); }
.ico-lock  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V7a5 5 0 0 0-5-5zm-3 8V7a3 3 0 0 1 6 0v3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V7a5 5 0 0 0-5-5zm-3 8V7a3 3 0 0 1 6 0v3z'/%3E%3C/svg%3E"); }
.ico-shield{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3zm-1 13-3-3 1.4-1.4L11 12.2l4.6-4.6L17 9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3zm-1 13-3-3 1.4-1.4L11 12.2l4.6-4.6L17 9z'/%3E%3C/svg%3E"); }
.ico-leaf  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 21c-1-4 0-9 3-12 3-2.6 8-3 12-3 0 5-1 9-4 12-2.6 2.3-6 3-9 2 1-3 3-5 6-7-3.6 1-6 3-8 6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 21c-1-4 0-9 3-12 3-2.6 8-3 12-3 0 5-1 9-4 12-2.6 2.3-6 3-9 2 1-3 3-5 6-7-3.6 1-6 3-8 6z'/%3E%3C/svg%3E"); }
.ico-spark { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 5.8L20 10l-5.8 2.2L12 18l-2.2-5.8L4 10l5.8-2.2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 5.8L20 10l-5.8 2.2L12 18l-2.2-5.8L4 10l5.8-2.2z'/%3E%3C/svg%3E"); }
.ico-arrow { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h12l-5-5 1.4-1.4L21 12l-7.6 6.4L12 17l5-5H5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h12l-5-5 1.4-1.4L21 12l-7.6 6.4L12 17l5-5H5z'/%3E%3C/svg%3E"); }

/* ---------- header ---------- */
.site-header { background: var(--green); position: sticky; top: 0; z-index: 40; }
.topbar { display: flex; align-items: center; gap: 1.5rem; padding: .65rem 0; flex-wrap: wrap; }
.brand { display: inline-flex; }
.brand img { height: 44px; width: auto; }
.topbar-contacts {
  list-style: none; display: flex; align-items: center; gap: 1.4rem;
  margin: 0 0 0 auto; padding: 0; flex-wrap: wrap;
}
.topbar-contacts a { color: #fff; font-size: .92rem; display: inline-flex; align-items: center; gap: .4rem; }
.topbar-contacts a:hover { color: var(--gold); }
.topbar-contacts .fn { color: var(--gold); font-size: .7em; }

.nav-toggle {
  --bar: #fff;
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35);
  background: transparent; border-radius: 8px; padding: 0; cursor: pointer;
  display: inline-grid; place-items: center; transition: border-color .2s ease;
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--bar);
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle-bars::after  { position: absolute; top: 7px;  left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 767.98px) {
  .topbar-contacts { display: none; }
  .nav-toggle { margin-left: auto; --bar: #fff; }
}

/* ---------- float nav ---------- */
.float-nav { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.float-nav.is-open { visibility: visible; }
.float-nav-scrim {
  position: absolute; inset: 0;
  background: rgba(15,38,25,.96); opacity: 0; transition: opacity .35s ease;
}
.float-nav.is-open .float-nav-scrim { opacity: 1; }
.float-nav-inner { position: relative; height: 100%; display: grid; place-items: center; }
.float-nav-list { list-style: none; margin: 0; padding: 0; text-align: center; }
.float-nav-list li { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; }
.float-nav.is-open .float-nav-list li { opacity: 1; transform: none; }
.float-nav.is-open .float-nav-list li:nth-child(1) { transition-delay: .08s; }
.float-nav.is-open .float-nav-list li:nth-child(2) { transition-delay: .14s; }
.float-nav.is-open .float-nav-list li:nth-child(3) { transition-delay: .20s; }
.float-nav.is-open .float-nav-list li:nth-child(4) { transition-delay: .26s; }
.float-nav-list a {
  font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.4rem);
  color: #fff; display: inline-block; padding: .35rem 1rem; position: relative;
}
.float-nav-list a::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .3rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.float-nav-list a:hover { color: var(--gold); }
.float-nav-list a:hover::after { transform: scaleX(1); }
.float-nav-list .is-cta a { color: var(--gold); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - 62px);
  display: flex; align-items: flex-end;
  background: var(--green) url('../img/hero-new.jpeg') center / cover no-repeat;
  color: #fff; padding: 0 0 clamp(3rem, 8vh, 6rem);
}
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(15,38,25,.96) 4%, rgba(15,38,25,.15) 78%, rgba(15,38,25,.35) 100%);
}
.hero-content { position: relative; max-width: 760px; }
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem); color: #fff; letter-spacing: -.015em; margin: .25rem 0 1rem;
}
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.4rem); color: rgba(255,255,255,.9); max-width: 54ch; margin-bottom: 1.8rem; }

/* ---------- about home ---------- */
.about-home {
  background: var(--green); color: #fff; padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative;
}
.about-home .eyebrow { color: var(--gold); }
.about-home .section-title { color: #fff; }
.about-home .block-title { color: var(--gold); }
.about-home .lede { color: rgba(255,255,255,.82); }
.about-home p { color: rgba(255,255,255,.82); }
.ticklist { list-style: none; padding: 0; margin: 0; }
.ticklist li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; color: rgba(255,255,255,.9); }
.ticklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 700;
}

/* ---------- home: intro + stats ---------- */
.intro { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.intro .lede { font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--ink); max-width: 40ch; }
.intro .intro-text { color: var(--muted); max-width: 60ch; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); padding-top: 2rem; }
.stat .stat-num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--green); line-height: 1; }
.stat .stat-label { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: .4rem; }
@media (max-width: 575.98px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; } }

/* ---------- home: philosophy split ---------- */
.philosophy { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--sand); }
.philosophy .ph-img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(23,57,38,.14); }
.philosophy .ph-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.philosophy p { color: var(--muted); }

/* ---------- home: services grid ---------- */
.svc-grid-sec { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 991.98px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  display: block; padding: 1.4rem 1.4rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23,57,38,.12); border-color: var(--gold); color: var(--ink); }
.svc-card .svc-num { font-family: var(--font-body); font-size: .78rem; font-weight: 600; color: var(--gold-deep); letter-spacing: .08em; }
.svc-card .svc-name { font-family: var(--font-display); font-size: 1.18rem; color: var(--green); margin: .2rem 0 .35rem; }
.svc-card .svc-blurb { font-size: .88rem; color: var(--muted); margin: 0; }
.svc-card .svc-go { position: absolute; top: 1.3rem; right: 1.3rem; width: 1.05rem; height: 1.05rem; color: var(--line); transition: color .2s ease, transform .2s ease; }
.svc-card:hover .svc-go { color: var(--gold); transform: translateX(3px); }

/* ---------- home: pillars ---------- */
.pillars { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--green); color: #fff; }
.pillars .eyebrow { color: var(--gold); }
.pillars .section-title { color: #fff; }
.pillars .lede { color: rgba(255,255,255,.8); }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 991.98px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.6rem 1.4rem; }
.pillar .pillar-ico { width: 2rem; height: 2rem; color: var(--gold); margin-bottom: .9rem; }
.pillar h3 { font-size: 1.15rem; color: #fff; margin-bottom: .4rem; }
.pillar p { font-size: .88rem; color: rgba(255,255,255,.75); margin: 0; }

/* ---------- home: cta band ---------- */
.cta-band { padding: clamp(3rem, 6vw, 4.5rem) 0; background: var(--green-deep); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; margin-bottom: .6rem; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 52ch; margin: 0 auto 1.6rem; }

/* ---------- breadcrumb ---------- */
.crumb { background: var(--sand); padding: 1rem 0; border-bottom: 1px solid var(--line); }
.crumb a { color: var(--green); font-weight: 500; }
.crumb .sep { color: var(--muted); margin: 0 .5rem; }
.crumb .current { color: var(--muted); }

/* ---------- page band image ---------- */
.page-band { height: clamp(220px, 34vw, 380px); overflow: hidden; }
.page-band img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- section head ---------- */
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.section-head .lede { margin-inline: auto; }

/* ---------- team ---------- */
.team { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.team-banner { border-radius: var(--radius); overflow: hidden; margin-bottom: clamp(2rem, 5vw, 3.5rem); box-shadow: 0 18px 40px rgba(23,57,38,.12); }
.team-photo { margin: 0 0 1.2rem; border-radius: var(--radius); overflow: hidden; }
.team-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.team-name { font-size: 1.7rem; margin-bottom: .1rem; }
.team-role { color: var(--gold-deep); font-weight: 600; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; margin-bottom: 1.2rem; }
.team-bio { color: var(--muted); margin-bottom: 1rem; }

/* ---------- services ---------- */
.services { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.anchor-box { position: sticky; top: 90px; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.25rem; }
.anchor-title { font-size: .78rem; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 1rem; }
.anchor-box ul { list-style: none; margin: 0; padding: 0; }
.anchor-box li { margin-bottom: .15rem; }
.anchor-box a {
  display: block; padding: .45rem .7rem; border-radius: 6px; font-size: .92rem; font-weight: 500;
  color: var(--ink); position: relative; overflow: hidden;
}
.anchor-box a::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--line);
}
.anchor-box a::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold); height: var(--p, 0%); transition: height .1s linear;
}
.anchor-box a:hover { background: #fff; color: var(--green); }
.anchor-box a.is-active { background: #fff; color: var(--green); font-weight: 600; }

.services-list { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.service-block { scroll-margin-top: 100px; }
.service-media { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.2rem; box-shadow: 0 12px 30px rgba(23,57,38,.1); }
.service-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform .5s ease; }
.service-block:hover .service-media img { transform: scale(1.03); }
.service-title { font-size: 1.7rem; color: var(--green); display: flex; align-items: baseline; gap: .8rem; margin-bottom: .5rem; }
.service-num { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--gold-deep); letter-spacing: .08em; }
.service-blurb { color: var(--muted); margin-bottom: .8rem; }
.service-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.service-links a { font-size: .9rem; color: var(--green); position: relative; }
.service-links li:not(:last-child) a::after { content: "·"; position: absolute; right: -.55rem; color: var(--muted); }
.service-links a:hover { color: var(--gold-deep); text-decoration: underline; }

/* ---------- contact ---------- */
.contact { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.contact-info { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-info li { margin-bottom: 1.3rem; }
.contact-info .ci-label { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-deep); font-weight: 600; margin-bottom: .15rem; }
.contact-info a { color: var(--ink); font-weight: 500; }
.contact-info a:hover { color: var(--green); }
.contact-info small { display: block; color: var(--muted); font-size: .78rem; }

.contact-form .form-label { font-weight: 500; color: var(--ink); }
.contact-form .form-control {
  border: 1px solid var(--line); border-radius: 8px; padding: .75rem .9rem; color: var(--ink);
}
.contact-form .form-control:focus { border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(23,57,38,.12); }
.contact-form .form-check-input:checked { background-color: var(--green); border-color: var(--green); }
.contact-form textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- legal ---------- */
.legal { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.legal-body { max-width: 820px; }
.legal-body h3 { font-size: 1.3rem; color: var(--green); margin-top: 2rem; margin-bottom: .6rem; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body ul { padding-left: 1.2rem; margin-bottom: 1rem; }
mark.todo { background: #fff4d6; color: #7a5c00; padding: 0 .3rem; border-radius: 3px; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,.8); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }
.footer-brand img { height: 56px; width: auto; }
.footer-legal { font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-h { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255,255,255,.8); font-size: .95rem; }
.footer-links a:hover { color: var(--gold); }
.footer-mail { color: rgba(255,255,255,.8); }
.footer-mail:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-bottom sup { color: var(--gold); }

/* ---------- cookie consent ---------- */
.cookie-consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 70;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.25rem; box-shadow: 0 14px 40px rgba(0,0,0,.18);
  max-width: 720px; margin: 0 auto; font-size: .9rem; color: var(--ink);
}
.cookie-consent a { color: var(--green); text-decoration: underline; }
.btn-accept { margin-left: .75rem; background: var(--green); color: #fff; border: none; padding: .45rem 1.1rem; border-radius: 6px; cursor: pointer; font-weight: 600; }
.btn-accept:hover { background: var(--green-deep); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}

/* ---------- language switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
  padding: .15rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
}
.lang-switch .lang-opt {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, .75);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  transition: background .2s ease, color .2s ease;
}
.lang-switch .lang-opt img { display: block; border-radius: 2px; }
.lang-switch .lang-opt:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.lang-switch .lang-opt.is-active { color: var(--green-deep); background: var(--gold); }

/* language switcher inside the full-screen menu (mobile) */
.float-nav-lang {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-top: 2rem;
  opacity: 0;
  transition: opacity .4s ease .3s;
}
.float-nav.is-open .float-nav-lang { opacity: 1; }
.float-nav-lang .lang-opt {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .9rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: rgba(255, 255, 255, .8);
  font-weight: 600;
  font-size: .9rem;
}
.float-nav-lang .lang-opt.is-active { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }

@media (max-width: 991.98px) {
  .lang-switch { display: none; }   /* topbar is condensed; the menu carries it */
}
