/* ============================================================
   SMARKIT — Production Stylesheet
   Mobile-first · WCAG 2.1 AA · Optimised for Core Web Vitals
   Design System: Montserrat (headings) + Open Sans (body)
   ============================================================ */

/* ──────────────────────────────────────────────────────────────
   1. DESIGN TOKENS (CSS Custom Properties)
────────────────────────────────────────────────────────────── */
:root {
  /* Brand colours */
  --clr-blue-dark:   #033D84;
  --clr-blue-light:  #27B1BB;
  --clr-blue-hover:  #1A5DC0;
  --clr-blue-active: #022A60;

  /* UI backgrounds */
  --clr-bg-white:  #FFFFFF;
  --clr-bg-subtle: #EEF3FB;
  --clr-bg-teal:   #E8F8FA;
  --clr-footer-bg: #0A1628;

  /* Text */
  --clr-text-primary:   #1A1A2E;
  --clr-text-secondary: #555555;
  --clr-text-muted:     #888888;

  /* Status */
  --clr-success: #1A7A45;
  --clr-error:   #EF4444;
  --clr-divider: #CBD5E8;

  /* Disabled */
  --clr-disabled-bg:   #E8ECF4;
  --clr-disabled-text: #B0BDD1;

  /* Typography */
  --font-heading: 'Montserrat', 'Georgia', serif;
  --font-body:    'Open Sans', 'Helvetica Neue', sans-serif;

  /* Type scale (fluid) */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  2rem;       /* 32px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  clamp(2rem, 5vw, 3rem); /* 32–48px fluid */
  --text-hero: clamp(1.875rem, 7vw, 4rem); /* 30–64px fluid — smoother on small phones */

  /* Spacing (8px grid) */
  --sp-1:  0.25rem;  /* 4px  */
  --sp-2:  0.5rem;   /* 8px  */
  --sp-3:  0.75rem;  /* 12px */
  --sp-4:  1rem;     /* 16px */
  --sp-5:  1.25rem;  /* 20px */
  --sp-6:  1.5rem;   /* 24px */
  --sp-8:  2rem;     /* 32px */
  --sp-10: 2.5rem;   /* 40px */
  --sp-12: 3rem;     /* 48px */
  --sp-16: 4rem;     /* 64px */
  --sp-20: 5rem;     /* 80px */
  --sp-24: 6rem;     /* 96px */
  --sp-30: 7.5rem;   /* 120px */

  /* Border radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-xxl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:      0 2px 8px rgba(3,61,132,0.06);
  --shadow-md:      0 4px 24px rgba(3,61,132,0.08);
  --shadow-lg:      0 8px 40px rgba(3,61,132,0.12);
  --shadow-hover:   0 12px 40px rgba(3,61,132,0.16);
  --shadow-btn:     0 4px 16px rgba(3,61,132,0.30);
  --shadow-btn-h:   0 8px 24px rgba(3,61,132,0.40);
  --shadow-nav:     0 2px 20px rgba(0,0,0,0.08);
  --shadow-drawer:  0 32px 80px rgba(0,0,0,0.30);

  /* Motion */
  --dur-fast:   80ms;
  --dur-normal: 150ms;
  --dur-medium: 200ms;
  --dur-slow:   300ms;
  --dur-xslow:  400ms;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1200px;
  --nav-h-desktop: 72px;
  --nav-h-mobile:  56px;
}

/* ──────────────────────────────────────────────────────────────
   2. RESET & BASE
────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Respect user's motion preference — remove all animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--clr-text-primary);
  background: var(--clr-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.loaded { /* Flash of unstyled content prevention — see JS */ }

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

a { color: inherit; }

ul[role="list"], ol[role="list"] { list-style: none; }

/* ──────────────────────────────────────────────────────────────
   3. SKIP LINK
────────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-3) var(--sp-6);
  background: var(--clr-blue-dark);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md);
}
.skip-link:focus {
  top: var(--sp-4);
  outline: 2px solid var(--clr-blue-light);
  outline-offset: 2px;
}

/* ──────────────────────────────────────────────────────────────
   4. LAYOUT UTILITIES
────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-5); /* 20px mobile */
}

@media (min-width: 768px)  { .container { padding-inline: var(--sp-8);  } }
@media (min-width: 1440px) { .container { padding-inline: var(--sp-20); } }

.section {
  padding-block: var(--sp-12); /* 48px mobile */
  scroll-margin-top: calc(var(--nav-h-mobile) + var(--sp-4)); /* offset fixed nav on anchor links */
}
@media (min-width: 768px)  { .section { padding-block: var(--sp-16); } } /* 64px tablet */
@media (min-width: 1024px) {
  .section {
    padding-block: var(--sp-30);  /* 120px desktop */
    scroll-margin-top: calc(var(--nav-h-desktop) + var(--sp-4));
  }
}

.section--subtle { background: var(--clr-bg-subtle); }

.section-header {
  text-align: center;
  margin-bottom: var(--sp-8); /* 32px mobile */
}
@media (min-width: 768px) { .section-header { margin-bottom: var(--sp-12); } } /* 48px tablet+ */
.section-header .badge { margin-bottom: var(--sp-4); }

.section-headline {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-blue-dark);
  max-width: 640px;
  margin-inline: auto;
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--clr-text-secondary);
  max-width: 560px;
  margin-inline: auto;
  margin-top: var(--sp-4);
}

.section-cta-block {
  text-align: center;
  margin-top: var(--sp-16);
}
.section-cta-label {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--clr-blue-dark);
  margin-bottom: var(--sp-4);
}

