/* ===== DESIGN TOKENS ===== */
:root {
  --navy:        #0b1f3a;
  --navy-deep:   #081627;
  --navy-soft:   #16335c;
  --gold:        #d99a2b;
  --gold-light:  #f0b94a;
  --ink:         #1c2333;
  --muted:       #6b7280;
  --line:        #e7e9ee;
  --bg:          #ffffff;
  --bg-soft:     #f6f7fb;
  --white:       #ffffff;
  --radius:      14px;
  --shadow-sm:   0 4px 14px rgba(11, 31, 58, .06);
  --shadow-md:   0 14px 40px rgba(11, 31, 58, .12);
  --max:         1180px;
  --serif:       'Lora', Georgia, serif;
  --sans:        'Lato', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.section { padding: 86px 0; }

.eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--serif);
  text-align: center;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-lead {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
  color: var(--muted);
  font-size: 16px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn i { font-size: 13px; }
.btn-primary { background: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 24px rgba(217,154,43,.35); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: var(--white); box-shadow: 0 6px 22px rgba(11,31,58,.10); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 78px; }

.brand { display: flex; align-items: center; gap: 13px; color: var(--navy); }
.brand-mark {
  width: 48px; height: 48px; flex: none;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  border: 1.5px solid #d7dbe3;
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--serif); font-weight: 700; font-size: 26px;
  background: var(--white);
}
.brand-mark::before { content: 'T'; display: grid; place-items: center; color: var(--navy); padding-right: 1px; }
.brand-mark::after  { content: 'B'; display: grid; place-items: center; color: var(--gold); background: linear-gradient(180deg,#fbf2dd,#f4e3bd); margin-left: -8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong { font-size: 20px; letter-spacing: 1.5px; color: var(--navy); }
.brand-text small { font-size: 10px; letter-spacing: 2.5px; color: #8a94a6; }

.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { color: #3a4459; font-size: 14.5px; font-weight: 500; position: relative; padding: 4px 0; transition: color .2s; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.main-nav a.active::after, .main-nav a:hover::after { width: 100%; }

.header-cta { padding: 11px 20px; font-size: 14px; background: var(--navy); color: var(--white); box-shadow: 0 8px 20px rgba(11,31,58,.22); }
.header-cta:hover { background: var(--navy-soft); transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; margin-left: auto; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex; align-items: center;
  padding: 128px 0 56px;
  background: #0b1f3a url("images/hero.jpg") no-repeat right center;
  background-size: cover;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,18,39,.96) 0%, rgba(9,22,46,.85) 34%, rgba(10,26,55,.45) 55%, rgba(10,26,55,.15) 75%, rgba(10,26,55,0) 100%),
    radial-gradient(circle at 80% 30%, rgba(217,154,43,.12), transparent 45%);
}
.hero-grid { position: relative; z-index: 2; }
.hero-copy { max-width: 680px; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--gold-light); }
.hero-sub { color: #cdd6e4; font-size: 15.5px; max-width: 470px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-badges li { display: flex; align-items: center; gap: 8px; color: #e3e9f2; font-size: 13.5px; font-weight: 500; }
.hero-badges i { color: var(--gold); }

/* ===== SERVICES ===== */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
}
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 16px 30px;
  text-align: center;
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.service-icon {
  display: block; margin: 0 auto 20px;
  color: var(--navy); font-size: 38px;
  line-height: 1;
  transition: color .25s ease, transform .25s ease;
}
.service-card:hover .service-icon { color: var(--gold); transform: translateY(-2px); }
.service-card h3 {
  font-family: var(--serif);
  font-size: 17px; color: var(--navy); margin-bottom: 12px; font-weight: 600;
}
.service-card p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.center-link { text-align: center; margin-top: 44px; }
.text-link { color: var(--gold); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: gap .2s; }
.text-link:hover { gap: 14px; }

/* ===== INDUSTRIES ===== */
.industries { background: var(--bg-soft); }
.industries-bar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 26px 22px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.industry { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 10px 6px; border-radius: 12px; transition: background .2s, transform .2s; }
.industry i { font-size: 26px; color: var(--navy); transition: color .2s; }
.industry span { font-size: 13px; font-weight: 600; color: var(--ink); }
.industry:hover { background: var(--bg-soft); transform: translateY(-4px); }
.industry:hover i { color: var(--gold); }
.industry-link { color: var(--gold); font-weight: 600; flex-direction: row; gap: 8px; font-size: 13.5px; }
.industry-link i { font-size: 13px; color: var(--gold); }

/* ===== STATS ===== */
.stats { padding: 26px 0; background: var(--bg-soft); }
.stats .container {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-soft));
  border-radius: 18px;
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
}
.stats-head {
  text-align: center; text-transform: uppercase; letter-spacing: 2.5px;
  font-size: 12px; font-weight: 600; color: var(--gold); margin-bottom: 26px;
}
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.stat { display: flex; align-items: center; gap: 14px; justify-content: center; }
.stat i { font-size: 24px; color: var(--gold); }
.stat strong { font-family: var(--serif); font-size: 30px; color: var(--white); display: block; line-height: 1; }
.stat span { font-size: 12.5px; color: #c6d0e0; }

/* ===== WHY ===== */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }

