/* ==========================================================================
   Proxima Advisory Services — Global Stylesheet
   ========================================================================== */

:root {
  /* Brand palette (green, dark blue, orange, gold — per brand guidelines) */
  --green-dark: #0d4a2b;
  --green: #17864a;
  --green-bright: #22a35c;
  --green-light: #e8f5ee;
  --navy: #0a2540;
  --navy-light: #123a5e;
  --gold: #c9a227;
  --gold-light: #e8cf7c;
  --orange: #e07a2c;

  --white: #ffffff;
  --off-white: #f6f8f9;
  --ink: #14202b;
  --muted: #55677a;
  --border: #e3e8ec;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.16);

  --radius: 14px;
  --container: 1400px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { color: var(--muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
section { position: relative; }
.section-pad { padding: 96px 0; }
@media (max-width: 700px) { .section-pad { padding: 64px 0; } }

.eyebrow {
  position: relative;
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
  padding-bottom: 10px;
}
/* Small progress line under section labels: sits at full width by default,
   but collapses to 0 while inside an unrevealed .reveal container and grows
   back in once that container scrolls into view (JS adds .in). */
.eyebrow::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 42px; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transition: width .9s cubic-bezier(.2,.8,.2,1);
}
.reveal .eyebrow::after, .reveal-item .eyebrow::after { width: 0; }
.reveal.in .eyebrow::after, .reveal-item.in .eyebrow::after { width: 42px; }

.eyebrow-light { color: var(--gold-light); }
.eyebrow-light::after { background: linear-gradient(90deg, var(--gold-light), var(--green-bright)); }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(23, 134, 74, 0.32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(23, 134, 74, 0.4); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255,255,255,0.16); transform: translateY(-3px); }
.btn-outline-dark {
  border: 1.5px solid var(--border);
  color: var(--navy);
}
.btn-outline-dark:hover { border-color: var(--green); color: var(--green); transform: translateY(-3px); }

/* Header sits on a dark hero until scrolled, so its outline button needs
   light styling by default and switches to the dark treatment once the
   header gets a white background. */
.site-header .btn-outline-dark {
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
.site-header .btn-outline-dark:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.55); color: var(--white); transform: translateY(-3px); }
.site-header.scrolled .btn-outline-dark {
  border-color: var(--border);
  color: var(--navy);
  background: transparent;
}
.site-header.scrolled .btn-outline-dark:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(201, 162, 39, 0.45); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px 0;
  transition: all 0.35s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img {
  height: 42px; width: auto;
  transition: height .3s ease, filter .3s ease;
  /* The logo's dark green reads poorly on the dark hero gradient, so it's
     shown as a solid white silhouette there, fading back to its real
     colors once the header goes white on scroll. */
  filter: brightness(0) invert(1);
}
.site-header.scrolled .brand img { height: 36px; filter: none; }

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; gap: 32px; align-items: center; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white);
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
}
.site-header.scrolled .main-nav a { color: var(--navy); }
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--gold) !important; }

.header-actions { display: flex; align-items: center; gap: 14px; margin-right: 56px; } /* room for the pinned .lang-switch */
.header-actions .btn { padding: 12px 24px; font-size: 0.88rem; }

/* Plain "EN / FR" text links — the quietest possible switch. Each is a
   real link to the other language's static page (see scripts/build.js),
   so search engines can crawl both versions. */
.lang-switch {
  /* Pinned to the screen's top-right corner, not the centered container:
     positioned against the fixed full-width .site-header and vertically
     centered in it, so it tracks the header as it shrinks on scroll. */
  position: absolute;
  top: 0; bottom: 0; right: 20px;
  display: flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
}
.lang-switch a { color: inherit; padding: 4px 2px; transition: color .25s ease; }
.lang-switch a + a::before { content: "/"; margin: 0 6px 0 4px; color: rgba(255,255,255,0.3); }
.lang-switch a:hover, .lang-switch a[aria-current] { color: var(--white); }
.lang-switch a[aria-current] { font-weight: 600; }
.site-header.scrolled .lang-switch { color: var(--muted); }
.site-header.scrolled .lang-switch a + a::before { color: var(--border); }
.site-header.scrolled .lang-switch a:hover,
.site-header.scrolled .lang-switch a[aria-current] { color: var(--navy); }

/* ==========================================================================
   Mobile sidebar (<940px)
   A single full-screen element — no separate backdrop layer. Built as a
   sibling of <body>, not nested inside .site-header, so its stacking
   order is a simple global z-index comparison. Order, low to high:
   site-header (500) < mobile-sidebar (800) < fab-stack (900, its own
   rule) — WhatsApp always stays reachable even with the sidebar open.
   ========================================================================== */
