/* =============================================================
   ACCOUNTRANS — Premium Corporate Stylesheet
   Author: Accountrans
   Structure: Tokens → Base → Layout → Components → Sections → Utilities → Responsive
   Palette (from logo): Navy #10294A · Primary Blue #1D4E89 · Steel #2E6FB0 · Accent #3E86C9
============================================================= */

/* ----------------------- 1. DESIGN TOKENS ----------------------- */
:root {
  /* ===== BRAND — extracted from the Accountrans logo =====
     The logo is monochromatic blue: a deep-navy "A" and wordmark, a
     steel-blue gradient "C", and a light→mid→navy bar chart. The entire
     system below is built ONLY from these blues + neutral grays. */

  /* Navy ramp (darkest → mid) — the "A" & wordmark (sampled from logo) */
  --navy-deepest: #06142A;   /* footer / deepest surface */
  --navy-deep:    #0A1D38;   /* dark sections */
  --navy:         #0D2140;   /* primary heading navy */
  --navy-900:     #06142A;

  /* Primary brand blue — the cobalt in the "C" / bars (buttons, links, focus) */
  --primary:      #15509C;
  --primary-600:  #113F7B;   /* hover */
  --primary-700:  #0D3362;

  /* Secondary steel blue — the "C" gradient */
  --steel:        #2F63A8;
  --steel-600:    #26538C;

  /* Accent blues — the bar-chart highlights */
  --blue:         #3E86C9;
  --blue-500:     #5B9BD5;
  --blue-light:   #7FB0DE;

  /* Neutrals */
  --white:       #FFFFFF;
  --ivory:       #FBFCFD;
  --gray-50:     #F5F7FA;
  --gray-100:    #EDF1F5;
  --gray-200:    #DCE4EE;
  --gray-300:    #C3CDD8;
  --gray-400:    #93A2B2;
  --gray-500:    #64748B;
  --gray-600:    #47566A;
  --ink:         #14243B;

  /* Very light brand tints — alternating sections & surfaces */
  --tint:        #EEF3F9;
  --tint-2:      #F4F8FC;

  /* Semantic surfaces & text */
  --bg:          var(--white);
  --bg-alt:      var(--tint);
  --surface:     var(--white);
  --text:        #2A3B4D;
  --text-soft:   #5A6B7B;
  --heading:     var(--navy);
  --border:      #DCE4EE;
  --link:        var(--primary);
  --link-hover:  var(--primary-600);

  /* Functional — muted to harmonize with the brand blues */
  --success:     #1E7F6B;
  --warning:     #B7791F;
  --error:       #C0392B;
  --error-bg:    #FCEEEC;

  /* ---- Legacy aliases: map old names onto the blue system ---- */
  --navy-mid:    var(--primary);
  --navy-soft:   var(--steel);
  --emerald:     var(--primary);
  --emerald-500: var(--blue);
  --emerald-600: var(--primary-600);
  --gold:        var(--blue-500);
  --gold-500:    var(--blue-light);
  --gold-600:    var(--blue);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing / rhythm */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(13, 33, 64, .06), 0 2px 6px rgba(13, 33, 64, .05);
  --shadow-md: 0 10px 30px -10px rgba(13, 33, 64, .18);
  --shadow-lg: 0 30px 60px -22px rgba(13, 33, 64, .28);
  --shadow-brand: 0 16px 40px -14px rgba(21, 80, 156, .4);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .55s;
}

/* ----------------------- 2. RESET / BASE ----------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px; /* account for sticky header */
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 800;
}

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

:focus-visible {
  outline: 3px solid var(--emerald-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link — visually hidden (kept in the DOM for screen readers) */
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ----------------------- 3. LAYOUT ----------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.section-title {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  font-weight: 800;
}
.section-title.light { color: #fff; }

.section-lede {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--text-soft);
  margin-top: 1.1rem;
}
.section-lede.center { margin-inline: auto; }
.section-lede.light { color: rgba(255,255,255,.78); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin: 0 0 1rem;
}
.eyebrow-light { color: var(--gold-500); }
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(29,78,137,.14);
}
.eyebrow-light .eyebrow-dot { box-shadow: 0 0 0 4px rgba(91,155,213,.2); }
.section-head .eyebrow { justify-content: center; }

/* Accent text colors */
.text-accent {
  background: linear-gradient(100deg, var(--blue-light) 0%, #d5e7f8 26%, var(--blue-500) 50%, #d5e7f8 74%, var(--blue-light) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShine 7s linear infinite;
}
@keyframes textShine { to { background-position: 220% 0; } }
.text-emerald { color: var(--emerald); }
.text-gold    { color: var(--gold); }

/* ----------------------- 4. BUTTONS ----------------------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn i { font-size: .92em; position: relative; z-index: 1; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
/* Press feedback */
.btn:active { transform: translateY(-1px) scale(.99); }
/* Light sheen that sweeps across on hover */
.btn-primary::after,
.btn-whatsapp::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::after,
.btn-whatsapp:hover::after { left: 150%; }

/* Primary — filled with the primary logo blue, white text */
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--primary-600);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -14px rgba(21,80,156,.5);
}

