/* ═══════════════════════════════════════════════════
   ELEMENTOR KIT OVERRIDES
   Elementor Site Settings forces link color #38AAF1 + underline
   globally with specificity (0,1,1). We selectively reset color
   on sections where local class rules should win, plus kill underline
   everywhere on our page (constrained to the .home-page wrapper so
   the production theme's own header/footer links are not affected).
═══════════════════════════════════════════════════ */

/* Kill underline on all links inside our page wrapper */
body.page-template-template-home .home-page a,
body.page-template-template-home .home-page a:hover {
  text-decoration: none;
}

/* Reset Elementor link color inside our page wrapper */
body.page-template-template-home .home-page a {
  color: inherit;
}

/* Restore brand-blue on specific anchor classes that need it —
   the `color: inherit` reset above (spec 0,2,1) beats plain .link-btn
   (spec 0,1,0), leaving them black. Re-specifying `a.classname` inside
   the same context brings spec higher and wins. */
body.page-template-template-home .home-page main .section a.link-btn {
  color: var(--text-brand);
}
body.page-template-template-home .home-page main .section a.link-btn:hover {
  color: var(--blue-400);
}
body.page-template-template-home .home-page main .section .form-privacy a {
  color: var(--text-brand);
}
/* ── TOKENS ──────────────────────────────────────── */
body.page-template-template-home {
  --blue-700: rgb(25, 39, 125);
  --blue-500: #2e5bff;
  --blue-400: #3f69ff;          /* hover primary btn, focus inputs */
  --blue-300: #c8d4ff;          /* border/strong – secondary btn hover border */
  --blue-150: #eef0fa;
  --blue-50: #f8faff;
  --neutral-0: #ffffff;
  --neutral-100: #f7f7f7;       /* input bg, filled state */
  --neutral-300: #d9d9d9;       /* inverse/secondary text (footer) */
  --surface-primary: #ffffff;
  --surface-secondary: #f8faff;
  --text-primary: #2d323a;
  --text-secondary: #6c7075;
  --text-brand: #2e5bff;
  --text-inverse: #ffffff;
  --text-inverse-secondary: #d9d9d9;
  --border-default: #eaefff;
  --border-strong: #c8d4ff;
  --btn-primary-bg: #2e5bff;
  --btn-primary-bg-hover: #3f69ff;
  --btn-secondary-bg: #eef0fa;
  --btn-secondary-border: #d6d7dc;
  --gradient-main: linear-gradient(125deg, var(--blue-700) 1%, var(--blue-500) 100%);
  --gradient-icon: linear-gradient(94deg, var(--blue-700) 1%, var(--blue-500) 100%);
  --card-shadow: 0 2px 4px -2px rgba(0,0,0,.10), 0 4px 6px -1px rgba(0,0,0,.10);
  --header-height: 80px;
  --radius-card: 14px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --section-py: 96px;
  --section-px: 48px;
  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 0.6s;
  --reveal-distance: 32px;
  --stagger-step: 0.1s;
  --hover-duration: 0.25s;
}

/* ── RESET + BASE ──────────────────────────────────
   All tag-level resets are constrained to .home-page so they cannot
   bleed into the production theme's header/footer or into other pages.
   The original stylesheet targeted bare <body>, <html>, <a>, <ul>,
   <button>, <img>, <svg> and the universal selector — under prod all
   of those would strip margins/lists/underlines from theme chrome and
   other pages. We move the styles onto .home-page and its descendants. */

body.page-template-template-home .home-page,
body.page-template-template-home .home-page *,
body.page-template-template-home .home-page *::before,
body.page-template-template-home .home-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* scroll-behavior on <body> is picked up by the scrolling viewport when
   <html> doesn't declare one — this gives smooth anchor scrolling for
   this page only, without touching global <html>. */
body.page-template-template-home {
  scroll-behavior: smooth;
}

body.page-template-template-home .home-page {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.625;
  color: var(--text-primary);
  background: var(--surface-primary);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body.page-template-template-home .home-page img,
body.page-template-template-home .home-page svg { display: block; max-width: 100%; }

body.page-template-template-home .home-page ul { list-style: none; }

/* Modal close buttons keep their own (Figma) background/border, see .video-modal__close in parts/testimonials.css.
   :where() keeps the specificity at (0,2,2) so .btn and other button styles still win. */
body.page-template-template-home .home-page button:where(:not(.video-modal__close, .image-modal__close)) { font-family: inherit; cursor: pointer; background: none; border: none; }

/* ── REVEAL MECHANISM ────────────────────────────── */
body.page-template-template-home [data-reveal] {
  opacity: 0;
  visibility: hidden;
  transform: translateY(var(--reveal-distance));
  transition: opacity var(--reveal-duration) var(--ease-out),
              transform var(--reveal-duration) var(--ease-out),
              visibility 0s var(--reveal-delay, 0s);
  transition-delay: var(--reveal-delay, 0s);
}
body.page-template-template-home [data-reveal].is-revealed {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: var(--reveal-delay, 0s), var(--reveal-delay, 0s), 0s;
}
body.page-template-template-home .reveal-from-left {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-48px);
  transition: opacity var(--reveal-duration) var(--ease-out),
              transform var(--reveal-duration) var(--ease-out),
              visibility 0s;
}
body.page-template-template-home .reveal-from-right {
  opacity: 0;
  visibility: hidden;
  transform: translateX(48px);
  transition: opacity var(--reveal-duration) var(--ease-out),
              transform var(--reveal-duration) var(--ease-out),
              visibility 0s;
}
body.page-template-template-home .reveal-from-left.is-revealed,
body.page-template-template-home .reveal-from-right.is-revealed {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  body.page-template-template-home [data-reveal],
  body.page-template-template-home .reveal-from-left,
  body.page-template-template-home .reveal-from-right {
    transition: opacity 0.2s linear, visibility 0s;
    transform: none;
  }
}

