/* ============================================================
   APG — Shared Stylesheet
   ------------------------------------------------------------
   This one file controls the look of EVERY page.
   To change brand colors, edit the values under ":root" below.
   ============================================================ */

/* ---------- 1. BRAND COLORS & DESIGN TOKENS ---------- */
/* Change these hex codes to instantly restyle the whole site. */
:root {
  --navy:        #0A2540;   /* main dark brand color */
  --navy-soft:   #143A5C;   /* lighter navy for gradients */
  --navy-deep:   #061829;   /* darkest navy (footer) */
  --accent:      #14B8A6;   /* teal accent (buttons, highlights) */
  --accent-dark: #0E8C7E;   /* darker teal for hovers */
  --gold:        #F5B544;   /* warm gold for small highlights */
  --cream:       #FAF8F3;   /* warm off-white page background */
  --white:       #FFFFFF;
  --ink:         #0E1B2A;   /* main text color */
  --muted:       #5A6B7B;   /* secondary / muted text */
  --line:        #E6E2D9;   /* subtle border lines */
  --card:        #FFFFFF;   /* card background */

  --maxw: 1200px;           /* max content width */
  --radius: 18px;           /* rounded corner size */
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(10,37,64,.06);
  --shadow:    0 18px 50px rgba(10,37,64,.12);
  --shadow-lg: 0 30px 80px rgba(10,37,64,.18);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
}

/* ---------- 2. RESET & BASE ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 3. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem;
  cursor: pointer; border: none; transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20,184,166,.35); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 4. HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250,248,243,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(250,248,243,.95); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }

/* Logo — swap the text for an <img> when you have your logo file */
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--navy); }
.logo .mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  color: #fff; display: grid; place-items: center;
  font-size: 1.05rem; font-weight: 700; letter-spacing: -.5px;
}
.logo img { height: 42px; width: auto; } /* used if you add a logo image */

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links > li > a { font-weight: 600; font-size: .97rem; color: var(--navy); position: relative; padding: 6px 0; transition: color .2s; }
.nav-links > li > a:hover { color: var(--accent-dark); }
.nav-links a.active { color: var(--accent-dark); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.dropdown-toggle svg { transition: transform .25s; }
.dropdown:hover .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 10px; min-width: 280px;
  opacity: 0; visibility: hidden; transition: all .25s ease;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; transition: background .2s; }
.dropdown-menu a:hover { background: var(--cream); }
.dropdown-menu .di { font-size: 1.3rem; line-height: 1; margin-top: 2px; }
.dropdown-menu strong { display: block; color: var(--navy); font-size: .96rem; }
.dropdown-menu span { font-size: .82rem; color: var(--muted); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: all .3s; }

/* ---------- 5. SECTIONS ---------- */
section { position: relative; }
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin-top: 18px; }
.lead { font-size: 1.18rem; color: var(--muted); }

/* ---------- 6. HERO ---------- */
.hero { padding: 70px 0 90px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -25%; right: -10%; width: 60%; height: 130%;
  background: radial-gradient(circle, rgba(20,184,166,.10), transparent 62%); z-index: 0;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; background: var(--white);
  border: 1px solid var(--line); padding: 8px 16px; border-radius: 100px;
  font-size: .85rem; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(20,184,166,.18); }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--accent-dark); }
.hero p { font-size: 1.18rem; color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-trust .stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.hero-trust small { color: var(--muted); font-size: .9rem; }

/* Hero floating dashboard mockup (pure CSS, no image needed) */
.hero-visual { position: relative; }
.mock-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 26px; position: relative;
}
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.mock-top h4 { font-family: var(--font-body); font-size: 1rem; color: var(--navy); font-weight: 700; }
.mock-pill { font-size: .72rem; font-weight: 700; color: var(--accent-dark); background: rgba(20,184,166,.12); padding: 5px 12px; border-radius: 100px; }
.mock-stat { font-family: var(--font-display); font-size: 2.6rem; color: var(--navy); line-height: 1; }
.mock-sub { color: var(--muted); font-size: .85rem; margin-bottom: 22px; }
.mock-bars { display: flex; align-items: flex-end; gap: 12px; height: 120px; }
.mock-bars .bar { flex: 1; background: linear-gradient(180deg, var(--accent), rgba(20,184,166,.35)); border-radius: 8px 8px 0 0; animation: grow 1s ease both; }
@keyframes grow { from { height: 0; } }
.mock-float {
  position: absolute; background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); padding: 16px 18px; display: flex; gap: 12px; align-items: center;
}
.mock-float .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 1.1rem; }
.mock-float strong { display: block; font-size: .95rem; color: var(--navy); }
.mock-float span { font-size: .76rem; color: var(--muted); }
.mock-float.one { top: -28px; right: -22px; animation: floaty 4s ease-in-out infinite; }
.mock-float.two { bottom: -26px; left: -26px; animation: floaty 4s ease-in-out infinite .8s; }
.mock-float.one .ic { background: rgba(245,181,68,.18); }
.mock-float.two .ic { background: rgba(20,184,166,.15); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 7. TRUST BAR ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.trustbar .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trustbar span.lbl { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust-logos { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.trust-logos div { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--navy); opacity: .5; transition: opacity .3s; }
.trust-logos div:hover { opacity: 1; }

/* ---------- 8. SERVICE CARDS ---------- */
.cards { display: grid; gap: 26px; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; transition: all .3s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .flag { position: absolute; top: 20px; right: 22px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; }
.card .flag.in { background: rgba(245,181,68,.16); color: #b5781a; }
.card .flag.us { background: rgba(20,184,166,.14); color: var(--accent-dark); }
.card .c-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: #fff; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 22px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 18px; }
.card ul.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink); padding: 5px 0; }
.card ul.ticks li::before { content: "✓"; color: var(--accent-dark); font-weight: 800; }
.card .c-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-dark); font-size: .94rem; margin-top: 18px; }
.card .c-link .arrow { transition: transform .25s; }
.card:hover .c-link .arrow { transform: translateX(4px); }

