/* ============================================================
   STRATEGEM — Design System & Styles
   Corporate Modern · Navy & Gold · Construction Consultancy
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

/* --- Brand Tokens --- */
:root {
  /* Colors */
  --navy: #1B2738;
  --navy-light: #243347;
  --navy-dark: #111c2a;
  --gold: #F2B148;
  --gold-hover: #d99a30;
  --gold-light: rgba(242, 177, 72, 0.12);
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --body-grey: #4A4A4A;
  --light-grey: #6B7280;
  --border-grey: #E0E0E0;
  --border-light: #F0F0F0;

  /* Typography */
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container-width: 1200px;
  --container-narrow: 900px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(27, 39, 56, 0.06);
  --shadow-md: 0 4px 24px rgba(27, 39, 56, 0.08);
  --shadow-lg: 0 12px 48px rgba(27, 39, 56, 0.12);
  --shadow-gold: 0 4px 24px rgba(242, 177, 72, 0.25);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body-grey);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-out);
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
}

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

.container--narrow {
  max-width: var(--container-narrow);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255, 0.15);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out);
}

.btn:hover::after {
  transform: translateX(0);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
}

.btn--gold:hover {
  background: var(--gold-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border-grey);
}

.btn--outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn .arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* --- Section Shared --- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--grey {
  background: rgba(248, 249, 250, 0.85);
}

.section--navy {
  background: var(--navy);
}

.section--navy h2,
.section--navy h3,
.section--navy p,
.section--navy span {
  color: var(--white);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.section__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section__subtitle {
  font-size: 18px;
  color: #1a1a1a;
  max-width: 600px;
  line-height: 1.6;
}

.section__header {
  margin-bottom: 60px;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__subtitle {
  margin: 0 auto;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: var(--off-white);
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  background: var(--off-white);
  backdrop-filter: none;
  padding: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo-wrap {
  display: flex;
  align-items: center;
}

.nav__logo {
  height: 52px;
  width: auto;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--light-grey);
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
  color: var(--navy);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--active {
  color: var(--navy);
  font-weight: 600;
}

.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  font-size: 13px;
  padding: 10px 24px;
}

/* Mobile Nav Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s var(--ease-out);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: 140px 0 100px;
}

/* Construction industry background for content sections */
.site-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(248, 249, 250, 0.82), rgba(248, 249, 250, 0.82)),
    url('../assets/bg-construction.jpg') center/cover no-repeat fixed;
  pointer-events: none;
}

/* Geometric grid background */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(242, 177, 72, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 177, 72, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(600px) rotateX(30deg);
  transform-origin: center top;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 20%, transparent 70%);
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 177, 72, 0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: pulseGlow 8s ease-in-out infinite;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(242, 177, 72, 0.05) 0%, transparent 70%);
  bottom: -50px;
  left: 10%;
  top: auto;
  right: auto;
  animation-delay: -4s;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

/* ── Hero two-column layout ──────────────────────────────── */
.hero__layout {
  display: flex;
  align-items: center;
  gap: 56px;
  width: 100%;
}

.hero__layout .hero__content {
  flex: 0 0 52%;
  max-width: 52%;
}

.hero__testimonials {
  flex: 1;
  position: relative;
  min-height: 270px;
  z-index: 2;
}

.hero-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 28px 30px;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hero-card.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.hero-card__star {
  color: #F2B148;
  font-size: 16px;
}

.hero-card__quote {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 20px;
  font-style: italic;
}

.hero-card__author {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.hero-card__company {
  font-size: 12.5px;
  color: #F2B148;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero {
    align-items: flex-start;        /* stop vertical centering on mobile */
    padding-bottom: 260px;          /* clear the 2-row stats bar (~216px) + gap */
  }
  .hero__layout {
    flex-direction: column;
    gap: 32px;
  }
  .hero__layout .hero__content {
    flex: none;
    max-width: 100%;
  }
  .hero__testimonials {
    width: 100%;
    min-height: 310px;              /* tall enough for longest quote + author block */
  }
}


