/* ==========================================================================
   Tax & Finance Services — stylesheet
   Brand colors, typography, layout, components, and animations.
   ========================================================================== */

/* ----- Design tokens ----------------------------------------------------- */
:root {
  --navy: #061D3D;
  --navy-2: #102E55;
  --gold: #D6A21E;
  --gold-light: #F2D57A;
  --white: #FFFFFF;
  --bg-light: #F6F8FB;
  --text-main: #172033;
  --text-muted: #667085;

  --font-heading: "Playfair Display", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --shadow-sm: 0 4px 14px rgba(6, 29, 61, 0.06);
  --shadow-md: 0 14px 34px rgba(6, 29, 61, 0.10);
  --shadow-lg: 0 24px 60px rgba(6, 29, 61, 0.16);
  --shadow-gold: 0 14px 30px rgba(214, 162, 30, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.22s;
  --dur: 0.45s;
  --dur-slow: 0.8s;

  --nav-height: 84px;
}

/* ----- Base ---------------------------------------------------------------*/
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 12px);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, .font-heading {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { color: var(--text-muted); }

a {
  color: var(--navy-2);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--gold); }

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

::selection { background: var(--gold-light); color: var(--navy); }

/* Visible, accessible focus states everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.section-padding { padding: 96px 0; }
@media (max-width: 767.98px) { .section-padding { padding: 64px 0; } }

.bg-light-soft { background: var(--bg-light); }

.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.text-muted-tf { color: var(--text-muted) !important; }
.bg-navy { background: var(--navy) !important; }

/* Section heading with animated gold underline */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.section-label::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
  margin-bottom: 8px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 64px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--dur-slow) var(--ease);
}
.section-heading.is-visible::after,
.is-visible .section-heading::after { transform: scaleX(1); }
.section-heading-center { text-align: center; }
.section-heading-center::after { left: 50%; transform: translateX(-50%) scaleX(0); }
.section-heading-center.is-visible::after,
.is-visible .section-heading-center::after { transform: translateX(-50%) scaleX(1); }

.section-sub { color: var(--text-muted); max-width: 640px; }
.mx-auto-sub { margin-left: auto; margin-right: auto; }

/* ----- Buttons --------------------------------------------------------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #c4941c);
  border: 1px solid var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(214, 162, 30, 0.38);
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-outline-light-gold {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline-light-gold:hover {
  border-color: var(--gold);
  background: rgba(214, 162, 30, 0.12);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-navy {
  background: var(--navy);
  border: 1px solid var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-2);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline-navy {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-sm-pill { padding: 0.45rem 1.1rem; font-size: 0.85rem; }

/* ----- Top contact bar --------------------------------------------------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.83rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(214, 162, 30, 0.25);
}
.topbar a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar a:hover { color: var(--gold-light); }
.topbar .divider { color: rgba(255, 255, 255, 0.25); }
.topbar .topbar-cta {
  color: var(--gold);
  font-weight: 600;
}
.topbar .topbar-cta:hover { color: var(--gold-light); }

/* ----- Navbar ------------------------------------------------------------ */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.98);
  padding: 14px 0;
  transition: box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease), background var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-navbar.is-scrolled {
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  border-bottom-color: rgba(6, 29, 61, 0.06);
}