/* ── HERO ENTRANCE ───────────────────────────────── */
body.page-template-template-home [data-hero-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--hero-delay, 0s);
}
body.page-template-template-home [data-hero-anim].is-hero-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  body.page-template-template-home [data-hero-anim] { transition: opacity 0.2s linear; transform: none; }
}

/* ── LAYOUT HELPERS ─────────────────────────────── */
body.page-template-template-home .section { padding: var(--section-py) 0; }
body.page-template-template-home .section--alt { background: var(--surface-secondary); }

body.page-template-template-home .section__container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--section-px);
}

body.page-template-template-home .section__header {
  text-align: center;
  margin-bottom: 48px;
}

body.page-template-template-home .section__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

body.page-template-template-home .section__subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--text-secondary);
}

/* ── BUTTONS ─────────────────────────────────────── */
body.page-template-template-home .btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  transition: opacity .15s, box-shadow .15s, transform .1s;
  text-decoration: none;
  cursor: pointer;
}

body.page-template-template-home .btn--primary,
body.page-template-template-home button.btn--primary,
body.page-template-template-home a.btn.btn--primary {
  background: var(--btn-primary-bg);
  background-color: var(--btn-primary-bg);
  color: var(--text-inverse);
  border: 1px solid transparent;
  box-shadow: 0 6px 24px rgba(46, 91, 255, .35);
}
/* Guard against Hello Elementor parent theme's button:hover { background:#c36 }
   and Elementor Kit button overrides. Both background and background-color
   are declared because some plugin rules only override one of them. */
body.page-template-template-home .btn--primary:hover,
body.page-template-template-home .btn--primary:focus,
body.page-template-template-home button.btn--primary:hover,
body.page-template-template-home button.btn--primary:focus,
body.page-template-template-home a.btn.btn--primary:hover,
body.page-template-template-home a.btn.btn--primary:focus {
  background: var(--btn-primary-bg-hover);
  background-color: var(--btn-primary-bg-hover);
  color: var(--text-inverse);
  box-shadow: 0 8px 28px rgba(46, 91, 255, .45);
  opacity: 1;
}
/* Neutralise Hello Elementor default button:hover pink for any non-.btn button
   inside our wrapper (submit buttons, etc.). */
body.page-template-template-home .home-page button:not(.btn):where(:not(.video-modal__close, .image-modal__close)):hover,
body.page-template-template-home .home-page button:not(.btn):where(:not(.video-modal__close, .image-modal__close)):focus {
  background: initial;
  color: initial;
}
body.page-template-template-home .btn--primary:hover svg { stroke: currentColor; }
body.page-template-template-home .btn--primary:active { transform: translateY(1px); }

/* Force white on Talk to Us / primary CTA links — beats Elementor Kit `.elementor-kit-* a` (0,1,1)
   and Hello Elementor parent theme link color. Targets both header and hero buttons. */
body.page-template-template-home a.btn--primary,
body.page-template-template-home a.btn--primary:link,
body.page-template-template-home a.btn--primary:visited,
body.page-template-template-home a.btn--primary:hover,
body.page-template-template-home a.btn--primary:focus,
body.page-template-template-home a.btn--primary:active {
  color: var(--text-inverse);
  text-decoration: none;
}
body.page-template-template-home a.btn--primary svg,
body.page-template-template-home a.btn--primary:hover svg,
body.page-template-template-home a.btn--primary:focus svg {
  stroke: var(--text-inverse);
}
body.page-template-template-home a.btn--primary svg path {
  stroke: var(--text-inverse);
}

body.page-template-template-home .btn--secondary {
  background: var(--btn-secondary-bg);
  color: var(--text-brand);
  border: 1px solid var(--btn-secondary-border);
  border-radius: var(--radius-sm);
  box-shadow: none;
}
body.page-template-template-home .btn--secondary:hover {
  background: #e5e8f5;
  color: var(--blue-400);
  border-color: var(--border-strong);
}
/* Force SVG stroke to follow text color even if inline `stroke` attribute is set on the path. */
body.page-template-template-home .btn--secondary svg [stroke],
body.page-template-template-home .btn--secondary:hover svg [stroke] { stroke: currentColor; }

/* Override Elementor Kit `.elementor-kit-* a` (0,1,1) link color on tertiary CTA — keeps brand blue
   text in all link states. */
body.page-template-template-home a.btn--secondary,
body.page-template-template-home a.btn--secondary:link,
body.page-template-template-home a.btn--secondary:visited,
body.page-template-template-home a.btn--secondary:active {
  color: var(--text-brand);
  text-decoration: none;
}
body.page-template-template-home a.btn--secondary:hover,
body.page-template-template-home a.btn--secondary:focus {
  color: var(--blue-400);
  text-decoration: none;
}

body.page-template-template-home .btn--lg { padding: 18px 32px; gap: 8px; }

body.page-template-template-home .btn--full { width: 100%; justify-content: center; height: 40px; padding: 8px 16px; font-size: 16px; }

body.page-template-template-home .link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text-brand);
  text-decoration: none;
  transition: gap .15s, color .15s;
}
body.page-template-template-home .link-btn:hover { gap: 10px; color: var(--blue-400); }
body.page-template-template-home .link-btn__icon { width: 16px; height: 16px; flex-shrink: 0; }

/* Header component styles moved to assets/css/parts/header.css */

/* ── HERO ────────────────────────────────────────── */
body.page-template-template-home .hero {
  position: relative;
  background: var(--surface-secondary);
  padding: 48px 116px 96px;
  /*margin-top: var(--header-height);*/
  overflow: hidden;
  /* was calc(937.5px - …): left ~200px of empty space above the client marquee */
  min-height: calc(780px - var(--header-height));
}

body.page-template-template-home .hero__bg {
  position: absolute;
  right: -257px;
  top: 50%;
  transform: translateY(-50%);
  width: 1251px;
  height: 938px;
  pointer-events: none;
  z-index: 0;
}
body.page-template-template-home .hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
body.page-template-template-home .hero__bg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #f8faff 0%, rgba(248,250,255,0) 73%);
}

body.page-template-template-home .hero__content {
  position: relative;
  z-index: 1;
  max-width: 874px;
}

