/* ============================================================
   CLOUDWALKER — Front Page Styles
   Brand: AWS Advanced Partner | Data Analytics | Belgrade
   ============================================================ */

/* ── CLW Brand Colours ──────────────────────────────────────── */
/* Primary:   #00a9e8 (cyan blue)  #5171f6 (indigo)            */
/* Secondary: #2dfeff (cyan)  #d807ff (magenta)  #791ad0 (purple) */
/* Gradients: magenta→indigo→cyan  /  purple→cyan→indigo        */

/* ── All Round Gothic Web Font ──────────────────────────────── */
@font-face {
  font-family: 'All Round Gothic';
  src: url('/public/assets/fonts/AllRoundGothic-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  /* Brand primaries */
  --clw-cyan:       #00a9e8;
  --clw-indigo:     #5171f6;
  /* Brand secondaries */
  --clw-cyan-vivid: #2dfeff;
  --clw-magenta:    #d807ff;
  --clw-purple:     #791ad0;
  /* Neutrals */
  --clw-grey:       #858c91;
  --clw-grey-mid:   #c4cdd1;
  --clw-grey-light: #ebf3f7;

  /* Legacy aliases — mapped to brand values */
  --blue-primary: #00a9e8;
  --blue-light:   #2dfeff;
  --blue-vivid:   #5171f6;
  --blue-cta:     #5171f6;
  --navy:         #0a0a1a;
  --navy-mid:     #12122a;
  --text-dark:    #0a0a1a;
  --text-body:    #3a3a5c;
  --text-muted:   #6b6b8a;
  --text-light:   #9090aa;
  --bg-white:     #FFFFFF;
  --bg-off:       #f4f6fb;
  --bg-card:      #edf0fb;
  --border:       #d0d5ee;
  --border-light: #e4e8f5;
  --accent-link:  #00a9e8;
  --card-blue-start: #5171f6;
  --card-blue-end:   #791ad0;

  /* Brand gradients */
  --grad-1: linear-gradient(135deg, #d807ff 0%, #5171f6 50%, #2dfeff 100%);
  --grad-2: linear-gradient(135deg, #791ad0 0%, #2dfeff 50%, #5171f6 100%);
  --grad-hero: linear-gradient(135deg, #791ad0 0%, #5171f6 45%, #00a9e8 100%);
  --grad-subtle: linear-gradient(135deg, rgba(81,113,246,0.08) 0%, rgba(0,169,232,0.06) 100%);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --transition: 0.22s ease;
  /* All Round Gothic is the brand headline font; Nunito is the web fallback */
  --font-display: 'All Round Gothic', 'Nunito', 'Outfit', sans-serif;
  --font-body: 'Inter', 'DM Sans', sans-serif;
  --max-w: 1160px;
  --gutter: clamp(20px, 5vw, 80px);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-pad {
  padding: 80px 0;
}

.section-pad-lg {
  padding: 100px 0;
}

/* ── Typography ─────────────────────────────────────────────── */
.display-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--bg-white);
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-dark);
}

.section-subtext {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 560px;
}

.label-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-primary);
}

/* ── Arrow Link ─────────────────────────────────────────────── */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-primary);
  transition: gap var(--transition);
}

.arrow-link:hover { gap: 10px; }

.arrow-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--gutter);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img,
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.85;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-white);
  transition: color var(--transition);
}

.navbar.scrolled .nav-logo-text { color: var(--text-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.navbar.scrolled .nav-link {
  color: var(--text-body);
}

.navbar.scrolled .nav-link:hover {
  color: var(--text-dark);
  background: var(--bg-off);
}

.nav-link svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.nav-cta {
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark) !important;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta:hover {
  background: var(--bg-off) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm) !important;
}

.navbar.scrolled .nav-cta {
  background: var(--blue-primary);
  color: #fff !important;
}

.navbar.scrolled .nav-cta:hover {
  background: var(--blue-vivid) !important;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .nav-hamburger span {
  background: var(--text-dark);
}

/* ════════════════════════════════════════════════════════════
   SECTION 1: HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 18, 35, 0.52) 0%,
    rgba(6, 18, 35, 0.32) 50%,
    rgba(6, 18, 35, 0.08) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-inner {
  max-width: 620px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-cta);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--blue-primary);
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(43, 142, 224, 0.4);
}

.hero-cta:hover {
  background: var(--blue-vivid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(43, 142, 224, 0.5);
}

/* ════════════════════════════════════════════════════════════
   SECTION 2: TAGLINE / MANIFESTO
   ════════════════════════════════════════════════════════════ */
.manifesto {
  background: var(--bg-white);
  padding: 100px 0;
  border-bottom: 1px solid var(--border-light);
}

.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 36px;
  max-width: 860px;
}

.manifesto-headline .highlight {
  color: var(--blue-primary);
}

.manifesto-body {
  max-width: 700px;
}

.manifesto-body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}