.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-lockup .brand-icon { width: 46px; height: 46px; flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.site-navbar.is-scrolled .brand-icon { width: 38px; height: 38px; }
.brand-lockup:hover .brand-icon { transform: rotate(-8deg) scale(1.05); }
.brand-word-top {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-word-top .amp { color: var(--gold); }
.brand-word-sub {
  font-family: var(--font-heading);
  font-size: 0.66rem;
  letter-spacing: 4px;
  color: var(--navy-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-word-sub .rule { width: 16px; height: 1px; background: var(--gold); display: inline-block; }
.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.site-navbar .nav-link {
  font-weight: 600;
  color: var(--text-main) !important;
  padding: 0.6rem 1rem !important;
  position: relative;
}
.site-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active { color: var(--gold) !important; }
.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after { transform: scaleX(1); }

.offcanvas-header .brand-lockup .brand-word-top { font-size: 1.1rem; }

/* ----- Hero ---------------------------------------------------------------*/
.hero {
  position: relative;
  padding: 74px 0 90px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 62%, #163a6b 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(214, 162, 30, 0.16), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(214, 162, 30, 0.12), transparent 45%);
  z-index: 0;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9) 30%, transparent 90%);
}
.hero > .container { position: relative; z-index: 1; }

.hero-label {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(214, 162, 30, 0.12);
  border: 1px solid rgba(214, 162, 30, 0.35);
  padding: 8px 16px;
  border-radius: 50px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.2;
  margin: 22px 0 20px;
}
.hero h1 .accent { color: var(--gold); font-style: italic; }

.hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 560px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-trust-strip {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.92rem;
}
.hero-trust-item i {
  color: var(--gold);
  font-size: 1.2rem;
  background: rgba(214, 162, 30, 0.14);
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hero visual composition */
.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-core {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 60%);
  border: 1px dashed rgba(214, 162, 30, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-core::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-chart-svg {
  width: 72%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.hero-chart-grid line {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: left center;
  animation: chartGridReveal 0.55s var(--ease) forwards;
}
.hero-chart-grid line:nth-child(1) { animation-delay: 0.25s; }
.hero-chart-grid line:nth-child(2) { animation-delay: 0.45s; }
.hero-chart-grid line:nth-child(3) { animation-delay: 0.65s; }
.hero-chart-grid line:nth-child(4) { animation-delay: 0.85s; }

.hero-chart-bars rect {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: chartBarGrow 0.65s var(--ease) forwards;
}
.hero-chart-bars rect:nth-child(1) { animation-delay: 1s; }
.hero-chart-bars rect:nth-child(2) { animation-delay: 1.14s; }
.hero-chart-bars rect:nth-child(3) { animation-delay: 1.28s; }

.hero-growth-line {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: growthLineDraw 1.45s ease-out 1.48s forwards;
}

.hero-growth-points circle {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: growthPointPop 0.38s var(--ease) forwards;
}
.hero-growth-points circle:nth-child(1) { animation-delay: 2.15s; }
.hero-growth-points circle:nth-child(2) { animation-delay: 2.42s; }

.hero-growth-arrow {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: translate(-18px, 18px) scale(0.88);
  animation: growthArrowRise 0.62s var(--ease) 2.62s forwards;
}

@keyframes chartGridReveal {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes chartBarGrow {
  from { opacity: 0; transform: scaleY(0.05); }
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes growthLineDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes growthPointPop {
  0% { opacity: 0; transform: scale(0.35); }
  75% { opacity: 1; transform: scale(1.18); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes growthArrowRise {
  to { opacity: 1; transform: translate(0, 0) scale(1); }
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.97);
  color: var(--navy);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.86rem;
  animation: floatY 5s ease-in-out infinite;
}
.floating-card i {
  color: var(--gold);
  font-size: 1.15rem;
  background: rgba(214, 162, 30, 0.12);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.floating-card small { display: block; color: var(--text-muted); font-weight: 500; font-size: 0.72rem; }

.floating-card--1 { top: 6%; left: -4%; animation-delay: 0s; }
.floating-card--2 { bottom: 12%; right: -6%; animation-delay: 1.4s; }
.floating-card--3 { bottom: -2%; left: 8%; animation-delay: 2.6s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-arrow-badge {
  position: absolute;
  top: -6%;
  right: 6%;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  color: var(--navy);
  font-size: 1.5rem;
  animation: floatY 4.4s ease-in-out infinite;
  animation-delay: 0.6s;
}

/* ----- About --------------------------------------------------------------*/
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--navy), var(--navy-2));
  padding: 44px 34px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 10%, rgba(214, 162, 30, 0.22), transparent 45%);
}
.about-visual svg { position: relative; z-index: 1; width: 100%; height: auto; }

.about-highlight {
  border: 1px solid rgba(6, 29, 61, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.about-highlight:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.about-highlight .icon-circle { margin-bottom: 14px; }

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(214, 162, 30, 0.16), rgba(214, 162, 30, 0.06));
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* ----- Service cards --------------------------------------------------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  height: 100%;
  border: 1px solid rgba(6, 29, 61, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(214, 162, 30, 0.35);
}
.service-card .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  font-size: 1.7rem;
  margin-bottom: 20px;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.service-card:hover .icon-circle {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  transform: rotate(-6deg) scale(1.08);
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { font-size: 0.94rem; margin-bottom: 18px; }
.service-learn-more {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-learn-more i { transition: transform var(--dur-fast) var(--ease); }
.service-card:hover .service-learn-more { color: var(--gold); }
.service-card:hover .service-learn-more i { transform: translateX(4px); }

/* ----- Why choose us ----------------------------------------------------- */
.why-us {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 15%, rgba(214, 162, 30, 0.14), transparent 40%),
    radial-gradient(circle at 5% 85%, rgba(214, 162, 30, 0.10), transparent 40%);
}
.why-us .container { position: relative; z-index: 1; }
.why-us .section-heading, .why-us .section-label { color: var(--white); }
.why-us .section-label { color: var(--gold-light); }
.why-us .section-sub { color: rgba(255, 255, 255, 0.72); }

.why-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  height: 100%;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.why-item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(214, 162, 30, 0.4);
}
.why-item .icon-circle {
  background: rgba(214, 162, 30, 0.14);
  color: var(--gold);
  flex-shrink: 0;
}
.why-item h3 { color: var(--white); font-size: 1.08rem; margin-bottom: 6px; }
.why-item p { color: rgba(255, 255, 255, 0.68); font-size: 0.9rem; margin-bottom: 0; }

/* ----- Process ------------------------------------------------------------*/
.process-step { text-align: center; position: relative; height: 100%; }
.process-step-number {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.process-step:hover .process-step-number {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.08);
}
.process-step i.process-icon {
  display: block;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.process-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; }

.process-track {
  position: relative;
}
.process-track .process-line {
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  /* Bootstrap's ".row > *" sets width/max-width/padding/margin-top on every
     direct child of .row (this element included, despite not being a
     .col-*) — reset them or the explicit width:100% overrides the left/right
     inset above and pushes this past the container's right edge. */
  width: auto;
  max-width: none;
  padding: 0;
  margin-top: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px);
  z-index: 1;
}
@media (max-width: 767.98px) {
  .process-track .process-line { display: none; }
}

/* ----- Stats --------------------------------------------------------------*/
.stats-section {
  background: var(--bg-light);
  border-top: 1px solid rgba(6, 29, 61, 0.06);
  border-bottom: 1px solid rgba(6, 29, 61, 0.06);
}
.stat-card {
  text-align: center;
  padding: 30px 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-card i { font-size: 1.6rem; color: var(--gold); margin-bottom: 10px; display: inline-block; }
.stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--navy);
  line-height: 1;
  display: block;
}
.stat-label { color: var(--text-muted); font-weight: 600; font-size: 0.86rem; margin-top: 8px; }

/* ----- Team ---------------------------------------------------------------*/
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  text-align: center;
  border: 1px solid rgba(6, 29, 61, 0.06);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 90px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  z-index: 0;
}
.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.team-avatar {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 12px auto 18px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease);
}
.team-card:hover .team-avatar { transform: scale(1.08) rotate(-3deg); }

.team-avatar-img {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  margin: 2px auto 18px;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  background: var(--bg-light);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.team-card:hover .team-avatar-img {
  transform: scale(1.06);
  box-shadow: var(--shadow-lg);
}

.team-card h3 { position: relative; z-index: 1; font-size: 1.15rem; margin-bottom: 2px; }
.team-card .team-position { position: relative; z-index: 1; color: var(--gold); font-weight: 600; font-size: 0.86rem; margin-bottom: 18px; }

.team-actions { position: relative; z-index: 1; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.team-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--navy);
  border: 1px solid rgba(6, 29, 61, 0.08);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.team-action-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-4px);
}
.team-action-btn.whatsapp:hover { background: #25D366; color: var(--white); }
.team-action-btn.linkedin:hover { background: #0A66C2; color: var(--white); }

/* ----- CTA ------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, #17407a 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(214, 162, 30, 0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(214, 162, 30, 0.14), transparent 40%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.cta-section p { color: rgba(255, 255, 255, 0.78); max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* ----- Contact ----------------------------------------------------------- */
.contact-info-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 213, 122, 0.34), transparent 26%),
    radial-gradient(circle at 86% 76%, rgba(64, 112, 184, 0.38), transparent 30%),
    linear-gradient(135deg, #061D3D 0%, #102E55 45%, #17407A 72%, #D6A21E 140%);
  background-size: 170% 170%;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 24px 60px rgba(6, 29, 61, 0.18);
  border: 1px solid rgba(242, 213, 122, 0.24);
  height: 100%;
  animation: contactCardGradient 9s ease-in-out infinite;
}
.contact-info-card::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 26%, rgba(255, 255, 255, 0.12) 42%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 54px);
  transform: translateX(-24%) rotate(8deg);
  animation: contactCardSheen 7.5s linear infinite;
}
.contact-detail-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}
.contact-detail-row:last-child { border-bottom: none; }
.contact-detail-row > div:not(.icon-circle) {
  flex: 1;
  min-width: 0;
}
.contact-detail-row .icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.13);
  color: var(--gold-light);
  border: 1px solid rgba(242, 213, 122, 0.22);
}
.contact-detail-row .label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.contact-detail-row .value { font-weight: 600; color: var(--white); }
.contact-detail-row .value a { color: var(--white); }
.contact-detail-row .value a:hover { color: var(--gold-light); }
.business-hours-copy {
  max-width: 360px;
  margin: 6px 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.6;
}
.business-hours-list {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 430px;
}
.business-hours-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.business-hours-day {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.business-hours-time {
  color: var(--white);
  font-weight: 800;
  text-align: right;
}

@keyframes contactCardGradient {
  0%, 100% { background-position: 0% 48%; }
  50% { background-position: 100% 52%; }
}

@keyframes contactCardSheen {
  from { transform: translateX(-34%) rotate(8deg); }
  to { transform: translateX(34%) rotate(8deg); }
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(6, 29, 61, 0.06);
}
@media (max-width: 575.98px) { .contact-form-card { padding: 24px 18px; } }

.form-label { font-weight: 600; color: var(--navy); font-size: 0.9rem; margin-bottom: 6px; }
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(6, 29, 61, 0.12);
  padding: 0.7rem 1rem;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(214, 162, 30, 0.15);
  transform: translateY(-2px);
}
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(214, 162, 30, 0.15); }