/* Secondary — white, primary border + text; fills primary on hover */
.btn-secondary {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Ghost — for use on the dark hero */
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.btn-ghost:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(37,211,102,.6);
}
.btn-whatsapp:hover { transform: translateY(-3px); background: #1EBE5A; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--steel), var(--blue));
  z-index: 1200;
  transition: width .12s linear;
  pointer-events: none;
}

/* ----------------------- 5. HEADER / NAV ----------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding-block: 1rem;
  background: #FFFFFF;                     /* pure white, always */
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--border);      /* subtle border + soft shadow on scroll */
  box-shadow: 0 8px 28px -16px rgba(16,41,74,.28);
  padding-block: .6rem;
}
/* Wider header container than the rest of the page */
.site-header .container { max-width: 1350px; }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  color: var(--navy);            /* navy logo on the always-white header */
  transition: color .35s var(--ease);
}
.brand-mark { color: inherit; display: inline-flex; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
/* Header logo image — kept compact, shrinks slightly on scroll */
.site-header .brand img {
  height: 80px;
  width: auto;
  display: block;
  transition: height .35s var(--ease);
}
.site-header.scrolled .brand img { height: 60px; }
.site-header .brand:hover img { transform: none; }
.brand-dot { color: var(--blue); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .3rem; }
.nav-link {
  position: relative;
  display: block;
  padding: .55rem .9rem;
  font-weight: 500;
  font-size: .96rem;
  color: var(--gray-600);        /* readable on white */
  border-radius: 8px;
  transition: color .3s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: .9rem; right: .9rem; bottom: .35rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover, .nav-link.active { color: var(--navy); }

.btn-nav { padding: .7rem 1.35rem; font-size: .92rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .3s var(--ease), background .35s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle.open span { background: var(--navy); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(86vw, 360px);
  height: 100dvh;
  background: var(--navy);
  z-index: 1100;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: .35rem; }
.mobile-link {
  color: rgba(255,255,255,.9);
  font-size: 1.15rem;
  font-weight: 500;
  padding: .85rem .4rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.mobile-link:hover { color: var(--gold-500); padding-left: .9rem; }
.mobile-cta { margin-top: 1.4rem; }

.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(10,20,33,.5);
  backdrop-filter: blur(3px);
  z-index: 1050;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.menu-overlay.show { opacity: 1; }

/* ----------------------- 6. HERO ----------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;                /* full-screen hero */
  min-height: 100dvh;               /* accounts for mobile browser chrome */
  padding-top: clamp(5.5rem, 10vh, 7rem);  /* clears the fixed header */
  padding-bottom: 0;                /* marquee sits flush at the bottom */
  background: radial-gradient(120% 120% at 80% -10%, #123A6E 0%, var(--navy) 46%, var(--navy-deep) 100%);
  color: #fff;
  overflow: hidden;
}

/* Full-bleed background-image variant */
.hero--image {
  background: var(--navy-deep) url('/images/hero-boardroom.jpg') center center / cover no-repeat;
  background-attachment: fixed;
}
/* Navy overlay — darker on the left so the copy stays readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(6,20,42,.95) 0%,
      rgba(10,29,56,.88) 32%,
      rgba(13,33,64,.62) 62%,
      rgba(13,33,64,.4) 100%),
    linear-gradient(0deg, rgba(6,20,42,.9) 0%, rgba(6,20,42,0) 42%);
}
/* Single-column content for the image hero */
.hero--image .hero-inner { grid-template-columns: 1fr; }
.hero--image .hero-content { max-width: 640px; }
.hero--image .hero-lede { max-width: 52ch; }
/* Floating stat card, bottom-right over the photo */
.hero--image .hero-metric-card {
  left: auto;
  right: 0;
  bottom: clamp(4rem, 11vh, 7rem);
  z-index: 2;
}
@media (max-width: 900px) {
  .hero--image .hero-metric-card { display: none; }
}
/* Fixed attachment can look zoomed / is ignored on mobile — use scroll there */
@media (max-width: 768px) {
  .hero--image { background-attachment: scroll; background-position: 30% center; }
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(120% 90% at 60% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 60% 0%, #000 20%, transparent 78%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
}
.hero-glow--emerald {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(29,78,137,.55), transparent 68%);
  top: -120px; left: -100px;
  animation: floaty 14s ease-in-out infinite;
}
.hero-glow--gold {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(91,155,213,.4), transparent 66%);
  bottom: -140px; right: -60px;
  animation: floaty 18s ease-in-out infinite reverse;
}
@keyframes floaty {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(24px, 30px); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;                          /* fill the space above the marquee */
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3vh, 2.5rem);
}
.hero .eyebrow { color: var(--gold-500); }
.hero .eyebrow .eyebrow-dot { box-shadow: 0 0 0 4px rgba(91,155,213,.2); }

.hero-title {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
}
.hero-lede {
  margin-top: 1.2rem;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  max-width: 46ch;
  font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.7rem; }

.hero-trust {
  display: flex; flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-trust li {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .92rem; color: rgba(255,255,255,.78);
}
.hero-trust i { color: var(--emerald-500); }

/* Hero visual */
.hero-visual { position: relative; min-height: 340px; }
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.1);
  aspect-ratio: 5 / 4;
  max-width: 380px;
  margin-left: auto;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Photo placeholder */
.photo-placeholder {
  width: 100%; height: 100%;
  min-height: 220px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .8rem;
  text-align: center;
  color: rgba(255,255,255,.55);
  background:
    linear-gradient(135deg, rgba(29,78,137,.22), rgba(15,43,70,.55)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px);
}
.photo-placeholder i { font-size: 2.6rem; color: rgba(255,255,255,.42); }
.photo-placeholder span { font-size: .82rem; letter-spacing: .04em; }

/* Glass cards floating on hero */
.glass-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.hero-metric-card {
  position: absolute;
  left: -8px; bottom: 26px;
  width: 250px;
  padding: 1.1rem 1.2rem;
  color: #fff;
  animation: floaty 9s ease-in-out infinite;
}
.metric-row { display: flex; align-items: center; justify-content: space-between; }
.metric-label { font-size: .78rem; color: rgba(255,255,255,.7); }
.metric-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .82rem; font-weight: 700;
  padding: .2rem .5rem; border-radius: 6px;
}
.metric-badge.up { background: rgba(29,78,137,.3); color: #cfe4f7; }
.metric-bars {
  display: flex; align-items: flex-end; gap: 6px;
  height: 54px; margin: .9rem 0 .6rem;
}
.metric-bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--emerald-500), var(--emerald-600));
  border-radius: 4px 4px 2px 2px;
  transform-origin: bottom;
  animation: barGrow 1s var(--ease) both;
}
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.metric-foot { font-size: .74rem; color: rgba(255,255,255,.66); display: flex; align-items: center; gap: .45rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-emerald { background: var(--emerald-500); box-shadow: 0 0 0 3px rgba(29,78,137,.25); }

.hero-flag-card {
  position: absolute;
  top: 18px; right: -6px;
  display: flex; align-items: center; gap: .7rem;
  padding: .8rem 1rem;
  color: #fff;
  animation: floaty 11s ease-in-out infinite reverse;
}
.hero-flag-card i { font-size: 1.4rem; color: var(--gold-500); }
.hero-flag-card strong { display: block; font-size: .95rem; }
.hero-flag-card small { color: rgba(255,255,255,.66); font-size: .76rem; }

/* Hero marquee */
.hero-marquee {
  position: relative;
  z-index: 2;
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: .95rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 1.6rem;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-size: .95rem; font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .02em;
}
.marquee-track span:nth-child(even) { color: var(--gold-500); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ----------------------- 7. ABOUT ----------------------- */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-media { position: relative; }
.photo-tall {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(15,43,70,.08), rgba(29,78,137,.1)),
    repeating-linear-gradient(45deg, rgba(15,43,70,.04) 0 12px, transparent 12px 24px);
}
.photo-tall img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; display: block; }
.photo-tall i { color: var(--navy); opacity: .35; }
.photo-tall span { color: var(--gray-500); }