.sidebar-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15);
}
.site-header.scrolled .sidebar-toggle { background: var(--off-white); }
.sidebar-toggle-icon { position: relative; width: 20px; height: 14px; }
.sidebar-toggle-icon span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--white);
}
.site-header.scrolled .sidebar-toggle-icon span { background: var(--navy); }
.sidebar-toggle-icon span:nth-child(1) { top: 0; }
.sidebar-toggle-icon span:nth-child(2) { top: 6px; }
.sidebar-toggle-icon span:nth-child(3) { top: 12px; }
/* No close (X) glyph — the opener button itself disappears once the
   sidebar is open (nothing left to click to "close" except elsewhere). */
body.sidebar-open .sidebar-toggle { display: none; }

/* A narrow drawer on the right, plus a dimmed tint over the rest of the
   screen — but that dim is a ::before pseudo-element on .mobile-sidebar
   itself, not a second HTML element. Tapping the dimmed area (or any
   empty space in the drawer) closes it: a click there still lands on
   .mobile-sidebar for event-handling purposes, since pseudo-elements
   aren't separate event targets — see main.js. The page is free to
   scroll normally underneath; nothing here locks scroll. */
.mobile-sidebar {
  position: fixed; top: 0; right: -100%; bottom: 0;
  z-index: 800;
  width: min(64vw, 280px);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 100px 32px 40px;
  transition: right .35s ease;
}
body.sidebar-open .mobile-sidebar { right: 0; }
.mobile-sidebar::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -1; /* behind the drawer's own opaque background, in front of the page */
  background: rgba(6, 20, 35, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
body.sidebar-open .mobile-sidebar::before { opacity: 1; pointer-events: auto; }
.mobile-sidebar a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--white);
}
.mobile-sidebar a.active { color: var(--gold); }

@media (max-width: 940px) {
  .main-nav { display: none; }
  .header-actions .btn-outline-dark, .header-actions .btn-primary { display: none; }
  .sidebar-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--navy) 0%, #0d3355 55%, var(--green-dark) 130%);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: float 12s ease-in-out infinite;
}
.hero-blob.b1 { width: 480px; height: 480px; background: var(--green-bright); top: -120px; right: -80px; }
.hero-blob.b2 { width: 360px; height: 360px; background: var(--gold); bottom: -140px; left: -60px; animation-delay: -4s; }
.hero-blob.b3 { width: 260px; height: 260px; background: var(--orange); top: 40%; right: 20%; animation-delay: -8s; opacity: .2; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-24px, 30px) scale(1.08); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 70%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.hero h1 { color: var(--white); }
/* Keyword line rendered as the small eyebrow label, but kept inside the
   H1 so search engines read "what we do, where" as the main heading. */
.hero h1 .hero-kicker { display: block; width: fit-content; line-height: 1.4; }
.hero h1 .accent { color: var(--green-bright); }
.hero-lead { color: rgba(255,255,255,0.78); font-size: 1.15rem; max-width: 560px; margin: 22px 0 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero .container { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center; }
@media (max-width: 1100px) { .hero .container { grid-template-columns: 1fr; } }

/* Right-side visual: a quiet, stationary background panel — a growth
   chart rather than foreground UI competing with the hero copy. */
.hero-visual { position: relative; height: 460px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 1100px) { .hero-visual { display: none; } }

.growth-panel {
  width: 100%;
  max-width: 380px;
  padding: 30px 28px 26px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}
.growth-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.growth-panel-head .trend-up {
  display: flex; align-items: center; gap: 5px;
  color: var(--green-bright); font-size: 0.78rem;
}
.growth-panel-head .trend-up svg { width: 14px; height: 14px; }
.growth-chart { width: 100%; height: auto; display: block; }
.growth-line { stroke-dasharray: 320; stroke-dashoffset: 320; animation: drawline 1.6s ease forwards .3s; }
@keyframes drawline { to { stroke-dashoffset: 0; } }
.growth-dot { opacity: 0; animation: dotpop .4s ease forwards 1.7s; }
@keyframes dotpop { to { opacity: 1; } }

/* ---------- Marquee (who we serve) ---------- */
.marquee-wrap {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  opacity: .55;
  font-size: 0.98rem;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.marquee-track span::before { content: "◆"; color: var(--gold); font-size: 0.6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger.in .reveal-item { opacity: 1; transform: translateY(0); }
.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 26px 6px 26px 6px;
  padding: 34px 28px 30px;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--green), var(--gold));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s ease;
}
.service-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleY(1); }
.service-num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-head); font-weight: 800;
  font-size: 2.3rem; color: transparent;
  -webkit-text-stroke: 1.3px var(--border);
  transform: rotate(-6deg);
  transition: all .4s ease;
  user-select: none;
}
.service-card:hover .service-num { -webkit-text-stroke-color: var(--gold-light); transform: rotate(0deg) scale(1.06); }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  margin-bottom: 22px;
  transform: rotate(8deg);
  transition: all .4s ease;
  position: relative; z-index: 1;
}
.service-card:hover .service-icon { background: var(--navy); color: var(--gold-light); transform: rotate(0deg) scale(1.05); }
.service-icon svg { width: 24px; height: 24px; transform: rotate(-8deg); transition: transform .4s ease; }
.service-card:hover .service-icon svg { transform: rotate(0deg); }
.service-card h3 { margin-bottom: 10px; font-size: 1.12rem; position: relative; z-index: 1; }
.service-card p { font-size: 0.94rem; position: relative; z-index: 1; }