/* Honeypot — visually hidden, still in the accessibility & tab order excluded */
.tf-hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-submit-wrap { position: relative; }
.btn-submit .spinner-border { display: none; }
.btn-submit.is-loading .spinner-border { display: inline-block; }
.btn-submit.is-loading .btn-submit-label { opacity: 0.75; }
.btn-submit.is-loading { pointer-events: none; }

/* ----- Footer ---------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.68);
  padding-top: 70px;
}
.site-footer h5 { color: var(--white); font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin-bottom: 20px; }
.site-footer a { color: rgba(255, 255, 255, 0.68); }
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-links li { margin-bottom: 10px; }
.site-footer .footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.site-footer p { color: rgba(255, 255, 255, 0.6); }
.footer-desc { max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-4px); }
.footer-bottom {
  margin-top: 50px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ----- Legal pages ------------------------------------------------------ */
.legal-page {
  background: var(--bg-light);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(242, 213, 122, 0.28), transparent 28%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 52%, #17407a 100%);
  padding: 82px 0 76px;
  color: var(--white);
}
.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.38;
}
.legal-hero .container {
  position: relative;
  z-index: 1;
}
.legal-hero .section-label {
  color: var(--gold-light);
}
.legal-hero h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  margin: 14px 0 16px;
}
.legal-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
}
.legal-meta {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.86rem;
  font-weight: 700;
}