.about-badge {
  position: absolute;
  right: -18px; bottom: 34px;
  display: flex; align-items: center; gap: .9rem;
  padding: 1.1rem 1.3rem;
  background: var(--navy);
  border: none;
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-badge-num {
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: var(--gold-500);
}
.about-badge-num span { font-size: 1.4rem; }
.about-badge-txt { font-size: .82rem; line-height: 1.35; color: rgba(255,255,255,.8); }

.about-points { display: grid; gap: 1.3rem; margin: 2rem 0; }
.about-points li { display: flex; gap: 1rem; }
.about-points i {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid; place-content: center;
  border-radius: 12px;
  font-size: 1.1rem;
  color: var(--emerald);
  background: rgba(29,78,137,.1);
}
.about-points strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: .15rem; }
.about-points p { margin: 0; font-size: .95rem; color: var(--text-soft); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--emerald-600);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow:hover { gap: .9rem; color: var(--emerald); }

/* ----------------------- 8. SERVICES ----------------------- */
.services { background: var(--bg-alt); }
.cards-grid { display: grid; gap: 1.4rem; }
.services-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.s-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.s-card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.s-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.s-card:hover::before { transform: scaleX(1); }

.s-icon {
  position: relative;
  overflow: hidden;
  display: inline-grid; place-content: center;
  width: 58px; height: 58px;
  border-radius: 15px;
  font-size: 1.5rem;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(29,78,137,.14), rgba(91,155,213,.14));
  margin-bottom: 1.3rem;
  transition: transform .45s var(--ease), color .45s var(--ease), background .45s var(--ease);
}
.s-icon i { position: relative; z-index: 1; }
/* Light sheen that sweeps across the icon tile on card hover */
.s-icon::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
  pointer-events: none;
}
.s-card:hover .s-icon {
  transform: rotate(-6deg) scale(1.06);
  color: #fff;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-600));
}
.s-card:hover .s-icon::after { left: 150%; }
.s-card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.s-card p { margin: 0; font-size: .95rem; color: var(--text-soft); }

