/* ================================================================
   TE ACQUISITION GROUP — Agency Website Stylesheet
   B2B Contractor Marketing — Foundation & Waterproofing Specialists
   ================================================================
   Structure:
   01. CSS Variables
   02. Reset & Base
   03. Container & Layout
   04. Typography
   05. Buttons
   06. Site Header / Navbar
   07. Hero Section
   08. Trust / Feature Strip
   09. Services Section
   10. Case Studies / Results
   11. Testimonial
   12. CTA Band
   13. Site Footer
   14. Utility Classes
   15. Animations
   16. Responsive — Tablet (≤ 1024px)
   17. Responsive — Mobile  (≤ 768px)
   18. Responsive — Small   (≤ 480px)
   ================================================================ */


/* ================================================================
   01. CSS VARIABLES
   ================================================================ */
:root {
  /* ── Core palette ─────────────────────────────────────────── */
  --navy-deep:    #031525;
  --navy-dark:    #08233d;
  --navy-mid:     #061b2d;
  --blue-brand:   #0f5fa8;
  --blue-accent:  #2389e8;
  --gold:         #f5b82e;
  --gold-hover:   #d99b16;
  --white:        #ffffff;
  --off-white:    #f6f8fb;
  --gray-light:   #e5eaf0;
  --text-muted:   #6b7280;
  --text-dark:    #111827;

  /* ── Gradients ────────────────────────────────────────────── */
  --gradient-hero:
    linear-gradient(
      90deg,
      rgba(3, 21, 37, 0.96) 0%,
      rgba(3, 21, 37, 0.82) 36%,
      rgba(3, 21, 37, 0.30) 72%,
      rgba(3, 21, 37, 0.04) 100%
    );
  --gradient-cta:
    linear-gradient(90deg, #031525 0%, #0a4080 48%, #0f5fa8 100%);
  --gradient-trust:
    linear-gradient(90deg, #0f5fa8 0%, #083060 55%, #061b2d 100%);
  --gradient-dark-section:
    linear-gradient(135deg, rgba(3,21,37,0.94) 0%, rgba(8,35,61,0.86) 100%);

  /* ── Shadows ──────────────────────────────────────────────── */
  --shadow-card:  0 2px 14px rgba(3, 21, 37, 0.07);
  --shadow-hover: 0 14px 40px rgba(3, 21, 37, 0.16);
  --shadow-btn:   0 4px 16px rgba(245, 184, 46, 0.28);

  /* ── Spacing ──────────────────────────────────────────────── */
  --section-pad:  72px;
  --container-w:  1180px;

  /* ── Typography ───────────────────────────────────────────── */
  --font: "Inter", "Montserrat", "Arial", sans-serif;

  /* ── Motion ───────────────────────────────────────────────── */
  --t:      all 0.25s ease;
  --t-fast: all 0.18s ease;

  /* ── Border radius ────────────────────────────────────────── */
  --r:    5px;
  --r-md: 8px;
  --r-lg: 12px;
}


/* ================================================================
   02. RESET & BASE
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin:     0;
  padding:    0;
}

html {
  scroll-behavior:          smooth;
  -webkit-font-smoothing:   antialiased;
  -moz-osx-font-smoothing:  grayscale;
  text-size-adjust:         100%;
  overflow-x:               hidden;
}

body {
  font-family:      var(--font);
  font-size:        16px;
  font-weight:      400;
  line-height:      1.65;
  color:            var(--text-dark);
  background-color: var(--off-white);
  overflow-x:       hidden;
}

img, video, svg {
  display:   block;
  max-width: 100%;
  height:    auto;
}

a {
  text-decoration: none;
  color:           inherit;
  transition:      color 0.20s ease;
}

a:hover { text-decoration: none; }

ul, ol  { list-style: none; }
button  { cursor: pointer; font-family: inherit; border: none; }
input, textarea, select { font-family: inherit; }


/* ================================================================
   03. CONTAINER & LAYOUT
   ================================================================ */
.container {
  width:         min(var(--container-w), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: var(--section-pad) 0;
}

.section-light { background: var(--off-white); }
.section-white { background: var(--white); }
.section-dark  { background: var(--navy-deep); color: var(--white); }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid-2       { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3       { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4       { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }


/* ================================================================
   04. TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family:    var(--font);
  font-weight:    800;
  line-height:    1.12;
  color:          var(--navy-deep);
  letter-spacing: 0.02em;
}

/* Section eyebrow label */
.eyebrow {
  display:        inline-block;
  font-size:      11px;
  font-weight:    700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color:          var(--blue-accent);
  margin-bottom:  12px;
}

/* Section header block */
.section-header {
  text-align:    center;
  margin-bottom: 52px;
}

.section-title {
  font-size:      clamp(26px, 3.4vw, 38px);
  font-weight:    800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color:          var(--navy-deep);
  line-height:    1.1;
  margin-bottom:  10px;
}

.section-title.light { color: var(--white); }

.section-subtitle {
  font-size:   17px;
  font-weight: 400;
  line-height: 1.65;
  color:       var(--text-muted);
  max-width:   580px;
  margin:      16px auto 0;
}

.section-subtitle.light {
  color: rgba(255, 255, 255, 0.78);
}

/* Gold underline accent */
.gold-line {
  display:       block;
  width:         52px;
  height:        3px;
  background:    var(--gold);
  border-radius: 2px;
  margin:        14px auto 0;
}

.gold-line.left { margin-left: 0; }


/* ================================================================
   05. BUTTONS
   ================================================================ */
.btn {
  display:        inline-flex;
  align-items:    center;
  justify-content: center;
  gap:            9px;
  padding:        15px 26px;
  font-family:    var(--font);
  font-size:      12px;
  font-weight:    700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border:         2px solid transparent;
  border-radius:  var(--r);
  cursor:         pointer;
  white-space:    nowrap;
  transition:     var(--t);
  line-height:    1;
}

/* ── Primary: gold fill, dark text */
.btn-primary {
  background:   var(--gold);
  color:        var(--navy-deep);
  border-color: var(--gold);
  box-shadow:   var(--shadow-btn);
}

.btn-primary:hover {
  background:   var(--gold-hover);
  border-color: var(--gold-hover);
  transform:    translateY(-2px);
  box-shadow:   0 8px 28px rgba(245, 184, 46, 0.40);
  color:        var(--navy-deep);
}

/* ── Secondary: white outline */
.btn-secondary,
.btn-outline {
  background:   transparent;
  color:        var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-secondary:hover,
.btn-outline:hover {
  background:   rgba(255, 255, 255, 0.10);
  border-color: var(--white);
  transform:    translateY(-2px);
  color:        var(--white);
}

/* ── Solid blue */
.btn-blue {
  background:   var(--blue-brand);
  color:        var(--white);
  border-color: var(--blue-brand);
}

.btn-blue:hover {
  background:   var(--blue-accent);
  border-color: var(--blue-accent);
  transform:    translateY(-2px);
}

/* ── Dark navy fill */
.btn-dark {
  background:   var(--navy-deep);
  color:        var(--white);
  border-color: var(--navy-deep);
}

.btn-dark:hover {
  background:   var(--navy-mid);
  border-color: var(--navy-mid);
  transform:    translateY(-2px);
}

/* ── Play/circular icon inside button */
.btn-icon {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  width:           22px;
  height:          22px;
  border:          2px solid rgba(255, 255, 255, 0.60);
  border-radius:   50%;
  font-size:       9px;
  flex-shrink:     0;
  line-height:     1;
}

/* ── Sizes */
.btn-sm { padding: 11px 18px; font-size: 11px; }
.btn-lg { padding: 18px 34px; font-size: 13px; }


/* ================================================================
   06. SITE HEADER / NAVBAR
   ================================================================ */
.site-header {
  position:      sticky;
  top:           0;
  z-index:       1000;
  width:         100%;
  background:    var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition:    box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.32);
}

.navbar {
  display:     flex;
  align-items: center;
  height:      88px;
  gap:         40px;
}

/* ── Logo ──────────────────────────────────────────────────── */
.logo {
  flex-shrink:     0;
  display:         flex;
  align-items:     center;
  gap:             12px;
  text-decoration: none;
}

.logo img {
  max-height: 54px;
  width:      auto;
  display:    block;
}

.logo-text {
  font-size:      17px;
  font-weight:    800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color:          var(--white);
  line-height:    1.1;
}

.logo-text span,
.logo-text em {
  color:      var(--gold);
  font-style: normal;
}

.logo-sub {
  font-size:      10px;
  font-weight:    500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          rgba(255, 255, 255, 0.45);
  display:        block;
  margin-top:     2px;
}

/* ── Nav links ─────────────────────────────────────────────── */
.nav-links {
  display:     flex;
  align-items: center;
  gap:         36px;
  margin-left: auto;
}

.nav-links a {
  position:       relative;
  padding-bottom: 4px;
  font-size:      12px;
  font-weight:    700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color:          rgba(255, 255, 255, 0.72);
  transition:     color 0.20s ease;
}

/* Underline draw on hover / active */
.nav-links a::after {
  content:       '';
  position:      absolute;
  bottom:        0; left: 0;
  width:         0;
  height:        2px;
  background:    var(--gold);
  border-radius: 1px;
  transition:    width 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Dropdown placeholder */
.nav-links .has-dropdown { position: relative; }

.nav-links .dropdown {
  display:       none;
  position:      absolute;
  top:           100%;
  left:          0;
  min-width:     200px;
  background:    var(--navy-dark);
  border:        1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r);
  padding:       10px 0;
  margin-top:    8px;
  box-shadow:    0 8px 32px rgba(0, 0, 0, 0.28);
  z-index:       100;
}

.nav-links .has-dropdown:hover .dropdown { display: block; }

.nav-links .dropdown a {
  display:    block;
  padding:    10px 18px;
  font-size:  12px;
  color:      rgba(255, 255, 255, 0.70);
}

.nav-links .dropdown a:hover { color: var(--gold); }
.nav-links .dropdown a::after { display: none; }

/* ── Header CTA ────────────────────────────────────────────── */
.header-cta {
  margin-left: 24px;
  flex-shrink: 0;
}

/* ── Mobile hamburger ──────────────────────────────────────── */
.nav-toggle {
  display:        none;
  flex-direction: column;
  gap:            5px;
  background:     none;
  border:         none;
  padding:        6px;
  cursor:         pointer;
  margin-left:    auto;
}

.nav-toggle span {
  display:       block;
  width:         26px;
  height:        2px;
  background:    var(--white);
  border-radius: 2px;
  transition:    var(--t);
}

.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); }


/* ================================================================
   07. HERO SECTION
   ================================================================ */
.hero {
  position:         relative;
  min-height:       580px;
  display:          flex;
  align-items:      center;
  overflow:         hidden;
  background-color: var(--navy-deep);
  background-image: url('../images/hero-bg.jpg');
  background-size:  cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Left-to-right gradient overlay */
.hero::before {
  content:  '';
  position: absolute;
  inset:    0;
  background: var(--gradient-hero);
  z-index:  1;
}

/* Optional: subtle dark vignette at very top and bottom */
.hero::after {
  content:  '';
  position: absolute;
  inset:    0;
  background:
    linear-gradient(to bottom, rgba(3,21,37,0.30) 0%, transparent 22%),
    linear-gradient(to top,    rgba(3,21,37,0.30) 0%, transparent 22%);
  z-index:  1;
  pointer-events: none;
}

.hero-content {
  position:   relative;
  z-index:    2;
  max-width:  620px;
  padding:    80px 0;
  animation:  heroFadeIn 0.80s ease both;
}

/* ── Eyebrow badge ─────────────────────────────────────────── */
.hero-eyebrow {
  display:        inline-flex;
  align-items:    center;
  gap:            10px;
  font-size:      11px;
  font-weight:    700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color:          var(--gold);
  margin-bottom:  24px;
}

.hero-eyebrow::before {
  content:       '';
  display:       block;
  width:         30px;
  height:        2px;
  background:    var(--gold);
  border-radius: 1px;
  flex-shrink:   0;
}

/* ── Main heading ──────────────────────────────────────────── */
.hero-title {
  font-size:      clamp(42px, 5.5vw, 68px);
  font-weight:    900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color:          var(--white);
  line-height:    1.04;
  margin-bottom:  20px;
}

/* Highlighted word (final line / accent) */
.hero-title span,
.hero-title .blue {
  color: var(--blue-accent);
}

.hero-title .gold { color: var(--gold); }

/* ── Gold rule under heading ───────────────────────────────── */
.hero-rule {
  width:         68px;
  height:        4px;
  background:    var(--gold);
  border-radius: 2px;
  margin-bottom: 26px;
}

/* ── Subtitle ──────────────────────────────────────────────── */
.hero-subtitle {
  font-size:     18px;
  font-weight:   400;
  line-height:   1.68;
  color:         rgba(255, 255, 255, 0.92);
  max-width:     510px;
  margin-bottom: 38px;
}

/* ── CTA row ───────────────────────────────────────────────── */
.hero-actions {
  display:  flex;
  gap:      16px;
  flex-wrap: wrap;
}

/* ── Hero badge / trust pill ───────────────────────────────── */
.hero-badge {
  display:       inline-flex;
  align-items:   center;
  gap:           8px;
  margin-top:    40px;
  padding:       8px 16px;
  background:    rgba(255, 255, 255, 0.06);
  border:        1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size:     12px;
  font-weight:   600;
  letter-spacing: 0.05em;
  color:         rgba(255, 255, 255, 0.65);
}

.hero-badge-dot {
  width:         8px;
  height:        8px;
  border-radius: 50%;
  background:    var(--gold);
  flex-shrink:   0;
}


/* ================================================================
   08. TRUST / FEATURE STRIP
   ================================================================ */
.trust-strip {
  background: var(--gradient-trust);
  padding:    28px 0;
  position:   relative;
  z-index:    2;
}

.trust-grid {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   0;
}

.trust-item {
  display:        flex;
  flex-direction: column;
  align-items:    flex-start;
  padding:        20px 32px;
  position:       relative;
}

/* Vertical separator between items */
.trust-item + .trust-item::before {
  content:    '';
  position:   absolute;
  left:       0;
  top:        14px; bottom: 14px;
  width:      1px;
  background: rgba(255, 255, 255, 0.14);
}

.trust-icon {
  width:         42px;
  height:        42px;
  margin-bottom: 12px;
  color:         var(--gold);
  display:       flex;
  align-items:   center;
  flex-shrink:   0;
}

.trust-icon svg {
  width:        100%;
  height:       100%;
  stroke:       var(--gold);
  stroke-width: 1.5;
  fill:         none;
}

/* Emoji / text icon fallback */
.trust-icon i,
.trust-icon span {
  font-size:   36px;
  line-height: 1;
}

.trust-title {
  font-size:      11px;
  font-weight:    700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color:          var(--white);
  margin-bottom:  5px;
  line-height:    1.2;
}

.trust-text {
  font-size:   13px;
  line-height: 1.48;
  color:       rgba(255, 255, 255, 0.68);
}


/* ================================================================
   09. SERVICES SECTION
   ================================================================ */
.services-grid {
  display:               grid;
  grid-template-columns: repeat(6, 1fr);
  gap:                   18px;
}

.service-card {
  background:    var(--white);
  border:        1px solid rgba(15, 95, 168, 0.09);
  border-radius: var(--r-md);
  padding:       30px 18px 26px;
  text-align:    center;
  transition:    var(--t);
  box-shadow:    var(--shadow-card);
  cursor:        default;
}

.service-card:hover {
  transform:    translateY(-6px);
  box-shadow:   var(--shadow-hover);
  border-color: rgba(35, 137, 232, 0.28);
}

.service-icon {
  width:        52px;
  height:       52px;
  margin:       0 auto 18px;
  display:      flex;
  align-items:  center;
  justify-content: center;
  color:        var(--blue-brand);
}

.service-icon svg {
  width:        100%;
  height:       100%;
  stroke:       var(--blue-brand);
  stroke-width: 1.55;
  fill:         none;
}

.service-icon i,
.service-icon span {
  font-size: 40px;
  color:     var(--blue-brand);
}

.service-title {
  font-size:      12px;
  font-weight:    800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color:          var(--navy-deep);
  margin-bottom:  8px;
  line-height:    1.3;
}

.service-text {
  font-size:   13px;
  line-height: 1.58;
  color:       var(--text-muted);
}

/* Alternate: card with left accent bar */
.service-card-row {
  display:       flex;
  align-items:   flex-start;
  gap:           20px;
  padding:       24px 24px;
  background:    var(--white);
  border-left:   3px solid var(--blue-brand);
  border-radius: var(--r-md);
  box-shadow:    var(--shadow-card);
  transition:    var(--t);
}

.service-card-row:hover {
  transform:   translateY(-3px);
  box-shadow:  var(--shadow-hover);
  border-color: var(--blue-accent);
}


/* ================================================================
   10. CASE STUDIES / RESULTS SECTION
   ================================================================ */
.case-studies {
  position:         relative;
  background-color: var(--navy-dark);
  background-image: url('../images/case-bg.jpg');
  background-size:  cover;
  background-position: center;
  background-attachment: fixed;
  overflow:         hidden;
}

/* Navy/blue cinematic overlay */
.case-studies::before {
  content:    '';
  position:   absolute;
  inset:      0;
  background: var(--gradient-dark-section);
  z-index:    1;
}

.case-studies > .container {
  position: relative;
  z-index:  2;
}

/* Results grid */
.results-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   24px;
}

.result-card {
  background:         rgba(3, 21, 37, 0.55);
  border:             1px solid rgba(255, 255, 255, 0.13);
  border-radius:      var(--r-md);
  padding:            32px 28px;
  backdrop-filter:    blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:         var(--t);
}

.result-card:hover {
  background:   rgba(3, 21, 37, 0.72);
  border-color: rgba(35, 137, 232, 0.38);
  transform:    translateY(-5px);
}

.result-logo {
  margin-bottom: 6px;
  min-height:    38px;
}

.result-logo img {
  max-height: 38px;
  width:      auto;
  filter:     brightness(0) invert(1);
  opacity:    0.78;
}

.result-company {
  font-size:      12px;
  font-weight:    700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--white);
  margin-bottom:  22px;
}

/* Stat grid inside card */
.result-stats {
  display:               grid;
  grid-template-columns: repeat(2, 1fr);
  border-top:            1px solid rgba(255, 255, 255, 0.11);
  border-bottom:         1px solid rgba(255, 255, 255, 0.11);
  margin-bottom:         18px;
}

.stat {
  padding:    18px 10px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.stat-number {
  display:        block;
  font-size:      34px;
  font-weight:    800;
  letter-spacing: -0.02em;
  color:          var(--blue-accent);
  line-height:    1.05;
  margin-bottom:  4px;
}

.stat-number.gold { color: var(--gold); }

.stat-label {
  font-size:      11px;
  font-weight:    600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          rgba(255, 255, 255, 0.50);
  line-height:    1.3;
}

.result-period {
  font-size:      12px;
  font-weight:    600;
  letter-spacing: 0.05em;
  color:          var(--blue-accent);
}


/* ================================================================
   11. TESTIMONIAL SECTION
   ================================================================ */
.testimonial {
  background:    var(--white);
  padding:       64px 0;
  border-top:    1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}

.testimonial-inner {
  display:     flex;
  align-items: center;
  gap:         64px;
}

.testimonial-body {
  flex: 1;
}

/* Large blue decorative quote */
.quote-mark {
  font-family:   Georgia, "Times New Roman", serif;
  font-size:     100px;
  font-weight:   700;
  color:         var(--blue-accent);
  line-height:   0.75;
  margin-bottom: 16px;
  opacity:       0.78;
  user-select:   none;
}

.testimonial-text {
  font-size:     19px;
  font-weight:   400;
  line-height:   1.68;
  color:         var(--navy-deep);
  max-width:     620px;
  margin-bottom: 26px;
}

.testimonial-author {
  display:     flex;
  align-items: center;
  gap:         44px;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width:         96px;
  height:        96px;
  border-radius: 50%;
  object-fit:    cover;
  border:        3px solid var(--gray-light);
}

.author-name {
  font-size:      13px;
  font-weight:    800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color:          var(--blue-brand);
  margin-bottom:  4px;
  line-height:    1.2;
}

.author-role {
  font-size:   13px;
  line-height: 1.45;
  color:       var(--text-muted);
}

/* Star rating */
.stars {
  display:    flex;
  gap:        3px;
  margin-top: 10px;
  color:      var(--gold);
  font-size:  17px;
}

/* Testimonial grid (multiple cards) */
.testimonial-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   24px;
}

.testimonial-card {
  background:    var(--off-white);
  border:        1px solid var(--gray-light);
  border-radius: var(--r-md);
  padding:       28px 24px;
  transition:    var(--t);
}

.testimonial-card:hover {
  transform:  translateY(-4px);
  box-shadow: var(--shadow-hover);
}


/* ================================================================
   12. CTA BAND
   ================================================================ */
.cta-band {
  background: var(--gradient-cta);
  padding:    36px 0;
}

.cta-inner {
  display:     flex;
  align-items: center;
  gap:         28px;
}

.cta-icon {
  display:     flex;
  align-items: center;
  flex-shrink: 0;
}

.cta-icon svg {
  width:        56px;
  height:       56px;
  stroke:       var(--gold);
  stroke-width: 1.5;
  fill:         none;
}

.cta-icon i,
.cta-icon span {
  font-size: 52px;
  color:     var(--gold);
}

.cta-content { flex: 1; }

.cta-title {
  font-size:      22px;
  font-weight:    800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color:          var(--white);
  margin-bottom:  5px;
  line-height:    1.2;
}

.cta-text {
  font-size:   15px;
  line-height: 1.55;
  color:       rgba(255, 255, 255, 0.88);
}

.cta-actions {
  display:     flex;
  align-items: center;
  gap:         14px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Legacy selector */
.cta-band .btn { flex-shrink: 0; }


/* ================================================================
   13. SITE FOOTER
   ================================================================ */
.site-footer {
  background: var(--navy-deep);
  padding:    64px 0 0;
}

.footer-grid {
  display:               grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap:                   52px;
  padding-bottom:        52px;
  border-bottom:         1px solid rgba(255, 255, 255, 0.07);
}

/* Brand column */
.footer-brand {}

.footer-logo {
  margin-bottom: 18px;
}

.footer-logo img {
  max-height: 48px;
  width:      auto;
  filter:     brightness(0) invert(1);
  opacity:    0.88;
}

.footer-logo-text {
  font-size:      18px;
  font-weight:    800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color:          var(--white);
}

.footer-logo-text span { color: var(--gold); }

.footer-tagline {
  font-size:   14px;
  line-height: 1.68;
  color:       rgba(255, 255, 255, 0.48);
  max-width:   270px;
  margin-top:  14px;
}

/* Column headings */
.footer-heading {
  font-size:      10px;
  font-weight:    700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color:          var(--white);
  margin-bottom:  18px;
  padding-bottom: 10px;
  border-bottom:  1px solid rgba(255, 255, 255, 0.08);
}

/* Link lists */
.footer-links {
  display:        flex;
  flex-direction: column;
  gap:            10px;
}

.footer-links a {
  font-size:   13px;
  line-height: 1.5;
  color:       rgba(255, 255, 255, 0.50);
  transition:  color 0.20s ease;
}

.footer-links a:hover { color: var(--gold); }

/* Contact info */
.footer-contact {
  display:        flex;
  flex-direction: column;
  gap:            12px;
}

.footer-contact-item {
  display:     flex;
  gap:         10px;
  font-size:   13px;
  color:       rgba(255, 255, 255, 0.50);
  line-height: 1.5;
  align-items: flex-start;
}

.footer-contact-item svg {
  width:        16px;
  height:       16px;
  stroke:       var(--blue-accent);
  stroke-width: 1.75;
  fill:         none;
  flex-shrink:  0;
  margin-top:   3px;
}

/* Social icons */
.footer-social {
  display:    flex;
  gap:        10px;
  margin-top: 24px;
}

.footer-social a {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           36px;
  height:          36px;
  border:          1px solid rgba(255, 255, 255, 0.14);
  border-radius:   6px;
  color:           rgba(255, 255, 255, 0.50);
  transition:      var(--t);
}

.footer-social a:hover {
  background:   var(--gold);
  border-color: var(--gold);
  color:        var(--navy-deep);
}

.footer-social svg {
  width:        16px;
  height:       16px;
  stroke:       currentColor;
  stroke-width: 1.75;
  fill:         none;
}

/* Bottom bar */
.footer-bottom {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         20px 0;
  gap:             16px;
}

.footer-bottom-left {
  font-size:      12px;
  letter-spacing: 0.03em;
  color:          rgba(255, 255, 255, 0.30);
}

.footer-bottom-right {
  display: flex;
  gap:     24px;
}

.footer-bottom-right a {
  font-size:  12px;
  color:      rgba(255, 255, 255, 0.30);
  transition: color 0.20s ease;
}

.footer-bottom-right a:hover { color: var(--gold); }


/* ================================================================
   14. UTILITY CLASSES
   ================================================================ */
/* Color */
.text-blue   { color: var(--blue-accent) !important; }
.text-gold   { color: var(--gold) !important; }
.text-white  { color: var(--white) !important; }
.text-navy   { color: var(--navy-deep) !important; }
.text-muted  { color: var(--text-muted) !important; }
.text-dark   { color: var(--text-dark) !important; }

/* Background */
.bg-dark     { background: var(--navy-deep) !important; }
.bg-mid      { background: var(--navy-dark) !important; }
.bg-light    { background: var(--off-white) !important; }
.bg-white    { background: var(--white) !important; }
.bg-blue     { background: var(--blue-brand) !important; }
.bg-gold     { background: var(--gold) !important; }

/* Alignment */
.center      { text-align: center !important; }
.left        { text-align: left !important; }
.right       { text-align: right !important; }

/* Font weight */
.fw-900      { font-weight: 900 !important; }
.fw-800      { font-weight: 800 !important; }
.fw-700      { font-weight: 700 !important; }
.fw-400      { font-weight: 400 !important; }

/* Spacing */
.mt-8        { margin-top: 8px; }
.mt-16       { margin-top: 16px; }
.mt-24       { margin-top: 24px; }
.mt-40       { margin-top: 40px; }
.mt-60       { margin-top: 60px; }
.mb-8        { margin-bottom: 8px; }
.mb-16       { margin-bottom: 16px; }
.mb-24       { margin-bottom: 24px; }
.mb-40       { margin-bottom: 40px; }
.mb-60       { margin-bottom: 60px; }

/* Display */
.d-flex      { display: flex; }
.d-grid      { display: grid; }
.d-block     { display: block; }
.d-none      { display: none !important; }

/* Gap */
.gap-8       { gap: 8px; }
.gap-16      { gap: 16px; }
.gap-24      { gap: 24px; }

/* Width */
.w-full      { width: 100%; }
.max-w-sm    { max-width: 480px; }
.max-w-md    { max-width: 640px; }
.max-w-lg    { max-width: 860px; }

/* Divider */
.section-divider {
  width:      100%;
  height:     1px;
  background: var(--gray-light);
  margin:     0;
}

.section-divider.dark {
  background: rgba(255, 255, 255, 0.08);
}

/* Uppercase */
.uppercase      { text-transform: uppercase; }
.letter-wide    { letter-spacing: 0.10em; }
.letter-wider   { letter-spacing: 0.16em; }


/* ================================================================
   15. ANIMATIONS
   ================================================================ */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Scroll-reveal helper:
   Add .reveal to any element. JS adds .visible when in viewport. */
.reveal {
  opacity:   0;
  transform: translateY(22px);
  transition: opacity 0.50s ease, transform 0.50s ease;
}

.reveal.visible {
  opacity:   1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }


/* ================================================================
   16. RESPONSIVE — TABLET (≤ 1024px)
   ================================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 58px; }

  /* Nav */
  .nav-links    { gap: 24px; }
  .header-cta   { display: none; }

  /* Hero */
  .hero-title   { font-size: clamp(38px, 5.2vw, 56px); }
  .hero-content { max-width: 560px; }

  /* Trust strip */
  .trust-grid   { grid-template-columns: repeat(2, 1fr); }
  .trust-item + .trust-item::before { display: none; }
  .trust-item   { border-bottom: 1px solid rgba(255,255,255,0.10); }

  /* Services */
  .services-grid { grid-template-columns: repeat(3, 1fr); }

  /* Results */
  .results-grid  { grid-template-columns: repeat(2, 1fr); }

  /* Testimonial */
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 36px; }
}


/* ================================================================
   17. RESPONSIVE — MOBILE (≤ 768px)
   ================================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 48px; }

  /* Header */
  .navbar       { height: 64px; gap: 0; }
  .nav-links    { display: none; }
  .header-cta   { display: none; }
  .nav-links.open {
    display:        flex;
    flex-direction: column;
    position:       fixed;
    top:            72px;
    left: 0; right: 0;
    background:     var(--navy-dark);
    padding:        24px 20px 32px;
    gap:            20px;
    border-top:     1px solid rgba(255,255,255,0.08);
    box-shadow:     0 16px 40px rgba(0,0,0,0.40);
    z-index:        999;
    animation:      fadeIn 0.22s ease;
  }
  .nav-links.open a { font-size: 13px; }
  .nav-toggle   { display: flex; }

  /* Hero */
  .hero {
    min-height: auto;
    background-attachment: scroll;
  }

  .hero-content {
    padding:   90px 0 80px;
    max-width: 100%;
  }

  .hero-title    { font-size: clamp(32px, 8.5vw, 46px); letter-spacing: 0.06em; }
  .hero-subtitle { font-size: 16px; }
  .hero-actions  { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Trust strip */
  .trust-strip  { padding: 36px 0; }
  .trust-grid   { grid-template-columns: 1fr; }
  .trust-item   { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .trust-item:last-child { border-bottom: none; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .service-card  { padding: 22px 14px; }

  /* Results */
  .results-grid  { grid-template-columns: 1fr; }
  .case-studies  { background-attachment: scroll; }

  /* Testimonial */
  .testimonial-inner {
    flex-direction: column;
    align-items:    flex-start;
    gap:            28px;
  }
  .testimonial-author {
    flex-direction: column;
    align-items:    flex-start;
    gap:            16px;
  }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-text { font-size: 17px; }

  /* CTA band */
  .cta-inner   { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cta-icon    { display: none; }
  .cta-actions { margin-left: 0; width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .cta-band .btn    { margin-left: 0; width: 100%; justify-content: center; }

  /* Footer */
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    align-items:    flex-start;
    gap:            12px;
  }
  .footer-bottom-right { gap: 16px; }

  /* Process steps — single column on mobile */
  .grid-3 { grid-template-columns: 1fr; }

  /* Typography */
  .section-title { font-size: clamp(22px, 6vw, 30px); }
  .section-header { margin-bottom: 36px; }
  .quote-mark     { font-size: 72px; }
}


/* ================================================================
   18. RESPONSIVE — SMALL MOBILE (≤ 480px)
   ================================================================ */
@media (max-width: 480px) {
  .services-grid    { grid-template-columns: 1fr; }

  .result-stats     { grid-template-columns: 1fr; }
  .stat + .stat     {
    border-left:  none;
    border-top:   1px solid rgba(255, 255, 255, 0.11);
  }

  .hero-title       { font-size: clamp(28px, 9vw, 38px); }
  .stat-number      { font-size: 28px; }
  .cta-title        { font-size: 19px; }

  .footer-bottom-right { flex-direction: column; gap: 8px; }
}