body.page-template-template-home .hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-primary);
  box-shadow: var(--card-shadow);
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  margin-bottom: 16px;
}
body.page-template-template-home .hero__badge svg { flex-shrink: 0; }
body.page-template-template-home .hero__badge-text__short { display: none; }
@media (max-width: 768px) {
  body.page-template-template-home .hero__badge-text__long  { display: none; }
  body.page-template-template-home .hero__badge-text__short { display: inline; }
}

body.page-template-template-home .hero__heading {
  font-size: 60px;
  font-weight: 700;
  line-height: 64px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
body.page-template-template-home .hero__heading-gradient {
  display: inline-block;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Keep "Acumatica Development" as one unbroken line on desktop
     per Figma. Mobile override below allows normal wrapping since
     the phrase would overflow a narrow viewport at 36px. */
  white-space: nowrap;
  /* iOS Safari sub-pixel mitigation stack:
     1. padding-bottom + text-decoration:none  — prevents phantom
        baseline line inside the box (the "between-words" artifact,
        resolved in the previous pass).
     2. transform + will-change  — promotes the element to its own
        GPU compositor layer, which changes the rasterization path
        and typically eliminates the sub-pixel bounding-box leak.
     3. -webkit-text-stroke: 0.5px transparent  — extends the text
        mask by half a pixel around each glyph, so if the gradient
        does leak by a sub-pixel it lands inside the (transparent)
        stroke area instead of on the bounding-box edge.
     4. isolation: isolate  — creates a new stacking context so the
        gradient can't bleed through to sibling elements.
     If line artifacts still appear on specific iPhone X / iOS 16.7.11
     zoom levels after this pass, the definitive workaround is to
     replace the CSS gradient text with an inline SVG <text> filled
     by <linearGradient> — see notes-for-designer.md. */
  padding-bottom: 0.05em;
  text-decoration: none;
  transform: translateZ(0);
  will-change: transform;
  -webkit-text-stroke: 0.5px transparent;
  isolation: isolate;
}

body.page-template-template-home .hero__desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  color: var(--text-primary);
  max-width: 874px;
  margin-bottom: 32px;
  /* Cap to 3 lines per Figma spec (strict requirement). At 874px width
     with 20/32 Montserrat Regular the current copy fits in 3 lines
     naturally; the clamp is a safety net for font-loading variance
     and future copy edits. */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.page-template-template-home .hero__cta { margin-bottom: 32px; }

body.page-template-template-home .hero__stats {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 783px;
}
body.page-template-template-home .hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.page-template-template-home .hero__stat-value {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: var(--text-brand);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
body.page-template-template-home .hero__stat-unit {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}
body.page-template-template-home .hero__stat-label {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--text-secondary);
  max-width: 140px;
  white-space: normal;
}

/* ── MARQUEE ─────────────────────────────────────── */
body.page-template-template-home .marquee {
  position: relative;
  background: var(--surface-secondary);
  height: 88px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

body.page-template-template-home .marquee__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 1;
  pointer-events: none;
}
body.page-template-template-home .marquee__fade--left { left: 0; background: linear-gradient(to right, var(--surface-secondary), transparent); }
body.page-template-template-home .marquee__fade--right { right: 0; background: linear-gradient(to left, var(--surface-secondary), transparent); }

body.page-template-template-home .marquee__track { width: 100%; overflow: hidden; }

body.page-template-template-home .marquee__inner {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

body.page-template-template-home .marquee__item {
  display: flex;
  align-items: center;
  padding-right: 72px;
  flex-shrink: 0;
}
body.page-template-template-home .marquee__item img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.25s;
}
body.page-template-template-home .marquee__item.is-center img { opacity: 1; }

body.page-template-template-home .marquee__item--text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  letter-spacing: .03em;
  padding-right: 72px;
  opacity: 0.35;
  transition: opacity 0.25s;
}

body.page-template-template-home .marquee__item--text.is-center {
  opacity: 1;
}

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

/* ── RECOGNITION ─────────────────────────────────── */
body.page-template-template-home .recognition {
  background: var(--surface-primary);
  /* Override .section padding-bottom (96px) — Figma RecognitionSection
     frame has only 24px below the partner-badges frame boundary. */
  padding-bottom: 24px;
}

/* bento grid */
body.page-template-template-home .bento {
  display: flex;
  gap: 10px;
  height: 340px;
  margin-bottom: 64px;
}

body.page-template-template-home .bento__main {
  position: relative;
  flex: 0 0 560px;
  border-radius: 16px;
  overflow: hidden;
}

body.page-template-template-home .bento__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.page-template-template-home .bento__row {
  display: flex;
  gap: 10px;
}
body.page-template-template-home .bento__row--top { flex: 0 0 165px; }
body.page-template-template-home .bento__row--bottom { flex: 0 0 165px; }

body.page-template-template-home .bento__row--top > *:first-child { flex: 438; }
body.page-template-template-home .bento__row--top > *:last-child  { flex: 326; }

body.page-template-template-home .bento__row--bottom > *:nth-child(1) { flex: 326; }
body.page-template-template-home .bento__row--bottom > *:nth-child(2) { flex: 214; }
body.page-template-template-home .bento__row--bottom > *:nth-child(3) { flex: 214; }

body.page-template-template-home .bento__cell {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #eee;
}

body.page-template-template-home .bento__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Clickable bento tiles (lightbox trigger) */
body.page-template-template-home .bento__main[data-image-modal-src],
body.page-template-template-home .bento__cell[data-image-modal-src] {
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
body.page-template-template-home .bento__main[data-image-modal-src]:hover,
body.page-template-template-home .bento__cell[data-image-modal-src]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 91, 255, .25);
}
body.page-template-template-home .bento__main[data-image-modal-src]:focus-visible,
body.page-template-template-home .bento__cell[data-image-modal-src]:focus-visible {
  outline: 3px solid var(--blue-300);
  outline-offset: 2px;
}

body.page-template-template-home .bento__main::after,
body.page-template-template-home .bento__cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.65));
}