.manifesto-body p:last-of-type { margin-bottom: 28px; }

.manifesto-body strong { color: var(--text-dark); font-weight: 600; }

/* ════════════════════════════════════════════════════════════
   SECTION 3: VALUE PROPOSITIONS + "BETTER DECISIONS"
   ════════════════════════════════════════════════════════════ */
.value-props {
  background: var(--bg-white);
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--border-light);
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  align-items: start;
}

.value-prop-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.value-prop-icon {
  font-size: 72px;
  line-height: 1;
  color: var(--blue-primary);
  margin-bottom: 4px;
  /* fallback for svg-based icons */
  width: 72px;
  height: 72px;
  display: block;
  flex-shrink: 0;
}

.value-prop-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-primary);
  line-height: 1.35;
}

.value-prop-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
}

/* Better Decisions */
.better-decisions {
  background: var(--bg-white);
  padding: 100px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.better-decisions .section-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 20px;
}

.better-decisions .section-subtext {
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.75;
  max-width: 700px;
}

.better-decisions-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--border-light);
  padding-top: 48px;
}

.bd-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.bd-stat-icon {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
  color: var(--blue-primary);
  opacity: 0.7;
}

.bd-stat-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.bd-stat-label {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.bd-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-light);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .better-decisions-stats {
    flex-wrap: wrap;
    gap: 32px;
  }
  .bd-stat-divider { display: none; }
  .bd-stat { padding: 0 24px; }
}

/* ════════════════════════════════════════════════════════════
   SECTION 4: SERVICES (Level-up)
   ════════════════════════════════════════════════════════════ */
.services {
  background: var(--bg-off);
  padding: 80px 0;
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.services-header-left { max-width: 520px; }

.services-header .section-headline { margin-bottom: 10px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: linear-gradient(160deg, var(--card-blue-start), var(--card-blue-end));
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.28);
}

/* Background photo — hidden by default, revealed on hover */
.service-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.service-card:hover .service-card-bg img {
  opacity: 1;
  transform: scale(1);
}

/* Overlay — strengthens on hover so text stays readable over photo */
.service-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(6, 22, 50, 0.92) 0%,
    rgba(6, 22, 50, 0.55) 55%,
    rgba(10, 35, 80, 0.15) 100%
  );
  transition: background 0.4s ease;
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(
    to top,
    rgba(4, 14, 36, 0.96) 0%,
    rgba(4, 14, 36, 0.65) 55%,
    rgba(4, 14, 36, 0.25) 100%
  );
}

/* Content sits on top */
.service-card-content {
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-content {
  transform: translateY(-4px);
}

.service-card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s ease;
}

.service-card:hover .service-card-icon {
  color: #fff;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.service-card:hover .service-card-desc {
  color: rgba(255,255,255,0.9);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  transition: gap var(--transition);
}

.service-card-link:hover { gap: 10px; }

.service-card-link svg { width: 14px; height: 14px; }

/* ════════════════════════════════════════════════════════════
   SECTION 5: CLOUD SOLUTIONS (Bento Grid)
   ════════════════════════════════════════════════════════════ */
.solutions {
  background: var(--bg-white);
  padding: 80px 0;
}

.solutions-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.solutions-header-left { max-width: 480px; }
.solutions-header .section-headline { margin-bottom: 10px; }

.solutions-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.sol-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  transition: box-shadow var(--transition), transform var(--transition);
}

.sol-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.sol-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.sol-card-body {
  padding: 24px;
}

.sol-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.sol-card-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 16px;
}

/* ════════════════════════════════════════════════════════════
   SECTION 6: SUCCESS STORIES
   ════════════════════════════════════════════════════════════ */