/* ──────────────────────────────────────────────────────────────
   5. BADGES
────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  background: var(--clr-bg-teal);
  color: var(--clr-blue-dark);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.badge-ghost {
  background: transparent;
  border: 1px solid var(--clr-blue-light);
  color: var(--clr-blue-dark);
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.badge--white {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.badge--teal {
  background: var(--clr-blue-light);
  color: #fff;
}

.badge--sm {
  font-size: 0.625rem;
  padding: 0.25rem 0.625rem;
}

/* ──────────────────────────────────────────────────────────────
   6. BUTTONS
────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0 var(--sp-6);
  height: 48px;
  border-radius: var(--radius-xxl);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    background var(--dur-normal) var(--ease),
    box-shadow  var(--dur-normal) var(--ease),
    transform   var(--dur-normal) var(--ease-spring),
    color       var(--dur-normal) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

/* Primary button */
.btn-primary {
  background: var(--clr-blue-dark);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--clr-blue-hover);
  box-shadow: var(--shadow-btn-h);
  transform: translateY(-1px);
}
.btn-primary:active {
  background: var(--clr-blue-active);
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(3,61,132,0.3);
  transition-duration: var(--dur-fast);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--clr-blue-light);
  outline-offset: 3px;
}

/* Secondary button */
.btn-secondary {
  background: transparent;
  color: var(--clr-blue-dark);
  border-color: var(--clr-blue-dark);
}
.btn-secondary:hover {
  background: var(--clr-bg-subtle);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.btn-secondary:active {
  background: #D8E5FA;
  transform: translateY(0);
  transition-duration: var(--dur-fast);
}
.btn-secondary:focus-visible {
  outline: 2px solid var(--clr-blue-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(39,177,187,0.2);
}

/* Outlined (white, on dark bg) */
.btn-outlined {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outlined:hover {
  background: #fff;
  color: var(--clr-blue-dark);
  transition-duration: var(--dur-normal);
}
.btn-outlined:focus-visible {
  outline: 2px solid var(--clr-blue-light);
  outline-offset: 3px;
}

/* Ghost / text link */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--clr-blue-light);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-normal), color var(--dur-normal);
}
.btn-ghost:hover {
  color: var(--clr-blue-dark);
  border-bottom-color: var(--clr-blue-dark);
}
.btn-ghost:focus-visible {
  outline: 2px dashed var(--clr-blue-light);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Hero-size buttons */
.btn-hero { height: 52px; }

/* Submit button */
.btn-submit {
  width: 100%;
  justify-content: center;
  height: 52px;
  font-size: var(--text-base);
}

/* Disabled state */
.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--clr-disabled-bg);
  color: var(--clr-disabled-text);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  border-color: transparent;
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────────────
   7. NAVIGATION BAR
────────────────────────────────────────────────────────────── */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition:
    background var(--dur-medium) var(--ease),
    box-shadow  var(--dur-medium) var(--ease);
}

/* Scrolled state — added via JS */
.nav-wrapper.scrolled {
  background: var(--clr-bg-white);
  box-shadow: var(--shadow-nav);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h-mobile);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-smark {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--clr-blue-dark);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-it {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--clr-blue-light);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-wordmark {
  display: block;
  white-space: nowrap;
}
.logo-wordmark .logo-smark,
.logo-wordmark .logo-it {
  display: inline;
}
.nav-tagline {
  display: none; /* show on desktop */
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
  margin-top: 2px;
}

/* Desktop nav links — hidden on mobile */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-8);
  list-style: none;
}

.nav-link {
  font-size: var(--text-base);
  color: var(--clr-text-secondary);
  text-decoration: none;
  padding-block: var(--sp-2);
  border-bottom: 2px solid transparent;
  transition:
    color       var(--dur-normal) var(--ease),
    border-color var(--dur-normal) var(--ease);
}
.nav-link:hover {
  color: var(--clr-blue-dark);
  border-bottom-color: var(--clr-blue-dark);
}
.nav-link[aria-current="page"] {
  color: var(--clr-blue-dark);
  border-bottom-color: var(--clr-blue-light);
  font-weight: 600;
}
.nav-link:focus-visible {
  outline: 2px dashed var(--clr-blue-light);
  outline-offset: 2px;
  border-radius: 2px;
}

.nav-cta { display: none; } /* show on desktop */

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--sp-2);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background var(--dur-normal);
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger:hover  { background: var(--clr-bg-subtle); }
.nav-hamburger:focus-visible {
  outline: 2px solid var(--clr-blue-light);
  outline-offset: 2px;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text-primary);
  border-radius: var(--radius-full);
  transform-origin: center;
  transition:
    transform   var(--dur-slow) var(--ease),
    opacity     var(--dur-slow) var(--ease),
    background  var(--dur-normal);
}

/* Hamburger → X morph when open */
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--clr-blue-dark);
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--clr-blue-dark);
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--clr-blue-dark);
  z-index: 800;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  transform: translateX(-100%);
  opacity: 0;
  transition:
    transform var(--dur-slow) var(--ease),
    opacity   var(--dur-slow) var(--ease);
}
.mobile-drawer:not([hidden]) {
  transform: translateX(0);
  opacity: 1;
}
/* Override hidden to allow transition */
.mobile-drawer[hidden] {
  display: flex !important;
  pointer-events: none;
}

.drawer-close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-5);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: var(--radius-full);
  color: #fff;
  cursor: pointer;
  transition: background var(--dur-normal);
}
.drawer-close:hover  { background: rgba(255,255,255,0.2); }
.drawer-close:focus-visible {
  outline: 2px solid var(--clr-blue-light);
  outline-offset: 2px;
}

.drawer-links { list-style: none; flex: 1; overflow-y: auto; }

.drawer-link {
  display: block;
  padding: 0 var(--sp-6);
  height: 64px;
  line-height: 64px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background var(--dur-normal), padding-left var(--dur-normal);
}
.drawer-link:hover  {
  background: rgba(255,255,255,0.08);
  padding-left: calc(var(--sp-6) + 8px);
}
.drawer-link:focus-visible {
  outline: 2px solid var(--clr-blue-light);
  outline-offset: -4px;
}