/* ----------------------- 9. INDUSTRIES ----------------------- */
.industries { background: var(--bg); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}
.ind-card {
  position: relative;
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  isolation: isolate;
}
.ind-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  opacity: 0;
  z-index: -1;
  transition: opacity .4s var(--ease);
}
/* Faint sheen that sweeps across the card on hover */
.ind-card::before {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.16), transparent);
  transform: skewX(-20deg);
  transition: left .65s var(--ease);
  z-index: 0;
  pointer-events: none;
}
.ind-card:hover::before { left: 150%; }
.ind-card i {
  position: relative; z-index: 1;
  font-size: 1.9rem; color: var(--emerald);
  margin-bottom: 1rem; display: block;
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.ind-card h3 { position: relative; z-index: 1; font-size: 1.12rem; margin-bottom: .3rem; transition: color .4s var(--ease); }
.ind-card p { position: relative; z-index: 1; margin: 0; font-size: .88rem; color: var(--text-soft); transition: color .4s var(--ease); }
.ind-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ind-card:hover::after { opacity: 1; }
.ind-card:hover i { color: var(--gold-500); transform: scale(1.08); }
.ind-card:hover h3 { color: #fff; }
.ind-card:hover p { color: rgba(255,255,255,.7); }

/* ----------------------- 10. WHY CHOOSE US ----------------------- */
.why {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 90% 0%, rgba(29,78,137,.2), transparent 60%),
    radial-gradient(50% 50% at 5% 100%, rgba(91,155,213,.14), transparent 60%);
  pointer-events: none;
}
.why-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); position: relative; z-index: 1; }
.why-card {
  position: relative;
  padding: 2.2rem 1.9rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.why-num {
  position: absolute; top: 1.1rem; right: 1.3rem;
  font-size: 2.6rem; font-weight: 800;
  color: rgba(255,255,255,.06);
  letter-spacing: -.03em;
}
.why-card i {
  font-size: 1.7rem; color: var(--gold-500);
  margin-bottom: 1.2rem; display: block;
  transition: transform .4s var(--ease);
}
.why-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: .5rem; }
.why-card p { margin: 0; font-size: .94rem; color: rgba(255,255,255,.7); }
.why-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.08);
  border-color: rgba(91,155,213,.4);
}
.why-card:hover i { transform: scale(1.12) rotate(-5deg); }