body.page-template-template-home .bento__label {
  position: absolute;
  bottom: 12px;
  left: 16px;
  z-index: 1;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* award cards row */
/* ── STAT CARDS (Recognition / Trust Bar) ──────────
   Figma node 3100:18435 — replaces the previous icon+label
   cards with number-forward stat cards. Container: 1344×140,
   5 cards flexed evenly with 16px gap. */
body.page-template-template-home .award-cards {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 64px;
}

body.page-template-template-home .award-card {
  flex: 1 1 0;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #eaefff;
  border-radius: 14px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -2px rgba(0,0,0,.10);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  word-break: break-word;
}

/* Big blue "Number" / badge — first row of the card */
body.page-template-template-home .award-card__number {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: #2e5bff;
  margin: 0;
  width: 100%;
}

/* Label directly under Number, sits inside the same visual block
   (no gap between Number and Label — matches Figma auto-layout
   with gap: 0 for the inner Number+Label frame) */
body.page-template-template-home .award-card__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #33334d;
  margin: 0;
  width: 100%;
}

/* Sublabel — separated by 8px from Label above (auto-layout gap in
   the outer card frame). Uses margin-top instead of flex gap so the
   Number+Label pair above stays touching with no space between them. */
body.page-template-template-home .award-card__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #808594;
  margin: 8px 0 0;
  width: 100%;
}

body.page-template-template-home .partner-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 0;
}

/* Badge 1 and 3: plain 164×180 image container */
body.page-template-template-home .partner-badge {
  flex-shrink: 0;
  width: 164px;
  height: 180px;
  object-fit: contain;
  display: block;
}

/* Badge 2 (Development Excellence Award 2026) has a different composition
   in Figma: a 164×180 wrapper with overflow:hidden, and the image inside
   is 116×160px centred horizontally with 12px top offset.
   We scope this via .partner-badge--award. */
body.page-template-template-home .partner-badge--award {
  flex-shrink: 0;
  width: 164px;
  height: 180px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 12px;
}
body.page-template-template-home .partner-badge--award img {
  width: 116px;
  height: 160px;
  object-fit: contain;
  display: block;
}

/* ── SERVICES ────────────────────────────────────── */
body.page-template-template-home .services { background: var(--surface-secondary); }

body.page-template-template-home .services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

body.page-template-template-home .card--service {
  background: var(--surface-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  transition: box-shadow .2s, transform .2s;
}
body.page-template-template-home .card--service:hover {
  box-shadow: 0 8px 24px rgba(46, 91, 255, .12);
  transform: translateY(-6px);
}

body.page-template-template-home .card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
body.page-template-template-home .card__icon-img { width: 24px; height: 24px; object-fit: contain; filter: brightness(0) invert(1); }

body.page-template-template-home .card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; }

body.page-template-template-home .card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--text-primary);
}
body.page-template-template-home .card__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--text-primary);
}

/* why cards reuse card structure */
body.page-template-template-home .why { background: var(--surface-secondary); }

body.page-template-template-home .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

body.page-template-template-home .card--why {
  background: var(--surface-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
body.page-template-template-home .card--why .card__title { font-size: 20px; margin-bottom: 8px; }
body.page-template-template-home .card--why .card__desc  { font-size: 15px; line-height: 24px; color: var(--text-secondary); }

/* ── PRODUCTS ────────────────────────────────────── */
body.page-template-template-home .products { background: var(--surface-primary); }

body.page-template-template-home .product-cards { display: flex; flex-direction: column; gap: 32px; }

body.page-template-template-home .product-card {
  background: var(--surface-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 2fr 1fr;
  min-height: 362px;
  transition: box-shadow .2s, transform .2s;
}
body.page-template-template-home .product-card:hover {
  box-shadow: 0 8px 24px rgba(46, 91, 255, .12);
  transform: translateY(-6px);
}
body.page-template-template-home .product-card--visual-left { grid-template-columns: 1fr 2fr; }

body.page-template-template-home .product-card__content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: space-between;
}

body.page-template-template-home .product-card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 24px;
}

body.page-template-template-home .product-card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }

body.page-template-template-home .product-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--text-primary);
}
body.page-template-template-home .product-card__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--text-primary);
}