.drawer-cta {
  margin: auto var(--sp-6) var(--sp-10);
  text-align: center;
  justify-content: center;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-slow);
}
.drawer-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* Desktop nav */
@media (min-width: 1024px) {
  .nav-container {
    height: var(--nav-h-desktop);
    padding-inline: var(--sp-20);
  }
  .nav-tagline  { display: block; }
  .nav-links    { display: flex; }
  .nav-cta      { display: inline-flex; }
  .nav-hamburger { display: none; }
}

/* ──────────────────────────────────────────────────────────────
   8. HERO SECTION (S1)
────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  background: linear-gradient(145deg, var(--clr-bg-subtle) 0%, var(--clr-bg-teal) 100%);
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-h-mobile) + var(--sp-12));
  padding-bottom: var(--sp-20);
  overflow: hidden;
}

/* Subtle dot-grid background pattern */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--clr-blue-dark) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.03;
  pointer-events: none;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  align-items: center;
  width: 100%;
  flex: 1;
}

.hero-content {
  max-width: 640px;
}

/* Badge animation */
.hero-badge {
  animation: fadeSlideUp 300ms var(--ease) both;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.1;
  color: var(--clr-blue-dark);
  margin-top: var(--sp-6);
  animation: fadeSlideUp 400ms var(--ease) 100ms both;
}

.headline-accent {
  display: block;
  position: relative;
  color: var(--clr-blue-dark);
}
/* SVG underline accent beneath "That Works." */
.headline-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--clr-blue-light);
  border-radius: var(--radius-full);
  animation: underlineGrow 500ms var(--ease) 600ms both;
  transform-origin: left;
}
@keyframes underlineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--clr-text-secondary);
  max-width: 520px;
  margin-top: var(--sp-6);
  line-height: 1.6;
  animation: fadeSlideUp 400ms var(--ease) 200ms both;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-10);
  animation: fadeSlideUp 400ms var(--ease) 300ms both;
}

.hero-trust {
  margin-top: var(--sp-8);
  animation: fadeSlideUp 400ms var(--ease) 400ms both;
}
.trust-text {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-3);
}
.trust-logos {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
  align-items: center;
}
.trust-logo-pill {
  padding: var(--sp-2) var(--sp-4);
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--clr-divider);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--clr-text-secondary);
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter var(--dur-slow), opacity var(--dur-slow);
}
.trust-logo-pill:hover { filter: grayscale(0); opacity: 1; }

/* Hero visual — device mockups */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 200px;
  margin-inline: auto;
  flex-shrink: 0;
}