/* ---------- Approach stepper ---------- */
.approach {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.approach::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(34,163,92,0.25), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(201,162,39,0.18), transparent 45%);
}
.approach .container { position: relative; z-index: 1; }
.approach .section-head h2, .approach .section-head p { color: var(--white); }
.approach .section-head p { color: rgba(255,255,255,0.68); }
.approach .eyebrow { color: var(--gold-light); }
.approach .eyebrow::after { background: linear-gradient(90deg, var(--gold-light), var(--green-bright)); }

.stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  position: relative;
  margin-top: 20px;
}
.stepper::before {
  content: "";
  position: absolute; top: 27px; left: 5%; right: 5%; height: 2px;
  background: rgba(255,255,255,0.15);
}
.stepper-line-fill {
  position: absolute; top: 27px; left: 5%; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--green-bright), var(--gold-light));
  transition: width 1.4s ease;
}
.step { text-align: center; position: relative; z-index: 1; padding: 0 8px; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  transition: all .4s ease;
}
.step.in .step-num {
  background: linear-gradient(135deg, var(--green-bright), var(--green-dark));
  border-color: var(--gold-light);
  transform: scale(1.08);
}
.step h4 { color: var(--white); font-family: var(--font-head); font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
@media (max-width: 820px) {
  .stepper { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .stepper::before, .stepper-line-fill { display: none; }
  .step { display: flex; align-items: flex-start; gap: 18px; text-align: left; }
  .step-num { margin: 0; flex-shrink: 0; }
}

/* ---------- Values grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.value-card {
  padding: 32px 26px 28px;
  border-radius: 26px 6px 26px 6px;
  background: var(--off-white);
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease, background .35s ease;
}
.value-card::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--green), var(--gold));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s ease;
}
.value-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px) rotate(-0.5deg);
}
.value-card:hover::after { transform: scaleY(1); }
.value-card .value-letter {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--green-light); color: var(--green);
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  margin-bottom: 18px;
  transform: rotate(8deg);
  transition: all .4s ease;
}
.value-card:hover .value-letter { background: var(--navy); color: var(--gold-light); transform: rotate(0deg) scale(1.05); }
.value-card .value-letter.accent-gold { background: rgba(201,162,39,0.14); color: var(--gold); }
.value-card:hover .value-letter.accent-gold { background: var(--navy); color: var(--gold-light); }
.value-card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.value-card p { font-size: 0.92rem; }

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 4px 32px;
}
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.why-item .check {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.why-item h4 { font-family: var(--font-head); font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.why-item p { font-size: 0.88rem; margin: 0; }

/* ---------- Split section (About preview) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* Only sticky in the 2-column layout (services.html); at 900px and below
   .split collapses to a single column, and a sticky intro block would
   otherwise pin itself over the accordion list scrolling beneath it. */
@media (min-width: 901px) {
  .services-intro { position: sticky; top: 120px; }
}
.split-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--navy), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--off-white); }
.t-slider { position: relative; max-width: 780px; margin: 0 auto; overflow: hidden; }
.t-track { display: flex; transition: transform .6s ease; }
.t-slide { min-width: 100%; padding: 0 8px; }
.t-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.t-quote { font-size: 2.6rem; color: var(--gold); font-family: var(--font-head); line-height: 0; display: block; margin-bottom: 14px; }
.t-card p.t-text { font-size: 1.1rem; color: var(--navy); font-style: italic; margin-bottom: 24px; }
.t-name { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.t-role { font-size: 0.85rem; color: var(--muted); }
.t-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.t-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--border); transition: all .3s ease; }
.t-dots button.active { background: var(--green); width: 26px; border-radius: 5px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--green-dark), var(--green) 60%, var(--navy));
  border-radius: 26px;
  padding: 64px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,0.08); top: -140px; right: -80px;
}
.cta-banner h2, .cta-banner p { color: var(--white); position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,0.82); margin-top: 10px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; max-width: 300px; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, transform .3s ease;
}
.footer-social a:hover { background: var(--green); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color .25s ease; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-col address { font-style: normal; font-size: 0.9rem; line-height: 1.9; }
.footer-bottom {
  padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
  flex-wrap: wrap; gap: 10px;
}

/* ---------- Floating action buttons ---------- */
/* z-index 900: above .mobile-sidebar (800) so WhatsApp stays reachable
   even while the sidebar is open. */
.fab-stack { position: fixed; right: 26px; bottom: 26px; z-index: 900; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.fab {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .3s ease;
}
.fab:hover { transform: scale(1.08); }
.fab-whatsapp { background: #25D366; color: var(--white); }
.fab-whatsapp svg { width: 28px; height: 28px; }
.fab-top {
  width: 44px; height: 44px; background: var(--white); color: var(--navy);
  border: 1px solid var(--border);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all .3s ease;
}
.fab-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy), #0d3355 60%, var(--green-dark));
  padding: 170px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero .breadcrumb { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-bottom: 16px; }
.page-hero .breadcrumb a:hover { color: var(--gold-light); }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 600px; margin-top: 16px; }

/* ---------- Accordion (services page) ---------- */
.accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .3s ease;
}
.accordion-item.open { border-color: var(--green); }
.accordion-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px;
  cursor: pointer;
  gap: 20px;
}
.accordion-head-left { display: flex; align-items: center; gap: 18px; }
.accordion-head .idx {
  font-family: var(--font-head); font-weight: 700; color: var(--gold);
  font-size: 1rem; min-width: 28px;
}
.accordion-head h3 { font-size: 1.05rem; margin: 0; }
.accordion-toggle {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--off-white); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .3s ease;
}
.accordion-item.open .accordion-toggle { background: var(--green); color: var(--white); transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.accordion-body-inner { padding: 0 26px 26px 68px; }
.accordion-body-inner p { font-size: 0.95rem; }
.accordion-body-inner ul { margin-top: 12px; }
.accordion-body-inner ul li {
  font-size: 0.9rem; color: var(--muted);
  padding-left: 20px; position: relative; margin-bottom: 8px;
}
.accordion-body-inner ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

/* ---------- Who we serve chips ---------- */
.chip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 18px; }
.chip-card {
  border: 1.5px solid var(--border);
  border-radius: 22px 6px 22px 6px;
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease, border-color .35s ease;
}
.chip-card::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--green), var(--gold));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s ease;
}
.chip-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-6px) rotate(-0.5deg); }
.chip-card:hover::after { transform: scaleY(1); }
.chip-card .chip-icon {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transform: rotate(8deg);
  transition: all .4s ease;
}
.chip-card:hover .chip-icon { background: var(--navy); color: var(--gold-light); transform: rotate(0deg) scale(1.05); }
.chip-card span { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 0.94rem; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--navy); color: var(--white);
  border-radius: 20px; padding: 44px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; }