.hero__logo {
  height: clamp(48px, 6vw, 72px);
  width: auto;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.15s forwards;
  filter: drop-shadow(0 2px 12px rgba(242, 177, 72, 0.2));
}

.hero__title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.35s forwards;
}

.hero__title .highlight {
  color: var(--gold);
  position: relative;
}

.hero__desc {
  font-size: 19px;
  color: rgba(255,255,255, 0.65);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.65s forwards;
}

/* Stats bar at bottom of hero */
.hero__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(27, 39, 56, 0.6);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(242, 177, 72, 0.15);
}

.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.hero__stat {
  text-align: center;
  padding: 28px 16px;
  position: relative;
}

.hero__stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255, 0.1);
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.hero__stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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


/* ============================================================
   SCROLLING TICKER
   ============================================================ */
.ticker {
  background: var(--gold);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 45s linear infinite;
}

.ticker__track:hover {
  animation-play-state: paused;
}

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

.ticker__item {
  display: inline-flex;
  align-items: center;
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.ticker__item strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  margin-right: 6px;
}

.ticker__divider {
  display: inline-block;
  margin: 0 24px;
  font-size: 8px;
  color: rgba(27, 39, 56, 0.35);
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ============================================================
   TOOL SHOWCASE SECTIONS
   ============================================================ */
.tool-showcase {
  padding: var(--section-pad) 0;
}

.tool-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.tool-showcase__grid--reverse {
  grid-template-columns: 1.15fr 1fr;
}

.tool-showcase__grid--reverse .tool-showcase__content {
  order: 2;
}

.tool-showcase__grid--reverse .tool-showcase__preview {
  order: 1;
}

.tool-showcase__content {
  position: relative;
}

.tool-showcase__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-hover);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.tool-showcase__title {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.tool-showcase__desc {
  font-size: 17px;
  color: #2a2a2a;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.tool-showcase__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.tool-showcase__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #2a2a2a;
}

.tool-showcase__feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.tool-showcase__feature-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
}

/* Preview / Device Frame */
.tool-showcase__preview {
  position: relative;
}

.tool-showcase__device {
  position: relative;
  background: var(--navy);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.tool-showcase__device:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(27, 39, 56, 0.2);
}

.tool-showcase__device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  margin-bottom: 2px;
}

.tool-showcase__device-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255, 0.15);
}

.tool-showcase__device-dot:first-child { background: #ff5f57; }
.tool-showcase__device-dot:nth-child(2) { background: #febc2e; }
.tool-showcase__device-dot:nth-child(3) { background: #28c840; }

.tool-showcase__device-url {
  flex: 1;
  margin-left: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(255,255,255, 0.08);
  font-size: 11px;
  color: rgba(255,255,255, 0.4);
  font-family: monospace;
}

.tool-showcase__mockup {
  position: relative;
  background: var(--off-white);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}

.tool-showcase__mockup-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  background: #0b1929;
  min-height: 100%;
}

/* Animated dashboard bars */
.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
  padding: 0 20px;
  width: 100%;
  max-width: 320px;
}

.mockup-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: height 1.2s var(--ease-out);
}

.mockup-bar--navy { background: var(--navy); }
.mockup-bar--gold { background: var(--gold); }
.mockup-bar--grey { background: var(--border-grey); }

/* Animated counters in mockup */
.mockup-stats {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 320px;
}

.mockup-stat-card {
  flex: 1;
  background: var(--white);
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.mockup-stat-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.mockup-stat-label {
  font-size: 10px;
  color: var(--light-grey);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* Calculator mockup specific */
.mockup-calc {
  width: 100%;
  max-width: 280px;
  padding: 0 20px;
}

.mockup-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}

.mockup-calc-label {
  color: var(--light-grey);
}

.mockup-calc-value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
}

.mockup-calc-total {
  border-bottom: none;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 2px solid var(--navy);
}

.mockup-calc-total .mockup-calc-value {
  font-size: 22px;
  color: var(--gold-hover);
}

/* CTA overlay on mockup */
.tool-showcase__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(27, 39, 56, 0);
  transition: background 0.4s var(--ease-out);
  border-radius: 0 0 8px 8px;
  cursor: pointer;
  z-index: 2;
}