/* ------------------- 11. PROCESS / TIMELINE (compact) ------------------- */
.process { background: var(--bg-alt); }
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
  max-width: 1080px;
  margin-inline: auto;
  padding: 0;
}
/* Horizontal connector line running behind the markers */
.timeline::before {
  content: "";
  position: absolute;
  top: 27px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  z-index: 0;
}
.tl-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .8rem;
}
.tl-marker {
  flex-shrink: 0;
  width: 54px; height: 54px;
  display: grid; place-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  box-shadow: 0 0 0 6px var(--bg-alt), var(--shadow-md);
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.tl-step:hover .tl-marker {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-600));
}
.tl-body { padding: 0; }
.tl-num {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--emerald-600);
}
.tl-body h3 { font-size: 1.06rem; margin: .25rem 0 .35rem; }
.tl-body p { margin: 0; color: var(--text-soft); font-size: .88rem; line-height: 1.5; }

/* Stack vertically on small screens */
@media (max-width: 768px) {
  .timeline { grid-template-columns: 1fr; gap: 1.4rem; max-width: 460px; }
  .timeline::before { top: 12px; bottom: 12px; left: 26px; right: auto; width: 2px; height: auto; }
  .tl-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 1.2rem; }
  .tl-marker { width: 52px; height: 52px; }
}

/* ----------------------- 12. STATISTICS ----------------------- */
.stats {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-bg { position: absolute; inset: 0; opacity: .5; }
.stats-bg .hero-grid { background-size: 46px 46px; }
.stats-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat { position: relative; padding: 1rem; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute; right: -1rem; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,.14);
}
.stat-num {
  display: block;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, #fff 30%, var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: .7rem;
  font-size: .95rem;
  color: rgba(255,255,255,.72);
  letter-spacing: .02em;
}

/* --------------------- 13. TESTIMONIALS (compact) --------------------- */
.testimonials { background: var(--bg); padding-block: clamp(3rem, 6vw, 5rem); }
.testimonials .section-head { margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.testimonials-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; }
.t-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.t-quote {
  position: absolute; top: 1.2rem; right: 1.4rem;
  font-size: 1.7rem; color: rgba(29,78,137,.14);
}
.t-card blockquote {
  margin: 0 0 1.1rem;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
}
.t-card figcaption { display: flex; align-items: center; gap: .8rem; }
.t-avatar {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: grid; place-content: center;
  border-radius: 50%;
  font-weight: 700; font-size: .88rem;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--emerald-600));
}
.t-meta strong { display: block; color: var(--navy); font-size: .94rem; }
.t-meta small { color: var(--text-soft); font-size: .82rem; }
.t-stars { margin-top: .7rem; color: var(--gold); display: flex; gap: .2rem; font-size: .82rem; }

/* ----------------------- 14. FAQ ----------------------- */
.faq { background: var(--bg-alt); }
.faq-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq-head { position: sticky; top: 110px; }
.faq-head .section-title { text-align: left; }
.faq-head .btn { margin-top: 1.8rem; }