.hero-mockup {
  position: absolute;
  border-radius: var(--radius-xl);
  background: var(--clr-bg-white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Mobile mockup sizes */
.hero-mockup--laptop {
  width: 210px;
  height: 125px;
  left: 0;
  top: 16px;
  animation: floatMd 3s ease-in-out infinite;
}
.hero-mockup--tablet {
  width: 130px;
  height: 100px;
  right: 10px;
  top: 0;
  animation: floatSm 3s ease-in-out 300ms infinite;
}
.hero-mockup--phone {
  width: 72px;
  height: 108px;
  right: 28px;
  top: 68px;
  animation: floatXs 3s ease-in-out 600ms infinite;
}

@keyframes floatMd {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes floatSm {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes floatXs {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.mockup-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mockup-bar {
  height: 24px;
  background: var(--clr-bg-subtle);
  border-bottom: 1px solid var(--clr-divider);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}
/* ── Browser chrome bar ────────────────────────────────────── */
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}
.browser-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bd--red   { background: #FF5F57; }
.bd--amber { background: #FEBC2E; }
.bd--green { background: #28C840; }
.browser-url-bar {
  flex: 1;
  height: 10px;
  background: var(--clr-bg-subtle);
  border-radius: var(--radius-full);
  margin-left: 4px;
}
.mockup-bar--tablet {
  height: 20px;
  background: var(--clr-bg-subtle);
  border-bottom: 1px solid var(--clr-divider);
  flex-shrink: 0;
}

/* ── Mini website inside laptop ────────────────────────────── */
.mockup-site {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 6px;
  gap: 5px;
  background: var(--clr-bg-white);
  overflow: hidden;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--clr-divider);
}
.site-logo-block {
  width: 36px; height: 7px;
  background: var(--clr-blue-dark);
  border-radius: 2px;
}
.site-nav-links {
  display: flex;
  gap: 4px;
}
.site-nav-links span {
  width: 16px; height: 5px;
  background: var(--clr-bg-subtle);
  border-radius: 2px;
}
.site-hero-block {
  background: var(--clr-blue-dark);
  border-radius: 4px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-headline-lg {
  width: 80%; height: 7px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
}
.site-headline-sm {
  width: 55%; height: 5px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
}
.site-btn {
  width: 40px; height: 10px;
  background: var(--clr-blue-light);
  border-radius: 3px;
  margin-top: 2px;
}
.site-cards-row {
  display: flex;
  gap: 4px;
  flex: 1;
}
.site-card {
  flex: 1;
  background: var(--clr-bg-subtle);
  border-radius: 4px;
  border-top: 2px solid var(--clr-blue-light);
}

/* ── Analytics dashboard inside tablet ────────────────────── */
.mockup-dashboard {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 6px;
  gap: 5px;
  overflow: hidden;
}
.dash-metrics {
  display: flex;
  gap: 5px;
}
.dash-metric {
  flex: 1;
  background: var(--clr-bg-subtle);
  border-radius: 4px;
  padding: 4px 5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-metric--accent {
  background: var(--clr-blue-dark);
}
.dm-val {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--clr-blue-dark);
  line-height: 1;
}
.dash-metric--accent .dm-val { color: #fff; }
.dm-lbl {
  font-size: 0.4rem;
  color: var(--clr-text-muted);
}
.dash-metric--accent .dm-lbl { color: rgba(255,255,255,0.6); }
.dash-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 0 2px 2px;
}
.dash-bar {
  flex: 1;
  height: var(--h, 50%);
  background: var(--clr-blue-light);
  opacity: 0.35;
  border-radius: 2px 2px 0 0;
}
.dash-bar--hi {
  opacity: 1;
  background: var(--clr-blue-dark);
}

/* ── Mobile app view inside phone ─────────────────────────── */
.mockup-notch {
  width: 40px; height: 8px;
  background: var(--clr-divider);
  border-radius: 0 0 6px 6px;
  margin: 0 auto;
  flex-shrink: 0;
}
.mockup-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.app-status-bar {
  height: 8px;
  background: var(--clr-blue-dark);
  flex-shrink: 0;
}
.app-hero-img {
  height: 38%;
  background: linear-gradient(135deg, var(--clr-blue-dark), var(--clr-blue-light));
  flex-shrink: 0;
}
.app-content {
  flex: 1;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.app-line {
  height: 5px;
  background: var(--clr-bg-subtle);
  border-radius: 2px;
}
.app-line--title {
  width: 70%;
  height: 7px;
  background: var(--clr-blue-dark);
  opacity: 0.2;
}
.app-cta-btn {
  width: 55px; height: 10px;
  background: var(--clr-blue-light);
  border-radius: 3px;
  margin-top: auto;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  color: var(--clr-text-muted);
  font-size: var(--text-xs);
  animation: bounce 1.5s ease-in-out infinite;
  transition: opacity var(--dur-medium);
}
.scroll-cue.hidden { opacity: 0; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* Fade slide-up for hero entry animations */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Desktop hero layout */
@media (min-width: 1024px) {
  .hero {
    padding-top: calc(var(--nav-h-desktop) + var(--sp-20));
    padding-bottom: var(--sp-20);
  }
  .hero-grid {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  .hero-content {
    flex: 0 0 55%;
    max-width: none;
  }
  .hero-visual {
    flex: 0 0 45%;
    max-width: none;
    height: 420px;
  }
  .hero-mockup--laptop { width: 320px; height: 240px; }
  .hero-mockup--tablet { width: 200px; height: 195px; }
  .hero-mockup--phone  { width: 110px; height: 205px; top: 115px; }
  .hero-cta-row {
    flex-direction: row;
    gap: var(--sp-4);
  }
}

/* ──────────────────────────────────────────────────────────────
   9. PROBLEM BRIDGE (S2)
────────────────────────────────────────────────────────────── */
.problem-bridge {
  text-align: center;
}
.problem-inner { max-width: 800px; }
.problem-bridge .badge-ghost { margin-bottom: var(--sp-4); }

.problem-bridge .section-headline {
  font-size: var(--text-5xl);
  margin-bottom: var(--sp-12);
}
.problem-bridge .section-headline em {
  display: block;
  font-style: italic;
  color: var(--clr-text-secondary);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-block: var(--sp-12);
  text-align: left;
}

.pain-card {
  background: var(--clr-bg-white);
  border-top: 4px solid var(--clr-blue-dark);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-medium) var(--ease), box-shadow var(--dur-medium);
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.pain-card:focus-within { box-shadow: var(--shadow-hover); }

.pain-icon {
  color: var(--clr-blue-light);
  margin-bottom: var(--sp-4);
}
.pain-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-blue-dark);
  margin-bottom: var(--sp-2);
}
.pain-body {
  font-size: var(--text-base);
  color: var(--clr-text-secondary);
  line-height: 1.6;
}

.problem-pivot {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--clr-blue-dark);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  line-height: 1.6;
}
.brand-name { font-weight: 700; letter-spacing: 0.02em; }
.brand-it   { color: var(--clr-blue-light); }

@media (min-width: 768px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ──────────────────────────────────────────────────────────────
   10. HOW IT WORKS (S3)
────────────────────────────────────────────────────────────── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: steps;
  margin-top: var(--sp-12);
}

.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto auto;
  gap: 0 var(--sp-6);
  position: relative;
  padding-bottom: var(--sp-12);
}
.process-step:last-child { padding-bottom: 0; }

.step-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--clr-blue-light);
  opacity: 0.2;
  line-height: 1;
  grid-column: 1;
  grid-row: 1;
  user-select: none;
}

.step-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--clr-bg-white);
  border: 2px solid var(--clr-blue-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-blue-light);
  margin-top: -48px;
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
}

.step-content {
  grid-column: 2;
  grid-row: 1 / 3;
}

.step-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-blue-dark);
  margin-bottom: var(--sp-3);
}
.step-body {
  font-size: var(--text-base);
  color: var(--clr-text-secondary);
  line-height: 1.7;
}

/* Vertical connector line */
.step-connector {
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--clr-blue-light), transparent);
  opacity: 0.3;
}

@media (min-width: 1024px) {
  .process-steps {
    flex-direction: row;
    gap: var(--sp-6);
  }
  .process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }
  .step-number {
    font-size: 5rem;
    order: -1;
  }
  .step-icon-wrap { margin-top: 0; order: 0; }
  .step-content   { order: 1; }
  .step-connector {
    left: auto;
    right: calc(-1 * var(--sp-3));
    top: 28px;
    bottom: auto;
    width: 100%;
    height: 2px;
  }
}