.tool-showcase__overlay-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--ease-out);
}

.tool-showcase__overlay-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-gold);
}

.tool-showcase__overlay-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.tool-showcase__mockup:hover .tool-showcase__overlay,
.tool-showcase__mockup-wrap:hover .tool-showcase__overlay {
  background: rgba(27, 39, 56, 0.85);
}

.tool-showcase__mockup:hover .tool-showcase__overlay-icon,
.tool-showcase__mockup-wrap:hover .tool-showcase__overlay-icon {
  opacity: 1;
  transform: scale(1);
}

.tool-showcase__mockup:hover .tool-showcase__overlay-text,
.tool-showcase__mockup-wrap:hover .tool-showcase__overlay-text {
  opacity: 1;
  transform: translateY(0);
}


/* ---- Pulsing CTA Button ---- */
.btn--pulse {
  animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 177, 72, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(242, 177, 72, 0); }
}

.btn--pulse:hover {
  animation: none;
}


/* ---- Interactive Device Frame ---- */
.tool-showcase__device--interactive {
  cursor: pointer;
  position: relative;
}

.tool-showcase__mockup-wrap {
  position: relative;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  background: #0b1929;
  aspect-ratio: 16/10;
  cursor: pointer;
}

/* Floating "Try It" Badge */
.device-try-badge {
  position: absolute;
  top: 48px;
  right: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(242, 177, 72, 0.4);
  animation: badgeBounce 3s ease-in-out infinite;
}

.device-try-badge svg { stroke: var(--white); }

.device-try-badge__ping {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid var(--gold);
  animation: pingOut 3s ease-in-out infinite;
}

@keyframes badgeBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes pingOut {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.3); }
  100% { opacity: 0; transform: scale(1.3); }
}


/* ---- Rich Dashboard Mockup (Dark Professional) ---- */
.dashboard-mock,
.calc-mock {
  padding: 0;
  gap: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #0b1929;
  min-height: 100%;
}

/* -- Dashboard Top Banner (teal metrics) -- */
.dash-top-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  width: 100%;
}

.dash-top-item {
  background: #0f2236;
  padding: 12px 10px;
  text-align: center;
}

.dash-top-label {
  font-size: 7px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.dash-top-value {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #3ce8c0;
  line-height: 1.2;
}

.dash-top-value--highlight { color: #3ce8c0; }

/* -- Chart Area -- */
.dash-chart-area {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.04);
  width: 100%;
  flex: 1;
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: #0b1929;
  padding: 16px 12px 10px;
  height: auto;
  min-height: 110px;
  box-shadow: none;
  border-radius: 0;
}

.dash-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  height: 100%;
}

.dash-bar-pair {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  flex: 1;
  width: 100%;
}

.dash-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  height: 0;
  transition: height 1.2s var(--ease-out);
}