body.page-template-template-home .product-card__visual {
  background: #f0f1f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* mock browser */
body.page-template-template-home .mock-browser {
  width: 100%;
  max-width: 440px;
  background: var(--surface-primary);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-default);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

body.page-template-template-home .mock-browser__bar {
  background: #e8eaf1;
  border-bottom: 1px solid var(--border-default);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

body.page-template-template-home .mock-browser__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
body.page-template-template-home .mock-browser__dot--red    { background: #ff5f57; }
body.page-template-template-home .mock-browser__dot--yellow { background: #ffbd2e; }
body.page-template-template-home .mock-browser__dot--green  { background: #28c840; }

body.page-template-template-home .mock-browser__url {
  flex: 1;
  background: var(--surface-primary);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.page-template-template-home .mock-browser__body { padding: 14px; }

body.page-template-template-home .mock-table { margin-bottom: 12px; font-size: 11px; }

body.page-template-template-home .mock-table__head {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 10px;
  background: var(--surface-secondary);
  border-radius: 6px;
  gap: 4px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 2px;
}
body.page-template-template-home .mock-table__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 7px 10px;
  gap: 4px;
  color: var(--text-primary);
  border-radius: 4px;
}
body.page-template-template-home .mock-table__row--alt { background: var(--surface-secondary); }
body.page-template-template-home .mock-table__head span,
body.page-template-template-home .mock-table__row  span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

body.page-template-template-home .mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
}
body.page-template-template-home .mock-chart__bar {
  flex: 1;
  background: var(--gradient-icon);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
}

/* ── LOTTIE PRODUCT MOCK ─────────────────────────────
   Container replaces .mock-table for animated product demos.
   The `expanded` Lottie variant has watermark outside the useful
   content area; we crop it with overflow:hidden + scale so the
   watermark falls outside the visible viewport.
   If the watermark is NOT in the bottom-right, adjust
   transform-origin and the scale crop direction. */
body.page-template-template-home .mock-lottie {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface-secondary);
}
body.page-template-template-home .mock-lottie svg,
body.page-template-template-home .mock-lottie canvas {
  display: block;
  width: 112% !important;
  height: 112% !important;
  /* Anchor top-left so the watermark (assumed bottom-right) is pushed off-canvas. */
  transform-origin: top left;
  position: absolute;
  top: 0;
  left: 0;
}
body.page-template-template-home .mock-lottie:not(.is-loaded)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--surface-secondary) 30%, #eef0fa 50%, var(--surface-secondary) 70%);
  background-size: 200% 100%;
  animation: lottie-skeleton 1.4s ease-in-out infinite;
}
@keyframes lottie-skeleton {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.page-template-template-home .mock-lottie:not(.is-loaded)::before { animation: none; }
}

/* product card visual order */
body.page-template-template-home .product-card--visual-right .product-card__content { order: 1; }
body.page-template-template-home .product-card--visual-right .product-card__visual  { order: 2; }
body.page-template-template-home .product-card--visual-left  .product-card__visual  { order: 1; }
body.page-template-template-home .product-card--visual-left  .product-card__content { order: 2; }

/* ── IMAGE MODAL (bento lightbox) ────────────────────
   Simple lightbox for the Recognition bento photos.
   Mirrors .video-modal structure (overlay + dialog + close button),
   but the dialog holds a plain <img> sized to viewport. */
body.page-template-template-home .image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
body.page-template-template-home .image-modal[hidden] {
  display: none;
}
body.page-template-template-home .image-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  cursor: pointer;
}
body.page-template-template-home .image-modal__dialog {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  filter: drop-shadow(0 12px 9px rgba(0, 0, 0, .25)) drop-shadow(0 6px 6px rgba(0, 0, 0, .25));
}
body.page-template-template-home .image-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-150, #eef0fa);
  border: 1px solid #d6d7dc; /* Figma neutral/400 */
  border-radius: 8px;
  color: var(--text-primary, #2d323a);
  cursor: pointer;
  padding: 0;
  transition: background .2s var(--ease-out), transform .2s var(--ease-out);
  z-index: 2;
}
body.page-template-template-home .image-modal__close:hover {
  background: #fff;
  transform: scale(1.05);
}
body.page-template-template-home .image-modal__close:focus-visible {
  outline: 3px solid var(--blue-300);
  outline-offset: 2px;
}
/* Neutralize Hello Elementor button hover on the modal close */
body.page-template-template-home button.image-modal__close,
body.page-template-template-home button.image-modal__close:hover,
body.page-template-template-home button.image-modal__close:focus,
body.page-template-template-home button.image-modal__close:active {
  color: var(--text-primary, #2d323a);
  background-color: var(--blue-150, #eef0fa);
}
body.page-template-template-home .image-modal__img {
  display: block;
  max-width: 90vw;
  max-height: calc(100vh - 96px);
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}

/* ── CAROUSEL PAGINATION DOTS (bento) ────────────────
   .bento (6 photos) becomes a horizontal-scroll carousel on mobile with
   dots below; JS wires scroll → active dot. Hidden on desktop. The
   testimonial carousels live in parts/testimonials.css. */
body.page-template-template-home .bento-dots {
  display: none;  /* revealed on mobile via @media below */
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
body.page-template-template-home .bento-dots__dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
body.page-template-template-home .bento-dots__dot--active {
  background: var(--blue-500);
  transform: scale(1.15);
}

/* ── CONTACT ─────────────────────────────────────── */
body.page-template-template-home .contact { background: var(--surface-secondary); }

body.page-template-template-home .contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

body.page-template-template-home .contact__heading {
  font-size: 42px;
  font-weight: 800;
  line-height: 54px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

body.page-template-template-home .contact__heading-accent {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.page-template-template-home .contact__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

body.page-template-template-home .contact__reasons { display: flex; flex-direction: column; gap: 24px; margin-bottom: 24px; padding-left: 12px; }

body.page-template-template-home .contact__reason {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.page-template-template-home .contact__reason-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--blue-150);
  border: 1px solid #e8eaef;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-500);
}
body.page-template-template-home .contact__reason-icon svg { display: block; }
body.page-template-template-home .contact__reason-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 20px;
  margin: 0;
}
body.page-template-template-home .contact__reason-sub {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 20px;
  margin: 0;
}

body.page-template-template-home .contact__email-block {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #eef0fa;
  border: 1px solid #e8eaef;
  border-radius: 12px;
}
body.page-template-template-home .contact__email-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-250, #eaefff);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-brand);
}
body.page-template-template-home .contact__email-icon svg { display: block; }
body.page-template-template-home .contact__email-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 14px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
body.page-template-template-home .contact__email-addr {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color .15s;
}
body.page-template-template-home .contact__email-addr:hover { color: var(--text-brand); }

/* contact form */
body.page-template-template-home .contact__form-wrap {
  background: var(--surface-primary);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 32px;
}
body.page-template-template-home .contact__form-title {
  font-size: 18px;
  font-weight: 800;
  line-height: normal;
  color: var(--text-primary);
  margin-bottom: 16px;
}
body.page-template-template-home .contact__form-sub {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

body.page-template-template-home .contact__form { display: flex; flex-direction: column; gap: 24px; }

body.page-template-template-home .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

body.page-template-template-home .form-field { display: flex; flex-direction: column; gap: 6px; }

body.page-template-template-home .form-label {
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  color: var(--text-primary);
}

body.page-template-template-home .form-input {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--neutral-100);
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
  outline: none;
}
body.page-template-template-home .form-input::placeholder { color: var(--text-secondary); opacity: 1; }
body.page-template-template-home .form-input:focus,
body.page-template-template-home .form-input:focus-visible {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(46, 91, 255, .12);
  background: var(--neutral-100);
  border-radius: 12px;
  outline: none;
}
/* Filled state — when input has user content (background stays neutral-100 per Figma spec) */
body.page-template-template-home .form-input:not(:placeholder-shown),
body.page-template-template-home .form-input.is-filled {
  background: var(--neutral-100);
  font-weight: 500;
}

/* Validation error state — set by JS when a required field fails on submit.
   Uses higher specificity to beat the Hello Elementor input overrides below. */
body.page-template-template-home .form-input.is-invalid,
body.page-template-template-home input.form-input.is-invalid,
body.page-template-template-home select.form-input.is-invalid,
body.page-template-template-home textarea.form-input.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}

/* Override Hello Elementor parent theme input/textarea/select styles.
   Hello Elementor applies `input, textarea, select { background-color: transparent; border-color: ... }`
   at specificity (0,0,3). We re-anchor on body.page-template-template-home (0,2,1+) to win.
   Covers every form field type used in the contact form. */
body.page-template-template-home input.form-input,
body.page-template-template-home select.form-input,
body.page-template-template-home textarea.form-input {
  background-color: var(--neutral-100);
  background-image: none;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  padding: 12px 16px;
  box-shadow: none;
}
body.page-template-template-home input.form-input:hover,
body.page-template-template-home select.form-input:hover,
body.page-template-template-home textarea.form-input:hover {
  background-color: var(--neutral-100);
  border-color: #d9d9d9;
}
body.page-template-template-home input.form-input:focus,
body.page-template-template-home input.form-input:focus-visible,
body.page-template-template-home select.form-input:focus,
body.page-template-template-home select.form-input:focus-visible,
body.page-template-template-home textarea.form-input:focus,
body.page-template-template-home textarea.form-input:focus-visible {
  background-color: var(--neutral-100);
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(46, 91, 255, .12);
  outline: none;
}
/* Hello Elementor's autofill rules can paint inputs yellow/white on Chromium. Keep our bg. */
body.page-template-template-home input.form-input:-webkit-autofill,
body.page-template-template-home input.form-input:-webkit-autofill:hover,
body.page-template-template-home input.form-input:-webkit-autofill:focus,
body.page-template-template-home textarea.form-input:-webkit-autofill,
body.page-template-template-home select.form-input:-webkit-autofill {
  -webkit-text-fill-color: var(--text-primary);
  -webkit-box-shadow: 0 0 0 1000px var(--neutral-100) inset;
  caret-color: var(--text-primary);
  border: 1px solid #d9d9d9;
}
/* Select-specific: force light native popup even when user has dark OS theme.
   `color-scheme: light` tells the browser to render the native dropdown panel
   with light system chrome — fixes the "dark dropdown" issue the designer flagged. */
body.page-template-template-home .form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
  color-scheme: light;
}
/* Filled state for select (when a real value is chosen, the first disabled option is no longer selected) */
body.page-template-template-home .form-select:valid:not(:focus) {
  background: var(--neutral-100);
  font-weight: 500;
}
/* Style native <option> elements — works on Firefox + Chromium-based browsers */
body.page-template-template-home .form-select option {
  background: var(--neutral-0);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  padding: 8px 12px;
}
body.page-template-template-home .form-select option:disabled {
  color: var(--text-secondary);
}