.contact-line { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-line .ico {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,255,255,0.1); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
}
.contact-line strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 0.92rem; margin-bottom: 3px; }
.contact-line span, .contact-line a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.map-embed { border-radius: 20px; overflow: hidden; margin-top: 24px; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 44px; box-shadow: var(--shadow-sm); }
.tab-switch { display: flex; gap: 8px; background: var(--off-white); border-radius: 100px; padding: 6px; margin-bottom: 32px; }
.tab-switch button {
  flex: 1; padding: 12px; border-radius: 100px; font-family: var(--font-head);
  font-weight: 600; font-size: 0.88rem; color: var(--muted); transition: all .3s ease;
  white-space: nowrap;
}
@media (max-width: 480px) {
  /* At narrow widths, 44px of card padding on each side leaves too little
     room for the tab buttons — "Book a Consultation" was wrapping to two
     lines and throwing the two tabs out of alignment with each other. */
  .contact-info-card, .form-card { padding: 24px; }
  .tab-switch button { padding: 10px 6px; font-size: 0.78rem; }
}
.tab-switch button.active { background: var(--navy); color: var(--white); }

.form-panel { display: none; }
.form-panel.active { display: block; animation: fadein .4s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px);} to { opacity:1; transform:translateY(0);} }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.94rem; color: var(--ink);
  transition: border-color .25s ease, box-shadow .25s ease;
  background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(23,134,74,0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-error {
  font-size: 0.85rem; color: #b3261e; text-align: center;
  margin-top: 14px; padding: 10px 14px;
  background: #fdecea; border-radius: 10px;
}
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .check-circle {
  width: 64px; height: 64px; border-radius: 50%; background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}

/* ---------- Page footer band / breadcrumb utility ---------- */
.tag-badge {
  display: inline-block; padding: 6px 14px; border-radius: 100px;
  background: var(--green-light); color: var(--green);
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 56px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 780px) { .grid-2 { grid-template-columns: 1fr; } }