.dash-bar--navy { background: #1a3a5c; }
.dash-bar--gold { background: var(--gold); }
.dash-bar--teal { background: #3ce8c0; }

.dash-bar-label {
  font-size: 7px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* -- Donut chart -- */
.dash-donut-wrap {
  background: #0b1929;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: none;
  border-radius: 0;
}

.dash-donut { width: 72px; height: 72px; }

.dash-donut-center {
  position: absolute;
  top: 40px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.dash-donut-legend {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.dash-donut-legend span {
  font-size: 7px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 3px;
}

.dash-donut-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 2px;
}


/* -- Calculator Mockup (Dark Professional) -- */
.calc-hero-display {
  text-align: center;
  padding: 16px 14px;
  background: #0f2236;
  width: 100%;
}

.calc-hero-label {
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.calc-hero-amount {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  color: #3ce8c0;
  line-height: 1.1;
}

.calc-hero-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

.calc-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.04);
}

.calc-stat-card {
  background: #0b1929;
  padding: 12px;
  text-align: center;
  box-shadow: none;
  border-radius: 0;
}

.calc-stat-value {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.calc-stat-label {
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}

.calc-annual {
  background: #0b1929;
  padding: 12px;
  text-align: center;
  box-shadow: none;
  border-radius: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.calc-annual-label {
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 2px;
}

.calc-annual-value {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #3ce8c0;
}

.calc-distribution {
  background: #0b1929;
  padding: 10px 12px;
  box-shadow: none;
  border-radius: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.calc-dist-bar-track {
  display: flex;
  gap: 4px;
  height: 28px;
  align-items: flex-end;
}

.calc-dist-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  transition: height 1s var(--ease-out);
  height: 0;
}

.calc-dist-bar--1 { background: #1a3a5c; }
.calc-dist-bar--2 { background: #3ce8c0; }
.calc-dist-bar--3 { background: var(--gold); }
.calc-dist-bar--4 { background: #3ce8c0; }

.calc-dist-labels {
  display: flex;
  justify-content: space-around;
  margin-top: 4px;
}

.calc-dist-labels span {
  font-size: 7px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

/* ============================================================
   TRAINING & EDUCATION
   ============================================================ */
.training__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.training__left {
  position: sticky;
  top: 120px;
}

.training__tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.training__tab {
  position: relative;
  padding: 20px 24px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border-grey);
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}

.training__tab::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.3s;
}

.training__tab:hover {
  border-color: var(--gold);
}

.training__tab.active {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.training__tab.active::before {
  background: var(--gold);
}

.training__tab-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.training__tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}

.training__tab.active .training__tab-icon {
  background: var(--gold);
}

.training__tab-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  transition: stroke 0.3s;
}

.training__tab.active .training__tab-icon svg {
  stroke: var(--white);
}

.training__tab-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}

.training__tab-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), margin-top 0.5s var(--ease-out);
  margin-top: 0;
}

.training__tab.active .training__tab-body {
  max-height: 200px;
  margin-top: 16px;
}

.training__tab-desc {
  font-size: 15px;
  color: #2a2a2a;
  line-height: 1.6;
  padding-left: 58px;
}

/* Delivery Model */
.delivery {
  margin-top: 48px;
}

.delivery__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

.delivery__steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.delivery__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--border-grey);
}

.delivery__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.delivery__step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out);
}

.delivery__step:hover .delivery__step-icon {
  border-color: var(--gold);
  background: var(--gold-light);
}

.delivery__step-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2;
}

.delivery__step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
}


/* ============================================================
   CONSULTING SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  transition: all 0.5s var(--ease-out);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.4s;
}

.service-card:hover .service-card__icon {
  background: var(--gold);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  transition: stroke 0.3s;
}

.service-card:hover .service-card__icon svg {
  stroke: var(--white);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 15px;
  color: var(--light-grey);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--body-grey);
}

.service-card__item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}


/* ============================================================
   DIGITAL SOLUTIONS (Navy section)
   ============================================================ */
.digital__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.digital-card {
  padding: 36px 32px;
  background: rgba(255,255,255, 0.05);
  border: 1px solid rgba(255,255,255, 0.1);
  border-radius: 8px;
  transition: all 0.5s var(--ease-out);
}

.digital-card:hover {
  background: rgba(255,255,255, 0.08);
  border-color: rgba(242, 177, 72, 0.3);
  transform: translateY(-4px);
}

.digital-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(242, 177, 72, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.digital-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

.digital-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.digital-card__desc {
  font-size: 15px;
  color: rgba(255,255,255, 0.6);
  line-height: 1.6;
}


/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  padding: 80px 0;
  background: var(--gold);
  overflow: hidden;
  text-align: center;
}

.cta-band__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.cta-band__content {
  position: relative;
  z-index: 2;
}

.cta-band__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-band__subtitle {
  font-size: 18px;
  color: rgba(255,255,255, 0.85);
  margin-bottom: 32px;
}

.cta-band .btn--navy {
  font-size: 15px;
  padding: 18px 40px;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--border-grey);
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Contact Info Side */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: space-between;
}

.contact-info__block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-info__title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-info__text {
  font-size: 15px;
  color: var(--light-grey);
  line-height: 1.6;
}

.contact-info__text a {
  color: var(--gold-hover);
  font-weight: 500;
}