body.page-template-template-home .form-textarea {
  resize: vertical;
  min-height: 140px;
  border-radius: 12px;
}

body.page-template-template-home .form-select-wrap { position: relative; }
body.page-template-template-home .form-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: block;
  transition: transform .2s;
}
/* Rotate arrow when select is focused (open or about to open) */
body.page-template-template-home .form-select:focus + .form-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

body.page-template-template-home .form-submit { display: flex; flex-direction: column; gap: 16px; margin-top: 0; }

body.page-template-template-home .form-privacy {
  font-size: 11.5px;
  color: #8892b0;
  text-align: center;
  line-height: 16px;
}
body.page-template-template-home .form-privacy a { color: var(--text-brand); text-decoration: underline; }

/* ── FOOTER ──────────────────────────────────────── */

/* ── RESPONSIVE: TABLET (≤ 1100px) ──────────────── */
@media (max-width: 1100px) {
  body.page-template-template-home { --section-py: 72px; --section-px: 32px; }

  body.page-template-template-home .hero { padding: 80px 48px 72px; }

  body.page-template-template-home .hero__heading { font-size: 48px; line-height: 60px; }
  body.page-template-template-home .hero__desc    { font-size: 18px; }
  body.page-template-template-home .hero__bg      { right: -350px; width: 900px; }

  body.page-template-template-home .bento { height: auto; flex-direction: column; }
  body.page-template-template-home .bento__main  { flex: none; height: 280px; }
  body.page-template-template-home .bento__right { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  body.page-template-template-home .bento__row   { flex: none; width: 100%; height: 180px; }

  body.page-template-template-home .services-grid { gap: 24px; }
  body.page-template-template-home .why-grid { grid-template-columns: repeat(2, 1fr); }

  body.page-template-template-home .product-card { grid-template-columns: 1fr; min-height: auto; }
  body.page-template-template-home .product-card--visual-right .product-card__visual { order: 1; }
  body.page-template-template-home .product-card--visual-right .product-card__content { order: 2; }
  body.page-template-template-home .product-card--visual-left  .product-card__visual  { order: 1; }
  body.page-template-template-home .product-card--visual-left  .product-card__content { order: 2; }

  body.page-template-template-home .contact__layout { gap: 40px; }

  

  
  
}

/* ── RESPONSIVE: MOBILE (≤ 768px) ───────────────── */
@media (max-width: 768px) {
  body.page-template-template-home { --section-py: 40px; --section-px: 16px; }

  /* Header mobile styles moved to assets/css/parts/header.css */

  /* ── HERO MOBILE: 40px top, 16px sides, stats stay horizontal ── */
  body.page-template-template-home .hero {
    padding: 40px 16px 56px;
    margin-top: 64px;
    min-height: auto;
  }
  body.page-template-template-home .hero__bg { display: none; }
  body.page-template-template-home .hero__heading { font-size: 36px; line-height: 48px; }
  body.page-template-template-home .hero__heading-gradient { white-space: normal; }
  body.page-template-template-home .hero__desc    { font-size: 16px; line-height: 26px; }
  body.page-template-template-home .hero__badge   { white-space: normal; font-size: 13px; }
  body.page-template-template-home .hero__cta     { margin-bottom: 40px; width: 100%; justify-content: center; }

  /* stats: 3 columns, compact, NEVER stack */
  body.page-template-template-home .hero__stats {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: nowrap;
  }
  body.page-template-template-home .hero__stat { flex: 1 1 0; min-width: 0; }
  body.page-template-template-home .hero__stat-value { font-size: 24px; line-height: 28px; }
  body.page-template-template-home .hero__stat-unit  { font-size: 14px; line-height: 20px; }
  body.page-template-template-home .hero__stat-label { font-size: 11px; line-height: 16px; max-width: none; }

  /* ── SECTIONS HEADER ───────────────────────────── */
  body.page-template-template-home .section__title    { font-size: 28px; line-height: 34px; margin-bottom: 12px; }
  body.page-template-template-home .section__subtitle { font-size: 16px; }
  body.page-template-template-home .section__header   { margin-bottom: 24px; }

  /* ── BENTO: horizontal scroll-snap carousel ─── */
  body.page-template-template-home .bento {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    height: auto;
    margin-bottom: 40px;
    padding-bottom: 8px;
    margin-inline: -16px;
    padding-inline: 16px;
    scrollbar-width: none;
  }
  body.page-template-template-home .bento::-webkit-scrollbar { display: none; }
  /* flatten nested rows so every cell becomes a direct flex child */
  body.page-template-template-home .bento__right { display: contents; }
  body.page-template-template-home .bento__row   { display: contents; }
  body.page-template-template-home .bento__main,
  body.page-template-template-home .bento__cell {
    flex: 0 0 280px;
    height: 200px;
    width: 280px;
    scroll-snap-align: start;
  }

  /* ── STAT CARDS: first full-width, rest 2-per-row ── */
  body.page-template-template-home .award-cards { flex-wrap: wrap; gap: 12px; }
  body.page-template-template-home .award-card {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    padding: 16px;
    gap: 8px;
  }
  body.page-template-template-home .award-card:first-child { flex: 1 1 100%; }
  body.page-template-template-home .award-card__number { font-size: 28px; line-height: 32px; }

  /* ── SERVICE CARDS ─────────────────────────────── */
  body.page-template-template-home .services-grid { grid-template-columns: 1fr; gap: 12px; }
  body.page-template-template-home .card--service { padding: 16px; gap: 16px; }
  body.page-template-template-home .card--service .card__icon-wrap { width: 44px; height: 44px; }
  body.page-template-template-home .card--service .card__icon-img  { width: 20px; height: 20px; }

  /* ── PRODUCT CARDS ─────────────────────────────── */
  body.page-template-template-home .product-card { display: flex; flex-direction: column; }
  body.page-template-template-home .product-card__content { padding: 16px; }
  /* Figma mobile: content first, image second — both variants.
     --visual-right: DOM already has content then visual, natural order works.
     --visual-left:  DOM has visual then content, so reorder content to top. */
  body.page-template-template-home .product-card--visual-right .product-card__visual { order: 0; }
  body.page-template-template-home .product-card--visual-left  .product-card__content { order: -1; }
  body.page-template-template-home .product-card--visual-left  .product-card__visual  { order: 0; }
  body.page-template-template-home .product-card__visual { padding: 30px 17px; min-height: 240px; }
  body.page-template-template-home .product-card__icon-wrap { width: 44px; height: 44px; margin-bottom: 16px; }
  body.page-template-template-home .product-card__body { margin-bottom: 16px; }

  /* ── WHY CARDS ─────────────────────────────────── */
  body.page-template-template-home .why-grid { grid-template-columns: 1fr; gap: 12px; }
  body.page-template-template-home .card--why { padding: 16px; gap: 16px; }
  body.page-template-template-home .card--why .card__icon-wrap { width: 44px; height: 44px; }
  body.page-template-template-home .card--why .card__icon-img  { width: 20px; height: 20px; }

  
  
  

  
  

  
  

  
  
  

  /* Show pagination dots on mobile (hidden by default) */
  body.page-template-template-home .bento-dots {
    display: flex;
    margin-top: 20px;
  }

  
  
  

  body.page-template-template-home .image-modal { padding: 16px; }
  body.page-template-template-home .image-modal__close {
    top: -44px;
    width: 36px;
    height: 36px;
  }
  body.page-template-template-home .image-modal__img {
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 88px);
  }

  /* ── CONTACT ───────────────────────────────────── */
  body.page-template-template-home .contact__layout { grid-template-columns: 1fr; gap: 32px; }
  body.page-template-template-home .contact__heading {
    font-size: 36px;
    line-height: 44px;
    /* Android Chrome on devices without Montserrat falls back to a narrower
       sans; explicit font-stack + normal stretch keeps proportions consistent */
    font-family: 'Montserrat', 'Segoe UI', Roboto, Arial, sans-serif;
    font-stretch: normal;
    letter-spacing: -0.01em;
  }
  body.page-template-template-home .form-row { grid-template-columns: 1fr; }
  body.page-template-template-home .contact__form-wrap { padding: 24px; }

  /* ── MARQUEE ───────────────────────────────────── */
  body.page-template-template-home .marquee { height: 70px; }
  body.page-template-template-home .marquee__item { padding-right: 40px; }
  body.page-template-template-home .marquee__item img { height: 32px; }
  body.page-template-template-home .marquee__fade { width: 60px; }

  /* ── FOOTER ────────────────────────────────────── */
  
  
  
  
  
  body.page-template-template-home .partner-badges { gap: 16px; }
  body.page-template-template-home .partner-badge { width: 100px; height: 110px; }
  body.page-template-template-home .partner-badge--award { width: 100px; height: 110px; padding-top: 8px; }
  body.page-template-template-home .partner-badge--award img { width: 71px; height: 98px; }
}