.compare-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table th { padding: 16px 18px; text-align: left; font-size: 15px; }
.compare-table thead th { background: #eef0f4; color: var(--ink); }
.compare-table thead th.highlight { background: var(--navy); color: var(--white); }
.compare-table td { padding: 14px 18px; font-size: 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.compare-table td i { margin-right: 8px; }
.compare-table td .fa-xmark { color: #c0392b; }
.compare-table td.highlight { color: var(--ink); font-weight: 500; background: #fbfcfe; }
.compare-table td.highlight i { color: #1e9e54; }
.compare-table tbody tr:hover td { background: #f4f6fa; }
.compare-table tbody tr:hover td.highlight { background: #eef6f1; }

.diff-eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 600; color: var(--gold); margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.diff-eyebrow::after { content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; background: var(--gold); border-radius: 2px; }
.differentiators ul { display: flex; flex-direction: column; gap: 18px; }
.differentiators li { display: flex; gap: 16px; }
.differentiators li i { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--bg-soft); color: var(--navy); font-size: 16px; }
.differentiators strong { display: block; color: var(--navy); font-size: 15px; }
.differentiators span { color: var(--muted); font-size: 13.5px; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg-soft); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote-mark { font-family: var(--serif); font-size: 60px; color: var(--gold); line-height: .6; opacity: .35; }
.testimonial blockquote { color: var(--ink); font-size: 14.5px; margin: 8px 0 24px; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--gold-light); font-weight: 700; font-size: 15px;
}
.testimonial figcaption strong { display: block; color: var(--navy); font-size: 14.5px; }
.testimonial figcaption small { color: var(--muted); font-size: 12.5px; }
.dots { display: flex; justify-content: center; gap: 9px; margin-top: 32px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #cfd6e2; transition: .2s; }
.dot.active { background: var(--gold); width: 26px; border-radius: 6px; }

/* ===== CTA ===== */
.cta-band {
  position: relative;
  padding: 84px 0;
  background: linear-gradient(110deg, var(--navy-deep) 0%, var(--navy-soft) 100%);
  overflow: hidden;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1400&q=80");
  background-size: cover; background-position: right center;
  opacity: .22;
  mix-blend-mode: luminosity;
}
.cta-inner { position: relative; z-index: 2; }
.cta-copy { max-width: 620px; }
.cta-copy h2 { font-family: var(--serif); color: var(--white); font-size: clamp(26px, 3.6vw, 40px); line-height: 1.2; margin-bottom: 18px; }
.cta-copy p { color: #cdd6e4; font-size: 16px; margin-bottom: 30px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-deep); color: #c3cdde; padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding-bottom: 48px;
}
.brand-light { margin-bottom: 18px; }
.brand-light .brand-text strong { color: var(--white); }
.brand-light .brand-text small { color: #aab6c8; }
.footer-brand p { font-size: 14px; max-width: 280px; margin-bottom: 20px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #c3cdde; transition: .2s; }
.socials a:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-3px); }

.footer-col h4 { color: var(--white); font-size: 15.5px; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13.5px; color: #aab6c8; margin-bottom: 11px; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact p { font-size: 13.5px; display: flex; gap: 11px; margin-bottom: 14px; line-height: 1.5; }
.footer-contact i { color: var(--gold); margin-top: 4px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: #93a0b4; }
.legal-links { display: flex; gap: 22px; }
.legal-links a:hover { color: var(--gold); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--navy-deep);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-light); }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .industries-bar { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .stat { flex-direction: column; text-align: center; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 880px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--navy-deep); padding: 10px 24px 20px;
    box-shadow: 0 16px 30px rgba(0,0,0,.3);
  }
  .main-nav.open a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-bar { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 120px; min-height: auto; background-position: 72% center; }
  .hero-overlay { background:
      linear-gradient(180deg, rgba(8,18,39,.92) 0%, rgba(9,22,46,.82) 60%, rgba(10,26,55,.78) 100%),
      radial-gradient(circle at 80% 20%, rgba(217,154,43,.12), transparent 50%); }
  .hero-badges { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions, .cta-copy .hero-actions { width: 100%; }
}

@media (max-width: 400px) {
  .services-grid, .industries-bar, .footer-grid, .stats-grid { grid-template-columns: 1fr; }
}