.contact-info__text a:hover {
  text-decoration: underline;
}

/* Discovery Call Card */
.discovery-card {
  padding: 32px;
  background: var(--navy);
  border-radius: 8px;
  color: var(--white);
}

.discovery-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.discovery-card__desc {
  font-size: 15px;
  color: rgba(255,255,255, 0.65);
  line-height: 1.6;
  margin-bottom: 20px;
}

.discovery-card__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.discovery-card__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255, 0.8);
}

.discovery-card__item svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  flex-shrink: 0;
}


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

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  height: 36px;
  margin-bottom: 16px;
  filter: none;
}

.footer__brand-desc {
  font-size: 14px;
  color: rgba(255,255,255, 0.45);
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255,255,255, 0.08);
  transition: all 0.3s var(--ease-out);
}

.footer__social-link:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255, 0.5);
  transition: fill 0.3s;
}

.footer__social-link:hover svg {
  fill: var(--white);
}

.footer__column-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer__link {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255, 0.45);
  padding: 4px 0;
  transition: color 0.3s;
}

.footer__link:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255, 0.3);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal-link {
  font-size: 13px;
  color: rgba(255,255,255, 0.4);
  transition: color 0.3s;
}

.footer__legal-link:hover {
  color: var(--gold);
}


/* ============================================================
   TOOL MODAL (Full-screen overlay)
   ============================================================ */
.tool-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  background: rgba(27, 39, 56, 0.95);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
}

.tool-modal.active {
  opacity: 1;
  visibility: visible;
}

.tool-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255, 0.1);
}

.tool-modal__title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.tool-modal__close {
  padding: 8px 20px;
  border-radius: 6px;
  border: none;
  background: var(--gold);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tool-modal__close:hover {
  background: var(--gold-hover);
  box-shadow: var(--shadow-gold);
}

.tool-modal__body {
  flex: 1;
  position: relative;
}

.tool-modal__iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.tool-modal__loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--navy);
  transition: opacity 0.5s;
}

.tool-modal__loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.tool-modal__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255, 0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.tool-modal__loader-text {
  font-size: 14px;
  color: rgba(255,255,255, 0.5);
}

/* Fallback link */
.tool-modal__fallback {
  display: none;
  text-align: center;
  padding: 40px;
}

.tool-modal__fallback p {
  color: rgba(255,255,255, 0.6);
  margin-bottom: 20px;
}


/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}


/* ============================================================
   SUBPAGE SHARED (About, Blog, Associates)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 160px 0 80px;
  text-align: center;
}

.page-hero__title {
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero__desc {
  font-size: 18px;
  color: rgba(255,255,255, 0.6);
  max-width: 560px;
  margin: 0 auto;
}

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

.page-content p {
  margin-bottom: 20px;
}

.page-placeholder {
  text-align: center;
  padding: 80px 24px;
  color: var(--light-grey);
  font-size: 17px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tool-showcase__grid,
  .tool-showcase__grid--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tool-showcase__grid--reverse .tool-showcase__content { order: 1; }
  .tool-showcase__grid--reverse .tool-showcase__preview { order: 2; }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .digital__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .training__left {
    position: static;
  }

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

  .footer__top {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__stat:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  body { font-size: 16px; }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 8px;
    transition: right 0.4s var(--ease-out);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__link {
    font-size: 16px;
    padding: 10px 0;
    width: 100%;
  }

  .nav__toggle {
    display: flex;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero__tools {
    flex-direction: column;
    gap: 16px;
  }

  .delivery__steps {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .delivery__steps::before {
    display: none;
  }

  .mockup-chart { height: 80px; }
}

@media (max-width: 480px) {
  .hero {
    padding-bottom: 220px;          /* 2-row stats bar with smaller cells + gap */
  }

  .hero__testimonials {
    min-height: 300px;
  }

  .hero-card {
    padding: 22px 20px;
  }

  .hero-card__quote {
    font-size: 13.5px;
  }

  .hero__stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stat {
    padding: 20px 12px;
  }

  .hero__stat-number {
    font-size: 24px;
  }
}