/* ── RESPONSIVE: SMALL MOBILE (≤ 480px) ─────────── */
@media (max-width: 480px) {
  body.page-template-template-home .hero__heading { font-size: 30px; line-height: 40px; }
  /* stats STAY horizontal even on small mobile */
  body.page-template-template-home .hero__stats { flex-direction: row; gap: 8px; }
  body.page-template-template-home .hero__stat-value { font-size: 22px; }
  
  
}

/* abbreviate "years" → "yrs" on mobile (matches Figma 375px design) */
@media (max-width: 768px) {
  body.page-template-template-home .hero__stat-unit[data-full="years"] { font-size: 0; }
  body.page-template-template-home .hero__stat-unit[data-full="years"]::after {
    content: "yrs";
    font-size: 14px;
    line-height: 20px;
  }
}

/* ═══════════════════════════════════════════════════
   MOTION ANIMATIONS (Sections 4–11)
═══════════════════════════════════════════════════ */

/* ── S4 BENTO: scale-reveal + image hover ─────────── */
body.page-template-template-home .bento__main[data-reveal],
body.page-template-template-home .bento__cell[data-reveal] {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
body.page-template-template-home .bento__main[data-reveal].is-revealed,
body.page-template-template-home .bento__cell[data-reveal].is-revealed {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  body.page-template-template-home .bento__main[data-reveal],
  body.page-template-template-home .bento__cell[data-reveal] { transition: opacity 0.2s linear; transform: none; }
}
body.page-template-template-home .bento__main .bento__img,
body.page-template-template-home .bento__cell .bento__img {
  transition: transform 0.4s ease-out;
}
body.page-template-template-home .bento__main:hover .bento__img,
body.page-template-template-home .bento__cell:hover .bento__img { transform: scale(1.05); }

/* ── S5 & S7: CARD ICON + ARROW HOVER ────────────── */
body.page-template-template-home .card .card__icon-img {
  transition: transform var(--hover-duration) var(--ease-out);
}
body.page-template-template-home .card:hover .card__icon-img { transform: scale(1.08); }

body.page-template-template-home .link-btn .link-btn__icon {
  transition: transform var(--hover-duration) var(--ease-out);
}
body.page-template-template-home .link-btn:hover .link-btn__icon { transform: translateX(4px); }

/* ── S6: PRODUCTS SIDE-REVEAL ───────────────────── */
/* Idle-float animation removed per designer feedback (30 Jun review):
   up-and-down movement on .product-card__visual created visible white space
   below the image and was visually distracting. Reveal-from-left/right
   transitions (declared above) remain the only motion on product cards. */

/* ── S9: CONTACT REVEAL + ICON SCALE ─────────────── */
body.page-template-template-home .contact__reason[data-reveal] .contact__reason-icon {
  transform: scale(0.9);
  transition: transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
body.page-template-template-home .contact__reason[data-reveal].is-revealed .contact__reason-icon {
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  body.page-template-template-home .contact__reason[data-reveal] .contact__reason-icon { transition: none; transform: none; }
}
/* Submit button — override Hello Elementor parent [type=submit]:hover/:focus #c36 */
body.page-template-template-home .contact__form-wrap button.btn--primary,
body.page-template-template-home .contact__form-wrap button.btn--primary:hover,
body.page-template-template-home .contact__form-wrap button.btn--primary:focus,
body.page-template-template-home .contact__form-wrap button.btn--primary:active {
  background: var(--btn-primary-bg);
  background-color: var(--btn-primary-bg);
  color: var(--text-inverse);
  text-decoration: none;
}

body.page-template-template-home .contact__form-wrap button.btn--primary:hover,
body.page-template-template-home .contact__form-wrap button.btn--primary:focus {
  background: var(--btn-primary-bg-hover);
  background-color: var(--btn-primary-bg-hover);
  color: var(--text-inverse);
  box-shadow: 0 10px 32px rgba(46, 91, 255, .45);
  transform: translateY(-2px);
  text-decoration: none;
  outline: none;
}

body.page-template-template-home .contact__form-wrap button.btn--primary:focus-visible {
  outline: 2px solid var(--blue-300);
  outline-offset: 2px;
}

/* ── S11: BACK-TO-TOP BUTTON ─────────────────────── */

/* ── CONTACT FORM STATES ─────────────────────────── */

body.page-template-template-home .contact__form-message[hidden],
body.page-template-template-home .contact__form-success[hidden] {
	display: none;
}

body.page-template-template-home .contact__form-message {
	margin: 12px 0 4px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.4;
}

body.page-template-template-home .contact__form-message--error {
	background: #fdecec;
	border: 1px solid #e74c3c;
	color: #a02020;
}

body.page-template-template-home .contact__form-message-text {
	margin: 0;
}

/* Submit button — spinner + label swap */
body.page-template-template-home .contact__submit {
	position: relative;
}

body.page-template-template-home .contact__submit-spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: contact-spin 0.7s linear infinite;
}

body.page-template-template-home .contact__form.is-submitting .contact__submit {
	cursor: wait;
	opacity: 0.85;
}

body.page-template-template-home .contact__form.is-submitting .contact__submit-label,
body.page-template-template-home .contact__form.is-submitting .contact__submit-icon {
	visibility: hidden;
}

body.page-template-template-home .contact__form.is-submitting .contact__submit-spinner {
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

@keyframes contact-spin {
	to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Success state */
body.page-template-template-home .contact__form-success {
	padding: 32px 24px;
	text-align: center;
	background: #f6f9ff;
	border: 1px solid #dbe6ff;
	border-radius: 12px;
}

body.page-template-template-home .contact__form-success-icon {
	margin: 0 auto 16px;
	width: 48px;
	height: 48px;
}

body.page-template-template-home .contact__form-success-title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 600;
	color: #1a1f2b;
}

body.page-template-template-home .contact__form-success-text {
	margin: 0;
	font-size: 15px;
	color: #4a5361;
}

@media (prefers-reduced-motion: reduce) {
	body.page-template-template-home .contact__submit-spinner {
		animation-duration: 2s;
	}
}