/* ──────────────────────────────────────────────────────────────
   11. SERVICES CARDS (S4)
────────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

.service-card {
  background: var(--clr-bg-white);
  border-top: 3px solid var(--clr-blue-light);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition:
    transform        var(--dur-medium) var(--ease),
    box-shadow       var(--dur-medium) var(--ease),
    border-top-color var(--dur-medium) var(--ease);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--clr-blue-dark);
}
.service-card:focus-within {
  box-shadow: var(--shadow-hover);
  outline: 2px dashed var(--clr-blue-light);
  outline-offset: 4px;
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--clr-bg-teal);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-blue-light);
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
  transition:
    background  var(--dur-medium) var(--ease),
    color       var(--dur-medium) var(--ease),
    transform   var(--dur-medium) var(--ease-spring);
}
.card-icon--white {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.service-card:hover .card-icon:not(.card-icon--white) {
  background: var(--clr-blue-dark);
  color: #fff;
  transform: scale(1.1);
}

.card-tag {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-blue-dark);
  background: var(--clr-bg-teal);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-bottom: var(--sp-3);
}
.card-tag--white { background: rgba(255,255,255,0.15); color: #fff; }

.card-headline {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-text-primary);
  line-height: 1.4;
  margin-bottom: var(--sp-3);
}
.card-headline--white { color: #fff; }

.card-body {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--sp-5);
}
.card-body--white { color: rgba(255,255,255,0.75); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--clr-blue-light);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  padding-block: var(--sp-2); /* 44px min touch target */
  transition: color var(--dur-normal) var(--ease), gap var(--dur-normal) var(--ease);
  align-self: flex-start;
  min-height: 44px;
}
.card-link:hover {
  color: var(--clr-blue-dark);
  gap: var(--sp-3);
}
.card-link-arrow {
  display: inline-block;
  transition: transform var(--dur-normal) var(--ease);
}
.card-link:hover .card-link-arrow {
  transform: translateX(3px);
}
.card-link:focus-visible {
  outline: 2px dashed var(--clr-blue-light);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Featured IT Support card */
.service-card--featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #042d6a 0%, var(--clr-blue-dark) 50%, #033060 100%);
  border-top-color: var(--clr-blue-light);
  transform: none;
  position: relative;
  overflow: hidden;
}
.service-card--featured::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(39,177,187,0.20) 0%, transparent 65%);
  pointer-events: none;
}
.service-card--featured::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 25%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(39,177,187,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.service-card--featured:hover { transform: none; box-shadow: var(--shadow-lg); }

.featured-card-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.featured-left { flex: 1; }
.featured-right {
  display: flex;
  align-items: flex-end;
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--featured .featured-card-inner { flex-direction: row; align-items: center; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ──────────────────────────────────────────────────────────────
   12. SOCIAL PROOF (S5)
────────────────────────────────────────────────────────────── */

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-16);
}

.stat-item {
  border-left: 4px solid var(--clr-blue-light);
  padding-left: var(--sp-4);
}
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--clr-blue-dark);
  line-height: 1;
}
.stat-number--text { /* No count-up animation needed */ }
.stat-label {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  margin-top: var(--sp-2);
  display: block;
}

@media (min-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat-number { font-size: 3rem; }
}

/* Testimonial carousel */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  /* padding-block: gives vertical shadow room; padding-inline: gives horizontal shadow room */
  padding-block: 24px;
  padding-inline: 16px;
  margin-top: -24px;
  margin-bottom: calc(var(--sp-12) - 24px);
}

.carousel-track {
  display: flex;
  gap: var(--sp-6);
  width: 100%; /* gives flex children a definite percentage base */
  transition: transform var(--dur-xslow) var(--ease);
  touch-action: pan-y;
}

.testimonial-card {
  flex: 0 0 100%; /* each card = full carousel content width; track overflows, carousel clips */
  min-width: 0;
  background: var(--clr-bg-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.quote-mark { flex-shrink: 0; }

.testimonial-quote p {
  font-size: var(--text-base);
  color: var(--clr-text-primary);
  line-height: 1.7;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  border-top: 1px solid var(--clr-divider);
  padding-top: var(--sp-5);
  flex-wrap: wrap;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--clr-blue-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid var(--clr-bg-teal);
}
.testimonial-meta { flex: 1; }
.testimonial-name {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--clr-text-primary);
  font-style: normal;
}
.testimonial-role {
  display: block;
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
  margin-top: 2px;
}

.star-row {
  color: var(--clr-blue-light);
  font-size: var(--text-base);
  letter-spacing: 2px;
  width: 100%;
}

.testimonial-result-badge {
  align-self: flex-start;
  background: var(--clr-bg-teal);
  color: var(--clr-blue-dark);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-sm);
  margin-top: auto;
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--clr-bg-white);
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-blue-dark);
  box-shadow: 0 2px 12px rgba(3,61,132,0.12);
  transition:
    background   var(--dur-normal),
    box-shadow   var(--dur-normal),
    color        var(--dur-normal);
  flex-shrink: 0;
}
.carousel-btn:hover {
  background: var(--clr-blue-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(3,61,132,0.3);
}
.carousel-btn:focus-visible {
  outline: 2px solid var(--clr-blue-light);
  outline-offset: 2px;
}
.carousel-btn:disabled {
  background: var(--clr-disabled-bg);
  color: var(--clr-disabled-text);
  cursor: not-allowed;
  box-shadow: none;
}

.carousel-dots {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
}
.carousel-dot {
  touch-action: manipulation;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--clr-divider);
  border: none;
  cursor: pointer;
  padding: var(--sp-3); /* larger tap target */
  background-clip: content-box;
  transition:
    width       var(--dur-medium) var(--ease),
    background  var(--dur-medium) var(--ease);
}
.carousel-dot--active {
  width: 24px;
  background-color: var(--clr-blue-dark);
  background-clip: content-box;
}
.carousel-dot:focus-visible {
  outline: 2px solid var(--clr-blue-light);
  outline-offset: 2px;
  border-radius: var(--radius-full);
}


/* Logo marquee strip */
.logo-strip {
  margin-top: var(--sp-12);
  overflow: hidden;
}
.logo-strip-label {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-5);
  text-align: center;
}
.logo-marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: var(--sp-16);
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track:hover,
.logo-marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-pill {
  padding: var(--sp-2) var(--sp-6);
  background: var(--clr-bg-white);
  border: 1px solid var(--clr-divider);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-text-secondary);
  white-space: nowrap;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter var(--dur-slow), opacity var(--dur-slow);
}
.logo-pill:hover { filter: grayscale(0); opacity: 1; }

/* ──────────────────────────────────────────────────────────────
   13. PORTFOLIO (S6)
────────────────────────────────────────────────────────────── */

/* Filter tabs */
.portfolio-filters {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--sp-10);
}