.legal-shell {
  padding: 72px 0;
}
.legal-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 48px);
  background: var(--white);
  border: 1px solid rgba(6, 29, 61, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.legal-section + .legal-section {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(6, 29, 61, 0.08);
}
.legal-section h2,
.legal-contact-strip h2 {
  font-family: var(--font-body);
  color: var(--navy);
  font-size: clamp(1.1rem, 2vw, 1.36rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.legal-section p,
.legal-section li {
  color: var(--text-muted);
  line-height: 1.75;
}
.legal-section ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}
.legal-section li + li {
  margin-top: 8px;
}

.legal-contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(6, 29, 61, 0.06), rgba(214, 162, 30, 0.14));
  border: 1px solid rgba(214, 162, 30, 0.18);
}
.legal-contact-strip p {
  margin-bottom: 0;
  color: var(--text-muted);
}
/* ----- Floating WhatsApp button ----------------------------------------- */
.fab-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
  z-index: 1040;
  transition: transform var(--dur-fast) var(--ease);
  animation: pulseWA 2.6s ease-in-out infinite;
}
.fab-whatsapp:hover { transform: scale(1.08); color: var(--white); }
@keyframes pulseWA {
  0%, 100% { box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 12px 26px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

@media (max-width: 575.98px) {
  .fab-whatsapp { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 1.4rem; }
  .business-hours-item { align-items: flex-start; flex-direction: column; gap: 4px; }
  .business-hours-time { text-align: left; }
}

/* ----- Scroll reveal (lightweight AOS-equivalent, driven by main.js) ---- */
[data-aos] {
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  will-change: opacity, transform;
}
[data-aos="fade-up"] { transform: translateY(34px); }
[data-aos="fade-down"] { transform: translateY(-34px); }
[data-aos="fade-left"] { transform: translateX(34px); }
[data-aos="fade-right"] { transform: translateX(-34px); }
[data-aos="zoom-in"] { transform: scale(0.92); }
[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Alerts */
.alert-tf { border-radius: var(--radius-md); border: none; }

/* Utility: skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  font-weight: 700;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: var(--navy); }

/* ----- Responsive tuning -------------------------------------------------*/
@media (max-width: 991.98px) {
  .hero-visual { min-height: 320px; margin-top: 46px; }
  .floating-card { font-size: 0.78rem; padding: 10px 12px; }
}
@media (max-width: 767.98px) {
  .hero { padding: 50px 0 60px; text-align: left; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .hero-trust-strip { flex-direction: column; gap: 16px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .floating-card--1 { left: 0; top: 2%; }
  .floating-card--2 { right: 0; bottom: 6%; }
  .floating-card--3 { left: 2%; bottom: -4%; }
  .legal-hero { padding: 58px 0 54px; }
  .legal-shell { padding: 46px 0; }
  .legal-contact-strip { align-items: stretch; flex-direction: column; }
  .legal-contact-strip .btn { width: 100%; }
}
@media (max-width: 400px) {
  .brand-word-sub { display: none; }
}

/* ----- Reduced motion ----------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
  .floating-card, .hero-arrow-badge, .fab-whatsapp, .contact-info-card, .contact-info-card::before { animation: none !important; }
  .hero-chart-grid line,
  .hero-chart-bars rect,
  .hero-growth-points circle,
  .hero-growth-arrow {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-growth-line { stroke-dashoffset: 0 !important; }
}