/* ---------- 9. STATS ---------- */
.stats-band { background: var(--navy); color: #fff; border-radius: 28px; padding: 56px; }
.stats-band.flat { border-radius: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); color: #fff; line-height: 1; }
.stat .num .accent { color: var(--accent); }
.stat p { color: rgba(255,255,255,.7); font-size: .95rem; margin-top: 10px; }

/* ---------- 10. FEATURES / WHY ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list { display: grid; gap: 22px; margin-top: 30px; }
.feature { display: flex; gap: 18px; }
.feature .fi { flex-shrink: 0; width: 50px; height: 50px; border-radius: 13px; background: rgba(20,184,166,.12); color: var(--accent-dark); display: grid; place-items: center; font-size: 1.3rem; }
.feature h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; color: var(--navy); margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .96rem; }
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.media-placeholder {
  aspect-ratio: 4/3; background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: grid; place-items: center; color: rgba(255,255,255,.6); text-align: center; padding: 30px;
}
.media-placeholder .pi { font-size: 2.5rem; margin-bottom: 12px; }

/* ---------- 11. PROCESS STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 20px; }
.step .n { font-family: var(--font-display); font-size: 3rem; color: var(--accent); opacity: .4; line-height: 1; }
.step h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; margin: 10px 0 8px; color: var(--navy); }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- 12. TESTIMONIALS ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 16px; }
.quote p { font-size: 1.02rem; color: var(--ink); margin-bottom: 22px; }
.quote .who { display: flex; align-items: center; gap: 14px; }
.quote .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote .who strong { display: block; color: var(--navy); font-size: .96rem; }
.quote .who span { font-size: .84rem; color: var(--muted); }

/* ---------- 13. CTA BAND ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: #fff; border-radius: 28px; padding: 70px 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -50%; left: -10%; width: 50%; height: 200%; background: radial-gradient(circle, rgba(20,184,166,.25), transparent 60%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; margin: 18px auto 32px; position: relative; font-size: 1.12rem; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* ---------- 14. PAGE HERO (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 80px 0 90px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; bottom: -40%; right: -5%; width: 50%; height: 140%; background: radial-gradient(circle, rgba(20,184,166,.18), transparent 60%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero .eyebrow::before { background: var(--accent); }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 600px; margin-top: 20px; font-size: 1.15rem; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: rgba(255,255,255,.6); margin-bottom: 24px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- 15. CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci-item:last-child { border-bottom: none; }
.contact-info .ci { width: 48px; height: 48px; border-radius: 12px; background: rgba(20,184,166,.12); color: var(--accent-dark); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 3px; }
.contact-info p, .contact-info a { color: var(--muted); font-size: .96rem; }
.contact-info a:hover { color: var(--accent-dark); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--cream); transition: all .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(20,184,166,.12); }
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- 16. FOOTER ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.footer-about p { font-size: .96rem; max-width: 320px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: all .25s; }
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-col h5 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: .88rem; flex-wrap: wrap; gap: 12px; }

/* ---------- 17. SCROLL REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .cards.c3, .quotes, .steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: flex; }

  /* Mobile menu */
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 78px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--line); padding: 18px 24px 26px; box-shadow: var(--shadow);
  }
  .nav-links.open > li { width: 100%; }
  .nav-links.open > li > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links.open .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 4px 0 4px 14px; min-width: auto; }
  .dropdown:hover .dropdown-toggle svg { transform: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 70px 0; }
  .cards.c3, .cards.c2, .quotes, .steps, .stats-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .stats-band, .cta-band { padding: 44px 26px; }
  .cta-band { padding: 50px 26px; }
  .form-card { padding: 26px; }
  .hero-actions .btn, .cta-band .btn { width: 100%; justify-content: center; }
  .mock-float { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