.filter-tab {
  padding: var(--sp-2) var(--sp-5);
  border: 1.5px solid var(--clr-divider);
  touch-action: manipulation;
  border-radius: var(--radius-full);
  background: none;
  color: var(--clr-text-secondary);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition:
    background    var(--dur-normal),
    color         var(--dur-normal),
    border-color  var(--dur-normal);
  min-height: 44px;
}
.filter-tab:hover {
  border-color: var(--clr-blue-light);
  color: var(--clr-blue-dark);
}
.filter-tab--active {
  background: var(--clr-blue-dark);
  color: #fff;
  border-color: var(--clr-blue-dark);
}
.filter-tab:focus-visible {
  outline: 2px solid var(--clr-blue-light);
  outline-offset: 2px;
}

/* Featured case study */
.portfolio-featured {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--sp-8);
}

.featured-image {
  height: 240px;
  background: var(--clr-bg-subtle);
  flex-shrink: 0;
  overflow: hidden;
}
.featured-image--hairart {
  background:
    linear-gradient(to bottom, rgba(3,61,132,0.45) 0%, rgba(3,61,132,0.25) 100%),
    url('../images/hairart-hero.png') center/cover no-repeat;
}
.featured-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--clr-bg-subtle) 0%, var(--clr-bg-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
}

/* Mini browser mockup inside portfolio preview */
.placeholder-ui {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.placeholder-nav { height: 20px; background: var(--clr-bg-subtle); }
.placeholder-hero { height: 40px; background: var(--clr-blue-dark); opacity: 0.2; margin: var(--sp-2); border-radius: var(--radius-sm); }
.placeholder-cards { display: flex; gap: 4px; padding: var(--sp-2); }
.placeholder-card { flex: 1; height: 24px; background: var(--clr-bg-subtle); border-radius: var(--radius-sm); }

.featured-content {
  background: var(--clr-blue-dark);
  color: #fff;
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.featured-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.2;
}
.featured-outcome {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8);
}
.featured-stat {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
}
.featured-stat-num {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
}
.featured-stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
}

@media (min-width: 768px) {
  .portfolio-featured { flex-direction: row; }
  .featured-image { flex: 1; height: auto; min-height: 320px; }
  .featured-content { flex: 1; }
}

/* Portfolio carousel wrap */
.portfolio-carousel-wrap { position: relative; }

/* Portfolio grid — mobile: horizontal swipe carousel */
.portfolio-grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding-inline: var(--sp-5);
  padding-block: var(--sp-2);
  margin-inline: calc(-1 * var(--sp-5));
  scrollbar-width: none;
}
.portfolio-grid::-webkit-scrollbar { display: none; }