.faq-list { display: grid; gap: 1rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: rgba(29,78,137,.35); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 1.5rem;
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid; place-content: center;
  border-radius: 8px;
  font-size: .8rem;
  color: var(--emerald);
  background: rgba(29,78,137,.1);
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.faq-item[open] summary i { transform: rotate(135deg); background: var(--emerald); color: #fff; }
.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
}
.faq-item[open] .faq-answer { padding: 0 1.5rem 1.4rem; max-height: 400px; }
.faq-answer p { margin: 0; color: var(--text-soft); font-size: .97rem; }

/* ----------------------- 15. CONTACT ----------------------- */
.contact {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 15% 10%, rgba(29,78,137,.2), transparent 60%);
  pointer-events: none;
}
/* Centered single-column contact layout */
.contact-grid {
  position: relative; z-index: 1;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.contact .eyebrow { justify-content: center; }
.contact .section-lede { max-width: 58ch; margin-inline: auto; }
.contact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.4rem auto;
  max-width: 720px;
}
.contact-list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .7rem; }
.c-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-content: center;
  border-radius: 12px;
  font-size: 1.1rem;
  color: var(--gold-500);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.contact-list strong { display: block; color: #fff; font-size: 1rem; margin-bottom: .1rem; }
.contact-list p { margin: 0; color: rgba(255,255,255,.72); font-size: .95rem; }
.contact-list a { color: rgba(255,255,255,.72); transition: color .3s var(--ease); }
.contact-list a:hover { color: var(--gold-500); }
@media (max-width: 640px) { .contact-list { grid-template-columns: 1fr; max-width: 320px; } }
.map-placeholder {
  margin-top: 1.8rem;
  height: 200px;
  border-radius: var(--radius);
  display: grid; place-content: center; justify-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.55);
  background:
    linear-gradient(135deg, rgba(29,78,137,.16), rgba(15,43,70,.5)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 20px, transparent 20px 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 20px, transparent 20px 40px);
  border: 1px solid rgba(255,255,255,.1);
}
.map-placeholder i { font-size: 2rem; color: var(--gold-500); }
.map-placeholder span { font-size: .84rem; }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-lg);
}
.form-title { font-size: 1.5rem; }
.form-sub { margin: .3rem 0 1.6rem; color: var(--text-soft); font-size: .95rem; }
.field { margin-bottom: 1.2rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  font-size: .85rem; font-weight: 600;
  color: var(--navy); margin-bottom: .45rem;
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: .98rem;
  color: var(--ink);
  padding: .85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: var(--gray-50);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29,78,137,.12);
}
.field.invalid input, .field.invalid select, .field.invalid textarea {
  border-color: var(--error);
  background: var(--error-bg);
}
.error-msg {
  font-size: .8rem;
  color: var(--error);
  margin-top: .4rem;
  min-height: 1em;
}
.form-success {
  margin: 1.2rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: rgba(29,78,137,.1);
  color: var(--emerald-600);
  font-weight: 600;
  font-size: .94rem;
  display: flex; align-items: center; gap: .55rem;
}

/* ----------------------- 16. FOOTER ----------------------- */
.site-footer { background: var(--navy-deepest); color: rgba(255,255,255,.72); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.brand-footer { color: #fff; margin-bottom: 1.1rem; }
.footer-tag { font-size: .95rem; line-height: 1.7; max-width: 34ch; color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.footer-social a {
  width: 42px; height: 42px;
  display: grid; place-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.footer-social a:hover { transform: translateY(-3px); background: var(--emerald); color: #fff; border-color: transparent; }

.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { font-size: .93rem; color: rgba(255,255,255,.65); transition: color .3s var(--ease), padding-left .3s var(--ease); }
.footer-col a:hover { color: var(--gold-500); padding-left: .3rem; }
.footer-contact li { display: flex; align-items: center; gap: .6rem; font-size: .93rem; margin-bottom: .65rem; }
.footer-contact i { color: var(--emerald-500); width: 16px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .8rem;
  padding-block: 1.5rem;
  font-size: .86rem;
  color: rgba(255,255,255,.5);
}
.footer-legal { display: flex; gap: .6rem; align-items: center; }
.footer-legal a:hover { color: var(--gold-500); }

/* ----------------------- 17. FLOATING UI ----------------------- */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 92px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s var(--ease), visibility .35s;
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--emerald); transform: translateY(-3px); }

.whatsapp-float {
  position: fixed;
  right: 24px; bottom: 28px;
  width: 54px; height: 54px;
  display: grid; place-content: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  z-index: 900;
  transition: transform .3s var(--ease);
  animation: pulse 2.4s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.6), 0 0 0 12px rgba(37,211,102,0); }
}

/* ----------------------- 18. SCROLL REVEAL ----------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition: opacity .75s var(--ease), transform .75s var(--ease), filter .75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
/* Directional variants — used on two-column sections so halves meet in the middle */
[data-reveal="left"]  { transform: translateX(-42px); }
[data-reveal="right"] { transform: translateX(42px); }
[data-reveal="zoom"]  { transform: scale(.94); }
[data-reveal].in-view { opacity: 1; transform: none; filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ----------------------- 19. RESPONSIVE ----------------------- */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin: 0 auto; min-height: 380px; }
  .hero-lede { max-width: 46ch; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; }
  .faq-inner { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .faq-head .section-title { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .stat:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Switch to the mobile menu earlier so the larger logo never crowds the nav */
@media (max-width: 900px) {
  .main-nav, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 768px) {
  .stat::after { display: none !important; }
}

@media (max-width: 560px) {
  :root { --section-y: 3.6rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-metric-card { left: 50%; transform: translateX(-50%); width: min(88%, 260px); }
  .hero-actions .btn { width: 100%; }
  .about-badge { right: 12px; }
}