.success {
  background: var(--bg-off);
  padding: 80px 0;
}

.success-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.success-header-left { max-width: 480px; }
.success-header .section-headline { margin-bottom: 10px; }

/* Client logos */
.logos-strip {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}

.logos-strip::-webkit-scrollbar { display: none; }

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 36px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter var(--transition), opacity var(--transition);
  cursor: pointer;
}

.logo-item:hover {
  filter: grayscale(0);
  opacity: 1;
}

.logo-item:last-child { border-right: none; }

.logo-item img {
  height: 32px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

/* Testimonial */
.testimonial-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-meta { text-align: left; }

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 12.5px;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
  padding: 0;
}

.t-dot.active {
  background: var(--blue-primary);
  transform: scale(1.2);
}

/* ════════════════════════════════════════════════════════════
   SECTION 7: NEWS & INSIGHTS
   ════════════════════════════════════════════════════════════ */
.insights {
  background: var(--bg-white);
  padding: 80px 0;
}

.insights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
}

.insights-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.insights-scroll-wrap {
  overflow: hidden;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter);
}

.insights-track {
  display: flex;
  gap: 20px;
  padding: 28px 0 8px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.insights-track::-webkit-scrollbar { display: none; }

.insight-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.insight-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.insight-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--bg-card);
}

.insight-card-img.placeholder {
  background: linear-gradient(135deg, #e8eff7 0%, #d4e4f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-card-body {
  padding: 20px 22px 24px;
}

.insight-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 6px;
}

.insight-card-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.insight-card-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Scroll nav buttons */
.insights-nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.scroll-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  color: var(--text-body);
}

.scroll-btn:hover {
  border-color: var(--blue-primary);
  background: var(--blue-primary);
  color: #fff;
  transform: scale(1.05);
}

.scroll-btn svg { width: 16px; height: 16px; }

/* ════════════════════════════════════════════════════════════
   SECTION 8: CTA BANNER
   ════════════════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, #1A8FE3 0%, #0E5CB5 60%, #0A3F8F 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  background: #fff;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.cta-banner-btn:hover {
  background: #f0f5fc;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 180px;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-cta);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  line-height: 1.4;
}

.footer-link:hover { color: #fff; }

/* Badges column */
.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

.footer-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.footer-badge-wrap {
  background: var(--navy);
  line-height: 0;
}

.footer-badge-img {
  height: 86px;
  width: auto;
  display: block;
  opacity: 0.9;
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-logo-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--blue-primary);
  color: #fff;
}

.footer-social a svg { width: 16px; height: 16px; }

.footer-legal {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.8); }

.footer-legal span { opacity: 0.4; }

.footer-back-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-cta);
  transition: color var(--transition);
}

.footer-back-top:hover { color: var(--blue-light); }
.footer-back-top svg { width: 16px; height: 16px; }

/* ════════════════════════════════════════════════════════════
   DROPDOWN MENUS
   ════════════════════════════════════════════════════════════ */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  padding-top: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 100;
}

/* Bridge the gap so hover isn't lost moving from link to dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item:hover .nav-dropdown,
.nav-item.touch-open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown-link:hover {
  background: var(--bg-off);
  color: var(--text-dark);
}

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.hero-eyebrow { animation: fadeUp 0.6s ease both; animation-delay: 0.1s; }
.hero-headline { animation: fadeUp 0.7s ease both; animation-delay: 0.2s; }
.hero-sub      { animation: fadeUp 0.7s ease both; animation-delay: 0.35s; }
.hero-cta      { animation: fadeUp 0.7s ease both; animation-delay: 0.5s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
  }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13,27,42,0.97);
    padding: 16px 20px 24px;
    gap: 4px;
    z-index: 1001;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    overflow-y: auto;
  }
  .nav-links.open .nav-dropdown {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.06);
    padding: 4px 0 4px 12px;
    margin-top: 4px;
  }
  .nav-hamburger { display: flex; }

  .value-props-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .solutions-header,
  .success-header,
  .insights-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .solutions-bento {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .manifesto-headline {
    font-size: clamp(22px, 5vw, 32px);
  }

  .logos-strip {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .value-props-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .insight-card {
    flex: 0 0 280px;
  }
}

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border-light);
  margin: 0;
}