/* Equal-size cards: reliable vw-based width, full height via flex stretch */
.portfolio-grid > .portfolio-card {
  flex: 0 0 auto;
  width: min(78vw, 300px);
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.portfolio-grid > .portfolio-card .portfolio-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.portfolio-grid > .portfolio-card .portfolio-card-outcome {
  flex: 1;
}

/* Carousel nav (mobile only) */
.portfolio-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  margin-top: var(--sp-5);
}
.portfolio-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-divider);
  background: var(--clr-bg-white);
  color: var(--clr-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background var(--dur-normal),
    border-color var(--dur-normal),
    box-shadow var(--dur-normal);
  box-shadow: var(--shadow-sm);
  -webkit-tap-highlight-color: transparent;
}
.portfolio-nav-btn:hover:not(:disabled) {
  background: var(--clr-blue-dark);
  border-color: var(--clr-blue-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.portfolio-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.portfolio-counter {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-text-secondary);
  min-width: 3rem;
  text-align: center;
}

/* Tablet+: switch to grid, reset all carousel styles */
@media (min-width: 560px) {
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
    overflow-x: visible;
    padding-inline: 0;
    padding-block: 0;
    margin-inline: 0;
    scroll-snap-type: none;
    align-items: unset;
  }
  .portfolio-grid > .portfolio-card {
    width: auto;
    flex: unset;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  .portfolio-carousel-nav { display: none; }
}

.portfolio-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--clr-bg-white);
  transition: transform var(--dur-medium), box-shadow var(--dur-medium);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.portfolio-img {
  height: 200px;
  background: var(--clr-bg-subtle);
  overflow: hidden;
  transition: transform var(--dur-slow) var(--ease);
  display: block;
  width: 100%;
  object-fit: cover;
}
.portfolio-card:hover .portfolio-img { transform: scale(1.04); }
.portfolio-img--1 { background: linear-gradient(135deg, #EEF3FB, #D1E8EA); }
.portfolio-img--2 { background: linear-gradient(135deg, #E8F5EE, #EEF3FB); }
.portfolio-img--3 { background: linear-gradient(135deg, #FFF3E0, #EEF3FB); }
.portfolio-img--4 { background: linear-gradient(135deg, #EDE8FB, #D1E8EA); }
.portfolio-img--5 { background: linear-gradient(135deg, #E8EAF6, #E8F5EE); }

/* Branded logo: clean white area, logo fills the space */
.portfolio-img--branded {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  border-bottom: 1px solid #f0f2f5;
  padding: 28px 36px;
}
.portfolio-brand-logo {
  width: 100%;
  height: 100%;
  max-width: 200px;
  max-height: 120px;
  object-fit: contain;
  transition: transform var(--dur-slow) var(--ease);
}
.portfolio-card:hover .portfolio-brand-logo {
  transform: scale(1.05);
}

.portfolio-card-body { padding: var(--sp-6); }
.portfolio-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-blue-dark);
  margin-block: var(--sp-3);
}
.portfolio-card-outcome {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  margin-bottom: var(--sp-4);
}
.portfolio-card-body .badge--sm { margin-bottom: 0; }

@media (min-width: 900px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

/* ──────────────────────────────────────────────────────────────
   14. WHY SMARKIT (S7)
────────────────────────────────────────────────────────────── */
.differentiators {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
}

.diff-block {
  padding: var(--sp-8);
  background: var(--clr-bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border-left: 4px solid transparent;
  transition:
    border-color var(--dur-medium),
    transform    var(--dur-medium) var(--ease),
    box-shadow   var(--dur-medium);
}
.diff-block:hover {
  border-left-color: var(--clr-blue-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.diff-icon {
  width: 64px;
  height: 64px;
  background: var(--clr-bg-teal);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-blue-light);
  margin-bottom: var(--sp-6);
}
.diff-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--clr-blue-dark);
  margin-bottom: var(--sp-4);
}
.diff-body {
  font-size: var(--text-base);
  color: var(--clr-text-secondary);
  line-height: 1.7;
}

@media (min-width: 768px)  { .differentiators { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .differentiators { grid-template-columns: repeat(3, 1fr); } }

/* ──────────────────────────────────────────────────────────────
   15. ABOUT (S8)
────────────────────────────────────────────────────────────── */
.about-grid {
  max-width: 720px;
}


.about-content .badge { margin-bottom: var(--sp-4); }
.about-headline {
  text-align: left;
  margin-inline: 0;
  font-size: var(--text-5xl);
  margin-bottom: var(--sp-6);
}

.about-body {
  font-size: var(--text-lg);
  color: var(--clr-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-base);
  color: var(--clr-text-primary);
  line-height: 1.6;
}
.value-check {
  color: var(--clr-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-cta-row {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
  align-items: center;
}


/* ──────────────────────────────────────────────────────────────
   16. CONTACT / FORM (S9)
────────────────────────────────────────────────────────────── */
.contact-section {
  background: linear-gradient(150deg, #0b2e42 0%, var(--clr-blue-dark) 50%, #0d3348 100%);
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-20);
}
@media (min-width: 768px) { .contact-section { padding-block: calc(var(--sp-20) + var(--sp-8)); } }

.contact-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.07;
  pointer-events: none;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}

/* Contact copy */
.contact-copy { color: #fff; }
.contact-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-block: var(--sp-5);
}
.contact-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: var(--sp-8);
}

.trust-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.trust-item svg { margin-top: 1px; flex-shrink: 0; }

/* Form card */
.contact-form-wrap {
  width: 100%;
}

.contact-form,
.form-success {
  background: var(--clr-bg-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-6); /* 24px mobile */
  box-shadow: 0 24px 64px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
  border-top: 3px solid var(--clr-blue-light);
}
@media (min-width: 768px) {
  .contact-form, .form-success { padding: var(--sp-8); } /* 32px tablet+ */
}

.form-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-blue-dark);
  padding-bottom: var(--sp-5);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--clr-divider);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-bottom: var(--sp-5);
}

.form-label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-text-primary);
}
.form-label span[aria-hidden] { color: var(--clr-error); margin-left: 2px; }

.form-input {
  width: 100%;
  height: 48px;
  padding: 0 var(--sp-4);
  border: 1.5px solid var(--clr-divider);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--clr-text-primary);
  background: var(--clr-bg-white);
  transition:
    border-color var(--dur-normal),
    box-shadow   var(--dur-normal);
  -webkit-appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--clr-blue-light);
  box-shadow: 0 0 0 3px rgba(39,177,187,0.2);
}
.form-input:invalid:not(:placeholder-shown) {
  border-color: var(--clr-error);
}
.form-input[aria-invalid="true"] {
  border-color: var(--clr-error);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

.form-textarea {
  height: auto;
  padding: var(--sp-3) var(--sp-4);
  resize: vertical;
  min-height: 80px;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
}
.form-hint-inline {
  font-weight: 400;
  color: var(--clr-text-muted);
  font-size: var(--text-xs);
  margin-left: var(--sp-1);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--clr-error);
  font-weight: 500;
  min-height: 1em; /* prevent layout shift */
}

/* Fieldset */
.form-fieldset {
  border: none;
  margin-bottom: var(--sp-5);
}
.form-fieldset > legend { margin-bottom: var(--sp-3); }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--clr-text-primary);
  cursor: pointer;
  min-height: 44px;
  touch-action: manipulation;
  padding: var(--sp-1) 0;
}

/* Hide native checkbox */
.checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Custom checkbox */
.checkbox-custom {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid var(--clr-divider);
  border-radius: var(--radius-sm);
  background: var(--clr-bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color var(--dur-normal),
    background   var(--dur-normal);
}
.checkbox-input:checked + .checkbox-custom {
  background: var(--clr-blue-dark);
  border-color: var(--clr-blue-dark);
}
.checkbox-input:checked + .checkbox-custom::after {
  content: '';
  display: block;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
.checkbox-input:focus-visible + .checkbox-custom {
  outline: 2px solid var(--clr-blue-light);
  outline-offset: 2px;
}
.checkbox-label:hover .checkbox-custom {
  border-color: var(--clr-blue-dark);
}

/* Form privacy */
.form-privacy {
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
  text-align: center;
  margin-top: var(--sp-3);
}
.form-privacy-link {
  color: var(--clr-blue-dark);
  text-underline-offset: 2px;
}
.form-privacy-link:hover { text-decoration: none; }

/* Form success state */
.form-success {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}
.success-icon { color: var(--clr-blue-light); }
.success-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--clr-blue-dark);
}
.success-body {
  font-size: var(--text-base);
  color: var(--clr-text-secondary);
  max-width: 400px;
  line-height: 1.6;
}
.form-back-btn { color: var(--clr-blue-dark); border-bottom-color: var(--clr-blue-dark); }

/* Tablet portrait: centre the form card */
@media (min-width: 640px) and (max-width: 899px) {
  .contact-form-wrap { max-width: 560px; margin-inline: auto; width: 100%; }
}

/* Tablet landscape / small desktop: two-column */
@media (min-width: 900px) {
  .contact-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--sp-12);
  }
  .contact-copy { flex: 1; min-width: 0; max-width: 480px; }
  .contact-form-wrap { flex: 0 0 420px; }
}

/* Desktop */
@media (min-width: 1100px) {
  .contact-grid { gap: var(--sp-16); }
  .contact-copy { max-width: 520px; }
  .contact-form-wrap { flex-basis: 480px; }
}

/* ──────────────────────────────────────────────────────────────
   17. FOOTER
────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-footer-bg);
  color: rgba(255,255,255,0.7);
  padding-top: var(--sp-20);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}

.footer-col--brand .nav-logo { margin-bottom: var(--sp-3); }

.footer-logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: var(--sp-3);
}
.footer-logo .logo-smark { color: #fff; font-size: 1.25rem; }
.footer-logo .logo-it    { color: var(--clr-blue-light); font-size: 1.25rem; }

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-6);
}

.social-links { display: flex; gap: var(--sp-5); list-style: none; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.6);
  border-radius: var(--radius-full);
  transition:
    color       var(--dur-normal),
    background  var(--dur-normal),
    transform   var(--dur-normal) var(--ease-spring);
  text-decoration: none;
}
.social-link:hover {
  color: var(--clr-blue-light);
  background: rgba(39,177,187,0.12);
  transform: translateY(-2px);
}
.social-link:focus-visible {
  outline: 2px dashed var(--clr-blue-light);
  outline-offset: 2px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-blue-light);
  margin-bottom: var(--sp-5);
}

.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); list-style: none; }

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition:
    color     var(--dur-normal),
    transform var(--dur-normal) var(--ease);
  display: inline-block;
}
.footer-link:hover {
  color: #fff;
  transform: translateX(4px);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-link:focus-visible {
  outline: 2px dashed var(--clr-blue-light);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  min-height: 44px;
  transition: color var(--dur-normal);
}
.footer-contact-link:hover { color: #fff; }
.footer-contact-link svg   { color: var(--clr-blue-light); flex-shrink: 0; }

.footer-cta {
  background: var(--clr-blue-light);
  color: #fff;
  width: 100%;
  justify-content: center;
  margin-bottom: var(--sp-6);
}
.footer-cta:hover {
  background: #1FA0A9;
  box-shadow: 0 4px 16px rgba(39,177,187,0.4);
}

/* Newsletter */
.footer-newsletter-label {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-2);
}

.newsletter-row {
  display: flex;
  gap: var(--sp-2);
}

.newsletter-input {
  flex: 1;
  height: 44px;
  padding: 0 var(--sp-3);
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: #fff;
  font-family: var(--font-body);
  transition: border-color var(--dur-normal), box-shadow var(--dur-normal);
  -webkit-appearance: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus {
  outline: none;
  border-color: var(--clr-blue-light);
  box-shadow: 0 0 0 3px rgba(39,177,187,0.2);
  background: rgba(255,255,255,0.12);
}
.newsletter-input[aria-invalid="true"] {
  border-color: var(--clr-error);
}

.newsletter-btn {
  height: 44px;
  padding: 0 var(--sp-4);
  background: var(--clr-blue-light);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-normal), box-shadow var(--dur-normal);
}
.newsletter-btn:hover {
  background: #1FA0A9;
  box-shadow: 0 4px 12px rgba(39,177,187,0.4);
}
.newsletter-btn:focus-visible {
  outline: 2px solid var(--clr-blue-light);
  outline-offset: 2px;
}

.newsletter-privacy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  margin-top: var(--sp-2);
}

/* Footer bottom bar */
.footer-bottom {
  margin-top: var(--sp-16);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--sp-5);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: center;
  text-align: center;
}
.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

.legal-links { display: flex; gap: var(--sp-6); list-style: none; flex-wrap: wrap; justify-content: center; }
.legal-link {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--dur-normal);
}
.legal-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal-link:focus-visible {
  outline: 2px dashed var(--clr-blue-light);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1.2fr; }
}

/* ──────────────────────────────────────────────────────────────
   18. MOBILE STICKY CTA
────────────────────────────────────────────────────────────── */
.mobile-sticky-cta {
  position: fixed;
  bottom: max(var(--sp-6), env(safe-area-inset-bottom) + var(--sp-4));
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 48px));
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 500;
  pointer-events: none;
  white-space: nowrap;
}
.mobile-sticky-cta.visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.mobile-sticky-btn {
  width: auto;
  padding-inline: var(--sp-8);
  height: 54px;
  border-radius: 100px;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow:
    0 12px 40px rgba(3, 61, 132, 0.50),
    0 4px 12px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Pulsing availability dot */
.sticky-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-blue-light);
  flex-shrink: 0;
  position: relative;
}
.sticky-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--clr-blue-light);
  animation: sticky-ring 2s ease-out infinite;
}
@keyframes sticky-ring {
  0%   { transform: scale(0.8); opacity: 0.7; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Hide on desktop */
@media (min-width: 1024px) {
  .mobile-sticky-cta { display: none; }
}

/* ──────────────────────────────────────────────────────────────
   19. SCROLL ANIMATION (data-animate elements)
────────────────────────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity   var(--dur-xslow) var(--ease),
    transform var(--dur-xslow) var(--ease);
}
[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for grids */
[data-animate]:nth-child(2) { transition-delay: 120ms; }
[data-animate]:nth-child(3) { transition-delay: 240ms; }
[data-animate]:nth-child(4) { transition-delay: 360ms; }
[data-animate]:nth-child(5) { transition-delay: 480ms; }
[data-animate]:nth-child(6) { transition-delay: 600ms; }
[data-animate]:nth-child(7) { transition-delay: 720ms; }

/* Reduced motion: show immediately */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ──────────────────────────────────────────────────────────────
   20. PRINT STYLES
────────────────────────────────────────────────────────────── */
@media print {
  .nav-wrapper,
  .mobile-sticky-cta,
  .scroll-cue,
  .hero-visual,
  .carousel-controls,
  .logo-marquee,
  .testimonial-carousel { display: none; }

  body { font-size: 12pt; color: #000; background: #fff; }
  a::after { content: " (" attr(href) ")"; font-size: 10pt; }
  .section { padding-block: 1.5rem; }
}
